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

In summary, we are given an equation involving logarithms and are asked to find the minimum value of $|x|-|y|$. To solve this, we can use a geometric approach by finding the closest distance between the hyperbola $x^2-4y^2=4$ and the lines $y = \pm x$. This occurs when the gradient of the hyperbola is $\pm 1$. After differentiating and substituting, we find that $|x|-|y| = \sqrt3$ when $y = \pm1/\sqrt3$ and $x = \pm4/\sqrt3$.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
If \(\displaystyle \log_4(x+2y)+\log_4(x-2y)=1\), find the minimum value of $|x|-|y|$.
 
Mathematics news on Phys.org
  • #2
My solution:

We are given the objective function:

\(\displaystyle f(x,y)=|x|-|y|\)

subject to the constraint:

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

which can be written as:

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

Using Lagrange multipliers, we obtain:

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

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

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

\(\displaystyle \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:

\(\displaystyle 16y^2-4y^2=4\)

\(\displaystyle y^2=\frac{1}{3}\)

\(\displaystyle 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:

\(\displaystyle 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}\)
 
  • #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]
 

FAQ: Find the Minimum Value of |x|-|y|

What is the purpose of finding the minimum value of |x|-|y|?

The minimum value of |x|-|y| is often used in mathematical problems to determine the smallest possible difference between two numbers. It can also help in finding the closest distance between two points on a coordinate plane.

How is the minimum value of |x|-|y| calculated?

To find the minimum value of |x|-|y|, you need to consider the different combinations of positive and negative values for both x and y. You can then graph these combinations on a coordinate plane and find the point where the difference between the absolute values of x and y is the smallest.

What is the significance of the absolute value in this equation?

The absolute value is used in this equation because it represents the distance between a number and 0 on a number line. This is important because it allows us to find the difference between two numbers without considering their direction or sign.

Can the minimum value of |x|-|y| be negative?

Yes, the minimum value of |x|-|y| can be negative if the absolute value of x is greater than the absolute value of y. In this case, the minimum value would be equal to the negative of the difference between the two absolute values.

What are some real-life applications of finding the minimum value of |x|-|y|?

Finding the minimum value of |x|-|y| can be useful in many real-life situations, such as determining the shortest distance between two locations on a map, calculating the smallest possible error in a scientific experiment, or finding the smallest difference between two measurements in engineering or construction projects.

Similar threads

Replies
7
Views
2K
Replies
5
Views
1K
Replies
5
Views
2K
Replies
1
Views
937
Replies
1
Views
869
Replies
1
Views
1K
Replies
1
Views
1K
Back
Top