The big idea: A tangent line touches a curve at a point and has the same gradient as the curve there. (It can meet the curve again somewhere else.)
Its gradient equals the gradient of the curve at that point — found using f′(x).
To find the equation of a straight line you need two things: a gradient and a point on the line.
For a tangent, both of these come from the curve itself.
| What you need | Where it comes from |
|---|---|
| Gradient of the tangent at x = a | Evaluate f′(a) — substitute into the derivative |
| A point on the tangent | The point of tangency: (a, f(a)) — substitute x = a into the original function |
Point-slope form: Once you have the gradient m and the point (x₁, y₁), the tangent equation is:
y − y₁ = m(x − x₁)
You may also be asked to write it in the form y = mx + c — just rearrange.
Interactive graph: tangent line at a point
Interactive diagram
Explore the labelled diagram, charts and maps for this topic in full study mode.
Free preview
This is the free notes preview
You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:
- FlashcardsLock in vocabulary and key terms with spaced repetition.
- Practice questionsAnswer exam-style questions and get instant AI marking.
- Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
- Personalised study planA daily plan built around your exam date and weak areas.
The three steps: The method always uses the same three steps, in this order.
Equation of a line at a point
Differentiate
Find f′(x).
Find the gradient
Substitute the given x-value into f′(x) to get a number m.
Write the equation
Use y − y₁ = m(x − x₁) with the gradient m and point (x₁, y₁).
Differentiate, substitute, write the line.
Worked example 1
Find the equation of the tangent to y = x² + 3x at the point where x = 1.
Give the answer in the form y = mx + c.
Step by step
- Step 1: Differentiate.
- Step 2: Find the gradient at x = 1.
- Find the y-coordinate of the point of tangency.
- So the point is
- Step 3: Apply point-slope form.
- Rearrange to y = mx + c.
Final answer
y = 5x − 1
Finding y₁: If the question gives you x but not y, always substitute x into the original function f(x) (not the derivative) to find y₁.
The derivative gives gradient, the original gives y-values.
Practice with exam-style questions
Answer exam-style questions and get AI feedback that shows you exactly what examiners want to see in a full-marks response.
The big idea: IB sometimes gives you the full coordinates of the point of tangency.
You already have x₁ and y₁ — you still need to differentiate and find m.
Worked example 2
The curve f(x) = 2x³ − 5x passes through the point (2, 6).
Find the equation of the tangent at (2, 6).
Step by step
- Step 1: Differentiate f(x).
- Step 2: Find the gradient at x = 2.
- Step 3: Point is (2, 6), gradient is 19.
- Expand and simplify.
Final answer
y = 19x − 32
Checking the point lies on the curve: If the question says 'the curve passes through (2, 6)', you can verify: f(2) = 2(8) − 5(2) = 16 − 10 = 6.
This is a quick sanity check and worth doing when you have time.
Worked example 3 — find the gradient, leave in exact form
Find the equation of the tangent to f(x) = x³ − 2x² + 1 at x = −1.
Step by step
- Differentiate.
- Gradient at x = −1.
- So
- y-value at x = −1.
- So
- Point (−1, −2), gradient 7.
- Simplify.
Final answer
y = 7x + 5
The big idea: A harder variation: you are given the gradient of the tangent and asked to find where on the curve the tangent touches.
Set f′(x) = the given gradient and solve for x.
Worked example
The tangent to f(x) = x³ − 3x at a point has gradient 9.
Find the equation of the tangent.
Step by step
- Differentiate.
- Set f′(x) = 9 and solve.
- So
- Two possible tangent points. Take x = 2: find y.
- So the point is
- Tangent at (2, 2) with m = 9.
- Rearranged:
- For x = −2: f(−2) = −8 + 6 = −2 → point (−2, −2).
- Rearranged:
Final answer
y = 9x − 16 (at x = 2) and y = 9x + 16 (at x = −2)
IB often wants only one of the tangents: When you get two x-values, check whether the question specifies a positive/negative x or gives some other condition.
If not, present both solutions.
Feeling unprepared for exams?
Get a clear study plan, practice with real questions, and know exactly where you stand before exam day. No more guessing.
Parallel means the same gradient: Parallel lines have the same gradient. "The tangent is parallel to y = 3x + 5" tells you its gradient: 3. Then use the point and y − y₁ = m(x − x₁) as usual.
Write down the gradient, then the line
Let f(x) = x³ − 3x² + 4. At the point (1, 2), the tangent to the curve is parallel to the line y = −3x + 8.
State (i) the gradient of this tangent and (ii) its equation.
Step by step
- (i) Parallel to y = −3x + 8, so the same gradient. (Check: f′(x) = 3x² − 6x, f′(1) = −3.)
- (ii) Point (1, 2), gradient −3.
- Or, rearranged:
Final answer
(i) −3. (ii) y − 2 = −3(x − 1), or y = −3x + 5. Either form is accepted.
How many tangents are parallel to L?: Set f′(x) equal to the gradient of L and count the solutions. Each solution is a point where the tangent has that gradient. L itself is one of them, so "other" tangents are the rest.
Animated graph
Watch the graph build step by step in study mode.
A tangent shares two things with the curve: At x = a the tangent and the curve have the same point, (a, f(a)), and the same gradient, f′(a). So if y = 5x − 2 is the tangent at x = 1, then f(1) = 5(1) − 2 = 3 and f′(1) = 5.
Animated graph
Watch the graph build step by step in study mode.
Positive or negative? Justify
The line y = mx − 3 is the tangent to f(x) = x² − 4x + 6 at x = 3.
Write down whether m is positive or negative. Justify your answer.
Step by step
- Any one reason earns the reason mark. From the graph: f is increasing at x = 3.
- Or from the derivative: f′(x) = 2x − 4.
- Or from the point: f(3) = 3 lies on the line.
Final answer
m is positive, because f is increasing at x = 3 (f′(3) = 2 > 0).
Memorize terms 3x faster
Smart flashcards show you cards right before you forget them. Perfect for definitions and key concepts.
Smooth means two checks: Two pieces of a design join smoothly at x = a when they have the same height there AND the same gradient (the same tangent). Show both with numbers: f(a) for each piece, then f′(a) for each piece.
A slide made of two pieces
A slide has height h(x) = 4 − 0.5x² for 0 ≤ x ≤ 2 and h(x) = 0.5x² − 4x + 8 for 2 ≤ x ≤ 4.
Explain why the slide is smooth at x = 2.
Step by step
- Compare the heights at x = 2, then the gradients at x = 2. The figure below works this example.
Final answer
Both heights are 2 and both gradients are −2 at x = 2, so the pieces meet and share a tangent: smooth.
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
Exam-style question — a tangent and its parallels [8 marks]
Consider f(x) = 0.5x² + 4/x, x ≠ 0.
(a) Find f′(x). [2]
(b) Find the equation of the tangent to the graph of f at x = 1. [3]
(c) Determine the number of other tangents to the graph of f that are parallel to this tangent. Justify your answer. [3]
Step by step
- (a) Rewrite 4/x as 4x⁻¹ and differentiate term by term.
- (b) Gradient from f′.
- Point from f.
- Into y − y₁ = m(x − x₁).
- Rearranged:
- (c) Parallel means gradient −3: solve f′(x) = −3 (or graph y = f′(x) and y = −3).
- The GDC gives two solutions.
- x = 1 is the tangent from (b), so one other.
Final answer
(a) f′(x) = x − 4x⁻². (b) y = −3x + 7.5. (c) f′(x) = −3 at x = −2 and x = 1; x = 1 is the tangent in (b), so there is one other tangent parallel to it, at x = −2.