• Practice
  • About 15 min
  • 5 practice questions

Finding constants from stationary points and extreme values

Solve the exam question type where a function has unknown constants and you are told where it has a maximum or minimum, or what its extreme value is, and then check the nature of each point.

If something looks wrong, please tell us.

A favourite exam question gives a function with unknown constants, such as f(x) = x³ + ax² + bx, and tells you something about its turning points. You must work backwards to the constants. The reasoning is short once you know the two facts that carry the whole topic: at a turning point f′ = 0, and the point lies on the curve so f gives its height. This lesson sets out the method, the speed shortcut and the traps.

The method

  • Write f′(x). For each given stationary point x = c, form the equation f′(c) = 0.
  • If an extreme value is given, form a second equation f(c) = that value.
  • Solve the equations for the constants.
  • Check with f″ (or the sign of f′) that each point really is a maximum or minimum as the question says.

Speed shortcut for polynomials. If f′ is a quadratic with known roots, write f′ = (leading coefficient) × (x − r₁)(x − r₂) and compare coefficients, instead of substituting each root.

Stationary at x = c means f′(c) = 0. An extreme value means f(c) equals that value. Always check the type with f″.

Worked example 1: a cubic with a maximum and a minimum

The function f(x) = x³ + ax² + bx has a local maximum at x = 1 and a local minimum at x = 3. Find a and b. We have f′ = 3x² + 2ax + b, and its roots are 1 and 3, so f′ = 3(x − 1)(x − 3) = 3x² − 12x + 9. Comparing: 2a = −12 and b = 9, so a = −6, b = 9. Check: f″ = 6x − 12 is −6 at x = 1 (maximum) and +6 at x = 3 (minimum). The values are f(1) = 1 − 6 + 9 = 4 and f(3) = 27 − 54 + 27 = 0.

Worked example 2: a logarithm

The function f(x) = a ln x + bx² + x has extreme values at x = 1 and x = 2. Find a and b, and say which is the maximum. Here f′ = a/x + 2bx + 1. At x = 1: a + 2b + 1 = 0. At x = 2: a/2 + 4b + 1 = 0, which is a + 8b + 2 = 0. Subtracting the first from the second gives 6b + 1 = 0, so b = −1/6, and then a = −1 − 2b = −1 + 1/3 = −2/3. So a = −2/3, b = −1/6. For the type, f″ = −a/x² + 2b = 2/(3x²) − 1/3. At x = 1 this is 1/3 > 0, a minimum; at x = 2 it is 1/6 − 1/3 = −1/6 < 0, a maximum.

Worked example 3: a given minimum value

The function f(x) = x² + px + q has a minimum value of 3 at x = 2. Then f′(2) = 4 + p = 0 gives p = −4. The minimum value is f(2) = 4 − 8 + q = 3, so q = 7. Check: f(x) = x² − 4x + 7 = (x − 2)² + 3, whose least value is 3 at x = 2.

Worked example 4: a given maximum value

The function f(x) = x³ − 3x + k has a local maximum value of 5. Find k. f′ = 3x² − 3 = 0 gives x = ±1, and f″ = 6x is negative at x = −1, so the local maximum is at x = −1. Then f(−1) = −1 + 3 + k = 2 + k = 5, so k = 3. The local minimum is then f(1) = 1 − 3 + 3 = 1.

Traps

  • Stationary does not mean extreme. For f(x) = x³, f′(0) = 0, but there is no maximum or minimum, because f′ does not change sign.
  • Use the right point for the extreme value: the local maximum of x³ − 3x + k is at x = −1, not x = 1.
  • Do not skip the check: two conditions can give constants for which the point is the other type.

Key takeaways: one condition f′(c) = 0 for each stationary point, one condition f(c) = value for each extreme value. For a quadratic f′ with known roots, compare coefficients. Always check the type with f″ and answer what the question asks, for example the value of k or which is the maximum.

Check your understanding

  1. 1. The function f(x) = x³ + ax² + bx has stationary points at x = 1 and x = 3. What is a?

    1. 6
    2. −6
    3. −12
    4. 4
    Show answer

    Answer: B. f′ = 3x² + 2ax + b = 3(x − 1)(x − 3) = 3x² − 12x + 9. So 2a = −12 and a = −6.

  2. 2. For the same function f(x) = x³ + ax² + bx with stationary points at x = 1 and x = 3, what is b?

    1. 3
    2. 12
    3. −9
    4. 9
    Show answer

    Answer: D. From f′ = 3x² − 12x + 9, the constant term is b = 9. Check: the product of the roots is b/3 = 3, so b = 9.

  3. 3. The function f(x) = x³ − 3x + k has a local maximum value of 5. What is k?

    1. 3
    2. 5
    3. 2
    4. 1
    Show answer

    Answer: A. The local maximum is at x = −1, where f = −1 + 3 + k = 2 + k. Setting 2 + k = 5 gives k = 3.

  4. 4. The function f(x) = x³ + ax² has a local maximum at x = −2. What is a?

    1. −3
    2. 6
    3. 3
    4. 12
    Show answer

    Answer: C. f′ = 3x² + 2ax = 0 at x = −2 gives 12 − 4a = 0, so a = 3. Then f″ = 6x + 6 = −6 < 0 at x = −2, confirming a maximum.

  5. 5. Which of these functions has a stationary point at x = 0 that is not a maximum or minimum?

    1. y = x²
    2. y = x⁴
    3. y = −x²
    4. y = x³
    Show answer

    Answer: D. y = x³ has dy/dx = 3x² = 0 at x = 0, but dy/dx is positive on both sides, so the curve keeps rising: a stationary point of inflection. The others have a minimum or a maximum at x = 0.

Privacy · Terms · Refunds · Delivery