Find \(f^{-1}(x)\)
🎥 Video Explanation
📝 Question
Let \( f:\mathbb{R} \to (-1,1) \) be defined by
\[ f(x)=\frac{e^x-e^{-x}}{e^x+e^{-x}} \]
Find \(f^{-1}(x)\).
✅ Solution
🔹 Step 1: Recognize Form
\[ f(x)=\tanh x \]
—🔹 Step 2: Let \(y=f(x)\)
\[ y=\frac{e^x-e^{-x}}{e^x+e^{-x}} \]
—🔹 Step 3: Solve for \(x\)
Multiply:
\[ y(e^x+e^{-x})=e^x-e^{-x} \]
\[ ye^x+ye^{-x}=e^x-e^{-x} \]
\[ e^x(y-1)= -e^{-x}(y+1) \]
Divide:
\[ \frac{e^{2x}}{1}=\frac{1+y}{1-y} \]
\[ e^{2x}=\frac{1+y}{1-y} \]
—🔹 Step 4: Take log
\[ 2x=\ln\left(\frac{1+y}{1-y}\right) \]
\[ x=\frac{1}{2}\ln\left(\frac{1+y}{1-y}\right) \] —
🔹 Step 5: Replace \(y\) by \(x\)
\[ f^{-1}(x)=\frac{1}{2}\ln\left(\frac{1+x}{1-x}\right) \] —
🔹 Final Answer
\[ \boxed{f^{-1}(x)=\frac{1}{2}\ln\left(\frac{1+x}{1-x}\right)} \]