Turning points, increasing and decreasing functions, and optimisation AA SL
The sign of the first derivative tells you whether a function is increasing or decreasing, and where it is zero the graph has a stationary point. This page shows how to find the intervals on which a function increases or decreases, how to locate and classify local maximum and minimum points, and how to use the same method to find the greatest or least value of a real quantity, with worked examples and exam-style questions.
Which method to use
Everything on this page starts from . Its sign gives the intervals, where it is zero gives the stationary points, and the second derivative or the change of sign of classifies them.
| The question asks for | Use | Notes |
|---|---|---|
| The stationary points | Solve | Find the -values as well by substituting into , not into |
| Whether a stationary point is a maximum or a minimum | gives a minimum, a maximum | If the test fails, so check the sign of either side |
| Where a function is increasing or decreasing | increasing, decreasing | Solve the inequality and give the answer as intervals |
| A point of inflexion | with a change of sign of | The curve changes concavity. The gradient may be zero or non-zero |
| The greatest or least value of a real quantity | Write it in one variable, differentiate, solve, then check the nature | State the answer with units and check it lies in the allowed domain |
Section 1 of 2 SL5.2
Increasing and decreasing functions
A function is increasing where its gradient is positive and decreasing where its gradient is negative, so the sign of describes the shape of the graph. To find an interval, differentiate, then solve or . The same idea links the graph of to the graph of .
Reading the sign of
Increasing
is increasing on any interval where .
The graph slopes upward from left to right - solve the inequality after differentiating.
Decreasing
is decreasing on any interval where .
The graph slopes downward from left to right. The endpoints of these intervals are where .
Key terms
What does it mean for a function to be increasing?
A function is increasing on an interval if its -values rise as increases, so the graph slopes upwards from left to right. This happens where .
e.g. For , , so is increasing for all .
What does it mean for a function to be decreasing?
A function is decreasing on an interval if its -values fall as increases, so the graph slopes downwards from left to right. This happens where .
e.g. For , , so is decreasing for all .
What is a stationary point?
A stationary point is a point where the gradient is zero, so . The -values of stationary points often mark the ends of the increasing and decreasing intervals.
e.g. For , gives a stationary point at .
How do you write an increasing interval as an answer?
Solve the inequality for and state the result as a condition on . Use the same inequality sign that came from the derivative.
e.g. For , gives .
Worked example, step by step
The question No calculator needed [5 marks]
Let . Find the values of for which is decreasing.
Worked solution: worked example
Answer: .
Step 1 - Differentiate.
M1 - Attempt to differentiate A1 -
Why? A function is decreasing where its gradient is negative, so everything starts from . Differentiate each term using the power rule.
Step 2 - Find the critical values.
Solve : so or . A1 - Critical values and
Why? The sign of can only change where , so these two values divide the number line into the intervals you need to test.
Step 3 - Decide the sign of the derivative.
is a quadratic with a positive coefficient of , so it is negative between its roots. is decreasing where : M1 - Set and consider the sign of the quadratic
Why? An upward-opening quadratic is below zero between its roots and above zero outside them. Testing one value in each region gives the same result.
Step 4 - State the interval.
A1 -
Why? Give the answer as an inequality in . Use strict inequalities, because the gradient is zero, not negative, at and .
Step 5 - Check.
At , , so is decreasing there, and lies inside . At , , so is increasing there, as expected outside the interval.
Why? Testing one value inside and one outside the interval catches a reversed inequality, the most common slip on this type of question.
M1 Attempt to differentiate
A1
A1 Critical values and
M1 Set and consider the sign of the quadratic
A1
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 13 marks
Calculator steps: Enter a function and draw its graph, Find a maximum, minimum or zero of a graph (stationary points)
Common mistakes
- Testing the original function instead of the derivative. "Increasing" and "decreasing" describe the sign of , not the sign of - the question is always answered from the derivative.
- Flipping the inequality sign. Increasing means and decreasing means - it's easy to write these the wrong way round when working quickly.
- Losing a root when solving a quadratic inequality. For something like , factorising to and checking the sign either side of both roots avoids reporting only half the interval.
Section 2 of 2 SL5.8
Turning points and optimisation
A stationary point is where the gradient is zero, so . Local maximum and minimum points are stationary points where the gradient changes sign, and you classify each using the sign of or a change of sign of . The same method finds the greatest or least value in optimisation problems.
Finding and classifying stationary points
There's no formula-booklet entry to look up here - the whole skill is a fixed method you apply to and .
Stationary points
Solve , then use (or a sign table for ) to classify each solution as a maximum, minimum or point of inflexion.
Points of inflexion
A point of inflexion is where and the concavity changes sign either side of it. It can have a zero gradient (making it also a stationary point) or a non-zero gradient - so alone is never enough to prove one exists.
Key terms
What is a local maximum?
A local maximum is a point where the function stops increasing and starts decreasing, so it is higher than the points near it. There and changes from positive to negative.
e.g. For , at , and , so is a local maximum.
What is a local minimum?
A local minimum is a point where the function stops decreasing and starts increasing, so it is lower than the points near it. There and changes from negative to positive.
e.g. For , at , and , so is a local minimum.
How does the second derivative test work?
At a stationary point, means a local minimum and means a local maximum. If the test is inconclusive, so check the sign of on each side instead.
e.g. For , , so gives a minimum at and gives a maximum at .
What is optimisation?
Optimisation means finding the greatest or least value of a quantity. Write the quantity as a function of one variable, find where its derivative is zero, and confirm the type of stationary point.
e.g. A rectangle has perimeter , so its sides are and , and . Then gives , and is the maximum area.
Worked example, step by step
The question No calculator needed [6 marks]
A farmer uses m of fencing to enclose a rectangular area against a straight wall. Fencing is needed on three sides only, because the wall forms the fourth side. The two sides perpendicular to the wall each have length m, where .
(a) Show that the enclosed area is square metres.
(b) Find the value of that gives the maximum area. Show that it is a maximum, and find the maximum area.
Worked solution: worked example
Answer: (a maximum, since ); maximum area m.
Step 1 - Write the area in terms of x.
The two sides of length use m of fencing, so the side parallel to the wall has length m. Then M1 - Express the side parallel to the wall as and form A1 - shown
Why? Optimisation needs the quantity as a function of one variable. Use the fixed total of m to remove the second length, and keep track of what each side is.
Step 2 - Differentiate and set equal to zero.
M1 - Differentiate and set A1 -
Why? The maximum is a stationary point, so the gradient there is zero. The value lies inside the allowed range .
Step 3 - Show that it is a maximum.
so gives a local maximum. R1 - , so a maximum
Why? A negative second derivative means the graph is concave down at the stationary point, so it is a maximum. The question asked you to show it, so do not skip this.
Step 4 - Find the maximum area.
The maximum area is m. A1 - Maximum area m
Why? Substitute back into the area function , not into . The side parallel to the wall is m, and , which agrees.
M1 Express the side parallel to the wall as and form
A1 shown
M1 Differentiate and set
A1
R1 , so a maximum
A1 Maximum area m
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 13 marks
Calculator steps: Find a maximum, minimum or zero of a graph (stationary points), Numerical derivative at a point
Common mistakes
- Stopping at . Solving for only gives half the answer - a stationary "point" needs a -coordinate too, found by substituting back into the original function, not .
- Reading the sign of backwards. means concave up, which is a minimum; means concave down, which is a maximum. Mixing these up is the single most common error on this skill.
- Assuming proves a point of inflexion. It doesn't - the concavity has to actually change sign either side of that point. at has but is a minimum, not a point of inflexion, because the concavity stays positive on both sides.
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Find a maximum, minimum or zero of a graph (stationary points)
Used in: Increasing and decreasing functions, Turning points and optimisation
How to find a maximum, minimum or zero on a TI-84 Plus CE
Graph the function and use the CALC menu | |
Press Y=, clear any old functions with clear, then type X,T,θ,n ^ 3 − 6 X,T,θ,n x² + 5 X,T,θ,n + 4 next to Y1=. |
Plot1 Plot2 Plot3 \Y1=X^3-6X²+5X+4 \Y2= |
Press window and set Xmin = −2, Xmax = 6, Ymin = −15, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. The graph should show the turning points and the places where it crosses the x-axis. |
WINDOW Xmin=-2 Xmax=6 Xscl=1 Ymin=-15 Ymax=10 Yscl=1 |
For the local maximum, press 2nd trace (CALC) and choose 4:maximum. Left Bound? appears with the cursor on the graph: use ◀ to move it to the left of the maximum, then press enter. Right Bound? appears: use ▶ to move to the right of the maximum and press enter. Guess? appears: move the cursor close to the maximum, between the two bounds, and press enter. With more than one graph drawn, use ▲ or ▼ first to put the cursor on the right graph. The screen shows Maximum with and . |
|
For the local minimum, press 2nd trace and choose 3:minimum, then set the left bound, the right bound and the guess in the same way, with the bounds either side of the minimum. The screen shows Minimum with and . |
|
For a zero (a place where the graph crosses the x-axis), press 2nd trace and choose 2:zero. Set the left bound on one side of the crossing and the right bound on the other, then give a guess between them. Each search finds one zero, so repeat with the bounds round each of the other crossings. The zero between and is , with . |
|
Put the left and right bounds either side of the point you want, and the guess between them. A bound or guess that is outside the window, or on the wrong side, gives an error or a different point.
The full guide: Find a maximum, minimum or zero of a graph (stationary points)
Enter a function and draw its graph
Used in: Increasing and decreasing functions
How to enter a function and draw its graph on a TI-84 Plus CE
Enter the function in Y= and draw it | |
Press Y=. If there are old functions, move to each one with ▲ or ▼ and press clear to erase it. A function is only drawn while the = sign beside it is highlighted. |
Plot1 Plot2 Plot3 \Y1= \Y2= \Y3= |
With the cursor next to Y1=, type X,T,θ,n x² − 4 X,T,θ,n + 3. The calculator uses X,T,θ,n for . |
Plot1 Plot2 Plot3 \Y1=X²-4X+3 \Y2= \Y3= |
Press window and set Xmin = −2, Xmax = 6, Ymin = −2, Ymax = 8, leaving Xscl and Yscl as 1. For a negative number use the (−) key, not the subtraction key. |
WINDOW Xmin=-2 Xmax=6 Xscl=1 Ymin=-2 Ymax=8 Yscl=1 |
Press graph. The curve is an upward-opening parabola. It meets the -axis at . |
|
Draw more than one function, or hide one | |
Type the next function next to Y2= (press ▼ to reach it) and press graph again: every function whose = sign is highlighted is drawn. To keep a function but not draw it, move onto its = sign with ◀ and press enter, so the highlight disappears. Press enter again to turn it back on. |
|
If the graph is blank or cut off | |
Press zoom and choose 6:ZStandard to draw with the standard window, or choose 0:ZoomFit, which keeps your Xmin and Xmax and sets Ymin and Ymax so the whole curve fits. Choosing a window by hand is in set a good viewing window. For a graph that contains sin, cos or tan, check the angle mode first: press mode and see switching between degrees and radians. |
|
If the graph does not appear, the cause is usually the window, not the function. Look at the window values before you retype anything.
The full guide: Enter a function and draw its graph
Numerical derivative at a point
Used in: Turning points and optimisation
How to find a numerical derivative at a point on a TI-84 Plus CE
The nDeriv( template on the home screen | |
Press 2nd mode (QUIT) to reach the home screen. Press math and choose 8:nDeriv(. In MathPrint mode this pastes a template with a box for the expression and a box for the x-value. |
|
In the first box type the function: X,T,θ,n x² ln X,T,θ,n ). Press ▶ to move to the x-value box and type 2. |
d/dx(X²ln(X))|x=2 |
Press enter. The screen shows the value of the derivative at . to 6 significant figures, which is to 3 significant figures. The answer is a numerical estimate, so the last digits can differ slightly from the exact value. |
d/dx(X²ln(X))|x=2 4.77259 |
Another way: type the command | |
If your calculator shows the command form (Classic mode, or you prefer typing), enter | |
Another way: from the graph | |
With the function graphed, 2nd trace (CALC) and 6:dy/dx read the gradient at a typed x-value, and the DRAW menu can draw the tangent. The steps are in draw a tangent and read its gradient. | |
The variable in the command must match the letter in the expression: use X in both. If the template does not appear, check the calculator is in MathPrint mode, or type the command form.
The full guide: Numerical derivative at a point
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| SL5.2 | Increasing and decreasing functions. Graphical interpretation of increasing or decreasing . |
| SL5.8 | Local maximum and minimum points. Testing for maximum and minimum, using change of sign of the first derivative or using sign of the second derivative, where implies a minimum and implies a maximum. Optimization. Points of inflexion with zero and non-zero gradients. |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Quick questions
How do I decide where a function is increasing or decreasing?
Find , then solve for the increasing interval and for the decreasing interval. The boundary points are where .
How do you find a stationary point?
Differentiate the function, set , and solve for . Substitute back into the original function to find the -coordinate.
What does f'(x) = 0 tell you about a function?
It marks a point where the gradient is momentarily zero - usually a local maximum, local minimum, or a stationary point of inflexion - and it separates the increasing and decreasing intervals.
What do I do if at a stationary point?
The second derivative test gives no answer, so examine the sign of either side of the point. For , , and is positive on both sides, so is a point of inflexion, not a maximum or minimum.
Can a function be both increasing and decreasing?
Yes, but on different intervals. For , , which is negative for and positive for , so is decreasing then increasing.
How do I use a sign table for ?
Choose an -value just below and just above the stationary point and find the sign of at each. A change from positive to negative gives a maximum, negative to positive gives a minimum, and no change gives a point of inflexion.
How do I solve the inequality when is a quadratic?
Find the roots of , sketch the quadratic, and read off where it is above or below the -axis. For , when or .
Is a local maximum the largest value of the function?
Not necessarily. It is only the largest value near that point. The function has a local maximum of at , yet when .
How can I tell where is increasing from the graph of ?
The function is increasing where the graph of lies above the -axis and decreasing where it lies below. The points where the graph of crosses the axis are stationary points of .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.