Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›Edexcel A-level Mathematics
  3. ›P Pure mathematics
  4. ›P7 Differentiation

Edexcel A-level Mathematics · P · Pure mathematics

P7 Differentiation

Differentiate from first principles and by rule, then find and classify stationary points and solve rate-of-change problems.

  • 5 min read
  • 6 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/6The derivative gives the gradient of a curve at a point
  1. 1The derivative gives the gradient of a curve at a point
  2. 2First principles finds the gradient as a limit
  3. 3The power rule differentiates a polynomial term by term
  4. 4Products and quotients need their own rules
  5. 5Stationary points occur where the gradient is zero
  6. 6Derivatives measure rates of change in real problems
  7. Check your recall
  8. Practice: 10 questions
1

Part 1 of 6: The derivative gives the gradient of a curve at a point

A speedometer shows how fast distance is changing at one instant. A curve’s gradient does the same job for yyy against xxx. The derivative, written dydx\frac{dy}{dx}dxdy​ or f′(x)f'(x)f′(x), gives that gradient at every point.

Where dydx>0\frac{dy}{dx}>0dxdy​>0, the curve is rising. Where dydx<0\frac{dy}{dx}<0dxdy​<0, it is falling. The tangent at a point has gradient dydx\frac{dy}{dx}dxdy​ there. Both notations mean the same thing, so use whichever the question uses.

The normal is perpendicular to the tangent. Its gradient is −1m-\frac{1}{m}−m1​ when the tangent has gradient mmm.

Key terms · tap one for its definition

derivative

The derivative of fff is the function f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}f′(x)=limh→0​hf(x+h)−f(x)​, giving the gradient of the curve at xxx.

normal

The normal to a curve at a point is the line through that point perpendicular to the tangent.

Part 1 done

2

Part 2 of 6: First principles finds the gradient as a limit

Take two points on a curve, at xxx and x+hx+hx+h. A chord is a line joining two points on a curve. The line joining them has gradient f(x+h)−f(x)h\frac{f(x+h)-f(x)}{h}hf(x+h)−f(x)​. As hhh shrinks towards zero, this line approaches the tangent.

Finding f′(x)f'(x)f′(x) directly from this limit is differentiation from first principles. Expand the numerator, cancel hhh, then let h→0h\to0h→0. Both f′(x)f'(x)f′(x) and dydx\frac{dy}{dx}dxdy​ denote the result.

Worked example

Differentiating x2x^2x2 from first principles

Differentiate f(x)=x2f(x)=x^2f(x)=x2 from first principles.
  1. 1
    Write f(x+h)−f(x)h=(x+h)2−x2h\frac{f(x+h)-f(x)}{h}=\frac{(x+h)^2-x^2}{h}hf(x+h)−f(x)​=h(x+h)2−x2​.
  2. 2
    Expand: x2+2xh+h2−x2h=2xh+h2h\frac{x^2+2xh+h^2-x^2}{h}=\frac{2xh+h^2}{h}hx2+2xh+h2−x2​=h2xh+h2​.
  3. 3
    Cancel hhh to get 2x+h2x+h2x+h.
  4. 4
    As h→0h\to0h→0, 2x+h→2x2x+h\to2x2x+h→2x.

Answer: f′(x)=2xf'(x)=2xf′(x)=2x.

Common mistake

Do not put h=0h=0h=0 into the quotient at the start. That gives 00\frac{0}{0}00​. Simplify and cancel hhh before taking the limit.

Key term

differentiation from first principles

Differentiation from first principles is finding f′(x)f'(x)f′(x) by evaluating the limit lim⁡h→0f(x+h)−f(x)h\lim_{h\to0}\frac{f(x+h)-f(x)}{h}limh→0​hf(x+h)−f(x)​ directly.

Part 2 done

Quick check

One question on the part you just read

Easy

Differentiate y=x5y=x^5y=x5 with respect to xxx.
Show answer and explanation

Answer: A · Worked explanation

Multiply by the power and reduce the power by 1, so dydx=5x4\frac{dy}{dx}=5x^4dxdy​=5x4. The expression 5x55x^55x5 multiplies by the power but forgets to reduce it. The expression 4x54x^54x5 swaps the two numbers, using the reduced power as the multiplier. As a check at x=1x=1x=1, the gradient of x5x^5x5 is 5, which matches 5x45x^45x4.
3

Part 3 of 6: The power rule differentiates a polynomial term by term

First principles works but is slow. For powers of xxx there is a shortcut: ddx(axn)=anxn−1\frac{d}{dx}(ax^n)=anx^{n-1}dxd​(axn)=anxn−1. Multiply by the power, then reduce the power by 1. A constant differentiates to zero.

