Differentiation of Algebraic Function II – SS3 Mathematics Lesson Note (Second Term)
Lesson note at a glance
- Class
- SS3
- Subject
- Mathematics
- Term
- Second Term
- Reading time
- 9 min
Differentiation is the process of finding the derivative dy/dx of a function, which gives its rate of change with respect to x.
Behavioural objectives
By the end of the lesson, students should be able to:
- differentiate algebraic functions using the power rule and the sum and difference rule;
- differentiate a function of a function using the chain rule;
- differentiate products and quotients of functions using the product rule and the quotient rule;
- find the gradient of a curve at a point, the point where a curve has a given gradient, and the equation of a tangent;
- find velocity and acceleration from a displacement equation;
- find the maximum and minimum values of a function.
What is the power rule?
The power rule states that if y = axn, then dy/dx = naxn-1.
- Power term: multiply by the power, then reduce the power by 1. For y = x5, dy/dx = 5x4.
- Constant term: the derivative of a number on its own is 0. For y = 7, dy/dx = 0.
- Term in x: the derivative of ax is a. For y = 7x, dy/dx = 7.
- Negative power: write 1/x2 as x-2 first. Then dy/dx = -2x-3.
- Fractional power: write √x as x1/2 first. Then dy/dx = ½x-1/2.
How do we differentiate a sum or difference of algebraic functions?
The derivative of a sum or difference is the sum or difference of the derivatives of each term.
If y = u + v, where u and v are functions of x, then dy/dx = du/dx + dv/dx.
Proof from first principles
Let f(x) = u(x) + v(x).
- f(x + δx) = u(x + δx) + v(x + δx).
- f(x + δx) – f(x) = u(x + δx) + v(x + δx) – u(x) – v(x).
- This equals [u(x + δx) – u(x)] + [v(x + δx) – v(x)].
- Divide by δx and let δx → 0. This gives f'(x) = u'(x) + v'(x).
Worked examples
Find the derivative of each function.
- y = 2x3 – 5x2 + 2
dy/dx = 6x2 – 10x - y = 3x2 + 1/x = 3x2 + x-1
dy/dx = 6x – x-2 = 6x – 1/x2 - y = 2x3 + 2x2 + 1
dy/dx = 6x2 + 4x
Practice questions
- If y = 3x4 – 2x3 – 7x + 5, find dy/dx.
- Find d/dx of (8x3 – 5x2 + 6).
What is the chain rule (function of a function)?
The chain rule gives the derivative of y when y is a function of u and u is a function of x.
If y = f(u) and u = h(x), then dy/dx = dy/du × du/dx.
Steps for using the chain rule
- Let u be the expression inside the bracket.
- Write y in terms of u and find dy/du.
- Find du/dx.
- Multiply dy/du by du/dx.
- Replace u with its expression in x.
Worked examples
- y = (3x2 – 2)3
Let u = 3x2 – 2. Then y = u3.
dy/du = 3u2 and du/dx = 6x.
dy/dx = 3u2 × 6x = 18x(3x2 – 2)2 - y = 1 – 2x3
The power rule is enough here.
dy/dx = -6x2 - y = 5/(6 – x2)3
Let u = 6 – x2. Then y = 5u-3.
dy/du = -15u-4 and du/dx = -2x.
dy/dx = -15u-4 × (-2x) = 30x/(6 – x2)4
Practice questions
- Given that y = 1/(2x + 3)4, find dy/dx.
- If y = (3x2 + 1)3, find dy/dx.
What is the product rule?
The product rule gives the derivative of y = uv, where u and v are both functions of x.
dy/dx = u dv/dx + v du/dx
Proof from first principles
- y + δy = (u + δu)(v + δv) = uv + uδv + vδu + δuδv.
- Subtract y = uv: δy = uδv + vδu + δuδv.
- Divide by δx: δy/δx = u(δv/δx) + v(δu/δx) + δu(δv/δx).
- As δx → 0, δu → 0 and δv → 0. The last term becomes 0.
- Taking the limit of each term gives dy/dx = u dv/dx + v du/dx.
Worked examples
- y = (3 + 2x)(1 – x)
Let u = 3 + 2x and v = 1 – x. Then du/dx = 2 and dv/dx = -1.
dy/dx = u dv/dx + v du/dx
= (3 + 2x)(-1) + (1 – x)(2)
= -3 – 2x + 2 – 2x
dy/dx = -1 – 4x - y = (1 – 2x + 3x2)(4 – 5x2)
Let u = 1 – 2x + 3x2 and v = 4 – 5x2. Then du/dx = -2 + 6x and dv/dx = -10x.
dy/dx = u dv/dx + v du/dx
= (1 – 2x + 3x2)(-10x) + (4 – 5x2)(-2 + 6x)
= -10x + 20x2 – 30x3 – 8 + 24x + 10x2 – 30x3
= 14x + 30x2 – 60x3 – 8
Practice questions
Find dy/dx given that:
- y = (5 + 3x)(2 – x)
- y = (1 + x)(x + 2)3/2
What is the quotient rule?
The quotient rule gives the derivative of y = u/v, where u and v are functions of x.
dy/dx = (v du/dx – u dv/dx) / v2
Steps for using the quotient rule
- Name the top as u and the bottom as v.
- Find du/dx and dv/dx.
- Substitute into (v du/dx – u dv/dx) / v2.
- Simplify the numerator.
Worked examples
Differentiate the following with respect to x.
- y = (x2 + 1)/(1 – x2)
Let u = x2 + 1 and v = 1 – x2. Then du/dx = 2x and dv/dx = -2x.
dy/dx = [(1 – x2)(2x) – (x2 + 1)(-2x)] / (1 – x2)2
= (2x – 2x3 + 2x3 + 2x) / (1 – x2)2
= 4x/(1 – x2)2 - y = (x – 1)2/√x
Let u = (x – 1)2 and v = x1/2. Then du/dx = 2(x – 1) and dv/dx = ½x-1/2.
dy/dx = [x1/2 × 2(x – 1) – (x – 1)2 × ½x-1/2] / x
Multiply top and bottom by 2√x: dy/dx = [4x(x – 1) – (x – 1)2] / (2x√x)
= (x – 1)(3x + 1) / (2x√x)
Practice questions
Differentiate with respect to x:
- (2x + 3)3/(x3 – 4)2
- √x/√(x + 1)
Which rule should we use?
The form of the function tells you which rule to use.
| Rule | Use it when | Formula |
|---|---|---|
| Sum and difference | Terms are added or subtracted | dy/dx = du/dx + dv/dx |
| Chain | A bracket is raised to a power | dy/dx = dy/du × du/dx |
| Product | Two functions of x are multiplied | dy/dx = u dv/dx + v du/dx |
| Quotient | One function of x is divided by another | dy/dx = (v du/dx – u dv/dx) / v2 |
How is differentiation applied to gradients and tangents?
The gradient of a curve at a point is the value of dy/dx at that point.
- Gradient at a point: find dy/dx, then substitute the x value.
- Point with a given gradient: set dy/dx equal to the gradient, solve for x, then find y.
- Tangent: a straight line that touches the curve at one point and has the same gradient as the curve there.
Steps for finding the equation of a tangent
- Find dy/dx.
- Substitute the x value of the point to get the gradient.
- Use y – y1 = (dy/dx)(x – x1), where (x1, y1) is the point.
- Simplify.
Worked examples
- Find the gradient of the curve y = x3 – 5x2 + 6x – 3 at the point where x = 3.
dy/dx = 3x2 – 10x + 6
When x = 3, dy/dx = 3(32) – 10(3) + 6 = 27 – 30 + 6 = 3. - Find the coordinates of the point on the graph of y = 5x2 + 8x – 1 at which the gradient is -2.
dy/dx = 10x + 8
Replace dy/dx by -2: 10x + 8 = -2
10x = -10, so x = -1
When x = -1, y = 5(-1)2 + 8(-1) – 1 = -4.
The point is (-1, -4). - Find the equation of the tangent to the curve y = x2 – 4x + 1 at the point (2, -3).
dy/dx = 2x – 4
At x = 2: dy/dx = 2(2) – 4 = 0.
y – (-3) = 0(x – 2)
y + 3 = 0
Practice questions
- Find the coordinates of the point on the graph of y = x2 + 2x – 10 at which the gradient is 8.
- Find the point on the curve y = x3 + 3x2 – 9x + 3 at which the gradient is 15.
What are velocity and acceleration?
Velocity is the rate of change of displacement with respect to time, and acceleration is the rate of change of velocity with respect to time.
- Velocity: if s is the distance and t is the time, velocity = ds/dt. Its unit is m/s when s is in metres.
- Acceleration: acceleration = dv/dt. It is also d2s/dt2. Its unit is m/s2.
Worked example
A moving body goes s metres in t seconds, where s = 4t2 – 3t + 5. Find its velocity after 4 seconds. Show that the acceleration is constant and find its value.
- Differentiate: v = ds/dt = 8t – 3.
- Substitute t = 4: v = 8(4) – 3 = 29 m/s.
- Differentiate again: a = dv/dt = 8.
- The answer 8 m/s2 has no t in it, so the acceleration is constant.
Practice question
- A particle moves so that after t seconds it has gone s metres, where s = 5t + 15t2 – t3. Find its velocity and acceleration after 3 seconds.
How do we find maximum and minimum values?
A turning point is a point on a curve where dy/dx = 0, and it is either a maximum or a minimum.
- Second derivative: d2y/dx2 is the derivative of dy/dx. For y = x4, dy/dx = 4x3 and d2y/dx2 = 12x2.
- Minimum point: d2y/dx2 > 0.
- Maximum point: d2y/dx2 < 0.
Steps for finding turning points
- Find dy/dx.
- Set dy/dx = 0 and solve for x.
- Find d2y/dx2.
- Substitute each x value into d2y/dx2 and check the sign.
- Substitute each x value into y to get the maximum or minimum value.
Worked examples
- Find the maximum and minimum value of y on the curve y = 6x – x2.
dy/dx = 6 – 2x
Set dy/dx = 0: 6 – 2x = 0, so x = 3.
When x = 3, y = 18 – 9 = 9. The turning point is (3, 9).
d2y/dx2 = -2, which is less than 0. So (3, 9) is a maximum point. - Find the maximum and minimum of the function y = x3 – 12x + 2.
dy/dx = 3x2 – 12
Set dy/dx = 0: 3x2 = 12, so x2 = 4 and x = ±2.
d2y/dx2 = 6x
When x = 2: d2y/dx2 = 12, which is positive. The function is a minimum and y = -14.
When x = -2: d2y/dx2 = -12, which is negative. The function is a maximum and y = 18.
Practice question
- Find the maximum and minimum value of y on the curve y = 4 – 12x – 3x2.
Evaluation
- Find the derivative of y = x2(1 + x)½. Use the product rule.
- Find the derivative of y = √x (x2 + 3x – 2)2. Use the product rule.
- Find the derivative of y = (7x2 – 5)3.
- Find the equation of the tangent to the curve y = x2 + 3x at the point (1, 4).
- Find the turning point of y = x2 – 6x + 5 and state whether it is a maximum or a minimum.
Assignment
Reading assignment: NGM for SS 3, Chapter 10, pages 90 to 101.
Weekend assignment: objective questions
- Differentiate the function 4x4 + x3 – 5. (a) 4x3 + 3x2 (b) 16x2 + 3x2 (c) 16x3 + 3x2 (d) 16x4 + 3x2
- Find d2y/dx2 of the function y = 3x5 with respect to x. (a) 15x3 (b) 45x4 (c) 60x3 (d) 3x5 (e) 12x3
- If f(x) = 3x2 + 2/x, find f'(x). (a) 6x + 2 (b) 6x + 2/x2 (c) 6x – 2/x2 (d) 6x – 2
- Find the derivative of 2x3 – 6x2. (a) 6x2 – 12x (b) 6x2 + 12x (c) 2x2 – 6x (d) 8x2 – 3x
- Find the derivative of x3 – 7x2 + 15x. (a) x2 – 7x + 15 (b) 3x2 – 14x + 15 (c) 3x2 + 7x + 15 (d) 3x2 – 7x + 15
Weekend assignment: theory
- Differentiate with respect to x: y2 + x2 – 3xy = 4.
Hint: treat y as a function of x. Use the chain rule on y2 and the product rule on 3xy.
This term's Mathematics topics
SS3 Second Term · 7 topics

