How to get a maximum value of $\sqrt a+\sqrt b$, when $27a^2+b^2=27$?
I know that using Lagrange multiplier is easiest way in college-level math, but I believe there is a elementary and elegant way to prove that in high-school level.
I made $a=\cos\theta$ and $b=3\sqrt3\sin\theta$, but in that case, the process of finding the maximum value becomes too messy.
I need your help.
- 5,568
-
I think $27a^2 + b^2 = 27$ defines some sort of elipse on the ab-plane (instead of xy-plane). Looking at that picture where a>0 and b>0 could be good start – NazimJ Oct 20 '21 at 20:25
-
@NazimJ $a, b>0$ because I want to find the minima of $\sqrt a+\sqrt b$. – MH.Lee Oct 20 '21 at 20:26
-
Do these hypothetical high school students know calc 1 ? Because you could solve for $b$, plug , differentiate by $a$, cancel the denominator, square twice, and get a polynomial with a root $a=1/2$. – DanielV Oct 20 '21 at 20:36
-
@DanielV Ohh I do not know about US curriculum. I am Korean, and Korean high-school students learns basic calculus. – MH.Lee Oct 20 '21 at 20:38
-
Are you allowing $a$ or $b$ to be $0$, or must they both be positive? In the second case, I don't think there is a well-defined minimum, but there is a unique maximum. – Carl Schildkraut Oct 20 '21 at 20:48
-
@CarlSchildkraut Ahh god I have missed. It was maximum... I'll edit it right now. – MH.Lee Oct 20 '21 at 20:50
-
draw a somewhat careful picture of $27x^4 + y^4 = 27,$ then draw several lines of $x+y =3, x+y = 2,$ it is quick to see the minimum of $x+y$ on the curve when demanding $x,y \geq 0$ – Will Jagy Oct 20 '21 at 20:51
-
if you want maximum instead, ... – Will Jagy Oct 20 '21 at 20:53
4 Answers
Here's an entirely elementary solution, although it may not be very satisfying. We have, using the power-mean inequality, \begin{align*} \frac{\sqrt a + \sqrt b}4 &=\frac{\sqrt a + \sqrt{\frac b9} + \sqrt{\frac b9} + \sqrt{\frac b9}}4\\ &\leq \left(\frac{(\sqrt a)^4+\left(\sqrt{\frac b9}\right)^4+\left(\sqrt{\frac b9}\right)^4+\left(\sqrt{\frac b9}\right)^4}{4}\right)^{1/4}\\ &=\left(\frac{a^2+\frac{b^2}{81}+\frac{b^2}{81}+\frac{b^2}{81}}{4}\right)^{1/4}\\ &=\left(\frac{\frac{27a^2+b^2}{27}}{4}\right)^{1/4}=\frac1{4^{1/4}}=\frac1{\sqrt 2}. \end{align*} As a result, $\sqrt a+\sqrt b\leq 2\sqrt 2$. Equality is reached at $a=1/2$ and $b=9/2$, as can be traced through the application of the power-mean inequality.
The power-mean inequality is the statement that $$\left(\frac{\sum_{i=1}^n a_i^p}{n}\right)^{1/p}$$ is an increasing function in $p$. This can be proven for the necessary exponents ($1$ and $4$) in four variables by first showing it for two variables: $$\frac{x+y}{2}\leq \left(\frac{x^4+y^4}2\right)^{1/4}$$ since $$\frac{x^4+y^4}2-\left(\frac{x+y}2\right)^4=\frac{(x+y)^4(7x^2+10xy+7y^2)}{16},$$ and then using this to show $$\frac{w+x+y+z}{4}\leq \frac{\left(\frac{w^4+x^4}2\right)^{1/4}+\left(\frac{y^4+z^4}2\right)^{1/4}}2\leq \left(\frac{w^4+x^4+y^4+z^4}{4}\right)^{1/4}.$$ (These techniques are similar to the proof of the AM-GM inequality.)
It's probably easier to simply use differential calculus: letting $x=\sqrt a$, we wish to maximize $$f(x) = x+(27-27x^4)^{1/4}.$$ We compute $$f'(x)=1-\frac{27x^3}{(27-27x^4)^{3/4}}; f''(x)=-\frac{3^{7/4}x^2}{(1-x^4)^{7/4}}<0,$$ so the function has a unique maximum where $$1=\frac{27x^3}{(27-27x^4)^{3/4}} \implies x=\frac{\sqrt 2}2.$$
- 4,732
- 32,931
Let $x = \sqrt{a}$ and $y = \sqrt{b}$, so we are aiming \begin{align*} \max_{\substack{x, y \ge 0 \\ 27x^4 + y^4 = 27}} (x + y) \end{align*}
We can find the max via two applications of Cauchy-Schwarz: \begin{align*} x + y = \left\langle \left(x, \frac{y}{\sqrt{3}}\right), (1, \sqrt{3}) \right\rangle \le \sqrt{x^2 + \frac{y^2}{3}}\sqrt{4} \\ x^2 + \frac{y^2}{3} = \left\langle \left(x^2, \frac{y^2}{3\sqrt{3}}\right), (1, \sqrt{3}) \right\rangle \le \sqrt{x^4 + \frac{y^4}{27}}\sqrt{4} = \sqrt{4} \end{align*} In order words \begin{align*} x + y \le \sqrt{\sqrt{4}} \sqrt{4} = 2\sqrt{2} \end{align*} To show this bound is attainable, plug in $(x, y) = (\frac{1}{\sqrt{2}}, \frac{3}{\sqrt{2}})$.
- 4,732
You can homogeneise a bit the coefficients by setting $\begin{cases}a=A^2\\b=9B^2\end{cases}$ to get to $\begin{cases}A^4+3B^4=1\\\min(A+3B)\end{cases}$
In fact substituting $A=(1-3B^4)^{\frac 14}$ does not lead to such a mess for the derivative :
$\dfrac{\partial(A+3B)}{\partial B}=3-3\dfrac{B^3}{(1-3B^4)^{\frac 34}}=0\iff (1-3B^4)^{\frac 34}=B^3\implies B^{12}=(1-3B^4)^3$
This simplifies to $$28B^{12}-27B^8+9B^4-1=\underbrace{(2B^2+1)}_\text{>0}(2B^2-1)\underbrace{(7B^8-5B^4+1)}_{>0}$$
Note: the last one behaves as $7x^2-5x+1$, which is a quadratic with no real roots.
So in the end, only $B^2=\frac 12$ which leads to $A^2=\frac 12$ too are critical values.
- 28,563
Alternately, using Hölder's Inequality,
$$\sqrt{a}+\sqrt{b} \leqslant \left(27a^2+b^2 \right)^{1/4} \left(\tfrac13+1 \right)^{3/4} =2\sqrt2 $$
Equality is possible when $27a^2:b^2=\frac13:1 \implies (a, b) = (\frac12, \frac92)$, so this gives a maximum.
- 46,381