I recently studied how the complex quadratic equation of x2−2x+5 was solved:
Then I typed it in for the star of this question:
x2−2x−5
And it used the quadratic formula, which I found boring. So I wondered: what will happen if I use the same method as the image above and just pretend it will have a complex solution. Will the imaginary numbers cancel out? What will happen?
So I did that, and my question is: how did this work so well? What is actually happening here? Is this a complex number thing, or just the fact that I'm splitting x into two components?
Or did I just luck into the solution and actually have a subtle mistake?
Here are the steps I took.
x2−2x−5=0
(a+bi)2−2(a+bi)−5=0
(a2+2abi+b2i2)−2a−2bi−=0
Reordering it to the 'template' of the image. (note: b2i2=−b2)
(a2−b2−2a−5)+i(−2b+2ab)=0
Alright, I'm on the right track as it is intuitive to me that only -5 should be the only changed value.
[a2−b2−2a−5=0−2b+2ab=0]
Here is where I venture of a little bit as my linear algebra is almost non-existent.
2ab−2b=0
2ab=2b
2a=2
a=1
Since it's immediately visible what b is in the same equation, I went to the other equation as I figured, it might have more information about b. We already have a believable value for a, so I subtitute it in there.
12−2∗1−b2−5=0
−b2−6=0
−6=b2
b=√−6
b=√6i or b=−√6i
And substitute back for x=a+bi we get:
x=1+(±√6i)i
x=1+(±√6i2)
x=1+(±√6∗−1)
x=1+(±√6)
x=1±√6
Wait, that is correct (use the quadratic formula or something like SymPy to check, I use the website above called https://www.symbolab.com/solver/).
How is this possible? How is it possible that if I model this equation with complex numbers, I also get a valid solution? When isn't this possible?
No comments:
Post a Comment