Differential EquationsSecond-Order Linear Equations4 of 6
Second-Order Linear Equations · 4

Complex Numbers and the Complex Exponential

Plugging y=erty = e^{rt} into a differential equation like y′′+2y′+10y=0y'' + 2y' + 10y = 0 leads to the square root of a negative number, putting i=−1i = \sqrt{-1} up in the exponent of ee.

1

Why ii Is a 90∘90^\circ Rotation

To make sense of eite^{it}, we first need to know what multiplying a number by i\turn{i} does geometrically.

Why i Is a 90-Degree Rotation
00
11
−1-1
×(−1)\htmlClass{lc-violet}{\times(-1)}
90∘\htmlClass{lc-violet}{90^\circ}
??
real\htmlClass{lc-blue}{\text{real}}
imaginary\htmlClass{lc-orange}{\text{imaginary}}
×i\htmlClass{lc-violet}{\times i}
×i\htmlClass{lc-violet}{\times i}
×i\htmlClass{lc-violet}{\times i}
×i\htmlClass{lc-violet}{\times i}
11
ii
−1-1
−i-i

Multiplying by −1-1 flips a number 180∘\turn{180^\circ} across 00, so an operation that reaches −1-1 in two equal steps must turn halfway, 90∘\turn{90^\circ}, on each step, and we take i\turn{i} to be the counterclockwise turn:

i⋅i\displaystyle \turn{i} \cdot \turn{i} =i2\displaystyle = \turn{i^2} =−1\displaystyle = -1
2

Multiplying and Dividing on the Complex Plane

With the real numbers on the horizontal axis and the imaginary numbers on the vertical axis, any point on the complex plane is written by how far right and how far up it sits:

a⏟real part+b⏟imaginary parti\displaystyle \rpart{\underbrace{a}_{\text{real part}}} + \ipart{\underbrace{b}_{\text{imaginary part}}i}

When we multiply or divide two complex numbers, such as (3+2i)(1+4i)(3 + 2i)(1 + 4i) or 4+2i1+3i\frac{4 + 2i}{1 + 3i}, we want the answer in this same a+bi\rpart{a} + \ipart{bi} form so we can see where the resulting point is on the plane.

For division, we need a way to clear ii from the denominator. In algebra, multiplying a sum by a difference cancels the middle terms:

(a+b)(a−b)\displaystyle (a + b)(a - b) =a2−b2\displaystyle = a^2 - b^2
Multiplying and Dividing on the Complex Plane
real\htmlClass{lc-blue}{\text{real}}
imaginary\htmlClass{lc-orange}{\text{imaginary}}
3+2i\htmlClass{lc-blue}{3} + \htmlClass{lc-orange}{2i}
(3+2i)(1+4i)=  ?13+2i=  ?\begin{aligned}(\htmlClass{lc-blue}{3} + \htmlClass{lc-orange}{2i})(1 + 4i) &= \;?\\[6pt] \frac{1}{\htmlClass{lc-blue}{3} + \htmlClass{lc-orange}{2i}} &= \;?\end{aligned}

First, let's multiply (3+2i)(1+4i)(3 + 2i)(1 + 4i).

Text solution
Expand the terms and replace i2i^2 with −1-1Multiply out the four pairs like in ordinary algebra, using i2=−1i^2 = -1 on the last term.
(3+2i)(1+4i)=3⋅1+3⋅4i+2i⋅1+2i⋅4i=3+12i+2i+8i2=3+12i+2i−8\displaystyle \begin{aligned} &(3 + 2i)(1 + 4i) \\ &= 3 \cdot 1 + 3 \cdot 4i + 2i \cdot 1 + 2i \cdot 4i \\ &= 3 + 12i + 2i + 8i^2 \\ &= \rpart{3} + \ipart{12i} + \ipart{2i} - \rpart{8} \end{aligned}
Group the real and imaginary partsCombine the real numbers and the ii terms into a single point.
=(3−8)+(12+2)i=−5+14i\displaystyle \begin{aligned} &= \rpart{(3 - 8)} + \ipart{(12 + 2)i} \\ &= \rpart{-5} + \ipart{14i} \end{aligned}

So the product (3+2i)(1+4i)(3 + 2i)(1 + 4i) is the point −5+14i\rpart{-5} + \ipart{14i}, located 5\rpart{5} units left and 14\ipart{14} units up.

real\htmlClass{lc-blue}{\text{real}}
imaginary\htmlClass{lc-orange}{\text{imaginary}}
3+2i\htmlClass{lc-blue}{3} + \htmlClass{lc-orange}{2i}
3−2i\htmlClass{lc-blue}{3} - \htmlClass{lc-orange}{2i}
complex conjugate\text{complex conjugate}

