How Can You Minimize |x|-|y| Given Logarithmic Constraints?

  • MHB
  • Thread starter anemone
  • Start date
  • Tags
    2017
In summary, the purpose of minimizing |x|-|y| with log equations is to find the minimum value of the absolute difference between two variables, x and y. Log equations are helpful in this process because they introduce a logarithmic scale, making calculations more precise and efficient. The main difference between using log equations and not using them is the level of accuracy and efficiency in finding the minimum value. However, there are limitations to using log equations and it is important to carefully consider the context and data before applying them. Minimizing |x|-|y| with log equations can be applied in various real-world situations, such as in economics, engineering, and physics, but caution must be taken in their use.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Here is this week's POTW:

-----

Minimize $|x|-|y|$, given \(\displaystyle \log_4{(x+2y)}+\log_4{(x-2y)}=1\).

-----

Remember to read the http://www.mathhelpboards.com/showthread.php?772-Problem-of-the-Week-%28POTW%29-Procedure-and-Guidelines to find out how to http://www.mathhelpboards.com/forms.php?do=form&fid=2!
 
Physics news on Phys.org
  • #2
Congratulations to greg1313 for his correct solution, and you can find the suggested solution below::)

From the nature of the logarithm functions, we have:
$x+2y>0$ and $x-2y>0 \implies x>2|y|\ge 0$

We also know that $(x+2y)(x-2y)=4\implies x^2-4y^2=4$

By the symmetry, there is no loss of generality in considering only the case where $y\ge 0$.

In view of $x>0$, we need only to figure out the minimum value of $x-y$.

Letting $k=x-y$ and substituting it into $x^2-4y^2=4$, we get:

$3y^2-2ky+4-k^2=0$ for which it has real solutions, so we have:

$(-2k)^2-4(3)(4-k^2)\ge 0$

$k\ge \sqrt{3}$

If $k=\sqrt{3}$, we get $x=\dfrac{4\sqrt{3}}{3}$ and $y=\dfrac{\sqrt{3}}{3}$.

$\therefore$ the minimum of $|x|-|y|=\sqrt{3}$.

Alternative solution by greg1313:
$$\log_4(x-2y)+\log_4(x+2y)=1\implies x^2-4y^2=4\implies\frac{x^2}{4}-y^2=1$$

Now, we wish to minimize $|x|-|y|$ subject to $\frac{x^2}{4}-y^2=1$.
Note that this equation is an east-west hyperbola so, WLOG,
we need only address solutions in the first quadrant, where
$|x|=x$ and $|y|=y$.

Employing Lagrange multipliers,

$$x-y+\lambda\left(\frac{x^2}{4}-y^2-1\right)$$

so we wish to solve the system of equations

$$1+\frac{\lambda x}{2}=0$$

$$-1-2\lambda y=0$$

$$\frac{x^2}{4}-y^2-1=0$$

for $x$, $y$ and $\lambda$. Solving $x$ and $y$ for $\lambda$ in the first two equations
and substituting the results into the third equation gives us $\lambda=\pm\frac{\sqrt3}{2}$.
Then $x=\pm\frac{4\sqrt3}{3}$ and $y=\pm\frac{\sqrt3}{3}$, so

$$\min(|x|-|y|)=\sqrt3$$
 

Related to How Can You Minimize |x|-|y| Given Logarithmic Constraints?

1. What is the purpose of minimizing |x|-|y| with log equations?

The purpose of minimizing |x|-|y| with log equations is to find the minimum value of the absolute difference between two variables, x and y. This can be useful in various mathematical and scientific applications, such as optimization problems and data analysis.

2. How do log equations help in minimizing |x|-|y|?

Log equations are helpful in minimizing |x|-|y| because they introduce a logarithmic scale, which allows for more precise and efficient calculations. This can simplify complex equations and make it easier to find the minimum value of |x|-|y|.

3. What is the difference between minimizing |x|-|y| with log equations and without log equations?

The main difference is that using log equations allows for a more accurate and efficient way to minimize |x|-|y|. Without log equations, the calculations may be more complex and less precise, leading to a less accurate minimum value.

4. Are there any limitations to using log equations in minimizing |x|-|y|?

Yes, there are some limitations to using log equations in minimizing |x|-|y|. For example, log equations may not be applicable in all scenarios, and they may not work well with certain types of data. It is important to carefully consider the context and data before using log equations for minimizing |x|-|y|.

5. Can minimizing |x|-|y| with log equations be applied in real-world situations?

Yes, minimizing |x|-|y| with log equations can be applied in various real-world situations, such as in economics, engineering, and physics. It can be used to solve optimization problems, analyze data, and make predictions. However, it is important to carefully consider the context and data before applying log equations in real-world situations.

Similar threads

  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
972
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
2
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
Back
Top