Salam Academy
Pure content (sections A–J) · Subtopic 22 of 66

Gradients and the Power Rule

What the gradient of a curve means, how chords close in on the tangent, and the power rule ddxxn=nxn−1\dfrac{d}{dx}x^n=nx^{n-1} that makes differentiating fast, including roots, fractions and second derivatives.

Cambridge 9709 Paper 1Edexcel YMA01 WMA11Edexcel 9MA0 Paper 1Edexcel 9MA0 Paper 2AQA 7357 Paper 1AQA 7357 Paper 2≈ 45 minRevision 6 · updated 2026-10-27
Section 1 of 14

Learning objectives

  • Explain the gradient of a curve at a point as the limit of the gradients of chords.
  • Differentiate axnax^n for any rational nn, and sums and differences of such terms.
  • Rewrite roots, fractions and products as powers of xx before differentiating.
  • Find gradients at points, points with a given gradient, and second derivatives.
Pause and think

A straight line has the same gradient everywhere. The curve y=x2y=x^2 gets steeper as xx increases. How could you measure "how steep" it is at exactly x=1x=1?

Section 2 of 14

Core idea

Start hereThe speedometer problem

A car's distance from home is s=t2s=t^2 metres after tt seconds. Its average speed over the first 33 seconds is 93=3\frac93=3 m/s. But what does the speedometer read at the exact instant t=1t=1? Speed is distance ÷ time, and at an instant no time passes: 00\frac00. For 2000 years that looked impossible. Newton and Leibniz cracked it by taking smaller and smaller time intervals and seeing what the average speed approaches. That idea is the derivative.

The big idea

The derivative dydx\dfrac{dy}{dx} is the gradient of a curve at a point: the limit of chord gradients as the chord shrinks. For powers of xx, ddx(xn)=nxn−1\dfrac{d}{dx}\left(x^n\right)=nx^{n-1}.

1. The problem: a curve has no single gradient

A straight line has the same steepness everywhere. A curve like y=x2y=x^2 gets steeper as you move right. "The gradient at a point" means the gradient of the tangent there: the straight line that just touches the curve at that point and runs in the same direction.

Key takeawayThe central problem A gradient needs two points (riserun\frac{\text{rise}}{\text{run}}). A tangent is defined by one. Solution: use a second point very close by, then let it slide in.

2. Chords closing in on the tangent

Chords approaching the tangent at (1, 1)
−0.50.511.522.533.524680xyy = x²(1, 1)chord gradient = 2 + h → 2
The chord from (1,1)(1,1) to (1+h,(1+h)2)(1+h,(1+h)^2) has gradient (1+h)2−1h=2+h\dfrac{(1+h)^2-1}{h}=2+h. As hh shrinks to 00 it becomes 22: the tangent at x=1x=1 has gradient 22.
Gradient of y=x2y=x^2 at x=1x=1
  1. P(1,1),Q(1+h, (1+h)2)P(1,1),\quad Q(1+h,\,(1+h)^2)
    QQ is a nearby point, hh to the right (h≠0h\neq0).
  2. mPQ=(1+h)2−1(1+h)−1m_{PQ}=\frac{(1+h)^2-1}{(1+h)-1}
    Chord gradient: rise over run.
  3. =1+2h+h2−1h=\frac{1+2h+h^2-1}{h}
    Expand (1+h)2(1+h)^2.
  4. =2h+h2h=2+h=\frac{2h+h^2}{h}=2+h
    Simplify; divide by hh (allowed since h≠0h\neq0).
  5. lim⁡h→0(2+h)=2\lim_{h\to0}(2+h)=2
    As QQ slides to PP, hh shrinks to 00.
