# Solving for $x$ in $9^x=18$

So I was again looking through the homepage of Youtube to see if there were any math video that I thought that I might be able to solve when I came across this video by Learncommunolizer asking for the value of $$x$$ in $$\color{black}{9^x=18}$$which I thought I might be able solve. Here is my attempt at solving the aforementioned question:$$9^x=18$$$$3^{2x}=18$$$$3^{2x-1}=6$$$$3^{2x-2}=2$$$$(2x-2)\ln3=\ln2$$$$2x-2=\dfrac{\ln2}{\ln3}$$$$2x=\dfrac{\ln2}{\ln3}+2$$And knowing that$$\dfrac{a}{b}+\dfrac{c}{d}=\dfrac{ad+bc}{cd}$$Also$$2=\dfrac{2}{1}$$$$2x=\dfrac{\ln(2)+2\ln(3)}{\ln(3)}$$$$\therefore x=\dfrac{\ln(2)+2\ln(3)}{2\ln(3)}$$My question

Is the solution that I have achieved correct, or what could I do to achieve the correct solution/attain it more quickly?

• shouldnt it be $\frac{ad+bc}{bd}$ Commented May 15, 2023 at 14:51
• "And knowing that$$\dfrac{a}{b}+\dfrac{c}{d}=\dfrac{ad+bc}{cd}$$ This is not correct. Try an example. Commented May 15, 2023 at 14:56
• @CrSb0001 User0 is correct. Moreover, you used the formula $\frac{ad + bc}{cd}$ in your calculations with $a = \ln 2$, $b = \ln 3$, $c = 2$, and $d = 1$. Notice that $\frac{ad + bc}{bd} = \frac{\ln 2 + 2\ln 3}{ln 3}$. Commented May 15, 2023 at 14:56
• well if that were the case, then 2x=$\frac{ln2+2ln3}{2ln3}$ and x would then be $\frac{ln2+2ln3}{4ln3}$ Commented May 15, 2023 at 14:56
• Also your solution is correct with an error of 0.0000000006 Commented May 15, 2023 at 14:57

$$x \ln (9) = \ln(18)$$ $$\Longrightarrow x = \frac{\ln (18)}{\ln (9)}$$
$$x = \frac{\ln (2 \cdot 3^2)}{\ln (3^2)}$$ $$\Longrightarrow x = \frac{\ln (2) + 2\ln(3)}{2\ln (3)}$$