Let $x\in R$,find the maximum of the value $$f(x)=27\sin^8{x}+8\cos^8{x}$$
if let $\sin^2{x}=t$,then $$f=27t^4+8(1-t)^4,t\ge 0$$ without derivative method?
Let $x\in R$,find the maximum of the value $$f(x)=27\sin^8{x}+8\cos^8{x}$$
if let $\sin^2{x}=t$,then $$f=27t^4+8(1-t)^4,t\ge 0$$ without derivative method?
By setting $t=\sin^2(x)$ we get that the maximum is given by $$ \max_{t\in[0,1]} \left(27t^4+8(1-t)^4\right) $$ but both $t^4$ and $(1-t)^4$ are continuous and convex functions on the interval $[0,1]$, and so it is $g(t)=27t^4+8(1-t)^4$. It follows that $g(t)$ attains its maximum at the boundary of $[0,1]$, namely at $t=1$, and $$\max_{x\in\mathbb{R}} \left(27\sin^8(x)+8\cos^8(x)\right) = \color{red}{27}. $$