Question
Question: How do you solve \(\ln x + \ln (x - 2) = 1\)?...
How do you solve lnx+ln(x−2)=1?
Solution
In this question we will use the properties of logarithm and apply it to both sides of the equation to simplify the equation and solve it for the value of x.
Formula used:
(x1,x2)=2ac−b±b2−4ac, Where (x,y) are the roots of the equation and a,b,c are the coefficients of the terms in the quadratic equation.
Complete step-by-step answer:
We have the question given us to as:
⇒lnx+ln(x−2)=1
Now we know the property of logarithm that lna+lnb=lnab therefore, on using this property, we get:
⇒ln[x(x−2)]=1
Now on taking the antilog on both the sides, we get:
⇒x(x−2)=e1
Now on multiplying the terms in the left-hand side, we get:
⇒x×x−x×2=e
On simplifying we get:
⇒x2−2x=e
On transferring the term e from the right-hand side to the left-hand side, we get:
⇒x2−2x−e=0
Now the given equation is in the form of a quadratic equation therefore, to find the value of x, we will factor the equation.
Since the middle term cannot be directly split to factorize the equation, we will use the quadratic formula to get the solution.
Now we have a=1, b=−2and c=−e
The roots can be found out as:
⇒(x1,x2)=2(1)(−e)−(−2)±(−2)2−4(1)(−e)
On simplifying, we get:
⇒(x1,x2)=22±4+4e
On taking out 4as common in the root, we get:
⇒(x1,x2)=22±4(1+e)
On taking the square root of 4, we get:
⇒(x1,x2)=22±21+e
Now on taking out 2as common from the numerator we get:
⇒(x1,x2)=22(1±1+e)
On simplifying, we get:
⇒(x1,x2)=1±1+e
Therefore, the roots are: x1=1+1+e and x2=1−1+e
**Now since the logarithm of a negative number does not exist, we discard x2 therefore, the root is:
x1=1+1+e, which is the required solution. **
Note:
It is to be noted that the logarithm we are using has the base 10, the base is the number to which the log value has to be raised to, to get the original term. This is also called the antilog of the number which is the logical reverse of taking a log.
The most commonly used bases in logarithm are 10 and e which has a value of approximate 2.713...
Logarithm is used to simplify a mathematical expression; it converts multiplication to addition, division to subtraction and exponents to multiplication.