Skip to content

Differentiation explained: gradients and the power rule

TutorAura guide · Updated

Differentiation finds the gradient of a curve at any point: how fast yy is changing compared with xx. A straight line has the same gradient everywhere, but a curve's gradient keeps changing, and the derivative dydx\dfrac{dy}{dx} gives a formula for it. Differentiation is the first half of calculus. It's taught in A level Maths, the IB and AP Calculus, and introduced in some GCSE-level courses such as Level 2 Further Maths.

Key takeaways

  • The derivative dy/dx is the gradient function.
  • Power rule: the derivative of xⁿ is nxⁿ⁻¹.
  • The derivative of a constant is 0.
  • Stationary points are where dy/dx = 0.

The power rule

ddx(xn)=nxn−1\frac{d}{dx}\left(x^n\right) = n x^{n-1}

Multiply by the power, then take one off the power.

FunctionDerivative
x2x^22x2x
3x43x^412x312x^3
5x5x55
7700
5x3−2x+75x^3 - 2x + 715x2−215x^2 - 2

Differentiate term by term; constants disappear.

Gradient at a point

Substitute the x-value into the derivative.

Example: for y=x2y = x^2, dydx=2x\dfrac{dy}{dx} = 2x. At x=3x = 3, the gradient is 66: the curve is rising 6 units for each 1 across, at that exact point.

The equation of the tangent there uses that gradient and the point (3,9)(3, 9): y=6x−9y = 6x - 9.

Stationary points

Where the gradient is zero, the curve is momentarily flat: a maximum or minimum (a turning point).

Example: y=x3−3xy = x^3 - 3x. dydx=3x2−3=0\dfrac{dy}{dx} = 3x^2 - 3 = 0 gives x=1x = 1 or x=−1x = -1. The points are (1,−2)(1, -2) and (−1,2)(-1, 2).

To tell which is which, use the second derivative, d2ydx2=6x\dfrac{d^2y}{dx^2} = 6x. At x=1x = 1 it's positive (a minimum); at x=−1x = -1 it's negative (a maximum).

What the derivative means

The derivative is a rate of change. If ss is distance and tt is time, dsdt\dfrac{ds}{dt} is velocity; differentiate again for acceleration. In economics, the derivative of total cost is the marginal cost. Any time a question asks "how fast is it changing?", differentiation is the tool.

Preparing the function first

Rewrite everything as powers of xx before differentiating:

  • x=x1/2\sqrt{x} = x^{1/2}, so its derivative is 12x−1/2\tfrac{1}{2}x^{-1/2}.
  • 1x2=x−2\dfrac{1}{x^2} = x^{-2}, so its derivative is −2x−3-2x^{-3}.
  • Expand brackets: (x+1)2=x2+2x+1(x + 1)^2 = x^2 + 2x + 1, so the derivative is 2x+22x + 2.

Our expanding brackets calculator helps with the last step.

Common mistakes

  • Forgetting to multiply by the power.
  • Differentiating a constant to 1 instead of 0.
  • Differentiating before rewriting roots and fractions as powers.
  • Substituting into the original function instead of the derivative to find a gradient.

For the straight-line version of gradient, see our gradient calculator.

Integration: the reverse

Integration undoes differentiation. To integrate xnx^n, add one to the power and divide by the new power: ∫xn dx=xn+1n+1+c\int x^n \, dx = \dfrac{x^{n+1}}{n+1} + c. The +c+ c appears because constants vanish when you differentiate. Integration finds areas under curves, just as differentiation finds gradients.

Practice questions

  1. Differentiate 4x34x^3.
  2. Find the stationary point of y=x2−6x+5y = x^2 - 6x + 5 and say whether it's a maximum or minimum.
  3. Find the gradient of y=x3y = x^3 at x=2x = 2.
  4. Differentiate 6x6\sqrt{x}.

Answers: 1. 12x212x^2. 2. dydx=2x−6=0\dfrac{dy}{dx} = 2x - 6 = 0 gives x=3x = 3, y=−4y = -4: a minimum (the x2x^2 term is positive). 3. 3x2=123x^2 = 12. 4. 6x1/26x^{1/2} differentiates to 3x−1/23x^{-1/2}, or 3x\dfrac{3}{\sqrt{x}}.

Exam tips

  • Rewrite every term as a power of xx before differentiating.
  • When asked for the equation of a tangent, find the gradient from dydx\tfrac{dy}{dx} and the point from the original equation.
  • Always say whether a stationary point is a maximum or minimum, and how you know.

Frequently asked questions

What is differentiation?

A method for finding the gradient of a curve at any point, giving the rate of change of one quantity with respect to another.

What is the power rule?

The derivative of xⁿ is nxⁿ⁻¹: multiply by the power and reduce the power by one.

How do you find a stationary point?

Differentiate, set dy/dx = 0, solve for x, then substitute back into the original equation to find y.

Sources

  1. Cambridge International AS & A Level Mathematics 9709. Cambridge International.