Now for a fraction with ii in the denominator, like 4+2i1+3i\frac{4 + 2i}{1 + 3i}. Flipping the sign on the imaginary part reflects the point across the horizontal axis and gives a product with no ii terms left:

(a+bi)(a−bi)⏟complex conjugate\displaystyle (\rpart{a} + \ipart{bi})\underbrace{(\rpart{a} - \ipart{bi})}_{\text{complex conjugate}} =a2−b2i2\displaystyle = \rpart{a^2} - \ipart{b^2} i^2 =a2+b2\displaystyle = \rpart{a^2} + \ipart{b^2}
Text solution
Multiply top and bottom by the denominator's conjugate 1−3i\rpart{1} - \ipart{3i}Look only at the denominator 1+3i\rpart{1} + \ipart{3i} and flip the sign on its ii term.
4+2i1+3i\displaystyle \frac{4 + 2i}{\rpart{1} + \ipart{3i}} =4+2i1+3i⋅1−3i⏞complex conjugate1−3i\displaystyle = \frac{4 + 2i}{\rpart{1} + \ipart{3i}} \cdot \frac{\overbrace{\rpart{1} - \ipart{3i}}^{\text{complex conjugate}}}{\rpart{1} - \ipart{3i}}
Add the squares on the bottom and expand the topThe denominator becomes 12+32\rpart{1^2} + \ipart{3^2}, while the numerator expands with i2=−1i^2 = -1.
=4−12i+2i−6i212+32=4−10i+610\displaystyle \begin{aligned} &= \frac{4 - 12i + 2i - 6i^2}{\rpart{1^2} + \ipart{3^2}} \\ &= \frac{\rpart{4} - \ipart{10i} + \rpart{6}}{10} \end{aligned}
Combine and divide by 1010Simplify the numerator and divide both terms by 1010 to get the two coordinates.
=10−10i10=1−i\displaystyle \begin{aligned} &= \frac{\rpart{10} - \ipart{10i}}{10} \\ &= \rpart{1} - \ipart{i} \end{aligned}

So the fraction 4+2i1+3i\frac{4 + 2i}{1 + 3i} is the point 1−i\rpart{1} - \ipart{i}, at 1\rpart{1} unit right and 1\ipart{1} unit down.

3

Distance, Angle, and Multiplying Geometrically

Writing a point as a+bi\rpart{a} + \ipart{bi} makes it easy to add complex numbers, but to see what multiplication does geometrically we describe a point z=a+biz = \rpart{a} + \ipart{bi} by its distance r\dist{r} from the origin (also called its magnitude or modulus) and its angle θ\turn{\theta} measured counterclockwise from the positive horizontal axis.

real\htmlClass{lc-blue}{\text{real}}
imaginary\htmlClass{lc-orange}{\text{imaginary}}
θ\htmlClass{lc-violet}{\theta}
r\htmlClass{lc-green}{r}
a=rcos⁡θ\htmlClass{lc-blue}{a} = \htmlClass{lc-green}{r}\htmlClass{lc-blue}{\cos\theta}
b=rsin⁡θ\htmlClass{lc-orange}{b} = \htmlClass{lc-green}{r}\htmlClass{lc-orange}{\sin\theta}
z=a+biz = \htmlClass{lc-blue}{a} + \htmlClass{lc-orange}{bi}

We want to find the distance r\dist{r} and angle θ\turn{\theta} for points like z=1+iz = \rpart{1} + \ipart{i} and z=−3+iz = \rpart{-\sqrt{3}} + \ipart{i}, and see what happens to r\dist{r} and θ\turn{\theta} when we multiply two complex numbers.

Distance, Angle, and Multiplying Geometrically
real\htmlClass{lc-blue}{\text{real}}
imaginary\htmlClass{lc-orange}{\text{imaginary}}
z=−3+iz = \htmlClass{lc-blue}{-\sqrt{3}} + \htmlClass{lc-orange}{i}
r=  ?\htmlClass{lc-green}{r} = \;?
θ=  ?\htmlClass{lc-violet}{\theta} = \;?

For z=1+iz = \rpart{1} + \ipart{i} in the first quadrant, the right triangle has legs 1\rpart{1} and 1\ipart{1}, so r=12+12=2\dist{r} = \sqrt{\rpart{1^2} + \ipart{1^2}} = \sqrt{2} and θ=π4\turn{\theta} = \frac{\pi}{4}.

