Skip to content

Test for a Maximum

Mathematics · FE Reference Handbook section

Mathematics
2 formulas
10 exam-style examples
~49 min
All Mathematics lectures

Core formulas for this FE topic

Definitions, applicability, units, assumptions and worked examples for each relation.

Worked exam-style examples

The four ways this section is written on the real exam — thoughts first, then equations, then substitution.

Example 1
Maximum of a cost function

Total cost of a haul road is C(x) = x³ − 9x² + 24x + 5 ($1,000) with x the haul distance in km. Locate the local maximum and its value.

Given

  • C(x)=x3−9x2+24x+5C(x) = x^{3} - 9x^{2} + 24x + 5

Find

x at the local maximum and C at that point

Start with the thinking

  • Critical points come from C′(x) = 0; the second derivative classifies them.
  • A local maximum needs C″ < 0.
maxminxyC(x) with both critical points

Figure 1 — schematic for Maximum of a cost function

Step-by-step solution

  1. First derivative

    C′(x)=3x2−18x+24C'(x) = 3x^{2} - 18x + 24
  2. Set to zero

    3x2−18x+24=0,orx2−6x+8=03x^{2} - 18x + 24 = 0, or x^{2} - 6x + 8 = 0
  3. Factor

    (x−2)(x−4)=0,sox=2andx=4(x - 2)(x - 4) = 0, so x = 2 and x = 4
  4. Second derivative

    C″(x)=6x−18C″(x) = 6x - 18
  5. Classify

    C″(2)=−6<0(maximum);C″(4)=+6>0(minimum)C″(2) = -6 < 0 (maximum); C″(4) = +6 > 0 (minimum)
  6. Value — C(2) = 8 − 36 + 48 + 5 = 25.0 ($1,000)

Answer:

Local maximum at x = 2 km, C = $25,000

Why the other options are there

  • x = 4 km (minimum reported)
  • C = 21 (arithmetic slip on 8 − 36 + 48)

Reference: FE Reference Handbook — Mathematics — Differential calculus

Example 2
Derivative evaluated at a point — Test for a Maximum

For f(x) = 2x³ − 8x² + 7x − 5, what is f ′(3)?

Given

  • f(x)=2x3−8x2+7x−5f(x) = 2x^{3} - 8x^{2} + 7x - 5
  • x=3x = 3

Find

f ′(3)

Start with the thinking

  • Differentiate term by term with the power rule.
  • Substitute only after differentiating.

Step-by-step solution

  1. Differentiate

    f′(x)=6x2−16x+7f '(x) = 6x^{2} - 16x + 7
  2. Substituting

    f′(3)=6(9)−16(3)+7f '(3) = 6(9) - 16(3) + 7
  3. Evaluate

    f′(3)=54−48+7=13f '(3) = 54 - 48 + 7 = 13
Answer:
f′(3)=13f '(3) = 13

Why the other options are there

  • -2 (f evaluated, not f ′)
  • 18 (constant differentiated incorrectly)

Reference: FE Reference Handbook — Mathematics → Test for a Maximum

Example 3
Derivative evaluated at a point — Test for a Maximum (2)

For f(x) = 5x³ − 5x² + 6x − 5, what is f ′(2)?

Given

  • f(x)=5x3−5x2+6x−5f(x) = 5x^{3} - 5x^{2} + 6x - 5
  • x=2x = 2

Find

f ′(2)

Start with the thinking

  • Differentiate term by term with the power rule.
  • Substitute only after differentiating.

Step-by-step solution

  1. Differentiate

    f′(x)=15x2−10x+6f '(x) = 15x^{2} - 10x + 6
  2. Substituting

    f′(2)=15(4)−10(2)+6f '(2) = 15(4) - 10(2) + 6
  3. Evaluate

    f′(2)=60−20+6=46f '(2) = 60 - 20 + 6 = 46
Answer:
f′(2)=46f '(2) = 46

Why the other options are there

  • 27 (f evaluated, not f ′)
  • 51 (constant differentiated incorrectly)

Reference: FE Reference Handbook — Mathematics → Test for a Maximum

Example 4
Derivative evaluated at a point — Test for a Maximum (3)

For f(x) = 6x³ − 3x² + 6x − 5, what is f ′(1)?

Given

  • f(x)=6x3−3x2+6x−5f(x) = 6x^{3} - 3x^{2} + 6x - 5
  • x=1x = 1

Find

f ′(1)

Start with the thinking

  • Differentiate term by term with the power rule.
  • Substitute only after differentiating.

Step-by-step solution

  1. Differentiate

    f′(x)=18x2−6x+6f '(x) = 18x^{2} - 6x + 6
  2. Substituting

    f′(1)=18(1)−6(1)+6f '(1) = 18(1) - 6(1) + 6
  3. Evaluate

    f′(1)=18−6+6=18f '(1) = 18 - 6 + 6 = 18
Answer:
f′(1)=18f '(1) = 18

Why the other options are there

  • 4 (f evaluated, not f ′)
  • 23 (constant differentiated incorrectly)

Reference: FE Reference Handbook — Mathematics → Test for a Maximum

Example 5
Derivative evaluated at a point — Test for a Maximum (4)

For f(x) = 5x³ − 6x² + 6x − 5, what is f ′(3)?

Given

  • f(x)=5x3−6x2+6x−5f(x) = 5x^{3} - 6x^{2} + 6x - 5
  • x=3x = 3

Find

f ′(3)

Start with the thinking

  • Differentiate term by term with the power rule.
  • Substitute only after differentiating.

