Question
Maximize a^2 + b^2 given a^3 + b^3 = 16
Original question: Let a, b > 0 such that a^3 + b^3 = 16. Find the maximum value of C = a^2 + b^2.
Expert Verified Solution
Key concept: This is a constrained optimization problem with a symmetric condition. That symmetry is a big clue: the maximum usually sits on the boundary where one variable takes most of the mass.
Step by step
We want to maximize
subject to
Because the constraint and objective are symmetric, we can use the power-mean idea or check endpoints via convexity.
Let and . Then , and
Since the function is concave for , the sum is maximized when the variables are as unequal as possible, subject to positivity. So the maximum occurs at the boundary case where one variable tends to 0 and the other tends to 16.
Thus,
or vice versa. Then
So the maximum value is
If you want a more formal argument with Lagrange multipliers, you get the same conclusion: the only interior critical point is , which gives , but the larger value is approached when one variable becomes very small and the other approaches .
Pitfall alert
A common slip is to assume the symmetric point must be the maximum. For concave powers like , symmetry is often the minimum, not the maximum. Another trap is forgetting that the problem only requires , so the boundary can be approached even if is not allowed exactly.
Try different conditions
If the problem had added a lower bound like , then the boundary argument would change. You would check the endpoints or and compare with the interior point . In that restricted version the maximum would come from one variable at the allowed minimum and the other adjusted by the cubic constraint.
Further reading
constrained optimization, Lagrange multipliers, power mean