Here is how we find r\dist{r} and θ\turn{\theta} when the point is in another quadrant, like z=−3+iz = \rpart{-\sqrt{3}} + \ipart{i}. Always plot the point first: an inverse tangent button on a calculator cannot tell (−3,1)(\rpart{-\sqrt{3}}, \ipart{1}) in the second quadrant apart from (3,−1)(\rpart{\sqrt{3}}, \ipart{-1}) in the fourth quadrant.

Text solution
Find the distance r\dist{r} with the Pythagorean theoremSquare both coordinates and take the square root.
r\displaystyle \dist{r} =(−3)2+12\displaystyle = \sqrt{(\rpart{-\sqrt{3}})^2 + \ipart{1^2}} =3+1\displaystyle = \sqrt{3 + 1} =4\displaystyle = \sqrt{4} =2\displaystyle = 2
Use the right triangle in the second quadrant to find the inside angleGoing left 3\rpart{\sqrt{3}} and up 1\ipart{1} makes a right triangle with the negative horizontal axis whose opposite leg is 1\ipart{1} and hypotenuse is 2\dist{2}.
sin⁡(inside angle)\displaystyle \sin(\text{inside angle}) =12  ⟹  inside angle\displaystyle = \frac{\ipart{1}}{\dist{2}} \implies \text{inside angle} =π6\displaystyle = \frac{\pi}{6}
Subtract from π\pi to measure θ\turn{\theta} from the positive horizontal axisBecause the point is π6\frac{\pi}{6} short of the half-circle π\pi, subtract the inside angle from π\pi.
θ\displaystyle \turn{\theta} =π−π6\displaystyle = \pi - \frac{\pi}{6} =5π6\displaystyle = \frac{5\pi}{6}

So z=−3+iz = \rpart{-\sqrt{3}} + \ipart{i} sits at distance r=2\dist{r} = 2 from the origin and angle θ=5π6\turn{\theta} = \frac{5\pi}{6} radians.

Using the horizontal and vertical coordinates a=rcos⁡θ\rpart{a} = \dist{r}\rpart{\cos\theta} and b=rsin⁡θ\ipart{b} = \dist{r}\ipart{\sin\theta}, any complex number can be written using its distance and angle:

a+bi\displaystyle \rpart{a} + \ipart{bi} =r(cos⁡θ+isin⁡θ)\displaystyle = \dist{r}(\rpart{\cos\theta} + \ipart{i\sin\theta})

When we multiply one complex number by another, we multiply their distances from the origin and add their angles to rotate the point.

Multiplying by a complex number scales the first number’s distance by the multiplier’s distance and adds the multiplier’s angle to its angle.
4

Euler's Formula and Exponential Form

Adding angles when you multiply numbers is the exact way exponents work. That brings us back to calculus: as time tt moves forward, where is the moving point z(t)=eitz(t) = e^{it} on the complex plane?

Euler's Formula and Exponential Form
11
−1-1
ii
−i-i
z(t)=eitz(0)=1ddt eit=i⋅eit\begin{aligned} z(t) &= e^{it}\\[4pt] z(0) &= 1\\[4pt] \htmlClass{lc-pink}{\frac{d}{dt}}\,e^{it} &= i\cdot e^{it}\end{aligned}

Because the velocity arrow ieit\vel{ie^{it}} is always the position arrow eite^{it} turned 90∘\turn{90^\circ} counterclockwise, the point stays on the unit circle and moves at speed 11, reaching angle t\turn{t} radians (arc length t\turn{t}), where its horizontal and vertical coordinates are cos⁡(t)\rpart{\cos(t)} and sin⁡(t)\ipart{\sin(t)}.

Moving at a right angle to the radius keeps the point on the unit circle, while its horizontal and vertical shadows trace out cosine and sine.

Reading off the horizontal and vertical coordinates of that point on the unit circle gives Euler's formula:

eit\displaystyle \turn{e^{it}} =cos⁡(t)+isin⁡(t)\displaystyle = \rpart{\cos(t)} + \ipart{i\sin(t)}

Replacing cos⁡θ+isin⁡θ\rpart{\cos\theta} + \ipart{i\sin\theta} with eiθ\turn{e^{i\theta}} in z=r(cos⁡θ+isin⁡θ)z = \dist{r}(\rpart{\cos\theta} + \ipart{i\sin\theta}) writes any complex number with distance r\dist{r} and angle θ\turn{\theta} in exponential form (or polar form):

z\displaystyle z =reiθ\displaystyle = \dist{r}\turn{e^{i\theta}}

In exponential form, the geometric rule for multiplying complex numbers becomes ordinary exponent algebra: multiply the distances in front and add the angles in the exponent:

