James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AI SL › Calculus › Introduction to differentiation

Introduction to differentiation

The derivative gives the gradient of a curve at any point, and the rate at which one quantity changes with another. This page covers limits from tables, differentiating axn for any integer n, increasing and decreasing functions, and equations of tangents and normals, with the GDC as a check at every step.

SL 5.1–5.4Paper 1Paper 2GDC allowed≈ 55 min to work through
Before you start: gradients and equations of straight lines (Straight lines) and the laws of exponents (Exponents & logarithms).

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Estimate a limit from a table or a graphSL 5.1
  • Interpret the derivative as a gradient function and as a rate of changeSL 5.1
  • Differentiate axn for integer n, and sums of such termsSL 5.3
  • Find intervals where a function is increasing (f′(x)>0) or decreasing (f′(x)<0)SL 5.2
  • Find the equations of the tangent and the normal at a pointSL 5.4
  • Find a gradient at a point on the GDCSL 5.1, 5.4

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

A curve has a different gradient at every point. The derivative f\′(x) is a new function that gives that gradient for any x. In context it is a rate of change: if V is a volume and t is time, dVdt is how fast the volume is changing. The gradient at a point is the limit of the gradients of chords through it as they get shorter.

2.1 Limits and the meaning of the derivative

Worked example 1Paper 1
Use a table of values to estimate limx→2x2−4x−2.
x=1.9: 3.9; x=1.99: 3.99; x=1.999: 3.999; x=2.001: 4.001
Use the GDC table (ctrl T) with x values closing in on 2 from both sides.
The limit is 4.
The function is undefined at x = 2 itself, but the values approach 4.

Notation: dydx, f\′(x), or for other letters dVdr, dsdt. Each means "the rate of change of the top variable with respect to the bottom one".

2.2 The power rule

Differentiating powers In formula booklet
f(x)=axn ⇒ f\′(x)=anxn−1,n∈Z

Differentiate a sum term by term. A constant differentiates to 0. Rewrite fractions as negative powers first: 2x=2x−1.

Worked example 2Paper 1
f(x)=3x4−2x+5. Find f\′(x) and f\′(1).
f(x)=3x4−2x−1+5
Write the fraction as a power first.
f\′(x)=12x3+2x−2
f\′(1)=12+2=14
Check on the GDC: the numerical derivative at x = 1 also gives 14.
Worked example 3Paper 2
The number of fish in a pond after t months is P=200+30t−t2. Find dPdt when t=5 and interpret it. When does the population stop increasing?
dPdt=30−2t; at t=5: 20
The population is increasing by 20 fish per month when t=5.
Give the units of a rate: fish per month.
30−2t=0⇒t=15 months

2.3 Increasing and decreasing functions

f is increasing where f\′(x)>0 and decreasing where f\′(x)<0. Find where f\′(x)=0, then check the sign either side (graph f\′ on the GDC).

Worked example 4Paper 1
Find the intervals on which f(x)=x3−6x2+9x+1 is increasing.
f\′(x)=3x2−12x+9
f\′(x)=0⇒x=1 or x=3
Polynomial root finder, or the zeros of the graph of f′.
f\′(x)>0 for x<1 and x>3
The graph of f′ is a U-shaped parabola, positive outside its zeros.

2.4 Tangents and normals

Tangent and normal at x=a Not in booklet: learn it

Point: (a,f(a)). Tangent gradient: m=f\′(a). Normal gradient: −1m (perpendicular to the tangent). Then y−y1=m(x−x1).

Worked example 5Paper 1
Find the equations of the tangent and the normal to y=x3−4x+1 at x=2.
Point: y=8−8+1=1, so (2,1)
dydx=3x2−4=8 at x=2
Tangent: y−1=8(x−2)⇒y=8x−15
Normal: y−1=−18(x−2)⇒y=−0.125x+1.25
Worked example 6 (faded)Paper 1
f(x)=5x3−4x+7. Find f\′(2).
f\′(x)= 15x² − 4  ← you work this out
f\′(2)= 56  ← you work this out
On your TI-Nspire Calculator tricks →