A polynomial is built from such terms. The derivative of a sum is found term by term. The same rule covers x=x1/2\sqrt{x}=x^{1/2}x​=x1/2 and 1x=x−1\frac{1}{x}=x^{-1}x1​=x−1, once you rewrite them as powers. Check each term separately. A constant such as 7 vanishes, and 3x3x3x becomes 3.

Worked example

Differentiating term by term

Differentiate y=5x4−3x2+xy=5x^4-\frac{3}{x^2}+\sqrt{x}y=5x4−x23​+x​.
  1. 1
    Rewrite as powers: y=5x4−3x−2+x1/2y=5x^4-3x^{-2}+x^{1/2}y=5x4−3x−2+x1/2.
  2. 2
    Differentiate each term: 20x3+6x−3+12x−1/220x^3+6x^{-3}+\frac{1}{2}x^{-1/2}20x3+6x−3+21​x−1/2.

Answer: dydx=20x3+6x3+12x\frac{dy}{dx}=20x^3+\frac{6}{x^3}+\frac{1}{2\sqrt{x}}dxdy​=20x3+x36​+2x​1​.

Key terms · tap one for its definition

polynomial

A polynomial is a finite sum of constant multiples of nonnegative integer powers of xxx.

sum

The derivative of a sum equals the sum of its terms’ derivatives.

Part 3 done

4

Part 4 of 6: Products and quotients need their own rules

The derivative of a product is not the product of the derivatives. Write y=uvy=uvy=uv, where uuu and vvv are functions of xxx. Then dydx=udvdx+vdudx\frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx}dxdy​=udxdv​+vdxdu​. The sum rule does not extend to products, which is why this rule is needed.

For a quotient y=uvy=\frac{u}{v}y=vu​, the rule is dydx=vdudx−udvdxv2\frac{dy}{dx}=\frac{v\frac{du}{dx}-u\frac{dv}{dx}}{v^2}dxdy​=v2vdxdu​−udxdv​​. The quotient rule needs v≠0v\ne0v=0. Each rule has a fixed order, so write uuu, vvv and their derivatives down first.

Worked example

Using the product rule

Use the product rule to differentiate y=x2(3x+1)y=x^2(3x+1)y=x2(3x+1).
  1. 1
    Let u=x2u=x^2u=x2 and v=3x+1v=3x+1v=3x+1, so dudx=2x\frac{du}{dx}=2xdxdu​=2x and dvdx=3\frac{dv}{dx}=3dxdv​=3.
  2. 2
    Substitute: dydx=x2×3+(3x+1)×2x\frac{dy}{dx}=x^2\times3+(3x+1)\times2xdxdy​=x2×3+(3x+1)×2x.
  3. 3
    Expand: 3x2+6x2+2x3x^2+6x^2+2x3x2+6x2+2x.

Answer: dydx=9x2+2x\frac{dy}{dx}=9x^2+2xdxdy​=9x2+2x.

Exam tip

When the factors are simple polynomials, expand first as a check. Both methods must agree.

Key term

product

A product is an expression formed by multiplying two factors.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify the derivative of the constant function y=9y=9y=9.
Show answer and explanation

Answer: B · Worked explanation

A constant does not change as xxx changes, so its gradient is zero and dydx=0\frac{dy}{dx}=0dxdy​=0. The value 9 confuses the derivative with the function itself. The expression 9x9x9x is the result of treating the constant as if it were a multiple of xxx.
5

Part 5 of 6: Stationary points occur where the gradient is zero

A ball thrown upward stops rising for an instant at its highest point. A stationary point is where the gradient is zero, so dydx=0\frac{dy}{dx}=0dxdy​=0. Turning points are stationary points where the curve changes direction.

To classify one, use the second derivative, d2ydx2\frac{d^2y}{dx^2}dx2d2y​. If it is positive, the point is a local minimum. If it is negative, the point is a local maximum. If it is zero, check the gradient on either side.

Figure 1. The curve has a local maximum at (−1,2)(-1,2)(−1,2) and a local minimum at (1,−2)(1,-2)(1,−2), where the gradient is zero.

Worked example

Finding and classifying stationary points

Find and classify the stationary points of y=x3−3xy=x^3-3xy=x3−3x.
  1. 1
    Differentiate: dydx=3x2−3\frac{dy}{dx}=3x^2-3dxdy​=3x2−3. Set this to zero: x2=1x^2=1x2=1, so x=±1x=\pm1x=±1.
  2. 2
    Find yyy: x=1x=1x=1 gives y=−2y=-2y=−2, and x=−1x=-1x=−1 gives y=2y=2y=2.
  3. 3
    Differentiate again: d2ydx2=6x\frac{d^2y}{dx^2}=6xdx2d2y​=6x.
  4. 4
    At x=1x=1x=1 it is 6>06>06>0, a minimum. At x=−1x=-1x=−1 it is −6<0-6<0−6<0, a maximum.

