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

  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Minimum Value
Click For 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]
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K