The gradient of y=x2y=x^2 at x=1x=1 is exactly 22. (So the car's speed at t=1t=1 is 22 m/s.)

Do the same at a general point xx to get a formula for the gradient everywhere. This is called differentiation from first principles.

Definition of the derivativef′(x)=dydx=lim⁡h→0f(x+h)−f(x)hf'(x)=\frac{dy}{dx}=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}
where
hh
a small step in xx.
lim⁡h→0\lim_{h\to0}
"the value approached as hh gets closer and closer to 00".
dydx\frac{dy}{dx}, f′(x)f'(x)
two notations for the derivative (gradient function).
First principles for y=x3y=x^3
  1. (x+h)3−x3h\frac{(x+h)^3-x^3}{h}
    Chord gradient from xx to x+hx+h.
  2. =x3+3x2h+3xh2+h3−x3h=\frac{x^3+3x^2h+3xh^2+h^3-x^3}{h}
    Expand (x+h)3(x+h)^3 (binomial).
  3. =3x2h+3xh2+h3h=3x2+3xh+h2=\frac{3x^2h+3xh^2+h^3}h=3x^2+3xh+h^2
    Cancel x3x^3; divide by hh.
  4. →3x2 as h→0\to3x^2\text{ as }h\to0
    Terms with hh vanish.
ddxx3=3x2\frac{d}{dx}x^3=3x^2.
A curve and its gradient function
−3−2−1123−4−224680xyy = x²dy/dx = 2x
Left of 00 the curve goes downhill, and the gradient function is negative. At the bottom it is flat, gradient 00. To the right it is uphill and the gradient is positive and growing.

3. The power rule

x2→2xx^2\to2x, x3→3x2x^3\to3x^2; in general (using the binomial expansion of (x+h)n(x+h)^n, whose second term is nxn−1hnx^{n-1}h):

Power ruleddx(xn)=nxn−1ddx(axn)=anxn−1ddx(c)=0\frac{d}{dx}\left(x^n\right)=nx^{n-1}\qquad\frac{d}{dx}(ax^n)=anx^{n-1}\qquad\frac{d}{dx}(c)=0
where
nn
any real power: positive, negative or fractional.
cc
a constant; its graph is flat, so gradient 0.

Differentiate a sum term by term. Before differentiating, rewrite roots and fractions as powers: x=x1/2\sqrt x=x^{1/2}, 1x2=x−2\frac1{x^2}=x^{-2}.

Worked exampley=4x3−2x2+3x−7y=4x^3-\dfrac2{x^2}+3\sqrt x-7

Find dydx\dfrac{dy}{dx}.

Goal
The gradient function.
Strategy
Rewrite every term as a power of xx, then apply the power rule to each.
  1. y=4x3−2x−2+3x1/2−7y=4x^3-2x^{-2}+3x^{1/2}-7
    Rewrite.
  2. dydx=12x2−2(−2)x−3+3⋅12x−1/2−0\frac{dy}{dx}=12x^2-2(-2)x^{-3}+3\cdot\tfrac12x^{-1/2}-0
    Bring the power down; reduce it by one.
  3. =12x2+4x3+32x=12x^2+\frac4{x^3}+\frac3{2\sqrt x}
    Tidy.
Answer12x2+4x3+32x12x^2+\dfrac4{x^3}+\dfrac3{2\sqrt x}.
✓ CheckThe constant −7-7 disappeared, as it should (shifting a graph up doesn't change its steepness).
Worked exampleGradient at a point, and where the gradient is given

For y=x3−6x2+5y=x^3-6x^2+5: find the gradient at x=1x=1, the points where the gradient is 1515, and d2ydx2\frac{d^2y}{dx^2}.

Goal
Three results.
Strategy
Differentiate; substitute or solve.
  1. dydx=3x2−12x\frac{dy}{dx}=3x^2-12x
    Power rule.
  2. x=1: 3−12=−9x=1:\ 3-12=-9
    Substitute.
  3. 3x2−12x=15⇒x2−4x−5=0⇒(x−5)(x+1)=03x^2-12x=15\Rightarrow x^2-4x-5=0\Rightarrow(x-5)(x+1)=0
    Set equal and solve.
  4. d2ydx2=6x−12\frac{d^2y}{dx^2}=6x-12
    Differentiate again: the second derivative, the rate of change of the gradient.
Answer−9-9; x=5x=5 or x=−1x=-1; 6x−126x-12.
✓ CheckAt x=5x=5: 75−60=1575-60=15 ✓.
Common misconceptionProducts and quotients ddx[(x2+1)(x−3)]\frac{d}{dx}\left[(x^2+1)(x-3)\right] is not 2x×12x\times1. Expand first (or use the product rule later in the course).
Pause and think

Find f′(4)f'(4) for f(x)=8xf(x)=\dfrac8{\sqrt x}.

Summary

  • Derivative = limit of chord gradients.
  • ddxxn=nxn−1\frac{d}{dx}x^n=nx^{n-1}; constants vanish.
  • Rewrite as powers first.
  • d2ydx2\frac{d^2y}{dx^2}: differentiate twice.
Key words
Derivative
Gradient function.
Tangent
Line touching a curve, with its gradient.
Limit
The value approached.
First principles
Deriving the gradient from chords.
HistoryTwo inventors, one bitter feud. Isaac Newton developed calculus in the 1660s (he called it the method of fluxions) and Gottfried Leibniz independently in the 1670s. Their supporters argued for decades over who came first. Today we credit both, and we use Leibniz's notation dydx\dfrac{dy}{dx} because it is so practical.
Keep reading for free

Create a free account to read the rest of this lesson: key formulae, worked examples, explore the graph, common mistakes, exam tip, guided practice and more. Your answers are checked and your progress is saved.