top of page

12.5 Differentiating Functions with Two or More Terms

A-level Maths Year 1 (AS) · Edexcel 9MA0 · Chapter 12: Differentiation

A free A-level Maths Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: sums and differences, expanding brackets and splitting fractions before you differentiate. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Differentiate sums and differences of powers of x term by term
  • Expand brackets before differentiating a product
  • Split a fraction into separate powers of x before differentiating
  • Find the gradient at a point, and the points with a given gradient, on curves with several terms

Key words

  • Term: One part of an expression, separated by + or − signs. 3x² − 5x + 1 has three terms.
  • Polynomial: A sum of terms in positive integer powers of x, such as x³ − 4x + 7.
  • Index form: Each term written as axⁿ, for example 3/√x = 3x^(−1/2).
  • Term by term: Differentiating each term separately and adding the results.

Term by term

Key fact: If y = f(x) ± g(x), then dy/dx = f'(x) ± g'(x). Differentiate each term on its own, keeping its sign.

Worked example: a cubic

y = 2x³ − 5x² + 4x − 9
dy/dx = 2 × 3x² − 5 × 2x + 4 − 0

Answer: 6x² − 10x + 4

Worked example: mixed powers

y = x⁴ + 3/x − 2√x
Index form: y = x⁴ + 3x⁻¹ − 2x^(1/2)
dy/dx = 4x³ − 3x⁻² − 2 × (1/2)x^(−1/2)

Answer: 4x³ − 3x⁻² − x^(−1/2)

Expand brackets first

There is no simple rule for a product at this stage. The derivative of (x + 1)(x + 2) is not 1 × 1. Multiply out, then differentiate term by term.

Worked example: y = x(x − 3)²

(x − 3)² = x² − 6x + 9, so y = x³ − 6x² + 9x
dy/dx = 3x² − 12x + 9

Answer: 3x² − 12x + 9

Worked example: y = (√x + 2)²

y = x + 4√x + 4 = x + 4x^(1/2) + 4
dy/dx = 1 + 4 × (1/2)x^(−1/2)

Answer: 1 + 2x^(−1/2) or 1 + 2/√x

Split fractions first

If the denominator is a single term, divide every term of the numerator by it. Then each term is a single power of x.

Worked example: y = (x³ − 4x)/x²

y = x³/x² − 4x/x² = x − 4x⁻¹
dy/dx = 1 + 4x⁻²

Answer: 1 + 4/x²

Worked example: y = (2x + 5)/√x

y = 2x^(1 − 1/2) + 5x^(−1/2) = 2x^(1/2) + 5x^(−1/2)
dy/dx = x^(−1/2) − (5/2)x^(−3/2)

Answer: x^(−1/2) − (5/2)x^(−3/2)

Gradient problems

Finding where a cubic has a given gradient leads to a quadratic equation, so there can be two points.

Worked example: two points with the same gradient

Find the points on y = x³ − 3x² − 5x + 2 where the gradient is 4.
dy/dx = 3x² − 6x − 5 = 4, so 3x² − 6x − 9 = 0
x² − 2x − 3 = 0, (x − 3)(x + 1) = 0, so x = 3 or x = −1
y(3) = 27 − 27 − 15 + 2 = −13 and y(−1) = −1 − 3 + 5 + 2 = 3

Answer: (3, −13) and (−1, 3)

Worked example: gradient at a point

f(x) = x² + 16/x. Find the gradient of y = f(x) at x = 2.
f(x) = x² + 16x⁻¹, so f'(x) = 2x − 16x⁻²
f'(2) = 4 − 16/4 = 0

Answer: the gradient is 0: the tangent at x = 2 is horizontal

Common mistakes

  • Dividing only the first term: (x³ − 4x)/x² is x − 4x⁻¹, not x − 4x.
  • Differentiating each bracket of a product and multiplying the results. Expand first.
  • Leaving a root or a fraction as it is: write 3/x as 3x⁻¹ before differentiating.
  • Dropping a minus sign that belongs to a term.
  • Giving only one point when the quadratic equation has two solutions.

Revision questions

Try these, then check your answers below each one.

Question 1. Find dy/dx when y = x³ − 4x² + 2x − 7. (Choose from: 3x² − 8x + 2; 3x² − 8x − 5; 3x² − 4x + 2; x² − 8x + 2.)

Answer: 3x² − 8x + 2

Working: 3x² − 8x + 2 − 0 = 3x² − 8x + 2.

Question 2. y = (x⁴ + 3x)/x, x ≠ 0. Find the gradient of the curve at x = 2.

Answer: 12

Working: y = x³ + 3, so dy/dx = 3x² = 12 at x = 2.

Question 3. Zoe says that the derivative of (x + 1)(x + 2) is 1 × 1 = 1. Is Zoe correct?

Answer: No

Working: (x + 1)(x + 2) = x² + 3x + 2, whose derivative is 2x + 3, not 1.

Related lessons

Continue in the full course

This lesson is section 12.5 of our free A-level Maths Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Year 1 (AS) course.

 

 

 

 

 

 

 

bottom of page