Gradients and derivatives
A curve is steeper in some places than others, so its gradient changes from point to point. Differentiation finds a rule for that gradient, the derivative. Watch it on Unit 1’s curve, q(x) = 2(x − 3)² − 8.
1From secant to tangent
| Q | Secant gradient |
|---|---|
| (5, 0) | (0 + 6)/(5 − 4) = 6 |
| (4.5, −3.5) | (−3.5 + 6)/0.5 = 5 |
| (4.1, −5.58) | (−5.58 + 6)/0.1 = 4.2 |
2The power rule: multiply by the power, then take one off
Find the gradient of y = 4x³ᐟ² − 6/x + 5 at x = 4 (x > 0).
- Write every term as a power of x
- Multiply by each power, reduce it by 1dy/dx=4 × (3/2)x¹ᐟ² − 6 × (−1)x⁻²=6√x + 6/x²
- Substitute x = 4 after differentiating6√4 + 6/4²=12 + 3/8
- Answergradient 99/8
3The second derivative: differentiate again
4The chain rule: outer, then times inner
Find dy/dx for y = √(x³ + 2x + 4), x ≥ 0, and the gradient at x = 0.
- Name the inner expressionu=x³ + 2x + 4, so y = u¹ᐟ²
- Differentiate each part
- Multiply and put u back
- Substitute x = 02/(2√4)=1/2
- Answerdy/dx = (3x² + 2)/(2√(x³ + 2x + 4)); gradient 1/2 at x = 0
Differentiate y = 7 − 5/(3x + 2), for x > −2/3.
- A reciprocal is the outer power −1y=7 − 5(3x + 2)⁻¹
- Outer power −1, inner derivative 3
- Answerdy/dx = 15/(3x + 2)²Both factors are needed.
5Try it
1 Differentiate y = 3x⁴ − 2/x² + 7.
2 Find d²y/dx² for y = x³ − 5x².
3 Differentiate y = (4x − 1)⁵.
4 Find the gradient of y = √(x² + 9) at x = 4.
- 1y = 3x⁴ − 2x⁻² + 7, so dy/dx = 12x³ + 4x⁻³ = 12x³ + 4/x³
- 2dy/dx = 3x² − 10x, so d²y/dx² = 6x − 10
- 35(4x − 1)⁴ × 4 = 20(4x − 1)⁴
- 4dy/dx = x/√(x² + 9) = 4/5 at x = 4
Tangents and normals
A tangent touches a curve with the curve’s gradient there. The normal crosses the same point at right angles to it. Both are straight lines, so each needs a point and a gradient: the curve gives the point, the derivative the gradient.
1Tangent: point from the curve, gradient from the derivative
Find the tangent to q(x) = 2(x − 3)² − 8 at x = 4.
- Point from the curveq(4)=2(1)² − 8 = −6P=(4, −6)
- Gradient from the derivativeq′(x)=4x − 12q′(4)=4
- Line through Py + 6=4(x − 4)
- Answery = 4x − 22
2Normal: the negative reciprocal gradient
Find the normal to q at P(4, −6).
- Normal gradient4 × mₙ=−1mₙ=−1/4
- Line through the same point
- Answery = −x/4 − 5, or x + 4y + 20 = 0
3Work back from a given direction
The normal to q at a point is parallel to y = −x/2. Find the tangent there.
- Tangent gradientnormal −1/2, so tangent −1 ÷ (−1/2)=2
- Solve q′(x) = 24(x − 3)=2x=7/2, q(7/2) = −15/2
- Line through the pointy + 15/2=2(x − 7/2)
- Answery = 2x − 29/2
4An unknown coefficient from a normal
H(x) = x³ + Ax² − 9x + 11 has a normal of gradient 1/12 at x = 1. Find A and the normal.
- Tangent gradient (not the normal’s)−1 ÷ (1/12)=−12
- Set H′(1) = −12H′(x)=3x² + 2Ax − 93 + 2A − 9=−12A=−3
- Find the pointH(1)=1 − 3 − 9 + 11 = 0
- AnswerA = −3; normal y = (x − 1)/12
5Try it
1 Find the tangent to y = x² − 4x + 1 at x = 3.
2 Find the normal to the same curve at x = 3.
3 Find the point on y = x² − 4x + 1 where the tangent is parallel to y = 6x.
- 1y = −2 and dy/dx = 2x − 4 = 2: y + 2 = 2(x − 3), so y = 2x − 8
- 2gradient −1/2: y + 2 = −½(x − 3), so y = −x/2 − 1/2
- 32x − 4 = 6, so x = 5: the point (5, 6)
Increasing, decreasing and stationary points
Walking along a curve from left to right, you go uphill where the gradient is positive and downhill where it is negative. Where the gradient is zero the curve is flat for an instant: a stationary point, often a top or a bottom.
1Rising or falling: read the sign of the gradient
Show g(x) = 7 − 5/(3x + 2) is increasing for x > −2/3.
- Differentiate with the chain ruleg′(x)=15/(3x + 2)²
- A square of a non-zero number is positivex > −2/3 ⇒ 3x + 2 > 0 ⇒ (3x + 2)² > 0
- Answerg′(x) > 0 for every x > −2/3: g is increasingOne value such as g′(0) = 15/4 would not prove it.
2Find the stationary points: solve f′(x) = 0, then find y
Find the stationary points of F(x) = x³ − 3x² − 9x + 11.
- DifferentiateF′(x)=3x² − 6x − 9
- Set it to zero and factorise3(x + 1)(x − 3)=0x=−1 or x = 3
- Heights from F, not F′F(−1)=−1 − 3 + 9 + 11 = 16F(3)=27 − 27 − 27 + 11 = −16
- Answer(−1, 16) and (3, −16)
3Maximum or minimum: the second derivative
Classify the stationary points of F.
- Differentiate againF″(x)=6x − 6
- At x = −1F″(−1)=−12 < 0
∴(−1, 16) is a maximum
- At x = 3F″(3)=12 > 0
∴(3, −16) is a minimum
- Answermaximum (−1, 16); minimum (3, −16)
| Interval | Signs of x + 1, x − 3 | F′ = 3(x + 1)(x − 3) |
|---|---|---|
| x < −1 | − and − | positive: rising |
| −1 < x < 3 | + and − | negative: falling |
| x > 3 | + and + | positive: rising |
4Try it
1 Find the stationary points of f(x) = x³ − 12x + 3.
2 Classify each one.
3 For which x is f decreasing?
- 1f′(x) = 3x² − 12 = 0, so x = ±2: (−2, 19) and (2, −13)
- 2f″(x) = 6x: f″(−2) = −12 < 0, maximum; f″(2) = 12 > 0, minimum
- 3f′(x) < 0 between the roots: −2 < x < 2
Sketching a curve and rebuilding it
A sketch is not a plot of many points. It needs a few key points (where the curve crosses the axes and where it turns) and the direction between them. Turned round, the same facts rebuild an unknown curve.
1Collect the key points
2Join them in the right direction
3A stretch moves the stationary points
4Work backwards: conditions give coefficients
y = x³ + Ax² + Bx + C has horizontal tangents at x = −1 and x = 3 and passes through (1, 0). Find A, B and C.
- Differentiatedy/dx=3x² + 2Ax + B
- Both gradients are 03 − 2A + B=027 + 6A + B=0
- Subtract, then substitute24 + 8A=0, so A = −33 + 6 + B=0, so B = −9
- Use the point (1, 0)0=1 − 3 − 9 + C, so C = 11
- Answery = x³ − 3x² − 9x + 11, the curve F
5Try it
1 Find the stationary points of y = x³ − 3x and say which is a maximum.
2 Find where y = x³ − 3x crosses the x-axis, then sketch it.
3 y = x³ + Ax² + B has a stationary point at (2, −1). Find A and B.
- 13x² − 3 = 0, x = ±1: (−1, 2) maximum (y″ = −6), (1, −2) minimum (y″ = 6)
- 2x(x² − 3) = 0: x = 0, ±√3; rising, max (−1, 2), falling through 0, min (1, −2), rising
- 312 + 4A = 0, so A = −3; 8 − 12 + B = −1, so B = 3
Optimisation: a rectangle constrained by a curve
The largest field a fence can enclose, the cheapest tin that holds a litre: questions about a best value. Write the quantity in one variable, find where its derivative is zero, then check that point really is the maximum (or minimum) asked for.
1Write the quantity in one variable
2Maximise and justify
Find the largest area of the rectangle and its dimensions.
- Set dA/da = 0= a²=4/3
- Keep the value inside 0 < a < 2
- Show it is a maximum<
- Dimensions and area; =
- AnswerA = 64√3/9 square units (width 4/√3, height 16/3)
3Try it
1 Two positive numbers add to 12. Find the largest possible product.
2 A rectangular pen against a wall uses 40 m of fence for its other three sides. With width w, show that its area is A = 40w − 2w², and find the largest area.
3 Show that your answer to 2 is a maximum.
- 1P = x(12 − x), P′ = 12 − 2x = 0 at x = 6: 36
- 2the side opposite the wall is 40 − 2w, so A = w(40 − 2w); A′ = 40 − 4w = 0 at w = 10: A = 200 m²
- 3A″ = −4 < 0, so a maximum
Connected rates of change
Blow air into a balloon and its volume and its radius both grow, at different rates. Because V depends on r, the two rates are linked: dV/dt = dV/dr × dr/dt. That chain rule turns one known rate into the one you want.
1Chain the rates
A spherical air pocket has radius r cm and volume V = 4πr³/3 cm³. Air enters at 40π cm³ s⁻¹. Find dr/dt when r = 5.
- Differentiate V with respect to rdV/dr=4πr²
- Chain the ratesdV/dt=dV/dr × dr/dt
- Substitute r = 5 and solve40π=4π(5)² × dr/dtdr/dt=40π ÷ 100π = 2/5
- Answerdr/dt = 2/5 cm s⁻¹
At the same radius, air leaves so that dr/dt = −1/5 cm s⁻¹. Find dV/dt.
- Same chain, other way rounddV/dt=4π(5)² × (−1/5) = −20π
- AnswerdV/dt = −20π cm³ s⁻¹
2Work back to an unknown
3A point moving on a curve
P moves on y = √(4x + 9), x ≥ −9/4, with dx/dt = 5 units s⁻¹. Find dy/dt when y = 5.
- Chain rule for dy/dx
- Turn y = 5 into x25=4x + 9, so x = 4dy/dx=2/5 at (4, 5)
- Chain the ratesdy/dt=2/5 × 5
- Answerdy/dt = 2 units s⁻¹
At the same point, P instead moves with dy/dt = −3. Find dx/dt.
- dy/dx is still 2/5 there−3=2/5 × dx/dt
- Answerdx/dt = −3 ÷ 2/5 = −15/2 units s⁻¹Keep the minus sign: x is decreasing.
4Try it
1 The side of a square grows at 0.5 cm s⁻¹. How fast is its area growing when the side is 6 cm?
2 The area of a circle grows at 10 cm² s⁻¹. Find dr/dt when r = 5 cm.
3 A point moves on y = x² with dx/dt = 3. Find dy/dt when x = 2.
- 1A = s², dA/ds = 2s: dA/dt = 12 × 0.5 = 6 cm² s⁻¹
- 2dA/dr = 2πr = 10π: dr/dt = 10 ÷ 10π = 1/π cm s⁻¹
- 3dy/dx = 2x = 4: dy/dt = 4 × 3 = 12