The function is
.
Rewrite the function.
\
.
Apply derivative on each side with repect to
.



Again apply derivative on each side with repect to
.







The function
is always positive.
The concavity depends on
.
for the interval
, then the function is concave upward in the interval
.
for the interval
, then the function is concave downward in the interval
.
The function is concave upward in
and concave downward in
.