Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to logarithms and I am having trouble solving this equation

$$ \left( \log_3 x \right)^2 + \log_3 (x^2) + 1 = 0.$$

How would I solve this? A step-by-step response would be appreciated.

Also, I know how to solve it with assigning $\log_3 (x)$ as $x$ and solving $x^2 + x + 1 = 0$, and getting the answer from there. I am looking to see how I would do it with just logarithms and no quadratics.


share|cite|improve this question
Note that $\log_3(x^2)=2\log_3(x)$. – Zev Chonoles Jul 13 '12 at 1:12
What you think you know, is wrong; you don't get $x^2+x+1$. "just logarithms and no quadratics" --- but it is a quadratic, so I think you are asking the impossible. – Gerry Myerson Jul 13 '12 at 1:19
up vote 8 down vote accepted

Hint: The second term is equal to $2\log_3(x)$. Let $w=\log_3(x)$. We are looking at the equation $w^2+2w+1=0$.

share|cite|improve this answer

You should get the answer $x = \frac{1}{3}$.

Here is why. Solving the quadratic equation $w^2 + 2w + 1=0$ gives $w=-1$ as a repeated root. Substituting $w =\log_3(x)$ in $w = -1$ gives $\log_3(x) = -1$

Which implies $3^{\log_3(x)} = 3^{-1} \implies x = \frac{1}{3}$. (we used the inverse function $3^x$ of our function $\log_3 (x)$ ).

share|cite|improve this answer
Can you explain why? – draks ... Jul 13 '12 at 7:17
Note that w^2 + 2 w + 1=(w+1)^2=0, this polynomial has a repeated root w=-1. – Mhenni Benghorbal Jul 13 '12 at 23:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.