Analytical Applications of Differentiation: Curve Sketching & Optimization

Connecting f, f', and f'' Graphs

When you “connect” the graphs of f, f', and f'', you’re translating between three different views of the same function:

  • f tells you position/output (the actual height of the graph).
  • f' tells you **rate of change** (the slope of f).
  • f'' tells you **how the rate of change is changing** (concavity of f).

This matters because many AP questions don’t give you a formula for f. Instead, you might get a graph of f' (or f'') and be asked to deduce where f increases, where it has a local maximum, where it is concave up, and so on. That’s curve sketching in its “information-based” form.

What f' tells you about f (increasing/decreasing and extrema)

The derivative f' measures the slope of f. If you imagine walking along the graph of f from left to right:

  • If the graph is going upward, slopes are positive, so f' > 0.
  • If the graph is going downward, slopes are negative, so f' < 0.
  • If the graph is flat (horizontal tangent), then f' = 0.

So the sign of f' controls monotonicity:

  • f is increasing on intervals where f' > 0.
  • f is decreasing on intervals where f' < 0.

A critical point of f is a point in the domain where f' = 0 or f' does not exist. Critical points are important because local extrema (local maxima/minima) can only occur at critical points.

But a very common mistake is thinking “f' = 0 means max or min.” Not necessarily. A horizontal tangent could be a max, a min, or neither (like an S-shaped flattening).

To decide what happens at a critical point, you look for a sign change in f':

  • If f' changes from positive to negative, f has a local maximum.
  • If f' changes from negative to positive, f has a local minimum.
  • If f' does not change sign, f has no local extremum there.
Example 1: Inferring behavior of f from a sign chart of f'

Suppose f' is positive on (-\infty, 1), equals 0 at 1, is negative on (1, 4), equals 0 at 4, and is positive on (4, \infty).

  • On (-\infty, 1), f' > 0 so f is increasing.
  • At x = 1, f' changes from + to -, so f has a local maximum at x = 1.
  • On (1, 4), f' < 0 so f is decreasing.
  • At x = 4, f' changes from - to +, so f has a local minimum at x = 4.

Notice that you can sketch a reasonable shape of f (up then down then up) without ever knowing the exact formula.

What f'' tells you about f (concavity and inflection points)

Concavity is about how slopes are changing.

  • Concave up means the slopes of f are increasing as x increases (tangent lines get steeper). This corresponds to f'' > 0.
  • Concave down means the slopes of f are decreasing as x increases (tangent lines get less steep). This corresponds to f'' < 0.

So:

  • f is concave up where f'' > 0.
  • f is concave down where f'' < 0.

An inflection point of f is a point where the concavity changes (from up to down, or down to up). A necessary condition is that f'' = 0 or f'' is undefined, but—again—this is not sufficient. You must confirm that f'' changes sign.

A helpful way to remember concavity is:

  • Concave up: the graph of f looks like a cup “holding water.”
  • Concave down: the graph of f looks like a cap “spilling water.”

Connecting f'' and f' (increasing/decreasing of the derivative)

Since f'' is the derivative of f', it tells you whether f' is increasing or decreasing:

  • If f'' > 0 on an interval, then f' is increasing there.
  • If f'' < 0 on an interval, then f' is decreasing there.

This is a powerful connection on AP problems where you’re shown the graph of f'. You can often determine concavity of f by checking whether f' is increasing or decreasing.

  • f is concave up where f' is increasing.
  • f is concave down where f' is decreasing.

This works because “concavity of f” is really “trend in the slope of f.”

Example 2: Reading concavity of f from a graph of f'

Imagine you’re given a graph of f' that rises from left to right on the interval (0, 2) and falls from left to right on (2, 5).

  • On (0, 2), f' is increasing, so f'' > 0 there and f is concave up.
  • On (2, 5), f' is decreasing, so f'' < 0 there and f is concave down.

If f' changes from increasing to decreasing at x = 2, that suggests f'' changes sign, so f likely has an inflection point at x = 2 (as long as f is continuous there).

How to sketch f when you’re given f' (a practical workflow)

On many free-response questions, you’re given a graph of f' and asked to sketch a graph of f that is consistent with it. You’re not expected to find the exact formula—just a graph that matches the derivative information.

A reliable approach:

  1. Mark where f' = 0 or undefined. These are candidate points where f could have local extrema or corners/cusps.
  2. Determine increasing/decreasing for f using the sign of f'.
  3. Determine concavity for f by checking whether f' is increasing or decreasing.
  4. Combine them into a coherent shape. Increasing + concave up looks different from increasing + concave down.

A common error is to mix up what you’re sketching: if the given graph is f', intercepts on that graph correspond to where f has horizontal tangents—not where f crosses the x-axis.

How to sketch f' when you’re given f