(r1eiθ1)(r2eiθ2)\displaystyle (\dist{r_1} \turn{e^{i\theta_1}})(\dist{r_2} \turn{e^{i\theta_2}}) =r1r2ei(θ1+θ2)\displaystyle = \dist{r_1 r_2} \turn{e^{i(\theta_1 + \theta_2)}}
5

Complex Exponents and Spirals

Now we can see what happens when the exponent has a different rotation speed or includes both a real part and an imaginary part, such as z(t)=e(−1+3i)tz(t) = e^{(\dist{-1} + \turn{3i})t}. We want to find the path of e(−1+3i)te^{(\dist{-1} + \turn{3i})t} on the complex plane and write out its horizontal and vertical coordinates.

Complex Exponents and Spirals
11
−1-1
ii
−i-i
e3it=  ?e(−1+3i)t=  ?\htmlClass{lc-violet}{e^{3it}} = \;? \qquad e^{(-1 + 3i)t} = \;?

Here is how we break e(−1+3i)te^{(\dist{-1} + \turn{3i})t} into its real and imaginary coordinates.

Text solution
Split the exponent into a distance part and a spinning partUse the exponent rule ea+b=eaebe^{a + b} = e^a e^b to separate the real exponent from the imaginary exponent.
e(−1+3i)t\displaystyle e^{(\dist{-1} + \turn{3i})t} =e−t⏟shrinkingdistance r⋅e3it⏟spinning atspeed 3\displaystyle = \dist{\underbrace{e^{-t}}_{\substack{\text{shrinking} \\ \text{distance } r}}} \cdot \turn{\underbrace{e^{3it}}_{\substack{\text{spinning at} \\ \text{speed } 3}}}
Rewrite the imaginary exponential with Euler's formulaReplace e3it\turn{e^{3it}} with cos⁡(3t)+isin⁡(3t)\rpart{\cos(3t)} + \ipart{i\sin(3t)} and multiply through by the distance e−t\dist{e^{-t}}.
=e−t(cos⁡(3t)+isin⁡(3t))=e−tcos⁡(3t)+ie−tsin⁡(3t)\displaystyle \begin{aligned} &= \dist{e^{-t}}(\rpart{\cos(3t)} + \ipart{i\sin(3t)}) \\ &= \dist{e^{-t}}\rpart{\cos(3t)} + \ipart{i}\dist{e^{-t}}\ipart{\sin(3t)} \end{aligned}

So e(−1+3i)te^{(\dist{-1} + \turn{3i})t} traces an inward spiral with horizontal coordinate e−tcos⁡(3t)\rpart{e^{-t}\cos(3t)} and vertical coordinate e−tsin⁡(3t)\ipart{e^{-t}\sin(3t)}.

6

Real Oscillations from Complex Roots

Now we can return to our spring differential equation and find two independent real solutions:

y′′+2y′+10y\displaystyle y'' + 2y' + 10y =0\displaystyle = 0
Real Oscillations from Complex Roots
y′′+2y′+10y=0y(t)=  ?\begin{aligned} y'' + 2y' + 10y &= 0\\[6pt] y(t) &= \;?\end{aligned}
y=0y = 0
Text solution
Substitute y=erty = e^{rt} and solve the characteristic equationPlugging in y=erty = e^{rt} gives a quadratic equation for rr, which we solve by completing the square.
r2+2r+10=0(r+1)2+9=0(r+1)2=−9r=−1±3i\displaystyle \begin{aligned} r^2 + 2r + 10 &= 0 \\ (r + 1)^2 + 9 &= 0 \\ (r + 1)^2 &= -9 \\ r &= -1 \pm 3i \end{aligned}
Plug one complex root into y=erty = e^{rt} and expand with Euler's formulaTake r=−1+3ir = -1 + 3i, split the exponent, and separate the real and imaginary parts.
y(t)=e(−1+3i)t=e−te3it=e−t(cos⁡(3t)+isin⁡(3t))=e−tcos⁡(3t)⏟real (horizontal)+ie−tsin⁡(3t)⏟imaginary (vertical)\displaystyle \begin{aligned} y(t) &= e^{(\dist{-1} + \turn{3i})t} \\ &= \dist{e^{-t}}\turn{e^{3it}} \\ &= \dist{e^{-t}}(\rpart{\cos(3t)} + \ipart{i\sin(3t)}) \\ &= \rpart{\underbrace{\dist{e^{-t}}\cos(3t)}_{\text{real (horizontal)}}} \\ &\quad + \ipart{i\underbrace{\dist{e^{-t}}\sin(3t)}_{\text{imaginary (vertical)}}} \end{aligned}
Take the real and imaginary parts as two independent real solutionsBecause the coefficients in y′′+2y′+10y=0y'' + 2y' + 10y = 0 are real numbers, the real terms and ii terms stay separate through every derivative and addition, so both parts must satisfy the differential equation on their own (dropping the ii).
y1(t)\displaystyle \rpart{y_1}(t) =e−tcos⁡(3t),y2(t)\displaystyle = \rpart{e^{-t}\cos(3t)}, \qquad \ipart{y_2}(t) =e−tsin⁡(3t)\displaystyle = \ipart{e^{-t}\sin(3t)}

