Maths WorkshopMaths problems with full solutions
Exercise 733Calculus › Multivariable calculus › Optimisation in several variablesL2Added 2 Nov 2026

Lagrange multipliers on a circle

#Lagrange#multipliers#equality constraint

Statement

Find the extrema of f(x,y)=3x−yf(x,y) = 3x - y under the constraint x2+y2=5x^2 + y^2 = 5.

Hint

Apply Lagrange: ∇f=λ∇g\nabla f = \lambda \nabla g with g(x,y)=x2+y2−5g(x,y) = x^2+y^2-5.

Show solutionHide solution

Solution

Lagrange system.
{3=2λx−1=2λyx2+y2=5\begin{cases} 3 = 2\lambda x \\ -1 = 2\lambda y \\ x^2 + y^2 = 5 \end{cases}

Resolution. From the first two equations, x=32λx = \frac{3}{2\lambda} and y=−12λy = -\frac{1}{2\lambda}, so y=−x3y = -\frac{x}{3}. Substituting into the constraint:
x2+x29=5  ⟹  10x29=5  ⟹  x2=92  ⟹  x=±32.x^2 + \frac{x^2}{9} = 5 \implies \frac{10x^2}{9} = 5 \implies x^2 = \frac{9}{2} \implies x = \pm \frac{3}{\sqrt{2}}.
The critical points are (32,−12)\left(\frac{3}{\sqrt2}, -\frac{1}{\sqrt2}\right) and (−32,12)\left(-\frac{3}{\sqrt2}, \frac{1}{\sqrt2}\right).

Evaluation.
f(32,−12)=92+12=102=52.f\left(\frac{3}{\sqrt2}, -\frac{1}{\sqrt2}\right) = \frac{9}{\sqrt2} + \frac{1}{\sqrt2} = \frac{10}{\sqrt2} = 5\sqrt2.
f(−32,12)=−92−12=−52.f\left(-\frac{3}{\sqrt2}, \frac{1}{\sqrt2}\right) = -\frac{9}{\sqrt2} - \frac{1}{\sqrt2} = -5\sqrt2.

Conclusion. Global maximum 525\sqrt2 at the first point, global minimum −52-5\sqrt2 at the second. The constraint is a compact circle, so the extrema exist and are attained at these points.