If you’re given f and asked about f', you’re essentially graphing “slope as a function of x.” Conceptually:

  • Where f is increasing steeply, f' is large and positive.
  • Where f is decreasing steeply, f' is large in magnitude and negative.
  • Where f has a horizontal tangent, f' = 0.

If f has a corner/cusp/vertical tangent, f' may not exist there.

It helps to pick a few representative x-values, estimate the slope of f at each, and plot those slope values on the f' graph.

Putting the relationships in one place

The key ideas can be organized as “sign and trend.”

Information you seeWhat it impliesWhat you conclude
f' > 0slopes of f are positivef increasing
f' < 0slopes of f are negativef decreasing
f' changes + to - at x=cslope goes from up to downf local max at x=c
f' changes - to + at x=cslope goes from down to upf local min at x=c
f'' > 0slopes of f are increasingf concave up
f'' < 0slopes of f are decreasingf concave down
f'' changes sign at x=cconcavity changesf inflection point at x=c
f'' > 0f' increasinggraph of f' rising
f'' < 0f' decreasinggraph of f' falling

A note about “height” vs “slope” (avoiding a classic confusion)

Students often confuse these statements:

  • “f is positive” means the graph of f is above the x-axis.
  • “f is increasing” means the graph goes up as you move right.

Similarly:

  • “f' is positive” does **not** mean f is above the axis; it means f is increasing.
  • Zeros of f' do **not** mean zeros of f.

Keeping “value” (height) separate from “rate of change” (slope) is the whole point of connecting these graphs.

Exam Focus
  • Typical question patterns:
    • Given a graph of f' (or a sign chart/table of f'), determine where f is increasing/decreasing and identify local maxima/minima.
    • Given a graph of f', determine where f is concave up/down and locate inflection points by analyzing where f' increases/decreases.
    • Sketch a possible graph of f consistent with a provided graph of f' (often with one point of f given to anchor vertical position).
  • Common mistakes:
    • Treating f' = 0 as automatically giving a local extremum; you must check a sign change in f'.
    • Confusing the zeros of f' with the zeros of f.
    • Claiming an inflection point just because f'' = 0; you must confirm concavity changes (a sign change in f'', or equivalently a change in increasing/decreasing of f').

Optimization Problems

An optimization problem asks you to find the maximum or minimum value of some quantity (area, cost, distance, volume, time, etc.) subject to given constraints. In calculus, the central idea is that maxima/minima often occur where a function’s derivative is zero or undefined—because at a “best possible” point, small changes usually don’t improve the outcome.

Optimization matters because it’s one of the most direct ways calculus models real decisions: minimizing materials in manufacturing, maximizing profit, designing containers, or finding the closest point to a location.

The big picture: objective function + constraints

Every optimization problem has two core ingredients:

  1. Objective function: the quantity you want to optimize. Call it Q.
  2. Constraints: equations/inequalities that limit possible choices.

Your job is usually to rewrite the objective function as a function of one variable, using the constraints. Then you can use derivatives to locate maxima/minima.

A very common place students go wrong is differentiating too early—before reducing to one variable. If you still have two variables, you either need more constraints or you haven’t used the given constraint fully.

Local vs absolute extrema (and why endpoints matter)

On AP problems, you’re often asked for an absolute maximum/minimum on a closed interval. The calculus fact you rely on is the Closed Interval Method:

  • If Q is continuous on [a,b], then its absolute max and min occur either at:
    • endpoints x=a or x=b, or
    • critical points inside (a,b) where Q' = 0 or Q' does not exist.

So optimization is not just “set derivative equal to zero.” You must also check endpoints if the domain is closed/bounded.

A standard step-by-step strategy (what you should actually do)

When you face an optimization prompt, a consistent workflow helps:

  1. Draw a picture (even a rough one). Label variables.
  2. Write the objective function Q in terms of your variables.
  3. Write the constraint equation(s) from the given conditions.
  4. Reduce to one variable by solving the constraint for one variable and substituting.
  5. Determine the domain of the remaining variable (physical constraints like lengths must be positive; also geometric limits).
  6. Differentiate to find Q'.
  7. Find critical points (solve Q' = 0 and note where Q' undefined in the domain).
  8. Decide max/min using:
    • the Closed Interval Method, or
    • the First Derivative Test, or
    • the Second Derivative Test (when appropriate).
  9. Interpret your answer with units and a sentence (“maximum area occurs when …”).

Deciding whether you found a max or a min

After you find a critical point, you still must justify it produces the requested optimum.

First Derivative Test: If Q' changes sign from positive to negative at a critical point, Q has a local maximum there. If Q' changes from negative to positive, Q has a local minimum.

Second Derivative Test: If Q'(c)=0 and Q''(c)>0, then Q has a local minimum at x=c. If Q''(c)