I am an amateur who loves elementary mathematics. I am not too good by any means, and never considered myself a genius or a math pro etc.
Can I please ask a question which I am really curious about? Googling or asking on some other sites did not help me too much.
My task is to find the inverse of hyperbolic cosine: $$ y = \cosh x = \frac{e^x + e^{-x}}{2}. $$
We must interchange $y$ with $x$ and then express the variable $y$ in terms of $x$. So we have: \begin{align} x &= \frac{e^y + e^{-y}}{2} \\ x &= \frac{e^y + \frac{1}{e^y}}{2} \\ x &= \frac{e^{2y} + 1}{2e^y} \\ 2x &= \frac{e^{2y} + 1}{e^y}. \end{align}
Here, we must replace the variable. Let $e^y = z$. Then $e^{2y} = z^2$. Note: $z > 0$ (strictly greater than zero) as the value of any exponential function is always positive. \begin{align} 2x &= \frac{z^2 + 1}{z} \\ z^2 + 1 &= 2xz \\ z^2 - 2xz + 1 &= 0. \end{align}
Here, we have a parametric quadratic equation where the unknown variable is $z$ (and $x$ is a parameter). Coefficients are $$ a = 1; \quad b = -2x; \quad c = 1 $$ and discriminant is $$ D = b^2 - 4ac = (-2x)^2 - 4 \cdot 1 \cdot 1 = 4x^2 - 4 = 4(x^2 - 1). $$ So the solutions are \begin{align} x_1 &= \frac{-b + \sqrt{D}}{2a} = \frac{2x + 2\sqrt{x^2 - 1}}{2} = x + \sqrt{x^2 - 1}; \\ x_1 &= \frac{-b - \sqrt{D}}{2a} = \frac{2x - 2\sqrt{x^2 - 1}}{2} = x - \sqrt{x^2 - 1} \end{align}
So here is my problem! I obtained two roots and I do not know which one to choose. Must I take the first, the second, or both?
Wikipedia is very consistent and only took the positive root. So, according to Wikipedia, $$ \operatorname{arcosh} x = \ln \bigl(x + \sqrt{x^2 - 1}\bigr). $$
No alternatives.
Maybe it's something I miss, but I want to try to understand it. I tried to ask a random person, and he responded: "Well, in the case of finding the inverse of hyperbolic sine $y = \sinh x$, we obviously took the plus sign root. So we must be consistent, thus we must do exactly the same thing with cosine." However, I doubt a bit about such kind of answer.
Sorry for grammar mistakes if any.
Wikipedia: $\operatorname{arcosh} x = \ln \bigl( x + \sqrt{x^2 - 1} \bigr)$ and not $\operatorname{arcosh} x = \ln \bigl( x - \sqrt{x^2 - 1} \bigr)$
Short answer. It's an arbitrary choice, and we prefer positive numbers if given the choice.
But why do we have to make a choice at all? Well, the hyperbolic cosine function is not one-to-one since $$ \cosh(-x) = \cosh(x) $$ for any $x \in \mathbb{R}$. In other words, if $b = \cosh(a)$ and we know $b$, how do we recover $a$? Well, the problem is that there are two possible answers: if $a$ works, then its opposite $-a$ also works! In order for this inverse to be a function there must be one definitive output for any given input. Hence, we must ignore half of the real numbers that could possibly be inputs for the hyperbolic cosine, and by convention we ignore the negative ones and keep the non-negative ones.
So, the inverse hyperbolic cosine is defined to give those same non-negative real numbers as outputs. $$ \operatorname{arcosh} x = y \; \iff \; x = \cosh y \text{ and } y \geq 0. $$
In other words, this $\operatorname{arcosh} x$ function is the inverse to the function defined only for $x \geq 0$ by the rule $y = \cosh x$. Here you can see the graphs of these two mutually inverse functions—which, as always, are reflections $(x, y) \leftrightarrow (y, x)$ of one another across the line $y=x$.
By the way, this is the same arbitrary choice that defines the more familiar square-root function: $$ \sqrt{x} = y \; \iff \; x = y^2 \text{ and } y \geq 0. $$