Chalk−1

Math · Precalculus · Worked example

Solve a quadratic with complex roots

Solve x² + 2x + 5 = 0 and check one of the solutions.

x2+2⁢x+5=0

Find the discriminant

With a = 1, b = 2 and c = 5, b² − 4ac is negative, so there are no real solutions.

22−4⋅1⋅5=−16

Take the square root of a negative

√−16 = √16 · √−1 = 4i.

−16=4⁢i

Finish the formula

Divide both parts by 2.

x=−2±4⁢i2=−1±2⁢i

Check x = −1 + 2i

x² = 1 − 4i + 4i² = −3 − 4i and 2x = −2 + 4i, so x² + 2x + 5 = (−3 − 4i) + (−2 + 4i) + 5 = 0.

(−3−4⁢i)+(−2+4⁢i)+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.

(−4)2−4⋅1⋅13=−36

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.

Make it concrete

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 Reference

Your existing work stays on this device. Examples open as editable copies.