Chalk−1

Math · Precalculus · Worked example

Solve a quadratic with complex roots

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

x2+2⁢x+5=0

Try one — Chalk checks each line

Find the discriminant

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

22−4⋅1⋅5=−16

Take the square root of a negative

−16=16⋅−1=4⁢i. The rule a⋅b=a⁢b fails for two negatives, but splitting off −1=i from a positive 16 is how i is defined.

−16=4⁢i

Put the parts into the formula

x=(−b±b2−4⁢a⁢c)⁢/⁢(2⁢a) with b=2, a=1 and the root 4⁢i.

x=−2±4⁢i2

Divide both parts by 2

Each part of the top is divided by 2, the real part −2 and the imaginary part 4⁢i. The two solutions are conjugates, as they must be when the coefficients are real.

x=−1±2⁢i

Check x=−1+2⁢i

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

(−3−4⁢i)+(−2+4⁢i)+5=0

Result

x=−1+2⁢i or x=−1−2⁢i.

Your turn

1. One like the example

Solve x2−4⁢x+13=0.

Show the answer and explanation

x=2±3⁢i.

The discriminant is 16−52=−36, and −36=6⁢i, so x=(4±6⁢i)⁢/2=2±3⁢i.

x2−4⁢x+13=0x=4±6⁢i2x=2±3⁢i

2. A variation

Solve 2x2+2⁢x+5=0. The leading coefficient is not 1 this time.

Show the answer and explanation

x=−1⁢/2±(3⁢/2)⁢i.

The discriminant is 22−4⋅2⋅5 =4−40 =−36, and −36=6⁢i. The bottom of the formula is 2⁢a=4, so x=(−2±6⁢i)⁢/4 =−1⁢/2±(3⁢/2)⁢i.

2x2+2⁢x+5=0x=−2±6⁢i4x=−12±32i

3. Somewhere new

Work backwards. Find a quadratic with real coefficients whose solutions are 3+i and 3−i.

Show the answer and explanation

x2−6⁢x+10=0.

Multiply (x−(3+i))⁢(x−(3−i)). Group it as ((x−3)−i)⁢((x−3)+i), a difference of squares, to get (x−3)2−i2 =x2−6⁢x+9+1 =x2−6⁢x+10. To check it another way, put x=3+i into x2−6⁢x+10, which gives 8+6⁢i−18−6⁢i+10 =0.

(x−(3+i))⁢(x−(3−i))=(x−3)2−i2=x2−6⁢x+10

Keep exploring

In Graph, y=x2+2⁢x+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.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

See why there are no real roots in Graph Check the solutions in Math Study the 8 key terms Open worked example on a board Complex Multiplication in Math Reference

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