7x = x^2 What is the value of x?

This is the person who asked the question and I just wanted to say thank you for the help and explanations!

$${\frac{{\mathtt{7}}{\mathtt{\,\times\,}}{\mathtt{x}}}{{\mathtt{x}}}} = {\frac{{{\mathtt{x}}}^{{\mathtt{2}}}}{{\mathtt{x}}}}$$

$${\mathtt{7}} = {\mathtt{x}}$$

Let's be careful with Anonymous' "method".......this is what is known as "thtowing away a root"

7x = x^2 subtract 7x from both sides

x^2 - 7x = 0 factor

x (x -7) = 0 and setting both factors to 0, we have that x = 0 and x = 7....two solutions....!!!!