Answer: There is a local maximum at (−1,2)(-1,2)(−1,2) and a local minimum at (1,−2)(1,-2)(1,−2).

Common mistake

A zero gradient does not prove a maximum or minimum. The curve y=x3y=x^3y=x3 has dydx=0\frac{dy}{dx}=0dxdy​=0 at the origin but keeps rising.

Key terms · tap one for its definition

stationary point

A stationary point is a point on a graph where its first derivative equals zero.

second derivative

The second derivative d2ydx2\frac{d^2y}{dx^2}dx2d2y​ is the derivative of the first derivative, measuring how the gradient changes.

Part 5 done

6

Part 6 of 6: Derivatives measure rates of change in real problems

Often xxx is replaced by time ttt. A rate of change then tells you how fast a quantity is changing. If a height hhh depends on ttt, then dhdt\frac{dh}{dt}dtdh​ is how quickly the height changes.

The same method finds greatest and least values. Differentiate, set the derivative to zero, solve, and then check the result with the second derivative.

Worked example

Rate of change and greatest height

A ball’s height is h=20t−5t2h=20t-5t^2h=20t−5t2 metres, where ttt is in seconds. Find the rate of change of height at t=1t=1t=1 and the greatest height.
  1. 1
    Differentiate: dhdt=20−10t\frac{dh}{dt}=20-10tdtdh​=20−10t.
  2. 2
    At t=1t=1t=1: 20−10=1020-10=1020−10=10, so the height rises at 10 m s−110\,\mathrm{m\,s^{-1}}10ms−1.
  3. 3
    Set 20−10t=020-10t=020−10t=0, so t=2t=2t=2. The second derivative is −10<0-10<0−10<0, so this is a maximum.
  4. 4
    Then h=20×2−5×22=40−20=20h=20\times2-5\times2^2=40-20=20h=20×2−5×22=40−20=20.

Answer: The rate at t=1t=1t=1 is 10 m s−110\,\mathrm{m\,s^{-1}}10ms−1 and the greatest height is 20 m20\,\mathrm{m}20m.

Exam tip

Include units in rate answers. A rate of change has the units of the quantity divided by the units of time.

Key term

rate

A rate is a derivative that measures how a quantity changes with respect to time.

Note read