So our two real solutions are 1D decaying oscillations: the horizontal shadow y1(t)=e−tcos⁡(3t)\rpart{y_1}(t) = \rpart{e^{-t}\cos(3t)} and vertical shadow y2(t)=e−tsin⁡(3t)\ipart{y_2}(t) = \ipart{e^{-t}\sin(3t)} of the 2D inward spiral e(−1+3i)te^{(\dist{-1} + \turn{3i})t}.

Where the root r=a+bir = \dist{a} + \turn{bi} sits on the complex plane tells us the shape of the 2D path e(a+bi)te^{(\dist{a} + \turn{bi})t} and its 1D wave shadows eatcos⁡(bt)\rpart{e^{at}\cos(bt)} and eatsin⁡(bt)\ipart{e^{at}\sin(bt)}. The real part a\dist{a} sets whether the path and waves shrink inward (a<0\dist{a} < 0), stay on the unit circle (a=0\dist{a} = 0), or grow outward (a>0\dist{a} > 0), while the imaginary part b\turn{b} sets how fast they spin and oscillate.

A complex root's real part controls whether its spiral and waves shrink, stay steady, or grow, while its imaginary part controls how fast they spin and wave.

Key concepts

Complex numbers can be written either by their horizontal and vertical coordinates as a+bi\rpart{a} + \ipart{bi} (with i2=−1i^2 = -1) or by their distance r=a2+b2\dist{r} = \sqrt{\rpart{a^2} + \ipart{b^2}} and counterclockwise angle θ\turn{\theta} in exponential form z=reiθz = \dist{r}\turn{e^{i\theta}}, linked by Euler's formula:

eit\displaystyle \turn{e^{it}} =cos⁡(t)+isin⁡(t)\displaystyle = \rpart{\cos(t)} + \ipart{i\sin(t)}
Arithmetic in a+bi\rpart{a} + \ipart{bi} form

When adding, subtracting, or multiplying two simple numbers like (3+2i)(1+4i)=−5+14i(3 + 2i)(1 + 4i) = \rpart{-5} + \ipart{14i}, stay in a+bi\rpart{a} + \ipart{bi} form and expand directly using i2=−1i^2 = -1 rather than converting to angles. To divide, multiply top and bottom by the denominator's complex conjugate a−bi\rpart{a} - \ipart{bi} to turn the bottom into a2+b2\rpart{a^2} + \ipart{b^2}, as in 13+2i⋅3−2i3−2i=313−213i\frac{1}{3 + 2i} \cdot \frac{3 - 2i}{3 - 2i} = \rpart{\frac{3}{13}} - \ipart{\frac{2}{13}i}.

Converting and multiplying in exponential form reiθ\dist{r}\turn{e^{i\theta}}

Plot the point first so the quadrant of θ\turn{\theta} is clear: for z=−3+iz = \rpart{-\sqrt{3}} + \ipart{i} in the second quadrant, r=2\dist{r} = 2 and θ=π−π6=5π6\turn{\theta} = \pi - \frac{\pi}{6} = \frac{5\pi}{6}, giving z=2ei(5π/6)z = \dist{2}\turn{e^{i(5\pi/6)}}. When numbers are in exponential form, multiply by multiplying the distances and adding the angles: (r1eiθ1)(r2eiθ2)=r1r2ei(θ1+θ2)(\dist{r_1} \turn{e^{i\theta_1}})(\dist{r_2} \turn{e^{i\theta_2}}) = \dist{r_1 r_2} \turn{e^{i(\theta_1 + \theta_2)}}.

Solving differential equations with y=erty = e^{rt}

