Skip to content
ihateDesmos

Derivative of x²

Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The derivative of x²
ddx(x2)=2x

The derivative of x² is 2x, by the power rule: bring the exponent down as a multiplier, then reduce the exponent by one.

−2−112−550
Open in calculator
y=x2
in blue and its derivative
y=2x
in red.

How to find the derivative of x²

Method: power rule.

  1. 1
    The power rule says d/dx xⁿ = n xⁿ⁻¹.
  2. 2
    Here n = 2, so bring 2 down in front.
  3. 3
    Reduce the exponent by one: 2 − 1 = 1.
  4. 4
    So d/dx x² = 2x.

What it means on the graph

y = x² falls to the left of 0 and rises to the right, so its derivative is negative, then zero at the bottom of the curve, then positive.

In the window shown, the derivative is zero at x = 0. Those are the points where the graph of x² has a horizontal tangent.

Table of values

The derivative column uses the formula. The last column estimates the slope directly from the original function, as an independent check.

Values of x² and its derivative
xx²2xSlope, measured
−24−4−4
−5/425/16−5/2−5/2
−1/21/4−1−1
0000
3/49/163/23/2
3/29/433
2444

Second derivative

Differentiating once more gives:

d2dx2(x2)=2

The second derivative tells you which way the graph bends: positive means it curves upward, and negative means it curves downward.

Related derivatives

The same result with the chain or product rule. Each of these is checked numerically too.

Related derivatives
FunctionDerivative
(2x+1)2
4(2x+1)1
sin(x)2
2sin(x)1cos(x)

Common mistakes

  • Forgetting to reduce the exponent, which gives 2x² instead.
  • Using the power rule on the wrong thing: it doesn’t apply to 2ˣ, where the variable is in the exponent.

Frequently asked questions

What is the derivative of x²?
The derivative of x² is 2x.
What is the second derivative of x²?
Differentiate 2x again to get the second derivative. The result is shown on this page under “Second derivative”.

Keep going

Differentiate any function

Type your own function into the derivative calculator and see every rule applied, step by step.

Open the derivative calculator