Paper ZeroSign in

IB Maths Analysis and Approaches SL

Stationary points and optimisation: question types and practice

Stationary points and optimisation carried 7% of the marks in the 20 recent exams, through 5 kinds of question. The one worth the most marks is Optimisation.

Syllabus: AA SL 5.2 (increasing and decreasing functions; the graphical meaning of f′(x)>0f'(x) > 0, f′(x)=0f'(x) = 0 and f′(x)<0f'(x) < 0), 5.7 (the second derivative, in both notations d2ydx2\frac{d^2y}{dx^2} and f′′(x)f''(x); how the graphs of ff, f′f' and f′′f'' are related), 5.8 (local maximum and minimum points and how to test them; optimisation; points of inflexion with zero and non-zero gradients; concave up and concave down). Every derivative here uses the rules from Differentiation.
Papers: Both. On Paper 1 everything is exact: f′(x)=0f'(x) = 0 becomes a quadratic, a product of factors, an equation in exe^x or ln⁡x\ln x, or a trig equation with exact values. On Paper 2 the GDC finds turning points and the zeros of f′f' and f′′f'', but the set-up of an optimisation and the reason for a maximum or a minimum still have to be written down. Calculus with trig is always in radians.
Scope: AA SL only. The ends of an interval matter only when the question gives the interval ("for 0≤t≤60 \le t \le 6"). SL optimisation questions put the answer at a turning point inside the domain you set up; end-point optima, implicit differentiation and related rates are HL (AHL 5.14).
Formula booklet: the derivatives and the chain, product and quotient rules (SL 5.3, 5.6); areas and volumes of the usual shapes (prior learning and SL 3.1; Solids: volume and surface area shows which are not in the booklet), such as V=πr2hV = \pi r^2 h and the curved surface of a cylinder, 2πrh2\pi rh.

  • Not given: the sign test and the second-derivative test for a maximum or a minimum; that f′′(a)=0f''(a) = 0 proves nothing on its own; the condition for a point of inflexion (f′′f'' changes sign); what concave up and concave down mean; how to set up an optimisation; the total surface area of a closed cylinder (add the two ends, 2πr22\pi r^2, yourself).

Try one now

A Stationary points and optimisation question of the type "Stationary points". Work it out on paper, then type your answer here.

No calculator[2]

Let f(x)=2x3+9x2−1f(x) = 2x^3 + 9x^2 - 1.

Find f′(x)f'(x).

Free, with no account. You see where each mark went.

The 5 question types

  1. Optimisation

    Use the constraint, then optimise

    • In 12 of 20 recent exams
    • 4% of the marks

    Paper 1 (no calculator) and Paper 2 (calculator), often a whole Section B question of 10–17 marks: a set-up (usually a "show that") worth 1–9 marks, most often 3 or 4, then the derivative, the optimum, a justification and the answer asked for. Very common (12 of 20 exam versions): solids with a fixed volume or surface area (6 versions), distances and routes (4), shapes inside a circle (2), fencing at two prices (1). It was on Paper 1 (no calculator), with exact answers, in 5 of the 12 versions, and on Paper 2 (calculator), with the GDC, in 8 (one version had both).

  2. Stationary points

    Find them and justify their nature

    • In 11 of 20 recent exams
    • 2% of the marks

    Paper 1 (no calculator) and Paper 2 (calculator). Very common (11 of 20 exam versions), usually as two parts of a longer question: the coordinates (3–6 marks), then the nature with a reason (2–3 marks). On Paper 2 (calculator) the GDC gives the coordinates, for about 2 marks. A sketch that rewards the turning points is worth 3 marks.

  3. Concavity and points of inflexion

    • In 8 of 20 recent exams

    Paper 1 (no calculator) and Paper 2 (calculator), 1–4 marks per part. Common (8 of 20 exam versions), usually straight after the stationary points in the same question, and often after "show that f′′(x)=…f''(x) = \ldots" (that part is Differentiate: choose the rule).

  4. Where is f increasing or decreasing?

    • In 6 of 20 recent exams

    Paper 1 (no calculator) and Paper 2 (calculator), 1–4 marks, usually one part of a longer question, straight after f′(x)f'(x). Common (6 of 20 exam versions).

  5. Graphs of f, f′ and f″

    Read one from another

    • In 2 of 20 recent exams

    Paper 1 (no calculator), 1–3 marks per part. Rare (2 of 20 exam versions) as a whole question, but the same translation is how you read any GDC graph of f′f' (graph of the derivative).

