Britannica Sources used in this answer

Why is the derivative of x squared equal to 2x?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

The derivative of x2 is 2x because the derivative represents the instantaneous rate of change, or the slope of the tangent line at any point on a curve. Unlike a straight line, a curve does not have a constant slope, so we use a limiting process to find it.1

To find the derivative of f(x)=x2, we examine the slope formula for a small interval h:
f(x+h)−f(x)h=(x+h)2−x2h

Expanding the numerator gives:
x2+2xh+h2−x2h=2xh+h2h

As long as h is not zero, we can simplify this to 2x+h. The derivative is defined as the limit of this expression as h approaches 0. As h becomes infinitesimally small, the expression 2x+h approaches 2x. Thus, the slope of the parabola x2 at any point x is 2x.12