The minimum value of $\frac{a(x+a)^2}{\sqrt{x^2-a^2}}$ The problem is to find the minimum of $A$, which I attempted and got a different answer than my book:
$$A=\frac{a(x+a)^2}{\sqrt{x^2-a^2}}$$ where $a$ is a constant
$A'=\frac{(x^2-a^2)^{\frac{1}{2}}(2a)(x+a)-\frac{1}{2}(x^2-a^2)^{-\frac{1}{2}}(a)(x+a)^2}{(x+a)(x-a)}$
$A'=\frac{(x^2-a^2)^{\frac{1}{2}}(2a)-\frac{1}{2}(x^2-a^2)^{-\frac{1}{2}}(a)(x+a)}{(x-a)}$
$0=(x^2-a^2)^{\frac{1}{2}}(2a)-\frac{1}{2}(x^2-a^2)^{-\frac{1}{2}}(a)(x+a)$
$(x^2-a^2)^{\frac{1}{2}}(2a)=\frac{1}{2}(x^2-a^2)^{-\frac{1}{2}}(a)(x+a)$
$2a\sqrt{x^2-a^2}=\frac{a(x+a)}{2\sqrt{x^2-a^2}}$
$2a(x+a)(x-a)=a(x+a)$
$2(x-a)=a$
$2x-2a=a$
$x=\frac{3}{2}a$
My book says x=2a. I'm not sure where I went wrong. Thanks in advance

For the ease of computation I use $$x=a\sec2\theta=a\cdot\frac{1+t^2}{1-t^2}$$ where $t=\tan\theta$ and $0\le\theta\le\dfrac\pi2$
So, $f(t)=\dfrac{4a^3}{t(1-t^2)}$
We need to attain the maximum positive value of $g(t)=t-t^3$ which can be achieved using Second derivative test