The ideas you need

Stationary points and turning points

A stationary point of ff is a point where f′(x)=0f'(x) = 0: the tangent there is horizontal. It is a point, so it has two coordinates, (a,f(a))(a, f(a)).

The sign of f′f' on each side tells you what kind of stationary point it is:

  • ++, 00, −-
    The graph
    rises, then falls
    Name
    local maximum: a turning point
  • −-, 00, ++
    The graph
    falls, then rises
    Name
    local minimum: a turning point
  • the same sign on both sides
    The graph
    flattens, then carries on
    Name
    stationary point of inflexion: not a turning point
  • A turning point is a stationary point where the graph turns. Not every stationary point is one: for y=x3y = x^3, f′(0)=0f'(0) = 0, but f′(x)=3x2>0f'(x) = 3x^2 > 0 on both sides of 00, so the graph rises, flattens at the origin and keeps rising.
  • "Local" means highest or lowest nearby, not overall. For f(x)=x3−3xf(x) = x^3 - 3x, f′(x)=3(x−1)(x+1)f'(x) = 3(x - 1)(x + 1) is positive, then negative, then positive, so (−1,2)(-1, 2) is a local maximum and (1,−2)(1, -2) is a local minimum. But f(3)=18f(3) = 18 is higher than the local maximum.

Gradient zero: which type? Most wordings that mean f′(x)=0f'(x) = 0 come to this guide. Route them by what you know and what is unknown (the last row, a gradient other than 00, is there for contrast):

  • the xx of the stationary point ("a local minimum at x=2x = 2")
    Unknown
    constants in ff
    First move
    f′(2)=0f'(2) = 0 (and f(2)f(2) equal to the yy-value, if it is given)
  • a parabola and a horizontal line y=ky = k
    Unknown
    kk, or where they touch
    First move
    the vertex
  • anything else, with the xx unknown: a horizontal tangent, a tangent parallel to the x-axis, y=ky = k touching a cubic, a curve y=g(x)+cy = g(x) + c touching the x-axis, with the unknown constant cc added on
    Unknown
    xx, then yy (or the constant)
    First move
    f′(x)=0f'(x) = 0
  • a curve touching the x-axis, with the unknown constant surviving in f′f' (e.g. y=x3−kx+2y = x^3 - kx + 2)
    Unknown
    the constant, and the xx of the point, pp
    First move
    f(p)=0f(p) = 0 and f′(p)=0f'(p) = 0, solved together
    Type
    Find unknown constants (here k=3k = 3, touching at x=1x = 1)
  • a gradient other than 00
    Unknown
    xx
    First move
    f′(x)=mf'(x) = m
  • y=x3−3xy = x^3 - 3x

Local means nearby: (−1,2)(-1, 2) is a local maximum and (1,−2)(1, -2) a local minimum, yet f(3)=18f(3) = 18 is higher than both.

Testing the nature: the sign test and the second-derivative test

