I am studying the following function, defined in the support $[0,a]$:
$f(x)=(1+a)^{\frac{1+a}{a+x}}(1+x)^{\frac{1+x}{a+x}}$
In particular I would like to prove that the function $f(x)$ is concave in $x$, so I just need to prove that the function has only a critical point, but I cannot find it (or them) in any analytical way.