5

I have the following exponential equation:

$$3^{2x}+3^{x}-2=0$$

I use the product rule to separate the exponent from the base and that resulted in:

$$2x \cdot \ln(3) + x \cdot \ln(3) = 2$$

Then I factored out the $x$ from the two terms and divided the non-x term onto the other side to get:

$$x=\frac{2}{2\ln(3)+\ln(3)}$$

Although this doesn't seem to work when I check my solution by plugging the value back into the original equation. Can anyone point out where I made a mistake?

3 Answers3

4

Substitute $3^x = y$ and $3^{2x} = y^2$ and see what happens...

Be careful! $3^x = y > 0$

Stefan4024
  • 35,843
4

Whenever you see something like $a^{2x}+b^x+c=0$, it can usually be solved by factoring by substitution. In your case, you can use factoring. Let $3^x=y$. So, $3^{2x}=(3^x)^2=y^2$. The equation now becomes $y^2+y-2=0$. This factors to $(y-1)(y+2)=0$. So, the solutions are $y = -2, \ 1$. That means that $3^x=-2, \ 1$, because of substituting $y$ as $3^x$ again. Right?

WRONG.

How can any exponential in the form $a^x$ ($a \ge 0$) have a negative answer? The least that it can get to is $0$. How, then, can $3^x=-2$? It is impossible! So that is why we have to set a restriction that $3^x \ge 0$. So, $-2$ is not a solution. That leaves $3^x=1$, which is easy to solve. $$3^x=1$$ $$\ln(3^x)=\ln(1)$$ $$x\ln(3)=\ln(1)$$ $$\displaystyle x=\dfrac{\ln(1)}{\ln(3)}$$ Remember that $\ln(1)=0$. So the solution is $x=0$.

Therefore there is one solution, which is: $$\displaystyle \boxed{x=0}$$ I hope I helped you out!

P.S. I do not want to sound like a guy that goes crazy about Yin and Yang, but I want you to know that what you see above is the beauty of mathematics; why so many people love math. For almost every question, there is more than one way to get to the answer. I could have just immediately said that $x=0$, because $a^0 = 1, \ a\in \mathbb R$. But another way to do it is using the logarithms. There just might be another way other than factoring the equation in the first step as well! Such is the beauty of mathematics....

  • The solution aren't $-1$ and $2$. They are $-2$ and $1$. And the final solution is $x=0$ – Stefan4024 Feb 25 '14 at 01:13
  • @Stefan4024 How is the final solution $x=0$? Simply plugging in that value gives you $-2=0$, which is definitely false! – Anonymous Computer Feb 25 '14 at 01:17
  • $3^0 =$ what? Look it other way $\ln(1) = ...$ – Stefan4024 Feb 25 '14 at 01:18
  • Wouldn't it be $3^{2 \cdot 0} + 3^{0} -2 = 0$. Which would be $1 + 1 -2=0$, which indeed is $0=0$? I believe he is correct. – ProfessorStealth Feb 25 '14 at 01:20
  • I must ask though, is there another way to solve this? My professor will probably want me to do it a longer route without the clever substitution. :( – ProfessorStealth Feb 25 '14 at 01:22
  • @ProfessorStealth Look at my solution. Do the substitution and solve the quadratic equation and just check the positive solutions. Better now? – Stefan4024 Feb 25 '14 at 01:25
  • @ProfessorStealth Tell your professor that mathematicians are lazy, because it is true. We want to find the quickest and most efficient solutions. We will take the shorter route of the two. – Anonymous Computer Feb 25 '14 at 01:40
  • Isn't $\ln 1 = 0$? Therefore, isn't $\frac{\ln 1}{\ln 3}$ just zero? – templatetypedef Feb 25 '14 at 05:40
  • @templatetypedef I just made an edit but my Internet crashed right when I clicked "Save Changes". I was kind of frustrated – Anonymous Computer Feb 25 '14 at 06:06
  • What is the "other solution" the answer is talking about? The equation $3^x=1$ clearly has only one solution, and this is not a polynomial which might have roots with multiplicities. – JiK Feb 25 '14 at 09:37
4

Letting $y=3^x$ and reaching $(y+2)(y-1)=0$ is precisely how your professor will expect you to do it.

There is another way. It is clear that $x=0$ is a solution. To see there are no others, note that if $x\lt 0$ then $3^{2x}$ and $3^x$ are each less than $1$, while if $x\gt 0$ then each of $3^{2x}$ and $3^x$ is bigger than $1$. So there are no solutions other than $0$.

André Nicolas
  • 507,029