find the maximum of $x+\frac{1}{2y}$ under the condition $(2xy-1)^2=(5y+2)(y-2)$

125 Views Asked by At

Assume $x,y \in \mathbb{R}^+$ and satisfy $$\left(2xy-1\right)^2 = (5y+2)(y-2)$$, find the maximum of the expression $x+\frac{1}{2y}$.

$\because (5y+2)(y-2) \geq 0$ , $\therefore y\geq 2$ or $y \leq -\frac{2}{5}$, and we have $$2xy = \sqrt{(5y+2)(y-2)}+1$$ then $f(x,y)=x+\frac{1}{2y}=\frac{2xy+1}{2y}=\frac{\sqrt{(5y+2)(y-2)}+2}{2y}=g(y)$,$$\therefore g'(y) = \frac{2 + 2 y - \sqrt{-4 - 8 y + 5 y^2}}{y^2 \sqrt{-4 - 8 y + 5 y^2}}$$ and $2+2y = \sqrt{5y^2-8y-4} \Rightarrow y = 8+6\sqrt{2}$, with the help of graphing calculator ,i know this is the maximum point. $$\therefore f_{\text{max}}(x,y)=g(8+6\sqrt{2})=\frac{3\sqrt{2}}{2}-1$$

Is there any other way to work out it?

3

There are 3 best solutions below

0
On BEST ANSWER

Alternative solution:

Let $z = x + \frac{1}{2y}$.

We have $x = z - \frac{1}{2y}$ and $2xy = 2yz - 1$.

Then, we have $$(2yz - 2)^2 = (5y + 2)(y - 2)$$ or $$(4z^2 - 5)y^2 + (-8z + 8)y + 8 = 0. \tag{1}$$

Since the quadratic equation in $y$ (1) has real roots, its discriminant is non-negative, i.e. $$\Delta := -64z^2 - 128z + 224 \ge 0$$ which results in $$- \frac{3}{2}\sqrt 2 - 1\le z \le \frac{3}{2}\sqrt 2 - 1.$$

Also, when $y = 8 + 6\sqrt 2$ and $x = \frac98\sqrt 2 - \frac12$, we have $(2xy - 1)^2 = (5y + 2)(y - 2)$ and $z = \frac{3}{2}\sqrt 2 - 1$.

Thus, the maximum of $x + \frac{1}{2y}$ is $\frac{3}{2}\sqrt 2 - 1$.

1
On

there is another way to solve it, I copy it from internet, but I don't know how to find this method.

first to deformation the algebraic expression: $$(2xy-1)^2=(5y+2)(y-2)\iff (2xy-1)^2 = 9y^2-4y^2-8y-4\iff (2xy-1)^2+(2y+2)^2=9y^2$$

then we have $$\left(2x-\frac{1}{y}\right)^2+\left(2+\frac{1}{y}\right)^2=9$$

and $$x+\frac{1}{2y}=\frac{1}{2}\left(2x+\frac{1}{y}\right)=\frac{1}{2}\left(2x-\frac{1}{y}+\frac{2}{y}+2\right)-1 \leq \frac{1}{2}\sqrt{2\left[\left(2x-\frac{1}{y}\right)^2+\left(\frac{2}{y}+2\right)^2\right]}-1=\frac{1}{2}\sqrt{2\times 9}-1=\frac{3\sqrt{2}}{2}-1$$

0
On

Here is another way. Change variables to replace $x$ with $z$ under the relation $z=2xy\iff x=\frac{z}{2y}$. So now you are maximizing $\frac{z+1}{2y}$ subject to $(z-1)^2=(5y+2)(y-2)$.

Lagrange multipliers can handle this. You have a system of three equations in three variables $y,z,k$:

$$\left\{\begin{align} (z-1)^2&=(5y+2)(y-2)\\ -\frac{z+1}{2y^2}&=k(-10y+8)\\ \frac{1}{2y}&=2k(z-1) \end{align}\right.$$

Dividing sides of the latter two equations:

$$-\frac{z+1}{y}=\frac{-5y+4}{z-1}$$

So now we have a system of two equations (the first equation above and this new equation, each rearranged algebraically): $$\left\{\begin{align} z^2-2z+1&=5y^2-8y-4\\ -z^2+1&=-5y^2+4y \end{align}\right.$$

Add these: $$-2z+2=-4y-4$$

So $z-1=2y+2$, which we can substitute back into the original constraint: $$(2y+2)^2=(5y+2)(y-2)\implies0=y^2-16y-8$$ from which we solve $y=8\pm6\sqrt{2}$. Then $z=2y+3=19\pm12\sqrt{2}$. And finally

$$\begin{align} \frac{z+1}{2y}&=\frac{20\pm12\sqrt{2}}{16\pm12\sqrt{2}}\\ &=\frac{5\pm3\sqrt{2}}{4\pm3\sqrt{2}}\cdot\frac{4\mp3\sqrt{2}}{4\mp3\sqrt{2}}\\ &=\frac{2\mp3\sqrt{2}}{-2}=\pm\frac32\sqrt{2}-1 \end{align}$$

$\frac32\sqrt{2}-1$ is a maximum, and $-\frac32\sqrt{2}-1$ is a minimum.