Two tests tell a maximum from a minimum at a stationary point x=ax = a.

  1. The sign test (first derivative). Find the sign of f′f' just left and just right of aa: from the signs of the factors of f′f', or at two test values in the domain, one on each side, with no other critical value between either of them and aa (no other zero of f′f', and no xx where ff is undefined). ++ then −-: maximum. −- then ++: minimum. No change: a stationary point of inflexion. It works for every stationary point in this course, even when the next test fails. (An asymptote in between spoils it: f(x)=x+4x2f(x) = x + \frac{4}{x^2} has a minimum at (2,3)(2, 3), but f′(−1)=9f'(-1) = 9 and f′(3)=1927f'(3) = \frac{19}{27} are both positive, because x=0x = 0 lies between −1-1 and 22.)
  2. The second-derivative test. f′′(a)<0f''(a) < 0: the graph bends downwards at aa, so a maximum. f′′(a)>0f''(a) > 0: it bends upwards, so a minimum. f′′(a)=0f''(a) = 0: the test says nothing. y=x4y = x^4, y=−x4y = -x^4 and y=x3y = x^3 all have f′(0)=0f'(0) = 0 and f′′(0)=0f''(0) = 0, and they have a minimum, a maximum and neither. Use the sign test instead.

Mini-example: f(x)=x4−4x3f(x) = x^4 - 4x^3, so f′(x)=4x3−12x2=4x2(x−3)f'(x) = 4x^3 - 12x^2 = 4x^2(x - 3), which is zero at x=0x = 0 and x=3x = 3, and f′′(x)=12x2−24xf''(x) = 12x^2 - 24x.

  • x=3x = 3: f′′(3)=36>0f''(3) = 36 > 0, so (3,−27)(3, -27) is a local minimum.
  • x=0x = 0: f′′(0)=0f''(0) = 0, so the second-derivative test fails. Sign test: 4x2≥04x^2 \ge 0 and x−3<0x - 3 < 0 near 00, so f′(−1)=−16<0f'(-1) = -16 < 0 and f′(1)=−8<0f'(1) = -8 < 0. The sign doesn't change: (0,0)(0, 0) is a stationary point of inflexion.

What earns the reasoning mark (R1):

  • The value at the point, and its sign: "f′′(3)=36>0f''(3) = 36 > 0, so a minimum". A value with no sign ("f′′(3)=36f''(3) = 36") is not a reason.
  • Substitute even when the sign is obvious. "A′′(r)=4π+1320r3>0A''(r) = 4\pi + \frac{1320}{r^3} > 0 for all r>0r > 0" is true, but some markschemes have given R0 when the value at the point isn't written: write "A′′(3.74…)=37.7>0A''(3.74\ldots) = 37.7 > 0" (the drinks can in Optimisation).
  • Or the sign change of f′f', with values on each side or a sign table labelled f′f'. "The gradient is positive" is not enough when it could mean the gradient of ff or of f′f': name the function.
  • A reason and a conclusion score together. A correct "maximum" with no reason earns at most the conclusion mark, and in some markschemes nothing; a reason attached to the wrong conclusion scores nothing ("do not award A0R1").
  • No test is needed when the question states the nature ("the local maximum point QQ", "given that this is a minimum"). A test is needed for "determine the nature", "justify", "show that it is a maximum".
  • y=x4−4x3y = x^4 - 4x^3

At the origin f′′(0)=0f''(0) = 0 and the test says nothing; f′f' is negative on both sides, so the graph flattens and keeps falling to the minimum (3,−27)(3, -27).

Concavity and points of inflexion

  • Concave up on an interval: f′′(x)>0f''(x) > 0 there. The gradient is increasing and the graph bends upwards, like ∪\cup. Concave down: f′′(x)<0f''(x) < 0, the gradient is decreasing and the graph bends downwards, like ∩\cap.
  • A point of inflexion is a point on the graph where the concavity changes, so f′′f'' changes sign there. Wherever f′′(a)f''(a) exists, f′′(a)=0f''(a) = 0 at a point of inflexion, but f′′(a)=0f''(a) = 0 is not enough: y=x4y = x^4 has f′′(0)=0f''(0) = 0, yet f′′(x)=12x2≥0f''(x) = 12x^2 \ge 0 on both sides of 00. The graph is concave up throughout, and (0,0)(0, 0) is a minimum.
  • Zero or non-zero gradient. At a point of inflexion the gradient can be 00 (a stationary point of inflexion, like y=x3y = x^3 at the origin) or not.
  • At a point of inflexion the gradient has a local maximum or minimum. f′′f'' is the derivative of f′f', so where f′′f'' changes sign, f′f' has a local maximum or minimum. That is why "the rate of change is greatest" leads to f′′(x)=0f''(x) = 0. On a given interval, compare f′f' at the ends too: the greatest gradient can be at an end.

Mini-example: for f(x)=x3−3xf(x) = x^3 - 3x, f′′(x)=6xf''(x) = 6x, which is negative for x<0x < 0 and positive for x>0x > 0. So the graph is concave down for x<0x < 0 and concave up for x>0x > 0, and (0,0)(0, 0) is a point of inflexion with gradient f′(0)=−3f'(0) = -3: not a stationary point. It is also where the gradient is least. For a cubic with two turning points, the point of inflexion is halfway between them: 00 is halfway between −1-1 and 11.

  • y=x3−3xy = x^3 - 3x
  • gradient −3-3

Concave down for x<0x < 0 and concave up for x>0x > 0: the bend changes at (0,0)(0, 0), halfway between the turning points, where the gradient is least, −3-3.

Greatest and least values on an interval

On a given interval a≤x≤ba \le x \le b, the greatest value of ff, when ff is differentiable inside the interval, is at a turning point inside the interval or at one of its ends. So the candidates are ff at every stationary point inside the interval, and f(a)f(a) and f(b)f(b). Compare them all: no nature test is needed, because the comparison decides. (A corner is the exception: −∣x∣-\lvert x \rvert on −1≤x≤1-1 \le x \le 1 has its maximum at x=0x = 0, where it has no derivative.)

Mini-example: F(t)=−t3+6t2+15t+10F(t) = -t^3 + 6t^2 + 15t + 10, for 0≤t≤60 \le t \le 6. F′(t)=−3t2+12t+15=−3(t−5)(t+1)F'(t) = -3t^2 + 12t + 15 = -3(t - 5)(t + 1), which is zero at t=5t = 5 (t=−1t = -1 is outside the interval).

CandidateF(t)F(t)
t=0t = 0 (end)1010
t=5t = 5 (turning point)110110
t=6t = 6 (end)100100

The greatest value is 110110. The least is 1010, at an end: there is no local minimum inside the interval at all. On 0≤t≤40 \le t \le 4 there is no turning point: F′(t)>0F'(t) > 0 throughout, so the greatest value is at the end, F(4)=102F(4) = 102. (When is this FF increasing fastest? That is a different question:.)

  • The range of a continuous function on a closed interval runs from the least of these values to the greatest.
  • Only given intervals. In an SL optimisation that you set up yourself, the answer is at a turning point inside the domain. There, the domain is for rejecting values (a negative length, x=0x = 0), not for comparing ends.
  • F(t)=−t3+6t2+15t+10F(t) = -t^3 + 6t^2 + 15t + 10

On 0≤t≤60 \le t \le 6 the candidates are the turning point and the two ends: the greatest value is 110110 at t=5t = 5, the least is 1010 at the end t=0t = 0.


Where stationary points hide in other topics

The methods of this guide turn up inside other topics, usually as one step. Sometimes the first move is to notice that no calculus is needed at all.

  • "Find the range of ff" on a restricted domain (Domain and range), e.g. f(x)=x3−3xf(x) = x^3 - 3x for −2≤x≤3-2 \le x \le 3
    It becomes
    the least and greatest values: the turning points (−1,2)(-1, 2) and (1,−2)(1, -2), and the ends f(−2)=−2f(-2) = -2 and f(3)=18f(3) = 18, so −2≤f(x)≤18-2 \le f(x) \le 18
    Watch for
    an open end is not reached: on −2≤x<3-2 \le x < 3 the range is −2≤f(x)<18-2 \le f(x) < 18
  • It becomes
    speed is ∣v∣\lvert v \rvert: compare vv at its turning points (where the acceleration is 00) and at the ends of the time interval
    Watch for
    a large negative velocity is a large speed
  • A trig model h(t)=asin⁡(bt)+dh(t) = a\sin(bt) + d (Read a sinusoid's features, SL 3.7)
    It becomes
    its greatest and least values are d±∣a∣d \pm \lvert a \rvert (on a domain containing a whole cycle; on a shorter given interval, compare the ends with any peak or trough inside it): no calculus needed
    Watch for
    radians, if you do differentiate
  • A quadratic (Find the vertex)
    It becomes
    the vertex, at x=−b2ax = -\frac{b}{2a}, is quicker; f′(x)=0f'(x) = 0 is accepted too
    Watch for
    the sign of aa gives max or min: no test needed
  • A log or a root of a quadratic, e.g. ln⁡(x2−4x+13)\ln\left(x^2 - 4x + 13\right) (What a logarithm is)
    It becomes
    the stationary point is at the vertex of the quadratic inside, x=2x = 2, where the value is ln⁡9\ln 9
    Watch for
    ln⁡\ln and   \sqrt{\;} are increasing, so they keep the maximum or minimum of the inside

More in Calculus

Every topic of the course

Guides