Question
Question: If \(\log (-2x)=2\log (x+1)\), then \(x\)can be equal to A. \(-2+\sqrt{3}\) B. \(-4+2\sqrt{3}\) ...
If log(−2x)=2log(x+1), then xcan be equal to
A. −2+3
B. −4+23
C. −2−3
D. −4−23
Solution
- Hint: In such a type of question there are two functions one is logarithmic and other is algebraic. So first of all, we have to use the properties of logarithms and then we use properties of algebra to find the value of x. Here we use the property that mlogn=lognm, so we can write 2log(x+1)=log(x+1)2. And another property of logarithm that if logax=logay⇒x=y.
Once we equate the two terms, we have to solve the equation in order to get the solution of the given question.
Complete step-by-step solution -
It is given from question
log(−2x)=2log(x+1)
Now using the property
mlogn=lognm
we can write the right-hand side term as
2log(x+1)=log(x+1)2
So, we have
log(−2x)=log(x+1)2−−−−(1)
Here we can assume that the base of logarithm is 10. Now using the property
logax=logay⇒x=y
We can write
−2x=(x+1)2−−−−−(2)
Now as we know that
(a+b)2=a2+b2+2ab
Hence, we can write the equation (2) as
−2x=x2+12+2x⇒x2+4x+1=0
Using the formula of quadratic equation,
if ax2+bx+c=0, then its roots is given by
x1,2=2(a)−b±b2−4(a)(c)
Hence, we can write
x1,2=2(1)−4±42−4(1)(1)x1,2=2(1)−4±16−4x1,2=2(1)−4±12x1,2=2(1)−4±23
So, we get two values of x, when we take positive sign, we have
x1=−2+3
When we take negative sign, we get the value of xas
x2=−2−3
So, we get two solutions to the given equation.
Hence option A and C both are correct
Note: It should be noted that values of xin each case is negative. As xis negative, −x is positive , which is in accordance with the definition of logarithm, as logarithm of negative number is not defined.
The logarithm of any number to a given base is the index of the power to which the base must be raised in order to equal to the given number. If ax=N,x is called logarithm of Nto the base a
If ax=N then x=logaN
Here N is a positive number and ais a positive number other than 1.