# How do you solve ln(x+5)=ln(x-1)-ln(x+1)?

Oct 14, 2016

Using the Complex logarithm:

$x = - 2$ or $x = - 3$

#### Explanation:

Add $\ln \left(x + 1\right)$ to both sides to get:

$\ln \left(x - 1\right) = \ln \left(x + 5\right) + \ln \left(x + 1\right)$

$\textcolor{w h i t e}{\ln \left(x - 1\right)} = \ln \left(\left(x + 5\right) \left(x + 1\right)\right)$

$\textcolor{w h i t e}{\ln \left(x - 1\right)} = \ln \left({x}^{2} + 6 x + 5\right)$

Take the exponent base $e$ of both ends to get:

$x - 1 = {x}^{2} + 6 x + 5$

Subtract $x - 1$ from both sides to get:

$0 = {x}^{2} + 5 x + 6 = \left(x + 2\right) \left(x + 3\right)$

So $x = - 2$ or $x = - 3$

Note that these values result in taking logarithms of negative values.

So the original equation has no solutions using the Real valued logarithm.

However, it does give us solutions using the Complex logarithm:

$\ln \left(\left(\textcolor{b l u e}{- 2}\right) - 1\right) - \ln \left(\left(\textcolor{b l u e}{- 2}\right) + 1\right) = \ln \left(- 3\right) - \ln \left(- 1\right)$

$\textcolor{w h i t e}{\ln \left(\left(\textcolor{w h i t e}{- 2}\right) - 1\right) - \ln \left(\left(\textcolor{w h i t e}{- 2}\right) + 1\right)} = \left(\ln \left(3\right) + \pi i\right) - \left(\ln \left(1\right) + \pi i\right)$

$\textcolor{w h i t e}{\ln \left(\left(\textcolor{w h i t e}{- 2}\right) - 1\right) - \ln \left(\left(\textcolor{w h i t e}{- 2}\right) + 1\right)} = \ln \left(3\right)$

$\textcolor{w h i t e}{\ln \left(\left(\textcolor{w h i t e}{- 2}\right) - 1\right) - \ln \left(\left(\textcolor{w h i t e}{- 2}\right) + 1\right)} = \ln \left(\left(\textcolor{b l u e}{- 2}\right) + 5\right)$

$\ln \left(\left(\textcolor{b l u e}{- 3}\right) - 1\right) - \ln \left(\left(\textcolor{b l u e}{- 3}\right) + 1\right) = \ln \left(- 4\right) - \ln \left(- 2\right)$

$\textcolor{w h i t e}{\ln \left(\left(\textcolor{w h i t e}{- 3}\right) - 1\right) - \ln \left(\left(\textcolor{w h i t e}{- 3}\right) + 1\right)} = \left(\ln \left(4\right) + \pi i\right) - \left(\ln \left(2\right) + \pi i\right)$

$\textcolor{w h i t e}{\ln \left(\left(\textcolor{w h i t e}{- 3}\right) - 1\right) - \ln \left(\left(\textcolor{w h i t e}{- 3}\right) + 1\right)} = \ln \left(\frac{4}{2}\right)$

$\textcolor{w h i t e}{\ln \left(\left(\textcolor{w h i t e}{- 3}\right) - 1\right) - \ln \left(\left(\textcolor{w h i t e}{- 3}\right) + 1\right)} = \ln \left(2\right)$

$\textcolor{w h i t e}{\ln \left(\left(\textcolor{w h i t e}{- 3}\right) - 1\right) - \ln \left(\left(\textcolor{w h i t e}{- 3}\right) + 1\right)} = \ln \left(\left(\textcolor{b l u e}{- 3}\right) + 5\right)$

So both $x = - 2$ and $x = - 3$ are solutions.