Find the Solution Set to the Exponential Equation 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?
 A: Substitute $3^x = y$ and $3^{2x} = y^2$ and see what happens...
Be careful! $3^x = y > 0$
A: 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....
A: 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$. 