Check your recall[15 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[2 marks]

    State the limit definition of the derivative f′(x)f'(x)f′(x).

    Show mark schemeHide mark scheme

    Model answer

    f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}f′(x)=limh→0​hf(x+h)−f(x)​.

    • 1 mark for stating the quotient f(x+h)−f(x)h\frac{f(x+h)-f(x)}{h}hf(x+h)−f(x)​
    • 1 mark for including the limit as h→0h\to0h→0
  2. 2.Determine[2 marks]

    Determine dydx\frac{dy}{dx}dxdy​ for y=3x4−2x+7y=3x^4-\frac{2}{x}+7y=3x4−x2​+7.

    Show mark schemeHide mark scheme

    Model answer

    Rewrite as 3x4−2x−1+73x^4-2x^{-1}+73x4−2x−1+7. Then dydx=12x3+2x−2=12x3+2x2\frac{dy}{dx}=12x^3+2x^{-2}=12x^3+\frac{2}{x^2}dxdy​=12x3+2x−2=12x3+x22​.

    • 1 mark for rewriting 2x\frac{2}{x}x2​ as 2x−12x^{-1}2x−1
    • 1 mark for obtaining 12x3+2x212x^3+\frac{2}{x^2}12x3+x22​
  3. 3.Calculate[2 marks]

    Calculate the gradient of the curve y=x3−4xy=x^3-4xy=x3−4x at the point where x=2x=2x=2.

    Show mark schemeHide mark scheme

    Model answer

    dydx=3x2−4\frac{dy}{dx}=3x^2-4dxdy​=3x2−4. At x=2x=2x=2, the gradient is 12−4=812-4=812−4=8.

    • 1 mark for differentiating to obtain 3x2−43x^2-43x2−4
    • 1 mark for substituting x=2x=2x=2 to obtain 8
  4. 4.Use[3 marks]

    Use the product rule to differentiate y=(2x+1)(x2−3)y=(2x+1)(x^2-3)y=(2x+1)(x2−3).

    Show mark schemeHide mark scheme

    Model answer

    Let u=2x+1u=2x+1u=2x+1 and v=x2−3v=x^2-3v=x2−3. Then dydx=(2x+1)×2x+(x2−3)×2=6x2+2x−6\frac{dy}{dx}=(2x+1)\times2x+(x^2-3)\times2=6x^2+2x-6dxdy​=(2x+1)×2x+(x2−3)×2=6x2+2x−6.

    • 1 mark for identifying uuu, vvv and their derivatives correctly
    • 1 mark for substituting into udvdx+vdudxu\frac{dv}{dx}+v\frac{du}{dx}udxdv​+vdxdu​
    • 1 mark for obtaining 6x2+2x−66x^2+2x-66x2+2x−6
  5. 5.Determine[4 marks]

    Determine the stationary points of y=x3−12xy=x^3-12xy=x3−12x and classify each one.

    Show mark schemeHide mark scheme

    Model answer

    dydx=3x2−12=0\frac{dy}{dx}=3x^2-12=0dxdy​=3x2−12=0 gives x=±2x=\pm2x=±2. Then (2,−16)(2,-16)(2,−16) and (−2,16)(-2,16)(−2,16). Since d2ydx2=6x\frac{d^2y}{dx^2}=6xdx2d2y​=6x, it is positive at x=2x=2x=2, a minimum, and negative at x=−2x=-2x=−2, a maximum.

    • 1 mark for solving 3x2−12=03x^2-12=03x2−12=0 to obtain x=±2x=\pm2x=±2
    • 1 mark for finding both yyy-values, -16 and 16
    • 1 mark for finding d2ydx2=6x\frac{d^2y}{dx^2}=6xdx2d2y​=6x
    • 1 mark for classifying (2,−16)(2,-16)(2,−16) as a minimum and (−2,16)(-2,16)(−2,16) as a maximum
  6. 6.Explain[2 marks]

    Explain why a point where dydx=0\frac{dy}{dx}=0dxdy​=0 may not be a maximum or a minimum.

    Show mark schemeHide mark scheme

    Model answer

    A zero gradient only shows that the point is stationary. The curve may keep rising or falling through it, as y=x3y=x^3y=x3 does at the origin.

    • 1 mark for stating that dydx=0\frac{dy}{dx}=0dxdy​=0 only shows that the point is stationary
    • 1 mark for giving a case where the gradient does not change sign, such as y=x3y=x^3y=x3

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify what dydx\frac{dy}{dx}dxdy​ represents at a point on a curve.
Show answer and explanation

Answer: C · Worked explanation

The derivative gives the gradient of the curve at a point, which equals the gradient of the tangent there. The value of yyy is the height of the curve, found from the function itself rather than its derivative. The derivative measures steepness, not area or distance.
4.

Medium·Calculate[1 mark]

Calculate the gradient of y=2x3−5xy=2x^3-5xy=2x3−5x at x=−1x=-1x=−1.
Show answer and explanation

Answer: A · Worked explanation

Differentiate: dydx=6x2−5\frac{dy}{dx}=6x^2-5dxdy​=6x2−5. At x=−1x=-1x=−1 this is 6×1−5=16\times1-5=16×1−5=1. The value 3 is the value of yyy at x=−1x=-1x=−1, not the gradient. The value -11 comes from differentiating 2x32x^32x3 as 6x6x6x, giving 6(−1)−5=−116(-1)-5=-116(−1)−5=−11. Substitute the value of xxx into the derivative, not into the original function.
5.

Medium[1 mark]

Differentiate y=4x3y=\frac{4}{x^3}y=x34​ with respect to xxx.
Show answer and explanation

Answer: D · Worked explanation

Rewrite as y=4x−3y=4x^{-3}y=4x−3. Then dydx=−12x−4=−12x4\frac{dy}{dx}=-12x^{-4}=-\frac{12}{x^4}dxdy​=−12x−4=−x412​. The expression −12x2-\frac{12}{x^2}−x212​ adds 1 to the power instead of subtracting 1. The expression 12x4\frac{12}{x^4}x412​ loses the negative sign that comes from multiplying by the power -3. The sign makes sense, because y=4x3y=\frac{4}{x^3}y=x34​ falls as xxx increases when x>0x>0x>0.
6.

Medium[1 mark]

Use the product rule to differentiate y=x3(2x−1)y=x^3(2x-1)y=x3(2x−1).
Show answer and explanation

Answer: B · Worked explanation

