chikis,
Excellent work!
chikis wrote:Let me ask, I come across this type of equation next time and am ask to solve it, how do know that it is a quadratic equation without been told?
When you notice that

can be represented as
^{2})
, and that this gives you an

form, that's probably the big red flag. Your mind's constantly doing little conversions and trying to see if the new configuration will fit some known form, so sometimes it's just a matter of being aware of what forms you can use and repeatedly trying 'til it comes to mind. While this process isn't deterministic, gaining enough practice will allow you to do it so quickly that you'll appear to have had some definite solution route to someone else observing you.
It helps if you first found, or at least estimated, the solutions numerically. In this case, you could do so by plotting
=2^{2x+1}-9\left(2^{x}\right)+4)
and seeing when it crosses the

-axis. If you did this, you may've found that

, and the whole

-having-two-solutions thing would've been a red flag to look for a quadratic form

, which the equation already pretty much looked like (and probably written this way to make the question more accessible).
Since I'm trying to push the whole computational thing at my university, here are two quick ways to do this on the computer.
First, using Microsoft Excel. Excel is one of those programs that just about anyone in any technical discipline should have and know well. It's pretty much just computerized graphing paper, coming with all of the benefits that you'd expect computerized graphing paper to have. Additionally you can build entire programs on top of it, even complex ones.
It's common to search for the zeroes of a function (as mentioned above), so we plot
=2^{2x+1}-9\left(2^{x}\right)+4)
:
This sort of approach is powerful and constantly used in practice.
Next, there's Wolfram Mathematica. Mathematica is more appropriate for Math-intensive fields, though it can also solve equations like the ones that you've given. In this case we'll just tell Mathematica to find the solutions:
As you can see, Mathematica just told us that

. In fact, it even showed the
complex solutions
},2+\frac{2\mathrm{i}{\pi}\mathrm{C}\left[1\right]}{\mathrm{log}\left(2\right)}\right})
where (as it notes)

refers to any integer. In other words, it's found two infinitely large sets of complex answers to this equation. And it barely took a moment to type in the equation.
Just to note it, while there are two infinite familes of solutions given to us by Mathematica, we can retrieve the only two real solutions by just using zero as our integer,

. This reduces the more complete answer
},2+\frac{2\mathrm{i}{\pi}\mathrm{C}\left[1\right]}{\mathrm{log}\left(2\right)}\right})
down to the one expected for class,

.