I have the following expression
$$\sqrt\frac{\left(1+e^{k(c_2-c_1)}\right)^2}{e^{k(c_2-c_1)}}$$
Why is it that the expression equals the following:
$$\cosh\left(\frac{k}{2}(c_2-c_1)\right)$$
I know that $\cosh(x)= \cosh(-x)=(e^x+e^{-x})/2$, but I cannot relate this the the first expression.
The first expression, think equals $$e^{-k/2(c_2-c_1)}+e^{k/2(c_2-c_1)}$$
set $a=k(c_2-c_1)$ then I obtain as follow