Primary Tool
Math Workspace (CAS)
CAS is useful here because it keeps the algebraic setup, the derivative test, and the final numerical area check in one place. The graph then shows why the critical point is the top of a downward-opening parabola.
Problem
A rectangle has perimeter . What dimensions maximize its area?
The point of the problem is that one geometric condition produces a one-variable objective function, so the derivative test answers a question about actual dimensions.
How the constraint reduces the problem
If the side lengths are and , then the perimeter condition gives , so .
That substitution removes one variable. The area becomes , so maximizing the rectangle area is the same as maximizing a quadratic function on the feasible interval.
Step-by-step walkthrough
The important move is replacing the geometric constraint with a one-variable area function that can be differentiated directly.
- 1Write the perimeter constraint as and solve for one side: .
- 2Substitute into the area formula to get .
- 3Differentiate to find .
- 4Solve to find the critical point .
- 5Differentiate again to get , so the graph is concave down and the critical point gives a maximum.
- 6Compute the matching side length and the maximum area .
Common Pitfall
The derivative is not taken on the original two-variable area formula by itself. You first have to use the constraint to rewrite the area in one variable, otherwise the optimization step is incomplete.
Try a Variation
Redo the same problem with perimeter . Which formulas change, and why does the maximizing rectangle still turn out to be a square?
Related Pages
Keep moving through the cluster
Find and classify critical points of a quartic function
This worked example shows the standard calculus workflow: differentiate, solve , then use the second derivative and the graph to decide which critical points are local maxima or minima.
Open worked example →
What a derivative means geometrically
The derivative is the slope of the tangent line, but that phrase only becomes useful when you compare the curve to nearby secant lines and local linear approximations.
Open explanation →
Proof that a differentiable function is continuous
This proof shows why differentiability is a stronger condition than continuity. The difference factors into a difference quotient times , and that product is forced to zero.
Open proof →