If the characteristic equation has real roots (such as r2−9=0  ⟹  r=±3r^2 - 9 = 0 \implies r = \pm 3), you do not need Euler's formula; just write the real exponentials e3te^{3t} and e−3te^{-3t} directly. When the roots are complex (r=−1±3ir = -1 \pm 3i from r2+2r+10=0r^2 + 2r + 10 = 0), plug one root into erte^{rt} and split it as e(−1+3i)t=e−te3it=e−tcos⁡(3t)+ie−tsin⁡(3t)\begin{aligned} e^{(\dist{-1} + \turn{3i})t} &= \dist{e^{-t}}\turn{e^{3it}} \\ &= \rpart{e^{-t}\cos(3t)} + \ipart{ie^{-t}\sin(3t)} \end{aligned}; the horizontal coordinate y1(t)=e−tcos⁡(3t)\rpart{y_1}(t) = \rpart{e^{-t}\cos(3t)} and vertical coordinate y2(t)=e−tsin⁡(3t)\ipart{y_2}(t) = \ipart{e^{-t}\sin(3t)} (without the ii) are your two independent real solutions.

7

Practice

1

Multiply (2−3i)(4+i)(2 - 3i)(4 + i) and write the result in the form a+bi\rpart{a} + \ipart{bi}.

Expand the four products like normal algebra; when the last term gives i2i^2, what number does i⋅ii \cdot i equal?

Expand the four terms:
(2−3i)(4+i)=2⋅4+2⋅i−3i⋅4−3i⋅i=8+2i−12i−3i2\displaystyle \begin{aligned} (2 - 3i)(4 + i) &= 2 \cdot 4 + 2 \cdot i - 3i \cdot 4 - 3i \cdot i \\ &= 8 + 2i - 12i - 3i^2 \end{aligned}
Replace i2i^2 with −1-1 so −3i2=−3(−1)=+3-3i^2 = -3(-1) = +3 (leaving −3i2-3i^2 as −3-3 is a common slip and gives the wrong answer 5−10i5 - 10i):
=8+2i−12i+3=(8+3)+(2−12)i=11−10i\displaystyle \begin{aligned} &= \rpart{8} + \ipart{2i} - \ipart{12i} + \rpart{3} \\ &= \rpart{(8 + 3)} + \ipart{(2 - 12)i} \\ &= \rpart{11} - \ipart{10i} \end{aligned}
2

Write the fraction 1+7i2−i\frac{1 + 7i}{2 - i} in the form a+bi\rpart{a} + \ipart{bi}.

Look only at the denominator 2−i2 - i: what do you multiply top and bottom by so the ii terms cancel on the bottom?

Multiply top and bottom by the denominator's complex conjugate 2+i\rpart{2} + \ipart{i}:
1+7i2−i\displaystyle \frac{1 + 7i}{\rpart{2} - \ipart{i}} =1+7i2−i⋅2+i2+i\displaystyle = \frac{1 + 7i}{\rpart{2} - \ipart{i}} \cdot \frac{\rpart{2} + \ipart{i}}{\rpart{2} + \ipart{i}}
On the bottom, (2−i)(2+i)=4−i2=22+12=5(\rpart{2} - \ipart{i})(\rpart{2} + \ipart{i}) = 4 - i^2 = \rpart{2^2} + \ipart{1^2} = 5 (subtracting 22−12=32^2 - 1^2 = 3 forgets that −i2=+1-i^2 = +1 and gives the wrong answer −53+5i-\frac{5}{3} + 5i):
=2+i+14i+7i222+12=2+15i−75=−5+15i5=−1+3i\displaystyle \begin{aligned} &= \frac{2 + i + 14i + 7i^2}{\rpart{2^2} + \ipart{1^2}} \\ &= \frac{\rpart{2} + \ipart{15i} - \rpart{7}}{5} \\ &= \frac{\rpart{-5} + \ipart{15i}}{5} \\ &= \rpart{-1} + \ipart{3i} \end{aligned}
3

Find the distance r\dist{r} from the origin and the angle θ\turn{\theta} (with 0≤θ<2π0 \le \turn{\theta} < 2\pi) for z=−1+3iz = -1 + \sqrt{3}i, and write zz in exponential form reiθ\dist{r}\turn{e^{i\theta}}.

Plot (−1,3)(-1, \sqrt{3}) first to see its quadrant, then draw its right triangle to the horizontal axis: hypotenuse r=?\dist{r} = \text{?}, inside angle =?= \text{?}

