Skip to content

Mathematics · Ch 10 — Complex Numbers

Solution of a Quadratic Equation in Complex Number System

10.4.1

Solution of a Quadratic Equation in Complex Number System

Solution of a Quadratic Equation in Complex Number System

Let the given equation be ax2+bx+c=0ax^2+bx+c=0 where a,b,c∈Ra,b,c\in\mathbb{R} and a≠0a\neq0. The solution of this quadratic equation is given by the familiar formula

x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

so the two roots of ax2+bx+c=0ax^2+bx+c=0 are −b+b2−4ac2a\dfrac{-b+\sqrt{b^2-4ac}}{2a} and −b−b2−4ac2a\dfrac{-b-\sqrt{b^2-4ac}}{2a}.

The expression D=b2−4acD=b^2-4ac is called the discriminant. If D<0D<0, the roots of the quadratic equation are complex (this is exactly the case the real number system could not handle, and exactly the case the Fundamental Theorem of Algebra guarantees still has a solution in C\mathbb{C}).

Note. If p+iqp+iq is a root of ax2+bx+c=0ax^2+bx+c=0 (with a,b,c∈Ra,b,c\in\mathbb{R}, a≠0a\neq0), then p−iqp-iq is automatically also a root. So when the coefficients are real, complex roots always occur in conjugate pairs.

Worked Example 1: solve x2+x+1=0x^2+x+1=0.

Comparing with ax2+bx+c=0ax^2+bx+c=0: a=1,b=1,c=1a=1,b=1,c=1. The roots are x=−1±1−42=−1±−32=−1±3 i2x=\dfrac{-1\pm\sqrt{1-4}}{2}=\dfrac{-1\pm\sqrt{-3}}{2}=\dfrac{-1\pm\sqrt3\,i}{2}. So the roots are −12+32i-\dfrac12+\dfrac{\sqrt3}{2}i and −12−32i-\dfrac12-\dfrac{\sqrt3}{2}i — a conjugate pair, exactly as the note above predicts (and, not coincidentally, exactly the two complex cube roots of unity ω,ω2\omega,\omega^2 of Section 1.7).

Worked Example 2: solve x2−(23+3i)x+63 i=0x^2-(2\sqrt3+3i)x+6\sqrt3\,i=0.

Here the coefficients are complex, but the quadratic formula still applies, with a=1, b=−(23+3i), c=63 ia=1,\ b=-(2\sqrt3+3i),\ c=6\sqrt3\,i. Compute the discriminant: b2−4ac=[−(23+3i)]2−4(1)(63 i)=(12+123i−9)−243i=3−123i=3(1−43i)b^2-4ac=[-(2\sqrt3+3i)]^2-4(1)(6\sqrt3\,i)=(12+12\sqrt3i-9)-24\sqrt3i=3-12\sqrt3i=3(1-4\sqrt3i). Finding 1−43i\sqrt{1-4\sqrt3i} needs the square-root-of-a-complex-number method of Section 1.3: let a+ib=1−43ia+ib=\sqrt{1-4\sqrt3i}, so a2−b2=1a^2-b^2=1 and 2ab=−432ab=-4\sqrt3, i.e. ab=−23ab=-2\sqrt3. Then (a2+b2)2=(a2−b2)2+4a2b2=1+4(12)=49(a^2+b^2)^2=(a^2-b^2)^2+4a^2b^2=1+4(12)=49, so a2+b2=7a^2+b^2=7. With a2−b2=1a^2-b^2=1: 2a2=8⇒a=±22a^2=8\Rightarrow a=\pm2, and 2b2=6⇒b=±32b^2=6\Rightarrow b=\pm\sqrt3. Checking which sign combination satisfies ab=−23ab=-2\sqrt3: only a=2,b=−3a=2,b=-\sqrt3 and a=−2,b=3a=-2,b=\sqrt3 work (not a=2,b=3a=2,b=\sqrt3). So 1−43i=±(2−3i)\sqrt{1-4\sqrt3i}=\pm(2-\sqrt3i), and 3(1−43i)=±3(2−3i)\sqrt{3(1-4\sqrt3i)}=\pm\sqrt3(2-\sqrt3i). The roots are then x=(23+3i)±3(2−3i)2x=\dfrac{(2\sqrt3+3i)\pm\sqrt3(2-\sqrt3i)}{2}; working through both signs gives the roots x=23x=2\sqrt3 and x=3ix=3i.

Worked Example 3: find the value of x3−x2+2x+10x^3-x^2+2x+10 when x=1+3 ix=1+\sqrt3\,i.

Since x=1+3ix=1+\sqrt3i, x−1=3ix-1=\sqrt3i; squaring both sides, (x−1)2=(3i)2=−3(x-1)^2=(\sqrt3i)^2=-3, i.e. x2−2x+1=−3x^2-2x+1=-3, so x2−2x=−4 …x^2-2x=-4\ \ldots(I). Now rewrite the target expression using (I): x3−x2+2x+10=x3−(x2−2x)+10=x3−(−4)+10=x3+14x^3-x^2+2x+10=x^3-(x^2-2x)+10=x^3-(-4)+10=x^3+14. Compute x3=(1+3i)3=1+33i−9−33i=−8x^3=(1+\sqrt3i)^3=1+3\sqrt3i-9-3\sqrt3i=-8 (expanding by the binomial theorem and using i2=−1,i3=−ii^2=-1,i^3=-i). So the value is −8+14=6-8+14=6. This shortcut — find the quadratic that xx satisfies, and use it to reduce a higher power before substituting — avoids repeatedly computing large complex powers directly.

Worked Example 4: if x=−5+2−4x=-5+2\sqrt{-4}, find the value of x4+9x3+35x2−x+64x^4+9x^3+35x^2-x+64. …