The minimum value of given function $f(x)= x^2+4x+(4/x)+(1/x^2)$ where $x>0$
(A) 9.5
(B) 10
(C) 15
(D) 20
My try
By A.M G.M inequality
$\frac {x^2+4x+(4/x)+(1/x^2)}{4} \geq \left(x^2.4x. \frac {4}{x}. \frac{1}{x^2}\right)^\frac{1}{4} $
thus minimum value of $f(x)=8$
But by calculus approach the answer is 10.
I am unable to find my mistake where am i doing wrong in A.M. G.M. inequality
The AM-GM inequality does not say that the minimum value is 8. It says that the value is at least 8, hence you know that $\min f(x) \geq 8$. This is consistent with $\min_{x>0} f(x) = 10$.
You could only say that the minimum value was 8 if the inequality was an equality. In particular, the AM-GM inequality has equality if and only if all the terms are the same. But there is never a point with $x>0$ where they all are equal, i.e. where $$x^2=4x = 4/x = 1/x^2 $$