Find the maximum value of ($1$+$x$)$^5$($1$$-$$x$)($1$$-$$2$$x$)$^2$ given that $1/2$$<$$x$$<$$1$.
The solution states the follows
Consider the maximum value of ($A$($1$$+$$x$))$^5$ $*$ ($B$($1$$-$$x$)) $*$ ($C$($2$$x$$-$$1$)$^2$), where $A$, $B$, $C$ are positive integers satisfying $5$$A$$-$$B$$+$$4$$C$$=$$0$, where ($A$($1$$+$$x$))$^5$$=$ ($B$($1$$-$$x$))$=$($C$($2$$x$$-$$1$)$^2$)----------(1)
This then implies that [$B-A$]$/$[$B+A$]$=$[$B+C$]/[$2C+B$], so plugging in $B=5A+4C$ we would have $2(5A-2C)(A+C)=0$-------------(2)
Let ($A,B,C$)=($2,30,5$), from AM-GM inequality we get ($2$($1$$+$$x$))$^5$ $*$ ($30$($1$$-$$x$)) $*$ ($5$($2$$x$$-$$1$)$^2$)$<$ $(15/4)^8$---------------(3)
where the ineqaulity is achieved when $x=7/8$. As a result, the maximum value is $3^7*5^5/$$2$^$22$.
Could someone explain the steps (1), (2), (3) in detail? I'm not particularly familiar with the method of undetermined coefficients.
Here is an explanation which perhaps will help.
So you want to find the maximum of $f(x) = (1+x)^5(1-x)(2x-1)^2$ for $\frac12< x< 1$.
First note that we can instead find when we have the maximum of $F(x) = A^5BC^2\cdot f(x)$ for any positive reals $A, B, C$, as this would give the same point which maximises $f(x)$. Note any monotonic transformation of $f$ would do this, here we are only multiplying by a positive constant.
Now for a product of several positive terms with a constant sum, AM-GM gives that maximum product is when all such terms are the same.
Now we note that we may view $$F(x) = \underbrace{(A (1+x))^5}_{5 \text{ terms}} \cdot \underbrace{B(1-x)}_{1 \text{ term}} \cdot \underbrace{(C(2x-1))^2}_{2 \text{ terms}}$$ as a product of $8$ terms as shown above, (note the terms are positive in the interval desired). To apply AM-GM, we need the sum of the terms to be constant, viz. the coefficient of $x$ in the sum must vanish, so $$5A-B+4C=0 \tag{1}$$ Now we may apply AM-GM, which says the maximum is when $$A(1+x) = B(1-x)=C(2x-1) \tag{2}$$
Solving $(1)$ and $(2)$ still leaves a lot of possibilities, we just need to choose one solution which ensures $x \in (\frac12, 1)$. If we choose $(A, B, C) = (2, 30, 5)$ then $x=\frac78 \in (\frac12, 1)$ satisfies, so we have a solution for the AM-GM, and the maximum of $F$ or $f$ is when $x=\frac78$.