Educerie
Level

Educerie · IB Diploma · Mathematics: analysis and approaches

Topic 5 Calculus · 5.2 Increasing and decreasing functions

Level
SL and HL. Nothing here is HL only, so every section is examinable for both.
Themes (key concepts)
change, relationships, patterns. The sign of one function, f′, tells you the direction of change of another, f, so reading a derivative is reading a relationship between two graphs.
The question this unit answers
if the derivative is the gradient at every point, what does its sign tell you about where a function is going up and where it is going down?
Where it is examined
Paper 1, as a 3 to 5 mark part: differentiate, solve f′(x) = 0, and state the interval where f is increasing or decreasing. Paper 2, with the GDC finding the turning points for you. Both papers like the question that gives you the graph of y = f′(x) and asks about f, which is where most marks are dropped.

What you must be able to do

You must be able toLevelWhat it looks like in the exam
Say what increasing and decreasing mean, and recognise them on a graphSL, HL"Write down the interval on which f is decreasing" from a given graph (2 marks)
Link the sign of f′(x) to the direction of the graph: f′ > 0, f′ = 0, f′ < 0SL, HL"Explain why f is increasing at x = 2" (1 to 2 marks, reason with f′)
Find the intervals on which a function is increasing or decreasing, algebraicallySL, HLPaper 1: "Find the values of x for which f is increasing" (4 to 5 marks)
Do the same with technologySL, HLPaper 2: use the GDC's maximum and minimum, then state the interval (2 to 3 marks)
Read the graph of y = f′(x) and describe fSL, HL"The graph of f′ is shown. Write down the x-coordinate where f has a maximum; the interval where f is decreasing" (2 to 4 marks)
Show that a function is increasing (or decreasing) for all xSL, HL"Show that f is always increasing" (3 to 4 marks)

Before you start

You need 5.1: the derivative f′(x) is the gradient of the curve y = f(x) at each x. To differentiate the polynomials in the examples you need the rule from 5.3, which you may meet in the same week: the derivative of axⁿ is anxⁿ⁻¹, done term by term, so x³ − 3x² becomes 3x² − 6x. You also need to solve a quadratic equation and a quadratic inequality (2.7), because "where is f′(x) > 0?" is exactly a quadratic inequality when f is a cubic. Nothing on this page is in the formula booklet.


1The idea in one paragraph

Read a graph from left to right. Where it climbs, the function is increasing; where it falls, it is decreasing. The derivative measures the gradient, and the gradient's sign is the direction: a positive gradient climbs, a negative one falls, and a zero gradient is flat for an instant. So the whole subtopic is one sentence: f is increasing where f′(x) > 0 and decreasing where f′(x) < 0. To find those intervals, find where f′(x) = 0, because the gradient usually changes sign only by passing through zero, then test the sign of f′ in between.

2What increasing and decreasing mean

A function is increasing on an interval if, as x increases through that interval, f(x) increases too: for any two values a < b in the interval, f(a) < f(b). It is decreasing if, as x increases, f(x) decreases: a < b gives f(a) > f(b).

Two things to fix in your head now.

It is always read left to right. "Increasing" describes what happens to y as x goes up. A curve that rises as you move left is decreasing.

It describes an interval, not the whole function. Most functions increase in some places and decrease in others. The answer to "where is f increasing?" is a set of x-values, written as inequalities, such as x < −1 or x > 3.

A small number of functions go one way the whole time. The exponential eˣ is increasing for every x; the function 1/x is decreasing on x < 0 and decreasing on x > 0 (though not across the gap, since f(−1) = −1 is less than f(1) = 1). Those are the exceptions. Mostly you will be finding the pieces.

3The sign of f′ gives the direction

Figure 1 shows the cubic f(x) = x³ − 3x² − 9x + 5 with tangents drawn at five points.

Figure 1 · The sign of the gradient tells you the direction Figure 1 · The sign of the gradient tells you the direction x y −2 −1 1 2 3 4 −20 −10 10 f′ > 0 f′ = 0 f′ < 0 f′ = 0 f′ > 0 y = x³ − 3x² − 9x + 5 Moving left to right: tangents slope up where f is increasing, down where it is decreasing, and are horizontal at the two points where it turns.
Figure 1 · The sign of the gradient tells you the direction

Where the curve climbs, its tangent slopes upwards, so the gradient is positive. Where it falls, the tangent slopes downwards, so the gradient is negative. At the top of the hump and the bottom of the dip, the tangent is horizontal and the gradient is zero. The derivative is the gradient, so:

