#Complex Quadratics
15 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
I would let z = a + ib
Then set real = 0 img = 0
And solve for 2 variables 2 eqns
how tho
Like (a + ib)² - (a + ib) + (1 + i ) = 0 + 0i
Set an equation for real part.
Another for imaginary part.
$z^2-z+\frac{1}{4}=-1-i+\frac{1}{4} \ (z-\frac{1}{2})^2=-\frac{3}{4}-i \$ so there are two complex numbers z that fulfill the last equation
Ludwig
or use quadratic formula
Yeah, the quadratic formula still holds for complex coefficients too
Though to the person who asked the question, you should watch out for cases where the discriminant (b^2 - 4ac) ends up being a complex value, which may make it more difficult to calculate the square root of said discriminant
In cases where the discriminant is a complex value, my preferred method is to set the square root of the discriminant to be equal to some z = a + ib where a and b are real numbers.
If you’d like to know why this works, click here : ||This works because the set of complex numbers is ‘algebraically closed’, basically meaning any algebraic operation on complex numbers will result in solution(s) in the set of complex numbers.||
Anyway, following that, this would mean that the discriminant would equal to z^2, which is (a + ib)^2.
After some algebraic manipulation, you should end up with a pair of simultaneous equations that you should solve to find values of a and b.
complex square root:
$±(\sqrt{\frac{r+a}{2}} + sgn(b) i\sqrt{\frac{r-a}{2}})$
where $sgn(b)$ is sign of b
(xy)²=(yz)²=(xz)²=xyyzxz=-1
or use this if you dont want to solve equations