Module 35 of 47Lesson 1 of 6 · Optimisation 1 · Stationary points: where the gradient is zero
1
Stationary points & optimisation · Essential understanding 1

Stationary points: where the gradient is zero

IB AI SL 5.6with Prof. Kitso
💻 Using the TI-Nspire CX Student Software on a laptop
  • The screens in these notes are drawn exactly as the Student Software shows them. The keypad on the left of the software works like the handheld — click its keys with the mouse.
  • menu: click menu on the on-screen keypad (or Documents Toolbox ▸ 🔧). The menu numbers and letters are the same as in these notes.
  • enter = Enter  ·  tab = Tab (next box)  ·  esc = Esc  ·  del = Backspace.
  • Powers: type ^ (Shift+6), the power, then press → to come back down before typing more. x² = ^2 then →.
  • Fraction: type /  ·  √: type sqrt(  ·  π: type pi  ·  eˣ: type exp(  ·  store: type :=. For EE (×10ⁿ) and i, click them on the keypad.
  • New page: Ctrl+I (or the Insert menu)  ·  change page: Ctrl+← / Ctrl+→  ·  graph entry line: Ctrl+G  ·  var: Ctrl+L.
  • Radian / Degree: click Settings in the status bar at the bottom of the window. The mode (RAD or DEG) shows in the top bar.
  • IB exam mode (Press-to-Test): everything in these notes works on the non-CAS TI-Nspire with the IB exam settings. In exam mode there are no dot-product, cross-product, unit-vector or eigenvalue keys and no Diff Eq graphs — the notes show the allowed way (type the components, use polyRoots on the characteristic equation, do Euler steps on a Calculator page).
  • If you type nDeriv(, the software shows it as centralDiff( — it is the same command.
The big idea: The gradient of a curve tells you how steeply it climbs or falls. At the top of a hill or the bottom of a valley the ground is flat: the gradient is zero. Points like these are called stationary points, and you find them by solving f′(x) = 0.
By the end of this lesson you can:
  • explain why the tangent is horizontal where the gradient is zero
  • differentiate and solve by hand and with the GDC
  • give a stationary point as a pair of coordinates (x, y)
  • use to find an unknown number in a function
  • say what a stationary point means in a real situation
🧑🏾 Imagine this…
Thato walks along a path over a small hill near Kanye. At the start the path climbs: the gradient is positive. At the very top the ground is level for a moment: the gradient is zero. Then the path drops: the gradient is negative. If you put a ruler on the curve at the top, the ruler lies flat. That flat ruler is the horizontal tangent.
Gradient function f′(x)
the derivative. It gives the gradient of the curve at every x. Also written .
Tangent
a straight line that just touches the curve at one point and has the same direction as the curve there.
Horizontal tangent
a flat tangent. A flat line has gradient 0.
Stationary point
a point on the curve where . The curve is neither rising nor falling there.
★ Finding stationary points: four steps
  • 1. Differentiate. Power rule: . Rewrite first if needed: and .
  • 2. Set and solve (factorise, quadratic formula, or the GDC).
  • 3. Find the y-value. Put each x back into the original f(x), not into f′(x).
  • 4. Write the point as coordinates .
⚠️ Watch out
  • Substitute into f(x) to get y. Putting x into f′(x) just gives 0 again, which is no help.
  • “Find the stationary point” wants two numbers. “Find the value of x” wants one. Read the command carefully.
  • A tangent that is horizontal does not always mean a hill top or a valley bottom. Lesson 2 shows the odd cases.
💡 Three GDC routes to f′(x) = 0
(a) Differentiate by hand, then polyRoots(f′(x),x) or menu💻 click menu on keypad▸3: Algebra▸1: Numerical Solve on the result. (b) On a Graphs page enter f1(x) = your function, f2(x) = the derivative template of f1(x) (from the templates palette), then menu💻 click menu on keypad▸6: Analyze Graph▸1: Zero on f2. (c) Graph the function itself and use menu💻 click menu on keypad▸6: Analyze Graph▸2: Minimum or menu💻 click menu on keypad▸6: Analyze Graph▸3: Maximum. Route (c) also shows y at once, but only works for turning points.
Prof. Kitso says
Say it out loud: “derivative equals zero, flat tangent.” Whenever a question talks about a flat tangent, a turning point, a stationary point, or “the rate of change is zero”, your first move is always the same: write f′(x) = 0.
🧪 Try it yourselfSlide the tangent
This is f(x) = x³ − 9x² + 24x + 5 (Example 2). Drag the tangent along the curve and watch the gradient. Where does it read 0? At which two x-values is the tangent flat?

Worked examples

Example 1.1A flat tangent with an unknown number
The curve has a horizontal tangent at the point where x = 3. Find the value of a.
🧠 Think it through
  1. Horizontal tangent means gradient = 0, so when x = 3.
  2. Differentiate: .
  3. Substitute x = 3 and set equal to zero, then solve for a.
✍️ By hand
At :
🔢 On your TI-Nspire CX II
  1. Check with a solver. Type nSolve(2·a·3−12=0,a) enter ↵💻 Enter.
    📍 Where to find it on the TI-Nspire
    nSolve( is in menu💻 click menu on keypad▸3: Algebra▸1: Numerical Solve
    1.1*DocRADnSolve(2·a·3−12=0,a)2.
✅ Answer a = 2.
Check: with a = 2 the gradient is 4x − 12, which is 0 when x = 3 ✓.
Example 1.2Stationary points of a cubic
Find the coordinates of the stationary points of .
🧠 Think it through
  1. Differentiate term by term.
  2. Solve f′(x) = 0: it is a quadratic, so factorise or use polyRoots.
  3. Put each x-value into f(x) to get the y-values.
✍️ By hand
and
🔢 On your TI-Nspire CX II
  1. Type polyRoots(3x^2−18x+24,x) enter ↵💻 Enter to solve f′(x) = 0.
    📍 Where to find it on the TI-Nspire
    polyRoots( is in menu💻 click menu on keypad▸3: Algebra▸3: Polynomial Tools▸2: Real Roots of Polynomial
    1.1*DocRADpolyRoots3·x2−18·x+24,x{2,4}
  2. Define the function and evaluate it: Define f(x)=x^3−9x^2+24x+5 then f(2) and f(4).
    1.1*DocRADDefinef(x)=x3−9·x2+24·x+5Donef(2)25f(4)21
  3. Or on a Graphs page: f1 = the function, f2 = derivative template of f1. menu💻 click menu on keypad▸6: Analyze Graph▸1: Zero on f2 gives x = 2 and x = 4.
    1.1*DocRAD-1730-8xy15f2(x)(2, 0)(4, 0)
✅ Answer The stationary points are (2, 25) and (4, 21).
The zeros of the derivative graph give the x-values only. The y-values come from the original function.
Example 1.3A function with in it
Find the stationary points of , for .
🧠 Think it through
  1. Rewrite as 12x⁻¹ so the power rule works.
  2. f′(x) = 3 − 12x⁻² = 3 − . Set it equal to zero.
  3. There are two solutions (±). Find the y-value for each.
✍️ By hand
and
🔢 On your TI-Nspire CX II
  1. Graph 3x+12/x with window x from −6 to 6, y from −30 to 30. Use menu💻 click menu on keypad▸6: Analyze Graph▸2: Minimum and menu💻 click menu on keypad▸6: Analyze Graph▸3: Maximum on each branch.
    1.1*DocRAD-6630-30xy210f1(x)(2, 12)(−2, −12)
✅ Answer The stationary points are (2, 12) and (−2, −12).
The curve has two separate branches (it cannot cross x = 0). Notice that the point on the left, (−2, −12), is lower than the one on the right. That is fine: each point is only a hill top or valley bottom for its own neighbourhood. More in Lesson 2.
Example 1.4Finding two unknowns from a stationary point
The curve has a stationary point at .
  1. (a) Find the values of a and b.
  2. (b) Find the other stationary point.
🧠 Think it through
  1. Two facts about the point (2, −8): the gradient is 0 there, AND the point is on the curve.
  2. Fact 1: at x = 2. Fact 2: put x = 2, y = −8 into the curve.
  3. That gives two equations in a and b. Solve them.
  4. Then write the gradient function with the numbers, solve it again and take the other root.
✍️ By hand
; at : , so …(1)
On the curve: , so …(2)
(2) − (1): . Then , so .
Now and , so or .
🔢 On your TI-Nspire CX II
  1. Solve the pair at once: menu💻 click menu on keypad▸3: Algebra▸2: Solve System of Linear Equations or type linSolve({4a+b=−12,4a+2b=−16},{a,b}).
    1.1*DocRADlinSolve4·a+b=-124·a+2·b=-16,{a,b}{-2,-4}
  2. For part (b): polyRoots(3x^2−4x−4,x) gives the x-values, then evaluate y.
    📍 Where to find it on the TI-Nspire
    polyRoots( is in menu💻 click menu on keypad▸3: Algebra▸3: Polynomial Tools▸2: Real Roots of Polynomial
    1.1*DocRADpolyRoots3·x2−4·x−4,x{-0.666667,2}-233−2·-232−4·-231.48148
✅ Answer (a) a = −2, b = −4. (b) The other stationary point is (−0.667, 1.48), that is .
Two unknowns need two equations. Using “gradient = 0” alone gives only one.
Example 1.5A drone that stops climbing
Kagiso flies a drone over a farm near Palapye. For the first 4 seconds its height is metres, .
  1. (a) Find the rate of change of height, h′(t).
  2. (b) Find when the drone is momentarily neither climbing nor falling, and its height then.
  3. (c) Is the drone climbing or falling at t = 0.5 s and at t = 2 s?
🧠 Think it through
  1. h′(t) is the gradient of the height graph: the vertical speed in m s⁻¹.
  2. “Neither climbing nor falling” means h′(t) = 0.
  3. For (c), substitute the time into h′(t). Positive gradient = climbing, negative = falling.
✍️ By hand
(a)
(b)
and
(c) (climbing); (falling)
🔢 On your TI-Nspire CX II
  1. Graph t^3−6t^2+9t+4 with window x from 0 to 4, y from 0 to 12 and find the turning points with the Maximum and Minimum tools.
    1.1*DocRAD04120xy12h(1, 8)(3, 4)
  2. Check the gradients: define h′ and evaluate.
    1.1*DocRADDefined(t)=3·t2−12·t+9Doned(0.5)3.75d(2)-3
✅ Answer (a) h′(t) = 3t² − 12t + 9 m s⁻¹. (b) At t = 1 s (height 8 m) and t = 3 s (height 4 m). (c) Climbing at 0.5 s (3.75 m s⁻¹), falling at 2 s (−3 m s⁻¹).
So the drone climbs to 8 m, falls to 4 m, then climbs again. The stationary moments are where it turns round.

Challenge questions

⭐ Challenge 1.6Flat at x = 3Paper 1 style
The curve has a horizontal tangent at the point where .
  1. (a) Find the value of k.
  2. (b) Find the gradient of the curve at x = 0.
✏️ Try it on paper and on your calculator first. Then check.
Show the full solution
🧠 Think it through
  1. , and it equals 0 when x = 3.
  2. 27 − 18 + k = 0.
  3. Put x = 0 into the gradient function with your k.
✍️ By hand
; at :
At :
🔢 On your TI-Nspire CX II
  1. Check: nSolve(3·9−6·3+k=0,k).
    📍 Where to find it on the TI-Nspire
    nSolve( is in menu💻 click menu on keypad▸3: Algebra▸1: Numerical Solve
    1.1*DocRADnSolve(3·9−6·3+k=0,k)-9.
✅ Answer (a) k = −9. (b) The gradient at x = 0 is −9.
⭐ Challenge 1.7A cubic with four questionsPaper 2 style
Let .
  1. (a) Find f′(x).
  2. (b) Find the coordinates of the two stationary points of the graph of f.
  3. (c) Find the equation of the tangent to the curve at x = 0.
  4. (d) The line y = k meets the graph of f at three different points. Use the stationary points to find the possible values of k.
✏️ Try it on paper and on your calculator first. Then check.
Show the full solution
🧠 Think it through
  1. f′(x) = 6x² − 6x − 12 = 6(x² − x − 2).
  2. Solve f′(x) = 0, then find f at each x.
  3. At x = 0 the gradient is f′(0) and the point is (0, f(0)). Use y = mx + c.
  4. A horizontal line crosses the curve three times only if it passes between the lowest turning value and the highest turning value.
✍️ By hand
(a)
(b) . ;
(c) and , so
(d) The turning values are 8 (hill top) and −19 (valley), so .
🔢 On your TI-Nspire CX II
  1. Graph the function and mark the two turning points; draw a horizontal line such as y = 0 to see three crossings.
    1.1*DocRAD-3420-30xy110f1y=0(−1, 8)(2, −19)
✅ Answer (a) f′(x) = 6x² − 6x − 12. (b) (−1, 8) and (2, −19). (c) y = −12x + 1. (d) −19 < k < 8.
In (d) k = 8 or k = −19 would touch the curve at a turning point, giving only two meeting points.
Next: Lesson 2 · Local maximum and minimum points