f′(x) > 0 ⇒ f is increasing. f′(x) < 0 ⇒ f is decreasing. f′(x) = 0 ⇒ the tangent is horizontal: a stationary point.

A point where f′(x) = 0 is called a stationary point, because for that instant the function is neither rising nor falling. The hump and the dip in Figure 1 are stationary points. They are also turning points, because the function changes direction there. Section 6 shows that these are not always the same thing.

The same rule works for any rate of change. If T(t) is the temperature of a cup of coffee after t minutes, dT/dt < 0 means the coffee is cooling, and dT/dt = 0 at some instant means the temperature has momentarily stopped changing.

4Finding the intervals algebraically

Here is the method in full on the function from Figure 1. This is the standard Paper 1 question.

Find the values of x for which f(x) = x³ − 3x² − 9x + 5 is decreasing.

f′(x) = 3x2 − 6x − 9differentiate term by term (5.3)
3x2 − 6x − 9 = 0stationary points: set f′(x) = 0
3(x2 − 2x − 3) = 0
3(x + 1)(x − 3) = 0
x = −1 or x = 3

The derivative is zero only at x = −1 and x = 3, so it can only change sign there. Those two values split the number line into three intervals, and f′ has one sign throughout each. To find the sign, either test a value in each interval or use a sign diagram, like Figure 3.

intervalx < −1−1 < x < 3x > 3
test valuex = −2x = 0x = 4
f′(test value)3(4) + 12 − 9 = 15−948 − 24 − 9 = 15
sign of f′+−+
f isincreasingdecreasingincreasing

So f is decreasing for −1 < x < 3, and increasing for x < −1 and for x > 3.

Figure 2 · Read f′ underneath f Figure 2 · Read f′ underneath f (a) y = f(x) = x³ − 3x² − 9x + 5 x y −1 3 −20 −10 10 (−1, 10) (3, −22) (b) y = f′(x) = 3x² − 6x − 9 x y −1 3 −10 10 20 30 + + − Where f′ is above the x-axis, f is increasing. Where f′ is below it, f is decreasing. The x-intercepts of f′ are the x-coordinates of the stationary points of f.
Figure 2 · Read f′ underneath f

Figure 2 lines the two graphs up. The derivative y = 3x² − 6x − 9 is a positive quadratic, so it is negative between its roots and positive outside them. The graph of f is falling exactly where the graph of f′ is below the axis. The quick reasoning, "a positive quadratic is negative between its roots", is often all you need, and it is quicker than a table. Figure 3 is the sign diagram, which is the safest method when f′ has more than two factors.

Figure 3 · A sign diagram for f′(x) = 3(x + 1)(x − 3) Figure 3 · A sign diagram for f′(x) = 3(x + 1)(x − 3) x −1 3 x + 1 − + + x − 3 − − + f′(x) + − + f is increasing decreasing increasing f′ = 0 f′ = 0 Test the sign of each factor on each interval, multiply, then read off the direction of f.
Figure 3 · A sign diagram for f′(x) = 3(x + 1)(x − 3)

