We know that whatever number $n$ may be, we must divide it into two equal parts if the product of the parts is to be a maxi- mum; and the value of that maximum product will always be $= 0.25n^2$.
Let the number to be cut into two parts be called n. Then if $x$ is one part, the other will be $n - x$, and the product will be $x(n - x)$ or $nx - x^2$ • So we write $y = nx - x^2$ • Now differentiate and equate to zero; We get, $n-2x=0$ or $n/2=x$. I know it worked for two parts.
Now, my question is, how it would work for proving that the product is max. if these three numbers($m,n,p$) are equal, when sum of these three is constant. we are given three numbers, such that $m+n+p=k$, where $k$ is some constant. $(m,n,p,)$ are positive real numbers.
Thanks in advance.
The easiest way to go about your problem is the AM-GM inequality, which tells you that, for any set of positive real numbers $x_1,\dots, x_n$, the inequality
$$\frac{x_1+\cdots +x_n}{n}\geq \sqrt[n]{x_1\cdots x_n}$$
is true.
In your case, we know that $x_1+\cdots + x_n=k$, which means that $\sqrt[n]{x_1\cdots x_n}\leq \frac{k}{n}$, and therefore $x_1\cdots x_n \leq \frac{k^n}{n^n}, is always true.
Selecting $x_i=\frac{k}{n}$ also means that
$$x_1\cdots x_n = \frac{k^n}{n^n}$$
which means that $\frac{k^n}{n^n}$ is the maximum of the expression $x_1\cdots x_n$ under the conditions $x_1,\dots x_n\geq 0$ and $x_1+\cdots + x_n = k$.