Gradient at a point: menu → Calculus → Numerical Derivative at a Point, or on a Graphs page: menu → Analyze Graph → dy/dx, then click the point. Tangent line: on a Graphs page, menu → Geometry → Points & Lines → Tangent, then click the curve: the equation is shown. Use these to check your derivative, and to answer directly when the question allows.

3Explore it

Point P is fixed and Q is a distance h further along the curve. Make h smaller and watch the chord PQ turn into the tangent at P.

curvechord PQtangent at P

4Common mistakes & exam tips

Common mistakes

  • Differentiating 2x as 21 or 2, instead of rewriting it as 2x−1.
  • Forgetting that a constant differentiates to 0.
  • Using f\′(a) as the y-coordinate of the point. The point is (a,f(a)).
  • Using the tangent gradient for the normal.
  • Giving a rate of change without units or context.

Exam tips

  • The power rule is in the formula booklet.
  • Check every derivative at one point with the GDC’s numerical derivative.
  • "Hence find the equation of the tangent": show the point, the gradient and the equation, in that order.
  • Increasing/decreasing intervals: give them as inequalities, such as x<1 or 1<x<3.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Differentiate y=4x3−7x+2.
12x2−7
FluencyP2
Differentiate y=3x2+x.
−6x−3+1
FluencyP3
Find the gradient of y=x4−3 at x=2.
4(8)=32
FluencyP4
f(x)=2x2−8x. Find the interval on which f is decreasing.
f\′(x)=4x−8<0⇒x<2
Problem solvingP5
Find the equation of the normal to y=x2+16x at x=4, in the form ax+by+d=0.
Point (4,20); y\′=7; normal: x+7y−144=0
Problem solvingP6
A balloon’s volume is V=0.5t3+2t litres after t seconds. Find the rate of change of volume after 2 seconds.
dVdt=1.5t2+2=8 litres per second

6Exam-style questions

Original questions in the style of the IB Maths AI SL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.

Question 1Paper 1[6 marks]

Let f(x)=2x3−3x2−12x+1.

  • (a)Find f\′(x).[2]
  • (b)Find the gradient of the graph of f at x=3.[1]
  • (c)Find the equation of the tangent to the graph at x=3.[2]
  • (d)Find the values of x at which the gradient is zero.[1]
(a)
6x2−6x−12A2
Award A1 for two correct terms.
(b)
24A1
(c)
f(3)=−8(A1)
y=24x−80A1
(d)
x=−1, 2A1
Question 2Paper 1[6 marks]

Let f(x)=x2+16x, for x>0.

  • (a)Find f\′(x).[2]
  • (b)Find the equation of the normal to the graph of f at x=4. Give your answer in the form ax+by+d=0, where a,b,d∈Z.[4]
(a)
2x−16x−2A1A1
(b)
f(4)=20, f\′(4)=7(A1)(A1)
normal gradient −17; y−20=−17(x−4)(M1)
x+7y−144=0A1
Question 3Paper 2[6 marks]

A company’s weekly profit, in dollars, from selling x items is P(x)=−0.02x3+3x2+10x−200, for 0≤x≤120.

  • (a)Find P\′(x).[2]
  • (b)Find P\′(50) and interpret it in context.[2]
  • (c)Find the values of x for which the profit is increasing.[2]
(a)
−0.06x2+6x+10A2
(b)
160A1
profit is increasing at about $160 per extra item when 50 items are soldR1
(c)
P\′(x)>0; zero at x=101.6(M1)
0≤x<102A1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you're scoring well above, try these real IB Maths AI SL questions. Your school or teacher will have the papers.

PaperQuestionFocusDifficulty
Nov 2025 · TZ3 · Paper 1Q9Cubic: f(1), f′(x), equation of the tangent★★☆
May 2022 · TZ1 · Paper 1Q9Negative powers: derivative and the equation of a normal★★☆
May 2025 · TZ1 · Paper 1Q8Find b from a gradient; show a function is increasing★★☆
May 2026 · TZ2 · Paper 1Q9Differentiate, then statements about f′ from a graph★☆☆
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake