Question #35161

What are the largest and smallest values of 2x + y on the circle x^2 + y^2 = 1? Where do these values occur? What does this have to do with eigenvectors and eigenvalues?

Expert's answer

We need to find minimal and maximal value of 2x+y2x + y on the circle x2+y2=1x^2 + y^2 = 1.

To do this let's consider Lagrange function:


L(x,y,λ)=2x+yλ(x2+y21)L(x, y, \lambda) = 2x + y - \lambda(x^2 + y^2 - 1)


Let's find stationary point:


Lx=22xλ=0\frac{\partial L}{\partial x} = 2 - 2x\lambda = 0Ly=12yλ=0\frac{\partial L}{\partial y} = 1 - 2y\lambda = 0Lλ=(x2+y21)=0\frac{\partial L}{\partial \lambda} = -(x^2 + y^2 - 1) = 0


Solving this we get:


x=1λx = \frac{1}{\lambda}y=12λy = \frac{1}{2\lambda}


Substituting this to the third equation we get:


x2+y2=1λ2+14λ2=54λ2=1x^2 + y^2 = \frac{1}{\lambda^2} + \frac{1}{4\lambda^2} = \frac{5}{4\lambda^2} = 1λ=±52\lambda = \pm \frac{\sqrt{5}}{2}


Thus extrema points are


(x1,y1)=(25,15)(x_1, y_1) = \left(\frac{2}{\sqrt{5}}, \frac{1}{\sqrt{5}}\right)(x2,y2)=(25,15)(x_2, y_2) = \left(-\frac{2}{\sqrt{5}}, -\frac{1}{\sqrt{5}}\right)f(x1,y1)=5f(x_1, y_1) = \sqrt{5}f(x2,y2)=5f(x_2, y_2) = -\sqrt{5}


Since circle is a compact the function reaches its maximum and minimum on it. So (x1,y1)(x_1, y_1) is point of maximum and (x2,y2)(x_2, y_2) is a point of minimum.

Now let's formulate the problem in terms of vectors.

Denote by v0=(2,1)v_0 = (2,1) and v1=(x,y)v_1 = (x,y)

Then our problem is


(v0,v1)max(v_0, v_1) \rightarrow \maxv1=1\|v_1\| = 1


Since (v0,v1)(v_0, v_1) is the linear operator acting on v1v_1, it's maximizing on the unit sphere is equivalent to find the biggest eigenvalue of this operator, then the corresponding eigenvector will be equal to the direction of the optimal vector.

LATEST TUTORIALS
APPROVED BY CLIENTS