With u=x3u=x^3u=x3 and v=2x−1v=2x-1v=2x−1: dydx=x3×2+(2x−1)×3x2=8x3−3x2\frac{dy}{dx}=x^3\times2+(2x-1)\times3x^2=8x^3-3x^2dxdy​=x3×2+(2x−1)×3x2=8x3−3x2. Expanding first gives 2x4−x32x^4-x^32x4−x3, which confirms this. The expression 6x26x^26x2 multiplies the two derivatives together, which the product rule does not do. This is why the product rule has two terms.
7.

Medium·Determine[2 marks]

Determine the coordinates of the stationary point of y=x2−6x+5y=x^2-6x+5y=x2−6x+5.
Show answer and explanation

Answer: C · Worked explanation

Differentiate: dydx=2x−6\frac{dy}{dx}=2x-6dxdy​=2x−6. Setting this to zero gives x=3x=3x=3. Then y=9−18+5=−4y=9-18+5=-4y=9−18+5=−4, so the point is (3,−4)(3,-4)(3,−4). The point (−4,3)(-4,3)(−4,3) swaps the coordinates. The point (3,4)(3,4)(3,4) makes a sign error when finding yyy. As a check, 2×3−6=02\times3-6=02×3−6=0.
8.

Hard·Identify[2 marks]

Identify the correct statement about the stationary points of y=x3−3x2y=x^3-3x^2y=x3−3x2.
Show answer and explanation

Answer: A · Worked explanation

dydx=3x2−6x=3x(x−2)\frac{dy}{dx}=3x^2-6x=3x(x-2)dxdy​=3x2−6x=3x(x−2), so x=0x=0x=0 or x=2x=2x=2. The second derivative is 6x−66x-66x−6, which is -6 at x=0x=0x=0, a maximum, and 6 at x=2x=2x=2, a minimum. The reversed pairing mixes up which sign of the second derivative means a maximum.
9.

Hard·Determine[2 marks]

Determine the equation of the normal to y=x2+3xy=x^2+3xy=x2+3x at the point where x=1x=1x=1.
Show answer and explanation

Answer: D · Worked explanation

At x=1x=1x=1, y=4y=4y=4 and dydx=2x+3=5\frac{dy}{dx}=2x+3=5dxdy​=2x+3=5. The normal gradient is −15-\frac{1}{5}−51​, so y−4=−15(x−1)y-4=-\frac{1}{5}(x-1)y−4=−51​(x−1), which gives y=−15x+215y=-\frac{1}{5}x+\frac{21}{5}y=−51​x+521​. The line y=5x−1y=5x-1y=5x−1 is the tangent. The line y=−5x+9y=-5x+9y=−5x+9 only changes the sign of the gradient. As a check, the tangent and normal gradients multiply to -1, since 5×(−15)=−15\times\left(-\frac{1}{5}\right)=-15×(−51​)=−1.
10.

Hard·Calculate[2 marks]

Calculate the greatest height of a ball with height h=30t−5t2h=30t-5t^2h=30t−5t2 metres at time ttt seconds.
Show answer and explanation

Answer: B · Worked explanation

Differentiate: dhdt=30−10t\frac{dh}{dt}=30-10tdtdh​=30−10t. Setting this to zero gives t=3t=3t=3 s. Then h=30×3−5×9=45h=30\times3-5\times9=45h=30×3−5×9=45 m. The value 3 is the time of the maximum, not the height. The value 90 m is only the 30t30t30t term at t=3t=3t=3, without the −5t2-5t^2−5t2 term.

Keep going

Next topicP8 IntegrationPrevious topicP6 Exponentials and logarithms

More in P · Pure mathematics

  1. P2Algebra and functionsNotes · 10 questions
  2. P3Coordinate geometryNotes · 10 questions
  3. P4Sequences and seriesNotes · 10 questions
  4. P5TrigonometryNotes · 10 questions
  5. P6Exponentials and logarithmsNotes · 10 questions
  6. P7DifferentiationNotes · 10 questions
  7. P8IntegrationNotes · 10 questions
  8. P9Numerical methodsNotes · 10 questions
  9. P10VectorsNotes · 10 questions

All Edexcel A-level Mathematics topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by Pearson Edexcel or any exam board.

On this page

0/6 read

  1. 1The derivative gives the gradient of a curve at a point
  2. 2First principles finds the gradient as a limit
  3. 3The power rule differentiates a polynomial term by term
  4. 4Products and quotients need their own rules
  5. 5Stationary points occur where the gradient is zero
  6. 6Derivatives measure rates of change in real problems
  7. Check your recall
  8. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

A curve with two stationary points

y-3-2-10123-4-2024x
  • y = x³ - 3x
  • Local maximum
  • Local minimum