Solveeit Logo

Question

Question: How does one solve \({\log _2}x = {\log _4}(x + 6)\) ?...

How does one solve log2x=log4(x+6){\log _2}x = {\log _4}(x + 6) ?

Explanation

Solution

For simplifying the original equation , firstly used logarithm property
logba=logxalogxb{\log _b}a = \dfrac{{{{\log }_x}a}}{{{{\log }_x}b}} then take base two exponential of both sides of the equation, then apply the logarithm formula blogba=a{b^{{{\log }_b}a}} = a to simplify the given equation .

Formula used:
We used logarithm properties i.e.,
logba=logxalogxb{\log _b}a = \dfrac{{{{\log }_x}a}}{{{{\log }_x}b}}
And
blogba=a{b^{{{\log }_b}a}} = a , the logarithm function says logx\log x is only defined when xx is greater than zero.

Complete solution step by step:
It is given that ,
log2x=log4(x+6){\log _2}x = {\log _4}(x + 6) ,
We have to solve for xx .
Now using logarithm property logba=logxalogxb{\log _b}a = \dfrac{{{{\log }_x}a}}{{{{\log }_x}b}} ,
We will get,
log2x=log2(x+6)log2(4){\log _2}x = \dfrac{{{{\log }_2}(x + 6)}}{{{{\log }_2}(4)}}
Now , simplify the equation , we will get the following result ,
log2x=log2(x+6)log2(2)2\Rightarrow {\log _2}x = \dfrac{{{{\log }_2}(x + 6)}}{{{{\log }_2}{{(2)}^2}}} (using logab=bloga\log {a^b} = b\log a)
log2x=log2(x+6)2log2(2)\Rightarrow {\log _2}x = \dfrac{{{{\log }_2}(x + 6)}}{{2{{\log }_2}(2)}}
Using logaa=1{\log _a}a = 1 ,
log2x=log2(x+6)2\Rightarrow {\log _2}x = \dfrac{{{{\log }_2}(x + 6)}}{2}
2log2x=log2(x+6) log2(x)2=log2(x+6)  \Rightarrow 2{\log _2}x = {\log _2}(x + 6) \\\ \Rightarrow {\log _2}{(x)^2} = {\log _2}(x + 6) \\\ (using logab=bloga\log {a^b} = b\log a)
Now , by assuming the base of the logarithm to be 22 ,then take the base 22 exponential of both sides of the equation, we will get the following result ,
For equation one ,
2log2(x2)=2log2(x+6){2^{{{\log }_2}\left( {{x^2}} \right)}} = {2^{{{\log }_2}(x + 6)}}
By applying the logarithm formula blogba=a{b^{{{\log }_b}a}} = a . we will get the following result ,
x2=x+6{x^2} = x + 6
Or
x2x6=0{x^2} - x - 6 = 0
x23x+2x6=0 x(x3)+2(x3)=0 (x+2)(x3)=0 x=2 and x=3  \Rightarrow {x^2} - 3x + 2x - 6 = 0 \\\ \Rightarrow x(x - 3) + 2(x - 3) = 0 \\\ \Rightarrow (x + 2)(x - 3) = 0 \\\ \Rightarrow x = - 2 \\\ and \\\ x = 3 \\\
Now recall that the logarithm function says logx\log x is only defined when xxis greater than zero.
Therefore, in our original equation log2x=log4(x+6){\log _2}x = {\log _4}(x + 6) ,
Here,
(x)>0 and (x+6)>0  (x) > 0 \\\ and \\\ (x + 6) > 0 \\\ ,
When x=2x = - 2 , it is less than zero.
Therefore , we reject x=2x = - 2 .
And when x=3x = 3 , it is greater than zero .
Therefore, we have our solutions i.e., x=3x = 3 .

Note: The logarithm function says logx\log x is only defined when xx is greater than zero. While defining logarithm function one should remember that the base of the log must be a positive real number and not equals to one . At the end we must recall that the logarithm function says logx\log x is only defined when xx is greater than zero. While performing logarithm properties we have to remember certain conditions , our end result must satisfy the domain of that logarithm .