[Math] Quadratic equation with different indices

quadratics

My maths teacher gave me a worksheet to work through as I was getting slightly bored in lessons. However, there was one question which I cannot do. The worksheet gives the answer, but you are supposed to show how you did it. Here is the question:

$729 + 3^{2x+1} = 4\times3^{x+2}$

The sheet said that the answer was $x=2$ or $x=3$
Here is my working – I 'solved' by completing the square, as you will see:
\begin{align}
3^{2x+1}-4\times3^{x+2}+729& = 0 \\
3(3^{2x})-4\times(3^2)(3^x)+729& = 0\\
3(3^x)^2-36(3^x)+729& = 0\\
y &= 3^x\\
3y^2-36y+729 & = 0\\
3(y^2-12y+243) &= 0\\
(y-6)^2-36+243 &= 0\\
(y-6)^2+207 &= 0\\
(y-6)^2&=-207\\
y-6 &= \sqrt{207}i\\
y &= 6+\sqrt{207}i\\
3^x &= 6+\sqrt{207}i\\
x &= \log_3(6+\sqrt{207}i)\\
\end{align}
Clearly, this is not the answer as stated on the sheet. Have I answered this question wrong, or is the answer on the sheet wrong? Thank you in advance.

Best Answer

There was a typo in the question. It should have been

$$729+3^{2x+1}=4\times3^{x+3}$$

Note the $+3$ in the exponent instead of $+2$.

(You are correct that the question as stated does not have integer solutions, in fact it has no real solutions).

There's actually some pretty mathematical content here though. We can rewrite $729=3^6$ and $4=1+3$ to make this expression: $$3^6+3^{2x+1}=3^{x+3}+3^{x+4}$$ Now the solutions $x=2$ and $x=3$ boil down to adding the same powers of $3$ on both sides. The completing the square method you outlined in your work will show that these are the only solutions.