WordGPT

Cauchy–Schwarz: the maximum of 3x + 4y on the unit circle

Exercise · Level 3 (Medium)

If x² + y² = 1, what is the largest possible value of 3x + 4y?

x2+y2=1,max⁡(3x+4y)x^2+y^2=1,\qquad\max(3x+4y)

wordgptpro.com

Solution

  1. Cauchy–Schwarz for two pairs of numbers:

    (3x+4y)2≤(32+42)(x2+y2)=25⋅1=25\begin{aligned}&(3x+4y)^2\le(3^2+4^2)(x^2+y^2)\\&=25\cdot1=25\end{aligned}
    (1)
  2. So 3x+4y≤53x+4y\le5. Equality needs (x,y)(x,y) to be parallel to (3,4)(3,4), that is (x,y)=(35,45)(x,y)=(\tfrac35,\tfrac45), which is on the circle: 3⋅35+4⋅45=9+165=53\cdot\tfrac35+4\cdot\tfrac45=\tfrac{9+16}{5}=5.

Answer5 at (x,y)=(35,45)5\ \text{at}\ (x,y)=\left(\tfrac35,\tfrac45\right)

wordgptpro.com

Need a hint?

Use (ac + bd)² ≤ (a² + b²)(c² + d²) with the vectors (3, 4) and (x, y).

The maximum of 3x + 4y on the unit circle is 5, at (3/5, 4/5). It is the length of the vector (3, 4).

How to work it out

  1. Cauchy–Schwarz for two pairs of numbers:

    (3x+4y)2≤(32+42)(x2+y2)=25⋅1=25\begin{aligned}&(3x+4y)^2\le(3^2+4^2)(x^2+y^2)\\&=25\cdot1=25\end{aligned}
    (1)
  2. So 3x+4y≤53x+4y\le5. Equality needs (x,y)(x,y) to be parallel to (3,4)(3,4), that is (x,y)=(35,45)(x,y)=(\tfrac35,\tfrac45), which is on the circle: 3⋅35+4⋅45=9+165=53\cdot\tfrac35+4\cdot\tfrac45=\tfrac{9+16}{5}=5.

LaTeX source of the formulas on this page
\[ 5\ \text{at}\ (x,y)=\left(\tfrac35,\tfrac45\right) \]
\[ (3x+4y)^2\le(3^2+4^2)(x^2+y^2)=25\cdot1=25 \]

Questions

What is the answer to: Cauchy–Schwarz: the maximum of 3x + 4y on the unit circle?

The maximum of 3x + 4y on the unit circle is 5, at (3/5, 4/5). It is the length of the vector (3, 4).

What is the key idea?

The dot product of a vector with a unit vector is at most the length of the vector.

Is there a hint?

Use (ac + bd)² ≤ (a² + b²)(c² + d²) with the vectors (3, 4) and (x, y).

Related problems

More inequality problems

    Cauchy–Schwarz: the maximum of 3x + 4y on the unit circle: answer and solution | WordGPT