Find the distance r\dist{r} from the origin:
r\displaystyle \dist{r} =(−1)2+(3)2\displaystyle = \sqrt{(\rpart{-1})^2 + (\ipart{\sqrt{3}})^2} =1+3\displaystyle = \sqrt{1 + 3} =4\displaystyle = \sqrt{4} =2\displaystyle = 2
Plot (−1,3)(\rpart{-1}, \ipart{\sqrt{3}}) in the second quadrant (left 1\rpart{1}, up 3\ipart{\sqrt{3}}). In the right triangle with the negative horizontal axis, sin⁡(inside angle)=32\sin(\text{inside angle}) = \frac{\ipart{\sqrt{3}}}{\dist{2}}, so the inside angle is π3\frac{\pi}{3}. Subtract π3\frac{\pi}{3} from π\pi to measure θ\turn{\theta} from the positive horizontal axis (taking the inside angle π3\frac{\pi}{3} directly puts the point in the first quadrant and gives the wrong answer 2eiπ/32e^{i\pi/3}):
θ\displaystyle \turn{\theta} =π−π3\displaystyle = \pi - \frac{\pi}{3} =2π3\displaystyle = \frac{2\pi}{3}
r\displaystyle \dist{r} =2,θ\displaystyle = 2, \quad \turn{\theta} =2π3,soz\displaystyle = \frac{2\pi}{3}, \quad \text{so} \quad z =2ei(2π/3)\displaystyle = \dist{2}\turn{e^{i(2\pi/3)}}
4

Multiply (2eiπ/12)(3eiπ/6)(\dist{2}\turn{e^{i\pi/12}})(\dist{3}\turn{e^{i\pi/6}}) and write the product in both exponential form reiθ\dist{r}\turn{e^{i\theta}} and rectangular form a+bi\rpart{a} + \ipart{bi}.

Multiply the distances and add the angles in the exponent first, then use Euler's formula eiθ=cos⁡θ+isin⁡θ\turn{e^{i\theta}} = \rpart{\cos\theta} + \ipart{i\sin\theta} to find the horizontal and vertical coordinates.

Multiply the distances in front and add the angles in the exponent (adding the distances 2+32 + 3 instead of multiplying gives the wrong exponential form 5eiπ/45e^{i\pi/4}):
(2eiπ/12)(3eiπ/6)=(2⋅3)ei(π/12+π/6)=6ei(π/12+2π/12)=6ei(3π/12)=6eiπ/4\displaystyle \begin{aligned} (\dist{2}\turn{e^{i\pi/12}})(\dist{3}\turn{e^{i\pi/6}}) &= \dist{(2 \cdot 3)}\turn{e^{i(\pi/12 + \pi/6)}} \\ &= \dist{6}\turn{e^{i(\pi/12 + 2\pi/12)}} \\ &= \dist{6}\turn{e^{i(3\pi/12)}} \\ &= \dist{6}\turn{e^{i\pi/4}} \end{aligned}
Now apply Euler's formula and multiply both terms by the distance 6\dist{6} (forgetting to multiply the sine term by 66 gives the wrong answer 32+22i3\sqrt{2} + \frac{\sqrt{2}}{2}i):
6eiπ/4=6(cos⁡(π4)+isin⁡(π4))=6(22+i22)=32+32i\displaystyle \begin{aligned} \dist{6}\turn{e^{i\pi/4}} &= \dist{6}\left(\rpart{\cos\left(\frac{\pi}{4}\right)} + \ipart{i\sin\left(\frac{\pi}{4}\right)}\right) \\ &= \dist{6}\left(\rpart{\frac{\sqrt{2}}{2}} + \ipart{i\frac{\sqrt{2}}{2}}\right) \\ &= \rpart{3\sqrt{2}} + \ipart{3\sqrt{2}i} \end{aligned}
6eiπ/4\displaystyle \dist{6}\turn{e^{i\pi/4}} =32+32i\displaystyle = \rpart{3\sqrt{2}} + \ipart{3\sqrt{2}i}
5

Find two independent real solutions to y′′+4y′+29y=0y'' + 4y' + 29y = 0 by substituting y=erty = e^{rt} and taking the real and imaginary parts of a complex exponential solution.

After substituting y=erty = e^{rt}, complete the square on r2+4r+29=0r^2 + 4r + 29 = 0 to find r=a±bir = a \pm bi, then split e(a+bi)te^{(a + bi)t} into its real and imaginary parts.

