Math · Precalculus · Worked example
Solve a quadratic with complex roots
Solve x² + 2x + 5 = 0 and check one of the solutions.
Find the discriminant
With a = 1, b = 2 and c = 5, b² − 4ac is negative, so there are no real solutions.
Take the square root of a negative
√−16 = √16 · √−1 = 4i.
Finish the formula
Divide both parts by 2.
Check x = −1 + 2i
x² = 1 − 4i + 4i² = −3 − 4i and 2x = −2 + 4i, so x² + 2x + 5 = (−3 − 4i) + (−2 + 4i) + 5 = 0.
Result
x = −1 + 2i or x = −1 − 2i.
Your turn
Solve x² − 4x + 13 = 0.
Show the answer and explanation
x = 2 ± 3i.
The discriminant is 16 − 52 = −36, and √−36 = 6i, so x = (4 ± 6i)/2 = 2 ± 3i.
Keep exploring
In Graph, y = x² + 2x + 5 stays above the x-axis, so there are no real roots. Its vertex, (−1, 4), sits above the real part of the solutions, −1.
Return to the concept →Sources and scope
Authored study material. Tool results depend on the stated inputs and model assumptions.
Try in the workspace
Open the example inputs, change a value and keep a useful result on your board.
See why there are no real roots in Graph Check the discriminant in Math Open worked example on a board Complex Multiplication in Math ReferenceYour existing work stays on this device. Examples open as editable copies.