Analytical Applications of Differentiation: Curve Sketching & Optimization
Connecting , , and Graphs
When you “connect” the graphs of , , and , you’re translating between three different views of the same function:
- tells you position/output (the actual height of the graph).
- tells you **rate of change** (the slope of ).
- tells you **how the rate of change is changing** (concavity of ).
This matters because many AP questions don’t give you a formula for . Instead, you might get a graph of (or ) and be asked to deduce where 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 tells you about (increasing/decreasing and extrema)
The derivative measures the slope of . If you imagine walking along the graph of from left to right:
- If the graph is going upward, slopes are positive, so .
- If the graph is going downward, slopes are negative, so .
- If the graph is flat (horizontal tangent), then .
So the sign of controls monotonicity:
- is increasing on intervals where .
- is decreasing on intervals where .
A critical point of is a point in the domain where or 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 “ 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 :
- If changes from positive to negative, has a local maximum.
- If changes from negative to positive, has a local minimum.
- If does not change sign, has no local extremum there.
Example 1: Inferring behavior of from a sign chart of
Suppose is positive on , equals at , is negative on , equals at , and is positive on .
- On , so is increasing.
- At , changes from to , so has a local maximum at .
- On , so is decreasing.
- At , changes from to , so has a local minimum at .
Notice that you can sketch a reasonable shape of (up then down then up) without ever knowing the exact formula.
What tells you about (concavity and inflection points)
Concavity is about how slopes are changing.
- Concave up means the slopes of are increasing as increases (tangent lines get steeper). This corresponds to .
- Concave down means the slopes of are decreasing as increases (tangent lines get less steep). This corresponds to .
So:
- is concave up where .
- is concave down where .
An inflection point of is a point where the concavity changes (from up to down, or down to up). A necessary condition is that or is undefined, but—again—this is not sufficient. You must confirm that changes sign.
A helpful way to remember concavity is:
- Concave up: the graph of looks like a cup “holding water.”
- Concave down: the graph of looks like a cap “spilling water.”
Connecting and (increasing/decreasing of the derivative)
Since is the derivative of , it tells you whether is increasing or decreasing:
- If on an interval, then is increasing there.
- If on an interval, then is decreasing there.
This is a powerful connection on AP problems where you’re shown the graph of . You can often determine concavity of by checking whether is increasing or decreasing.
- is concave up where is increasing.
- is concave down where is decreasing.
This works because “concavity of ” is really “trend in the slope of .”
Example 2: Reading concavity of from a graph of
Imagine you’re given a graph of that rises from left to right on the interval and falls from left to right on .
- On , is increasing, so there and is concave up.
- On , is decreasing, so there and is concave down.
If changes from increasing to decreasing at , that suggests changes sign, so likely has an inflection point at (as long as is continuous there).
How to sketch when you’re given (a practical workflow)
On many free-response questions, you’re given a graph of and asked to sketch a graph of 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:
- Mark where or undefined. These are candidate points where could have local extrema or corners/cusps.
- Determine increasing/decreasing for using the sign of .
- Determine concavity for by checking whether is increasing or decreasing.
- 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 , intercepts on that graph correspond to where has horizontal tangents—not where crosses the -axis.
How to sketch when you’re given
If you’re given and asked about , you’re essentially graphing “slope as a function of .” Conceptually:
- Where is increasing steeply, is large and positive.
- Where is decreasing steeply, is large in magnitude and negative.
- Where has a horizontal tangent, .
If has a corner/cusp/vertical tangent, may not exist there.
It helps to pick a few representative -values, estimate the slope of at each, and plot those slope values on the graph.
Putting the relationships in one place
The key ideas can be organized as “sign and trend.”
| Information you see | What it implies | What you conclude |
|---|---|---|
| slopes of are positive | increasing | |
| slopes of are negative | decreasing | |
| changes to at | slope goes from up to down | local max at |
| changes to at | slope goes from down to up | local min at |
| slopes of are increasing | concave up | |
| slopes of are decreasing | concave down | |
| changes sign at | concavity changes | inflection point at |
| increasing | graph of rising | |
| decreasing | graph of falling |
A note about “height” vs “slope” (avoiding a classic confusion)
Students often confuse these statements:
- “ is positive” means the graph of is above the -axis.
- “ is increasing” means the graph goes up as you move right.
Similarly:
- “ is positive” does **not** mean is above the axis; it means is increasing.
- Zeros of do **not** mean zeros of .
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 (or a sign chart/table of ), determine where is increasing/decreasing and identify local maxima/minima.
- Given a graph of , determine where is concave up/down and locate inflection points by analyzing where increases/decreases.
- Sketch a possible graph of consistent with a provided graph of (often with one point of given to anchor vertical position).
- Common mistakes:
- Treating as automatically giving a local extremum; you must check a sign change in .
- Confusing the zeros of with the zeros of .
- Claiming an inflection point just because ; you must confirm concavity changes (a sign change in , or equivalently a change in increasing/decreasing of ).
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:
- Objective function: the quantity you want to optimize. Call it .
- 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 is continuous on , then its absolute max and min occur either at:
- endpoints or , or
- critical points inside where or 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:
- Draw a picture (even a rough one). Label variables.
- Write the objective function in terms of your variables.
- Write the constraint equation(s) from the given conditions.
- Reduce to one variable by solving the constraint for one variable and substituting.
- Determine the domain of the remaining variable (physical constraints like lengths must be positive; also geometric limits).
- Differentiate to find .
- Find critical points (solve and note where undefined in the domain).
- Decide max/min using:
- the Closed Interval Method, or
- the First Derivative Test, or
- the Second Derivative Test (when appropriate).
- 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 changes sign from positive to negative at a critical point, has a local maximum there. If changes from negative to positive, has a local minimum.
Second Derivative Test: If and , then has a local minimum at . If , then has a local maximum.
A common mistake is to apply the Second Derivative Test when is not zero; it’s not valid in that case.
Example 1: Max area with fixed perimeter (classic fencing rectangle)
A farmer has meters of fencing to build a rectangular enclosure. What dimensions maximize the area?
1) Define variables. Let the rectangle have length and width .
2) Objective function (area).
3) Constraint (perimeter).
Solve for one variable, for example :
4) Substitute into objective (one variable).
5) Domain. Physical lengths require and , so:
6) Differentiate.
7) Critical point. Set derivative to zero:
Then .
8) Max or min? Since is a downward-opening parabola (coefficient of is negative), the critical point is a maximum. Alternatively, check :
Because , it’s a local maximum; on this domain it’s also the absolute maximum.
Conclusion: The maximum area occurs when meters; the optimal rectangle is a square.
What to notice: Many geometry optimization problems end with symmetry (like a square), but you should still show it with calculus rather than guessing.
Example 2: Min distance from a point to a curve (closest point)
Find the point on the parabola closest to the point .
This is optimization because “closest” means “minimum distance.” The distance from a point on the parabola to is:
Minimizing is annoying because of the square root, but the square root is increasing, so minimizing is equivalent to minimizing .
1) Objective function (squared distance).
Expand:
2) Differentiate.
3) Critical points.
Factor:
So:
or
4) Evaluate the objective at candidates. Since the domain is all real numbers, we compare values of at these points.
- .
- For , compute:
Since , the minimum occurs at .
5) Give the actual points. On the parabola, , so .
Closest points:
and
Common pitfall: Minimizing vs minimizing . It’s fine to minimize , but you must not forget at the end that the point is asked for, not just the distance.
Example 3: Minimizing material for a box (surface area with fixed volume)
A box with a square base has volume cubic units. Find the dimensions that minimize surface area for an open-top box (no lid).
1) Variables. Let base side length be and height be .
2) Constraint (volume).
Solve for :
3) Objective (surface area). For an open-top box:
- Base area:
- Four sides: each is , so total side area is
Thus:
Substitute :
Simplify:
4) Domain. .
5) Differentiate and find critical points.
Set to zero:
Then:
6) Verify it’s a minimum. Use :
For , , so the critical point gives a minimum.
Conclusion: Minimum surface area occurs at base side and height .
Why this makes sense: If the base is extremely small, you need a very tall box to keep volume fixed, increasing side area. If the base is huge, base area dominates. The minimum occurs at a balance point.
Optimization with contexts: what “reasonable domain” really means
AP problems often require you to state or use a domain. This isn’t just a formality—it prevents nonsense answers.
Examples of domain restrictions:
- Lengths/areas/volumes: variables must be positive.
- If you define as “distance from a corner along a side,” then must lie between and the side length.
- If you model revenue/cost with a demand function, you may need values that keep price nonnegative.
A subtle but common mistake is to find a critical point that is mathematically valid but physically impossible (like a negative radius). Always check units and constraints.
How curve sketching ideas support optimization
Optimization is basically curve sketching with a purpose. When you compute and analyze its sign, you’re doing the same work as “connecting and ”:
- Sign of tells you where increases/decreases.
- Where changes sign tells you maxima/minima.
- Sometimes helps you confirm the type of extremum via concavity.
Thinking this way makes optimization feel less like a “word problem trick” and more like an application of derivative behavior.
Exam Focus
- Typical question patterns:
- “Find the dimensions that maximize area/minimize cost given a constraint” (perimeter, fixed volume, fixed surface area, fixed distance).
- “Find the minimum distance” between a point and a curve (often by minimizing squared distance).
- “Find absolute maximum/minimum on an interval” (explicitly requires checking endpoints plus critical points).
- Common mistakes:
- Not reducing to one variable before differentiating, or using the constraint incorrectly when substituting.
- Finding critical points but failing to test them (no endpoint check on a closed interval; no justification of max vs min).
- Ignoring domain/physical feasibility, leading to impossible dimensions (negative lengths, values outside the geometric setup).