Writing the answer. Inequalities are the clearest: −1 < x < 3. The IB also uses interval notation with reversed brackets for open intervals, ]−1, 3[, which means the same thing. Two cases need care.

  • A function increasing on two separate pieces is written as two inequalities joined by "or", or listed: x < −1, x > 3. Do not write −1 > x > 3, which no number satisfies.
  • At a stationary point itself f′ is zero, not positive. Strictly, f is still increasing on x ≤ −1 including the end point, because f(−1) is bigger than every value to its left. Mark schemes normally accept either x < −1 or x ≤ −1. Strict inequalities match the rule f′(x) > 0 and are never wrong.

5Reading a graph of f′

This is the question students dread, and it is easier than it looks, because you only have to read one thing: is the graph of f′ above or below the x-axis? The shape of f′, whether it is going up or down, does not tell you the direction of f. Only its sign does.

Figure 4(a) is a graph you might be given: y = f′(x), crossing the x-axis at −2, 1 and 3.

Figure 4 · Given the graph of f′, describe f Figure 4 · Given the graph of f′, describe f (a) the given graph: y = f′(x) x y −2 1 3 −20 −10 10 20 − + − + (b) what it tells you: y = f(x) x y −2 1 3 4 8 12 minimum maximum minimum Only the sign of f′ matters for direction: below the axis f falls, above it f rises. f′ crosses the axis three times, so f turns three times.
Figure 4 · Given the graph of f′, describe f

Read it from left to right.

  • x < −2: f′ is below the axis, so f is decreasing.
  • At x = −2, f′ crosses from negative to positive, so f stops falling and starts rising: f has a minimum.
  • −2 < x < 1: f′ is above the axis, so f is increasing. Notice that f′ itself rises and then falls on this interval. That does not matter: f′ is positive throughout, so f climbs throughout. The hump in the graph of f′ is where f climbs most steeply, not where f has a maximum.
  • At x = 1, f′ goes from positive to negative: f has a maximum.
  • 1 < x < 3: f is decreasing, and at x = 3, where f′ goes from negative to positive, f has another minimum.
  • x > 3: f is increasing.

Figure 4(b) shows a curve with those properties. You could not have drawn its exact height from f′ alone, because many curves share the same derivative (they differ by a vertical shift, as 5.5 explains), but its shape is fixed.

The summary rule:

Where f′ crosses the axis from + to −, f has a maximum. Where it crosses from − to +, f has a minimum. Where f′ touches the axis without crossing, f has a stationary point but does not turn.

6Stationary points that are not turning points

Setting f′(x) = 0 finds every stationary point, but not every stationary point is a hump or a dip.

Take f(x) = x³. Then f′(x) = 3x², which is zero at x = 0. But 3x² is positive on both sides of 0, so f is increasing to the left of 0 and increasing to the right. The curve flattens out for an instant at the origin and then carries on upwards, as Figure 5(a) shows. A stationary point where the curve does not turn is called a stationary point of inflexion; 5.7 and 5.8 come back to it.

Figure 5 · f′ = 0 does not always mean a turn Figure 5 · f′ = 0 does not always mean a turn (a) y = x³: f′(x) = 3x² ≥ 0 x y −1 1 −4 4 increasing throughout (b) y = x⁴ − 4x³ + 10: f′(x) = 4x²(x − 3) x y 3 −17 (0, 10) stationary, not a turn (3, −17) minimum Both curves have a horizontal tangent at x = 0, but f′ does not change sign there, so the direction of the curve does not change. A stationary point is not always a turning point.
Figure 5 · f′ = 0 does not always mean a turn

Figure 5(b) is the same idea inside a longer question. For f(x) = x⁴ − 4x³ + 10, f′(x) = 4x³ − 12x² = 4x²(x − 3). The factor 4x² is never negative, so the sign of f′ is the sign of (x − 3):

intervalx < 00 < x < 3x > 3
sign of 4x²+++
sign of x − 3−−+
sign of f′−−+

So f is decreasing for x < 3 (the stationary point at x = 0 does not interrupt it) and increasing for x > 3, with a minimum at (3, −17). A squared factor in f′ is the tell: it gives a zero where the sign does not change.

This is also why the method in section 4 says test the sign, not assume the signs alternate. Alternating signs is a habit that works for simple quadratics and fails on exactly the questions designed to catch it.

7Showing a function is always increasing

"Show that f is increasing for all x" means: show that f′(x) > 0 for every x. There are two usual routes.

Every term is clearly positive. For f(x) = x³ + 5x − 2, f′(x) = 3x² + 5. Since x² ≥ 0 for every x, 3x² + 5 ≥ 5 > 0. So f′(x) > 0 for all x, and f is increasing for all x.

Complete the square, or use the discriminant. For f(x) = x³ − 3x² + 4x + 1:

f′(x) = 3x2 − 6x + 4
= 3(x2 − 2x) + 4
= 3(x − 1)2 − 3 + 4complete the square
= 3(x − 1)2 + 1
≥ 1 > 0 for all xa square is never negative

Or: f′ is a quadratic with a positive leading coefficient and discriminant (−6)² − 4(3)(4) = 36 − 48 = −12 < 0, so it has no roots and is never zero; it is positive for all x. Either argument earns the reasoning mark if you finish with a sentence: "f′(x) > 0 for all x, therefore f is increasing for all x."

One subtlety. If f′(x) ≥ 0 and it equals zero only at isolated points, as 3x² does at x = 0, the function is still increasing: x³ is increasing everywhere. So when a question asks for values of a constant k that make f increasing for all x, a discriminant equal to zero is included. Try it Q3 is one of these.

8Intervals with technology

On Paper 2 you may be given a function you cannot easily differentiate by hand, or one where f′(x) = 0 has no neat solutions. Then:

  1. Graph y = f(x) on the GDC over the domain given.
  2. Use the calculator's maximum and minimum tools to find the x-coordinates of the turning points.
  3. Read the direction between them from the graph, and write the intervals.

For f(x) = x − 2 sin x on 0 ≤ x ≤ 2π, Figure 6 shows the GDC output: a minimum at x ≈ 1.05 and a maximum at x ≈ 5.24.

Figure 6 · Reading intervals from a GDC graph Figure 6 · Reading intervals from a GDC graph x y 1 2 3 4 5 6 2 4 6 min (1.05, −0.685) max (5.24, 6.97) increasing decr. decr. f(x) = x − 2 sin x for 0 ≤ x ≤ 2π. The GDC's minimum and maximum give the x-values where f turns.
Figure 6 · Reading intervals from a GDC graph

So f is decreasing for 0 < x < 1.05, increasing for 1.05 < x < 5.24, and decreasing again for 5.24 < x < 2π (all to 3 s.f.). Once you have 5.6, you can check this exactly: f′(x) = 1 − 2 cos x, which is zero when cos x = 1/2, at x = π/3 ≈ 1.047 and x = 5π/3 ≈ 5.236.

Two cautions. The GDC finds turning points, so it will miss a stationary point of inflexion like the one in Figure 5(b); that one does not change the intervals anyway. And set the window to the domain the question gives, or you may report a turning point outside it.

A second method on the GDC is to graph y = f′(x) (with the calculator's numerical derivative) and find where it crosses the axis. That is the Figure 4 method with the machine drawing f′ for you.

9Where marks are lost

Reading the direction of f′ instead of its sign. When given the graph of f′, "f′ is decreasing here, so f is decreasing" is wrong. f is decreasing where f′ is below the axis, whatever f′ is doing.

Giving the stationary points instead of the intervals. "f is increasing at x = −1 and x = 3" answers the wrong question. Those are the boundaries; the answer is the interval between or beyond them.

Giving y-values as the interval. Intervals of increase and decrease are sets of x-values. "f is decreasing for −22 < y < 10" scores nothing.

Assuming the signs alternate. A squared factor in f′ gives a zero with no change of sign. Test each interval.

Joining two pieces into one inequality. "Increasing for −1 > x > 3" describes no numbers. Write "x < −1 or x > 3".

Stopping at "f′(x) = 0 at x = 2" on a show-that. The marks are for the sign of f′ on each side, or everywhere, and a concluding sentence tying it to increasing or decreasing.

Saying f is increasing "because the graph goes up". When the question says justify or explain, the reason must mention the derivative: "because f′(x) > 0 for these values".

10Work it right

  1. Differentiate and write f′(x) = … on its own line.
  2. Solve f′(x) = 0, factorising fully; each root is a possible change of direction.
  3. Test the sign of f′ on each interval between roots, with a test value or a sign diagram. Do not assume the signs alternate.
  4. State the answer as inequalities in x, joined by "or" when there are two pieces.
  5. For "show that f is always increasing", show f′(x) > 0 for all x (a square plus a positive number, or a negative discriminant) and finish with the sentence.
  6. From a graph of f′, read only its sign: above the axis, f rises; below, f falls; crossings are turning points of f.
  7. On Paper 2, get turning points from the GDC's maximum and minimum tools on the given domain, and write "using GDC".

11Try it

Marks in brackets. Q1 to Q3 are Paper 1 style, no calculator. Q4 and Q5 are Paper 2 style, with a GDC.

Q1. Let f(x) = 2x³ + 3x² − 12x + 1.

(a) Find f′(x). 2 marks

(b) Find the values of x for which f is decreasing. 3 marks

Q2. The derivative of a function g is g′(x) = (x − 1)²(x + 4).

(a) Find the values of x for which g is decreasing. 2 marks

(b) The graph of g has a stationary point at x = 1. Explain why g does not have a maximum or a minimum there. 2 marks

Q3. Let f(x) = x³ + kx² + 3x, where k ∈ ℝ. Find the values of k for which f is increasing for all x ∈ ℝ. 5 marks

Q4. Let f(x) = 3 ln(x² + 1) − x, for x ∈ ℝ.

(a) Find the x-coordinates of the turning points of the graph of f. 2 marks

(b) Hence write down the interval on which f is increasing. 2 marks

Q5. A cubic function f has a positive coefficient of x³. Its derivative satisfies f′(−3) = 0 and f′(2) = 0, with f′(x) < 0 for −3 < x < 2 and f′(x) > 0 otherwise. Also f(−3) = 4 and f(2) = −1.

(a) Sketch the graph of y = f(x), showing the coordinates of its turning points. 3 marks

(b) Write down the number of solutions of the equation f(x) = 0. 1 mark

(c) The equation f(x) = k has three solutions. Find the possible values of k. 2 marks

12In one breath

Read every graph left to right: a function is increasing where f(x) rises as x rises and decreasing where it falls, and the derivative tells you which, because f′(x) > 0 means an uphill tangent, f′(x) < 0 a downhill one, and f′(x) = 0 a horizontal tangent at a stationary point. To find the intervals, differentiate, solve f′(x) = 0, test the sign of f′ in each gap with a test value or a sign diagram, and state the answer as inequalities in x. Do not assume the signs alternate: a squared factor gives a stationary point where the curve does not turn, like x³ at the origin. Given the graph of f′, look only at whether it is above or below the axis; a crossing from + to − is a maximum of f, from − to + a minimum. To show a function is always increasing, show f′(x) > 0 for all x by completing the square or with a negative discriminant, and say so in a sentence. On Paper 2, let the GDC find the turning points and read the intervals between them.


Answers

Q1. (a) f′(x) = 6x² + 6x − 12. A1 for any two terms correct, A1 for all three. Leaving a constant term in f′ is A0 for that term.

(b) 6x² + 6x − 12 = 0 ⇒ 6(x + 2)(x − 1) = 0 ⇒ x = −2 or x = 1. f′ is a positive quadratic, so it is negative between its roots: f is decreasing for −2 < x < 1. M1 for setting their f′(x) = 0 or f′(x) < 0, A1 for −2 and 1, A1 for the interval. Accept −2 ≤ x ≤ 1. "x = −2 and x = 1" alone scores M1 A1 A0.

Q2. (a) (x − 1)² ≥ 0 for all x, so the sign of g′ is the sign of (x + 4) except at x = 1 where g′ = 0. g′(x) < 0 when x + 4 < 0, so g is decreasing for x < −4. M1 for considering the sign of (x + 4), or a sign diagram, A1 for x < −4.

(b) (x − 1)² is positive on both sides of x = 1 and x + 4 is positive near x = 1, so g′(x) > 0 just to the left and just to the right of x = 1. The gradient does not change sign, so g is increasing on both sides and the point is not a maximum or a minimum (it is a stationary point of inflexion). R1 for g′ positive on both sides (no change of sign), R1 for the conclusion that g does not turn.

Q3. f′(x) = 3x² + 2kx + 3. f is increasing for all x when f′(x) ≥ 0 for all x, which for this positive quadratic means it has at most one real root: discriminant ≤ 0.

(2k)2 − 4(3)(3) ≤ 0
4k2 − 36 ≤ 0
k2 ≤ 9
−3 ≤ k ≤ 3

A1 for f′(x), M1 for using the discriminant of f′, M1 for discriminant ≤ 0 (or < 0), A1 for k = ±3 as critical values, A1 for −3 ≤ k ≤ 3. At k = ±3, f′ = 3(x ± 1)², which is zero at one point only, so f is still increasing: the end points are included. Some mark schemes also accept −3 < k < 3.

Q4. (a) Using the GDC's minimum and maximum (or solving f′(x) = 0 on the GDC): x = 0.172 and x = 5.83 (3 s.f.). A1 for each. The exact values are 3 ± 2√2, from 6x ÷ (x² + 1) − 1 = 0, but they are not required.

(b) The graph has a minimum at x = 0.172 and a maximum at x = 5.83, so f is increasing for 0.172 < x < 5.83. A1 for the correct end points from their (a), A1 for the inequality in the right direction. Follow-through from (a).

Q5. (a) A cubic shape rising to a maximum at (−3, 4), falling to a minimum at (2, −1), then rising again, with f → −∞ on the left and f → +∞ on the right. A1 for the correct shape (positive cubic), A1 for the maximum at (−3, 4), A1 for the minimum at (2, −1).

(b) The maximum is above the x-axis and the minimum below it, so the curve crosses the axis once on each of its three pieces: 3 solutions. A1.

(c) The horizontal line y = k cuts the curve three times when it lies strictly between the minimum and maximum values: −1 < k < 4. A1 for the end values −1 and 4, A1 for strict inequalities. At k = 4 or k = −1 there are only two solutions.


Educerie · written from the published IB Diploma Programme Mathematics: analysis and approaches guide, first assessment 2021, section 5.2 Increasing and decreasing functions. Original text, examples and questions. Diagrams drawn by Educerie. Last reviewed 25 September 2026.

Mocks: in the future, hold tight!