find the maximum of sum of roots without calculus

223 Views Asked by At

A question asks me to evaluate the maximum and minimum value of the following function:

$$y=\sqrt{x}+\sqrt{27+x}+\sqrt{13-x}, 0\le x\le13$$

I have tried to compute y using $$x=0,1,2,...,13$$ I believe such maximum occurs at x=9, and the minimum value lies on boundary points, but how can I prove that without calculus?

Thanks!

3

There are 3 best solutions below

4
On

I don't know if this is rigorous enough, but you can take the function and notice that when there is a maximum on the domain of $[0,13]$, because we have two increasing functions and one decreasing function all added together, our function only has one critical point (something we observe, not proved), not considering the endpoints. When we let $x_0$ be our maximum we notice that $$ \frac{f(x)-f(x_0)}{x-x_0} =\begin{cases} >0 & \text{if }x<x_0 \\ <0 & \text{if }x>x_0 \end{cases} $$ Now obviously if $x = x_0$ then this is undefined, but if we choose any value on the left side of $9$, say $8.5$ we notice that we get a positive value, and for anything on the right side, like $9.5$ we end up with a negative value. This shows that $9$ is a local maximum.

I would say that the problem with this is that it hasn't verified that some other point isn't also a maximum, but I think you'll run into that problem as long as you aren't considering the derivative. So although it may not be perfect, it's a good start.

The usage of this is essentially looking at the slope of the line before and after some point, which you can argue is moving towards the realm of calculus, but it stays away from derivatives.

Edit: If we do indeed believe there is only the one critical point, you will find the minimum at the boundary point like you stated, so simply check the two of them to find which point is smaller.

0
On

Here's a partial answer. Let $f(x)=\sqrt{x}+\sqrt{27+x}+\sqrt{13-x}$ for $0\leq x\leq 13$. Note that if $0\leq x< 13/2$, then $f(13-x)>f(x)$, since the first and third terms of $f(13-x)$ and $f(x)$ are the same (just swapped) and the second term of $f(13-x)$ is larger. So $f(x)$ reaches its minimum somewhere in $[0,13/2]$, and its maximum somewhere in $[13/2,13]$.

For the minimum, note that $$(\sqrt{x}+\sqrt{13-x})^2=13+2\sqrt{x(13-x)}=13+2\sqrt{169/4-(13/2-x)^2},$$ so $$f(x)=\sqrt{13+2\sqrt{169/4-(13/2-x)^2}}+\sqrt{27+x}.$$ This makes it clear that $f(x)$ is increasing on $[0,13/2]$ (since both terms are increasing), so the minimum is at $x=0$.

The maximum seems much harder to find, and I don't know how to find it without calculus...

3
On

Shifting the OP's function $9$ to the left we get a function of the form $$g(x)=\sqrt{x+(n+1)^2}+\sqrt{x+\bigl(n(n+1)\bigr)^2}+\sqrt{n^2-x}.$$

Now it's easy to prove without calculus simply by squaring that $\sqrt{x+a^2}\leq \frac{1}{2a}x+a$ and $\sqrt{a^2-x}\leq-\frac{1}{2a}x+a$ for positive $a$ and $-a^2< x<a^2$. Equality occurs iff $x=0$. From here

$$\sqrt{x+(n+1)^2}\leq\frac{1}{2(n+1)}x+n+1,$$ $$\sqrt{x+\bigl(n(n+1)\bigr)^2}\leq\frac{1}{2n(n+1)}x+n(n+1),$$ $$\sqrt{n^2-x}\leq-\frac{1}{2n}x+n.$$

Now adding up yields $g(x)\leq n+1+n(n+1)+n$ with equality iff $x=0$.

Hence the OP's function (with $n=2$) has its global maximum in $x=9$ of value $11$.