01 / 21

Differentiation
Applications

Master optimization and curve sketching using derivatives in real-world contexts: IB Math AI SL 5.4.

IB Math AI SL

What Does the Derivative Tell Us?

The derivative \( f'(x) \) measures the instantaneous rate of change of a function. Geometrically, it gives the slope of the tangent line at any point on the curve.

Stationary Points on a Curve

x y Local Max Local Min \( f'(x) = 0 \) \( f'(x) = 0 \)

Why Applications Matter

Optimization
Find the maximum profit, minimum cost, or optimal dimensions of a container.
Curve Sketching
Determine shape, turning points, and behaviour of a function without a GDC.
Modelling
Analyse rates of change in biology, economics, physics, and engineering contexts.

The First Derivative Test

To classify a stationary point at \( x = c \) where \( f'(c) = 0 \):

1
If \( f'(x) \) changes from positive to negative at \( c \): local maximum.
2
If \( f'(x) \) changes from negative to positive at \( c \): local minimum.
3
If \( f'(x) \) does not change sign: neither max nor min (possible inflection point).

The Second Derivative Test

An alternative way to classify stationary points uses \( f''(x) \), the second derivative:

Max \( f'' \lt 0 \) Min \( f'' \gt 0 \)

First vs Second Derivative Test

First Derivative Test Second Derivative Test
What you check Sign change of \( f'(x) \) around \( c \) Value of \( f''(c) \)
Requires Evaluate \( f' \) at test points Compute second derivative
Always works? Yes No: fails when \( f''(c) = 0 \)
Best when \( f''(x) \) is hard to find \( f''(x) \) is quick to compute

Optimization: Step-by-Step

1
Define the variable. Identify what you are maximizing or minimizing and the independent variable.
2
Write the objective function in terms of a single variable (use constraints to eliminate extras).
3
Differentiate and set \( f'(x) = 0 \) to find stationary points.
4
Classify using the first or second derivative test.
5
Check endpoints of the domain (if applicable) and state your answer in context.

Curve Sketching Checklist

1
Find intercepts: set \( x = 0 \) for the \( y \)-intercept; solve \( f(x) = 0 \) for \( x \)-intercepts.
2
Find stationary points: solve \( f'(x) = 0 \) and evaluate \( f \) at those values.
3
Classify each stationary point with the first or second derivative test.
4
Determine intervals of increase and decrease using sign of \( f'(x) \).
5
Sketch the curve passing through known points, respecting shape and turning behaviour.

Example 1: Stationary Points

Find and classify the stationary points of \( f(x) = x^3 - 6x^2 + 9x + 1 \).

Example 1: Graph of \( f(x) \)

x y 0 1 2 3 4 1 3 5 7 Max (1, 5) Min (3, 1)

Example 2: Optimization

A farmer has 120 m of fencing to enclose a rectangular pen against a barn wall. Only three sides need fencing. What dimensions maximize the area?

BARN WALL \( x \) \( x \) \( y \)

Example 2: Solution

The domain is \( 0 < x < 60 \). At the endpoints \( A = 0 \), confirming \( x = 30 \) gives the global maximum.

Example 3: Minimum Material

An open-top cylindrical can must hold \( 500\pi \text{ cm}^3 \). Find the radius \( r \) that minimizes the total surface area.

Common Mistakes to Avoid

✕ Forgetting the Constraint
In optimization, always use the constraint equation to reduce to one variable before differentiating.
✕ Not Classifying
Finding \( f'(x) = 0 \) is only half the work: you must verify max or min using a derivative test.
✕ Ignoring Endpoints
For a restricted domain, the global max/min may occur at an endpoint, not at a stationary point.

Summary of Key Concepts

Concept Condition Meaning
Stationary point \( f'(c) = 0 \) Tangent is horizontal
Local maximum \( f''(c) < 0 \) Curve concave down
Local minimum \( f''(c) > 0 \) Curve concave up
Increasing \( f'(x) > 0 \) Function rises
Decreasing \( f'(x) < 0 \) Function falls
Inflection point \( f''(x) = 0 \) and sign changes Concavity reverses

Question 1 of 5

If \( f(x) = x^3 - 3x + 2 \), at which value of \( x \) does a local minimum occur?

Question 2 of 5

A rectangle has perimeter \(40 \text{ cm}\). What is the maximum area?

Question 3 of 5

If \( f''(c) = 0 \) and \( f'(c) = 0 \), what can you conclude?

Question 4 of 5

The derivative of a function is \( f'(x) = (x-2)(x+4) \). On which interval is \(f\) decreasing?

Question 5 of 5

A box with a square base and no lid has volume \( 32 \text{ cm}^3 \). The surface area is \( S = x^2 + \frac{128}{x} \). What value of \(x\) minimizes \(S\)?