The points $(3,0)$, $(x,0)$, $(x,\frac{1}{x^2})$, and $(3,\frac{1}{x^2})$ are the vertices of a rectangle where $x\geq3$, as shown in the figure above. For what value of $x$ does the rectangle have a maximum area?
I know that $A'(x)=\frac{-1}{x^2}+\frac{6}{x^3}$ and when we set it equal to zero we get:
$\frac{-x+6}{x^3}=0$ $\implies x=6$
But then in the solution it also finds $A''(x)=\frac{2}{x^3}-\frac{18}{x^4}$ and says that since $A''(6)<0$, therefore the area is maximum at $x=6$
I'm just confused about the relevance of finding $A''(6)$. I know that the second derivative at a point reveals whether the function is concave up or down depending on if it is negative or positive, but I don't see how that fits into this question.