MHB Find the Minimum Value of |x|-|y|

  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Minimum Value
AI Thread Summary
The problem involves finding the minimum value of |x| - |y| given the equation log_4(x+2y) + log_4(x-2y) = 1. The solution uses a geometric approach, focusing on the hyperbola defined by x^2 - 4y^2 = 4. By differentiating the hyperbola equation and setting the gradient to ±1, the values x = ±4y are derived. Substituting these values into the hyperbola yields y = ±1/√3 and x = ±4/√3, leading to the conclusion that the minimum value of |x| - |y| is √3.
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
If $$\log_4(x+2y)+\log_4(x-2y)=1$$, find the minimum value of $|x|-|y|$.
 
Mathematics news on Phys.org
My solution:

We are given the objective function:

$$f(x,y)=|x|-|y|$$

subject to the constraint:

$$\log_4(x+2y)+\log_4(x-2y)=1$$

which can be written as:

$$g(x,y)=x^2-4y^2-4=0$$

Using Lagrange multipliers, we obtain:

$$\frac{x}{|x|}=\lambda(2x)$$

$$-\frac{y}{|y|}=\lambda(-8y)$$

Observing that the critical point (0,0) is outside the domain of the constraint, we are left with:

$$\lambda=\frac{1}{2|x|}=\frac{1}{8|y|}\implies|x|=4|y|\implies x^2=16y^2$$

Substituting this into the constraint, we find:

$$16y^2-4y^2=4$$

$$y^2=\frac{1}{3}$$

$$y=\pm\frac{1}{\sqrt{3}}\,\therefore\,x=\pm\frac{4}{\sqrt{3}}$$

Testing other point satisfying the constraint shows we have a minimum, hence:

$$f_{\min}=f\left(\pm\frac{4}{\sqrt{3}},\pm\frac{1}{\sqrt{3}} \right)=\frac{4}{\sqrt{3}}-\frac{1}{\sqrt{3}}=\frac{3}{\sqrt{3}}=\sqrt{3}$$
 
Geometric solution:
[sp]
[GRAPH]lfj4gia57w[/GRAPH]​

We want to find the closest that the hyperbola $x^2-4y^2=4$ comes to one of the lines $y = \pm x$. This will occur at points on the hyperbola where the gradient is $\pm 1$ (as in the green line in the picture above). Differentiate the hyperbola equation to get $2x - 8yy' = 0$, and put $y'=\pm1$ to find that $x=\pm4y$. Substitute that into the hyperbola equation, getting $12y^2=4$, or $y = \pm1/\sqrt3$, $x = \pm4/\sqrt3$. Thus $|x| - |y| = 3/\sqrt3 = \sqrt3$.[/sp]
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Back
Top