Step-by-step solution

  1. Differentiate

    f′(x)=15x2−12x+6f '(x) = 15x^{2} - 12x + 6
  2. Substituting

    f′(3)=15(9)−12(3)+6f '(3) = 15(9) - 12(3) + 6
  3. Evaluate

    f′(3)=135−36+6=105f '(3) = 135 - 36 + 6 = 105
Answer:
f′(3)=105f '(3) = 105

Why the other options are there

  • 94 (f evaluated, not f ′)
  • 110 (constant differentiated incorrectly)

Reference: FE Reference Handbook — Mathematics → Test for a Maximum

Example 6
Derivative evaluated at a point — Test for a Maximum (5)

For f(x) = 2x³ − 4x² + 7x − 5, what is f ′(4)?

Given

  • f(x)=2x3−4x2+7x−5f(x) = 2x^{3} - 4x^{2} + 7x - 5
  • x=4x = 4

Find

f ′(4)

Start with the thinking

  • Differentiate term by term with the power rule.
  • Substitute only after differentiating.

Step-by-step solution

  1. Differentiate

    f′(x)=6x2−8x+7f '(x) = 6x^{2} - 8x + 7
  2. Substituting

    f′(4)=6(16)−8(4)+7f '(4) = 6(16) - 8(4) + 7
  3. Evaluate

    f′(4)=96−32+7=71f '(4) = 96 - 32 + 7 = 71
Answer:
f′(4)=71f '(4) = 71

Why the other options are there

  • 87 (f evaluated, not f ′)
  • 76 (constant differentiated incorrectly)

Reference: FE Reference Handbook — Mathematics → Test for a Maximum

Example 7
Derivative evaluated at a point — Test for a Maximum (6)

For f(x) = 6x³ − 5x² + 5x − 5, what is f ′(3)?

Given

  • f(x)=6x3−5x2+5x−5f(x) = 6x^{3} - 5x^{2} + 5x - 5
  • x=3x = 3

Find

f ′(3)

Start with the thinking

  • Differentiate term by term with the power rule.
  • Substitute only after differentiating.

Step-by-step solution

  1. Differentiate

    f′(x)=18x2−10x+5f '(x) = 18x^{2} - 10x + 5
  2. Substituting

    f′(3)=18(9)−10(3)+5f '(3) = 18(9) - 10(3) + 5
  3. Evaluate

    f′(3)=162−30+5=137f '(3) = 162 - 30 + 5 = 137
Answer:
f′(3)=137f '(3) = 137

Why the other options are there

  • 127 (f evaluated, not f ′)
  • 142 (constant differentiated incorrectly)

Reference: FE Reference Handbook — Mathematics → Test for a Maximum

Example 8
Derivative evaluated at a point — Test for a Maximum (7)

For f(x) = 2x³ − 8x² + 5x − 5, what is f ′(2)?

Given

  • f(x)=2x3−8x2+5x−5f(x) = 2x^{3} - 8x^{2} + 5x - 5
  • x=2x = 2

Find

f ′(2)

Start with the thinking

  • Differentiate term by term with the power rule.
  • Substitute only after differentiating.

Step-by-step solution

  1. Differentiate

    f′(x)=6x2−16x+5f '(x) = 6x^{2} - 16x + 5
  2. Substituting

    f′(2)=6(4)−16(2)+5f '(2) = 6(4) - 16(2) + 5
  3. Evaluate

    f′(2)=24−32+5=−3f '(2) = 24 - 32 + 5 = -3
Answer:
f′(2)=−3f '(2) = -3

Why the other options are there

  • -11 (f evaluated, not f ′)
  • 2 (constant differentiated incorrectly)

Reference: FE Reference Handbook — Mathematics → Test for a Maximum

Example 9
Derivative evaluated at a point — Test for a Maximum (8)

For f(x) = 4x³ − 4x² + 2x − 5, what is f ′(3)?

Given

  • f(x)=4x3−4x2+2x−5f(x) = 4x^{3} - 4x^{2} + 2x - 5
  • x=3x = 3

Find

f ′(3)

Start with the thinking

  • Differentiate term by term with the power rule.
  • Substitute only after differentiating.

Step-by-step solution

  1. Differentiate

    f′(x)=12x2−8x+2f '(x) = 12x^{2} - 8x + 2
  2. Substituting

    f′(3)=12(9)−8(3)+2f '(3) = 12(9) - 8(3) + 2
  3. Evaluate

    f′(3)=108−24+2=86f '(3) = 108 - 24 + 2 = 86
Answer:
f′(3)=86f '(3) = 86

Why the other options are there

  • 73 (f evaluated, not f ′)
  • 91 (constant differentiated incorrectly)

Reference: FE Reference Handbook — Mathematics → Test for a Maximum

Example 10
Derivative evaluated at a point — Test for a Maximum (9)

For f(x) = 3x³ − 5x² + 5x − 5, what is f ′(2)?

Given

  • f(x)=3x3−5x2+5x−5f(x) = 3x^{3} - 5x^{2} + 5x - 5
  • x=2x = 2

Find

f ′(2)

Start with the thinking

  • Differentiate term by term with the power rule.
  • Substitute only after differentiating.

Step-by-step solution

  1. Differentiate

    f′(x)=9x2−10x+5f '(x) = 9x^{2} - 10x + 5
  2. Substituting

    f′(2)=9(4)−10(2)+5f '(2) = 9(4) - 10(2) + 5
  3. Evaluate

    f′(2)=36−20+5=21f '(2) = 36 - 20 + 5 = 21
Answer:
f′(2)=21f '(2) = 21

Why the other options are there

  • 9 (f evaluated, not f ′)
  • 26 (constant differentiated incorrectly)

Reference: FE Reference Handbook — Mathematics → Test for a Maximum

© 2026 Dr. Steve Efe. Civil Engineering Capstone Studio. All rights reserved.