Optimisation and the Behaviour of Implicitly Defined Relations
AP Calculus BC · Unit 5 — Analytical Applications of Differentiation
The five-step optimisation routine
(1) Draw and label. (2) Write the quantity to be optimised as a formula. (3) Use the constraint to reduce it to one variable, and state the domain that the physical situation allows. (4) Differentiate, set equal to zero, solve. (5) Justify that the critical value gives the extremum you claim, then answer the question that was actually asked.
Step 5 is where AP points are won and lost. Two acceptable justifications: a sign chart for the first derivative, or the second derivative test. If the domain is a closed interval you may instead use the candidates test. Simply asserting "this is the maximum" earns nothing.
Implicitly defined relations
The same analysis applies to a curve given by an equation in $x$ and $y$. Compute $\dfrac{dy}{dx}$ implicitly; the tangent is horizontal where the numerator vanishes and the denominator does not, and vertical where the denominator vanishes and the numerator does not. To classify such a point, compute $\dfrac{d^2y}{dx^2}$ and simplify using the fact that $\dfrac{dy}{dx}=0$ there — that substitution collapses most of the algebra.
Worked example: a rectangle inscribed in an ellipse
Find the maximum area of a rectangle with sides parallel to the axes that is inscribed in the ellipse $\dfrac{x^2}{9}+\dfrac{y^2}{4}=1$.
Solution
Steps 1 and 2. Let $(x,y)$ be the vertex in the first quadrant, $x>0$, $y>0$. The area is $A=(2x)(2y)=4xy$.
Step 3 — eliminate one variable. From the constraint, $y=2\sqrt{1-\dfrac{x^2}{9}}=\dfrac{2}{3}\sqrt{9-x^2}$, so
$$A(x)=\frac{8}{3}x\sqrt{9-x^2},\qquad 0<x<3$$Step 4 — differentiate. Exactly the form seen in the previous problem:
$$A'(x)=\frac{8}{3}\cdot\frac{9-2x^2}{\sqrt{9-x^2}}$$Set it equal to $0$: $9-2x^2=0$, that is, $x=\dfrac{3}{\sqrt2}$ (reject the negative solution because the domain is $x>0$).
Step 5 — justification. The denominator $\sqrt{9-x^2}$ is positive on the whole domain, so the sign of $A'$ is the sign of $9-2x^2$: positive when $x<\dfrac{3}{\sqrt2}$, negative when $x>\dfrac{3}{\sqrt2}$. The sign changes from $+$ to $-$, so it is a maximum, and since it is the only critical point on the interval, it is also the absolute maximum.
Answer. Then $y=\dfrac{2}{3}\sqrt{9-\dfrac92}=\dfrac{2}{3}\cdot\dfrac{3}{\sqrt2}=\sqrt2$, and
$$A=4\cdot\frac{3}{\sqrt2}\cdot\sqrt2=12$$The maximum area is $12$. The problem asks for the area, so the answer is $12$, not the pair $\left(\dfrac{3}{\sqrt2},\sqrt2\right)$.