If $f(x)=\sin^{-1}x +\cos^{-1} x$ and $g(x)$ are identical, find $g(x)$

64 Views Asked by At

The given answer for this question is $|\sin^{-1}x| +\cos^{-1} |x|$.

I am completed fine with the answer, but why can’t $\sin^{-1} |x| +|\cos^{-1} x|$ also be right? It seems to satisfy all the necessary conditions. What am I missing?

2

There are 2 best solutions below

2
On

Because, for instance,$$\arcsin\left(\left|-\frac12\right|\right)+\left|\arccos\left(-\frac12\right)\right|\ne\arcsin\left(-\frac12\right)+\arccos\left(-\frac12\right),$$since $\arcsin\left(\left|-\frac12\right|\right)\ne\arcsin\left(-\frac12\right)$, whereas $\left|\arccos\left(-\frac12\right)\right|=\arccos\left(-\frac12\right)$.

0
On

Note that $f(x) =π/2\ \forall\ x\in[-1,1]$.

For your function $$g(x)=\begin{cases} \sin^{-1}x+\cos^{-1}x=π/2 &,x\ge 0\\ \sin^{-1}(-x)+\cos^{-1}x &,x<0 \end{cases}$$

Hence, for $x<0$, $g(x) \in\left(\frac{π}{2},\frac{3π}{2}\right]$.