Substitute y=erty = e^{rt} and complete the square on the characteristic equation:
r2+4r+29=0(r+2)2+25=0(r+2)2=−25r=−2±5i\displaystyle \begin{aligned} r^2 + 4r + 29 &= 0 \\ (r + 2)^2 + 25 &= 0 \\ (r + 2)^2 &= -25 \\ r &= -2 \pm 5i \end{aligned}
Plug r=−2+5ir = -2 + 5i into y=erty = e^{rt} and split the exponent, keeping the real part −2\dist{-2} in the distance e−2t\dist{e^{-2t}} and the imaginary part 5\turn{5} inside cosine and sine (dropping the minus sign on −2\dist{-2} gives e2tcos⁡(5t)e^{2t}\cos(5t) and e2tsin⁡(5t)e^{2t}\sin(5t), and swapping −2\dist{-2} and 5\turn{5} gives e5tcos⁡(2t)e^{5t}\cos(2t) and e5tsin⁡(2t)e^{5t}\sin(2t)):
y(t)=e(−2+5i)t=e−2te5it=e−2t(cos⁡(5t)+isin⁡(5t))=e−2tcos⁡(5t)+ie−2tsin⁡(5t)\displaystyle \begin{aligned} y(t) &= e^{(\dist{-2} + \turn{5i})t} \\ &= \dist{e^{-2t}}\turn{e^{5it}} \\ &= \dist{e^{-2t}}(\rpart{\cos(5t)} + \ipart{i\sin(5t)}) \\ &= \dist{e^{-2t}}\rpart{\cos(5t)} + \ipart{i}\dist{e^{-2t}}\ipart{\sin(5t)} \end{aligned}
Take the real and imaginary parts, dropping the ii on the second solution:
y1(t)\displaystyle \rpart{y_1}(t) =e−2tcos⁡(5t)andy2(t)\displaystyle = \rpart{e^{-2t}\cos(5t)} \quad \text{and} \quad \ipart{y_2}(t) =e−2tsin⁡(5t)\displaystyle = \ipart{e^{-2t}\sin(5t)}
6

A moving point on the complex plane starts at 11 when t=0t = 0 and spirals counterclockwise so that at time tt its distance from the origin is e3t\dist{e^{3t}} and its angle is 4t\turn{4t} radians. Write its position z(t)z(t) as a single complex exponential erte^{rt}, give its horizontal and vertical coordinates, and find the differential equation y′′+by′+cy=0y'' + by' + cy = 0 that those coordinates satisfy.

Combine the distance e3t\dist{e^{3t}} and angle factor eiθ=e4it\turn{e^{i\theta}} = \turn{e^{4it}} into e(3+4i)te^{(\dist{3} + \turn{4i})t}; to find the differential equation, work backward from the roots r=3±4ir = 3 \pm 4i by forming (r−3)2+42=0(r - 3)^2 + 4^2 = 0.

Multiply the distance e3t\dist{e^{3t}} by the unit-circle rotation e4it\turn{e^{4it}} and combine the exponents:
z(t)\displaystyle z(t) =e3te4it\displaystyle = \dist{e^{3t}}\turn{e^{4it}} =e(3+4i)t\displaystyle = e^{(\dist{3} + \turn{4i})t}
Use Euler's formula on e4it\turn{e^{4it}} to get the horizontal and vertical coordinates:
z(t)=e3t(cos⁡(4t)+isin⁡(4t))=e3tcos⁡(4t)+ie3tsin⁡(4t)\displaystyle \begin{aligned} z(t) &= \dist{e^{3t}}(\rpart{\cos(4t)} + \ipart{i\sin(4t)}) \\ &= \dist{e^{3t}}\rpart{\cos(4t)} + \ipart{i}\dist{e^{3t}}\ipart{\sin(4t)} \end{aligned}
To find the differential equation satisfied by those coordinates, work backward from the complex roots r=3±4ir = 3 \pm 4i by subtracting 33 and squaring both sides (writing (r+3)2+16=0(r + 3)^2 + 16 = 0 flips the sign on the middle term and gives the wrong equation y′′+6y′+25y=0y'' + 6y' + 25y = 0):
r−3=±4i(r−3)2=−16(r−3)2+16=0r2−6r+9+16=0r2−6r+25=0\displaystyle \begin{aligned} r - 3 &= \pm 4i \\ (r - 3)^2 &= -16 \\ (r - 3)^2 + 16 &= 0 \\ r^2 - 6r + 9 + 16 &= 0 \\ r^2 - 6r + 25 &= 0 \end{aligned}
z(t)=e(3+4i)t, with horizontal coordinate e3tcos⁡(4t)and vertical coordinate e3tsin⁡(4t),which satisfy y′′−6y′+25y=0\displaystyle \begin{aligned} &z(t) = e^{(\dist{3} + \turn{4i})t}, \text{ with horizontal coordinate } \rpart{e^{3t}\cos(4t)} \\ &\text{and vertical coordinate } \ipart{e^{3t}\sin(4t)}, \\ &\text{which satisfy } y'' - 6y' + 25y = 0 \end{aligned}