100%
PAGE 1

Complex and Repeated Roots of Characteristic Eq.

\[ y'' + y = 0 \]

characteristic eq: \[ r^2 + 1 = 0 \implies r^2 = -1 \implies r = \pm i \quad \text{where } i^2 = -1 \]

usual process: \( y_1 = e^{r_1 t} \), \( y_2 = e^{r_2 t} \)

we get \[ y_1 = e^{it}, \quad y_2 = e^{-it} \] what are these?

Instructor Note: When solving linear ODEs with constant coefficients, complex roots introduce imaginary exponents. We need to express these solutions in terms of real-valued functions.
back to \[ y'' + y = 0 \to y'' = -y \] (2nd deriv. is negative of itself)

let's “guess” the solutions: \[ y_1 = \sin(t), \quad y_2 = \cos(t) \]

Somehow, \[ e^{it}, e^{-it} \longleftrightarrow \cos(t), \sin(t) \]

Taylor Series Connection

let's see the connection:

\[ e^t = 1 + t + \frac{t^2}{2!} + \frac{t^3}{3!} + \frac{t^4}{4!} + \dots \] \[ e^{(it)} = 1 + it + \frac{(it)^2}{2!} + \frac{(it)^3}{3!} + \dots \]
Next Step: By expanding the powers of \( i \) (where \( i^2 = -1 \), \( i^3 = -i \), \( i^4 = 1 \)), the real and imaginary components separate into the Taylor series for \( \cos(t) \) and \( \sin(t) \), establishing Euler's formula: \( e^{it} = \cos(t) + i\sin(t) \).
PAGE 2

Derivation of Euler's Formula

\[ \begin{aligned} &= 1 + it - \frac{t^2}{2!} - i\frac{t^3}{3!} + \frac{t^4}{4!} + i\frac{t^5}{5!} + \dots \\[8pt] &= \underbrace{\left(1 - \frac{t^2}{2!} + \frac{t^4}{4!} - \frac{t^6}{6!} + \dots\right)}_{\cos(t)} + i \underbrace{\left(t - \frac{t^3}{3!} + \frac{t^5}{5!} - \frac{t^7}{7!} + \dots\right)}_{\sin(t)} \end{aligned} \]

\[ e^{it} = \cos(t) + i\sin(t) \]

Euler's Formula
\( (e^{i\pi} = -1) \)

Solutions of \( y'' + y = 0 \)

\( y_1 = \cos(t) \)

\( \sin(t) = y_2 \)

\[ y_1 = e^{it} = \cos(t) + i\sin(t) \]

\[ y_2 = e^{-it} = \cos(t) - i\sin(t) \]

Complex conjugate pair

(same real part, same imaginary part but opposite in sign)

If roots of characteristic eq. are complex, form one solution \( e^{r_1 t} \) or \( e^{r_2 t} \) then use the real part and the imaginary part as fundamental solutions.

↑ imaginary part: whatever is attached to \( i \) without the \( i \)

Note for students: Since the differential equation \( y'' + y = 0 \) has real coefficients, Euler's formula guarantees that both the real part \( \operatorname{Re}(e^{it}) = \cos(t) \) and the imaginary part \( \operatorname{Im}(e^{it}) = \sin(t) \) are linearly independent real-valued solutions, forming a fundamental set of solutions.

PAGE 3

Second-Order Linear ODE: Complex Roots Example

example \( y'' + 2y' + 2y = 0 \)

characteristic eq: \( r^2 + 2r + 2 = 0 \)

Can't factor, use

\[ \begin{aligned} r &= \frac{-2 \pm \sqrt{4 - 4(1)(2)}}{2} \\[8pt] &= \frac{-2 \pm \sqrt{-4}}{2} = \frac{-2 \pm 2i}{2} = -1 \pm i \end{aligned} \]
Since the discriminant \( \Delta = b^2 - 4ac < 0 \), the characteristic equation produces complex conjugate roots \( r=\alpha \pm i\beta \), where \( \alpha=-1 \) and \( \beta=1 \).

form one solution \( e^{rt} \) w/ \( r = -1 + i \) or \( r = -1 - i \)

\[ \begin{aligned} e^{(-1 + i)t} &= e^{-t} e^{it} \\[6pt] &= e^{-t} \bigl( \cos(t) + i\sin(t) \bigr) \\[6pt] &= \underbrace{e^{-t}\cos(t)}_{\text{real part}} + i \underbrace{e^{-t}\sin(t)}_{\text{imaginary part}} \end{aligned} \]

Pick them out and use as \( y_1 = e^{-t}\cos(t) \), \( y_2 = e^{-t}\sin(t) \)

so,
\[ y = c_1 e^{-t}\cos(t) + c_2 e^{-t}\sin(t) \]
PAGE 4

if roots are \( r = -2 \pm 5i \)

\( e^{it} = \cos(t) + i \sin(t) \)

\[ \begin{aligned} e^{(-2 + 5i)t} &= e^{-2t} e^{i(5t)} \\[6pt] &= e^{-2t}\bigl(\cos(5t) + i \sin(5t)\bigr) \end{aligned} \]
Note on Complex Roots: Using Euler's formula, the complex conjugate pair \( r = \alpha \pm i\beta \) decomposes into real and imaginary components yielding independent solutions \( e^{\alpha t}\cos(\beta t) \) and \( e^{\alpha t}\sin(\beta t) \).

Repeated Roots

\[ y'' - 2y' + y = 0 \]

\[ r^2 - 2r + 1 = 0 \]

\[ (r - 1)(r - 1) = 0 \]

\[ r = 1,\, 1 \]

\( y = e^{rt} \;\rightarrow\; y_1 = e^t \)

normal way: \( y_2 = e^t \)

but that causes a big problem

\[ \text{Wronskian } W[y_1, y_2] = \begin{vmatrix} y_1 & y_2 \\ y_1' & y_2' \end{vmatrix} = \begin{vmatrix} e^t & e^t \\ e^t & e^t \end{vmatrix} = 0 \quad \text{BAD!} \]
Why is \( W = 0 \) bad? If the Wronskian of two solutions to a second-order linear homogeneous ODE is zero, the solutions are linearly dependent. Hence, they do not form a fundamental set of solutions, requiring reduction of order or multiplying by \( t \) to find a linearly independent second solution \( y_2 = t e^t \).
PAGE 5

Repeated Roots & Reduction of Order

The solution space is two-dimensional and MUST be spanned by two linearly independent solutions.

\( W = 0 \) (for all \( t \)) \( \rightarrow \) NOT independent

We still need \( y_2 \) (must be independent from \( y_1 = e^t \)).

One method is the Reduction of Order (due to d'Alembert).

Concept: Reduction of Order
When one solution \( y_1(t) \) to a second-order linear homogeneous differential equation is known, d'Alembert's method posits a second solution of the form \( y_2(t) = v(t)y_1(t) \). Substituting this into the differential equation yields a first-order equation for \( v'(t) \).

If roots are repeated, \( r = r_1, r_1 \),

then \( y_1 = e^{r_1 t} \) (usual)

\[ y_2 = v(t) y_1 \]
find \( v(t) \), then we have \( y_2 \)

Back to \( y'' - 2y' + y = 0 \)

already know \( y_1 = e^t \)

PAGE 6

Reduction of Order: Second Solution Derivation

Then \( y_2 = v(t)y_1 = v(t)e^t \) must satisfy \( y'' - 2y' + y = 0 \).

\[ y_2 = v e^t \]

\[ y_2' = v e^t + v' e^t \]

\[ y_2'' = v e^t + 2v' e^t + v'' e^t \]

Product Rule Application: Taking the first and second derivatives of \( y_2 = v(t)e^t \) using the product rule: \( y_2' = v'e^t + ve^t \), and differentiating again yields \( y_2'' = v''e^t + 2v'e^t + ve^t \).

Sub into the ODE

\[ \cancel{v e^t} + \cancel{2v' e^t} + v'' e^t - \cancel{2v e^t} - \cancel{2v' e^t} + \cancel{v e^t} = 0 \]

\[ v'' e^t = 0 \]

\[ v'' = 0 \implies v(t) = at + b \]

Integrating \( v'' = 0 \): Since \( e^t \neq 0 \), we have \( v'' = 0 \). Integrating twice with respect to \( t \) gives the linear function \( v(t) = at + b \).

Can choose ANY \( a, b \) to form 2nd solution \( (a \neq 0,\, b \text{ can be } 0) \)

Let's choose \( b = 0,\, a = 1 \implies v = t \)

So, \( y_1 = e^t,\quad y_2 = v e^t = t e^t \)

\[ W[e^t, t e^t] \neq 0 \]

Turns out for linear eqs.
(\(\uparrow\) constant-coeff)
\( v = t \) ALWAYS works

PAGE 7

Reduction of Order with Non-Constant Coefficients

Reduction of order works w/ non-constant coefficients, too

Example of Euler's Equation

\[ t^2 y'' + t y' - 9y = 0 \quad \text{(example of Euler's equation)} \]
Euler-Cauchy Equation: An equation of the form \( a t^2 y'' + b t y' + c y = 0 \). In this specific example, \( a=1 \), \( b=1 \), and \( c=-9 \).

Finding the Second Solution

Suppose somehow we found \( y_1 = t^3 \).

2nd solution:

\[ y_2 = v(t) y_1 = v t^3 \] \[ y_2' = \dots \] \[ y_2'' = \dots \]

Sub all into the eq.

Step-by-Step Derivation:

Using the product rule:

\[ y_2' = v' t^3 + 3v t^2 \] \[ y_2'' = v'' t^3 + 6v' t^2 + 6v t \] Substituting into \( t^2 y'' + t y' - 9y = 0 \) yields: \[ t^2(v'' t^3 + 6v' t^2 + 6v t) + t(v' t^3 + 3v t^2) - 9(v t^3) = 0 \] Simplifying powers of \( t \): \[ v'' t^5 + 7 v' t^4 = 0 \] Dividing through by \( t^5 \) gives the first-order relation below.
\[ v'' = -7 v' t^{-1} \]
\[ \frac{d(v')}{dt} = \frac{-7 v'}{t} \] (separable in \( v', t \))
\[ \begin{aligned} v' &= C t^{-7} \\[8pt] v &= -\frac{C}{6} t^{-6} + d = a t^{-6} + b \end{aligned} \]
Conclusion: Choosing the independent non-trivial component with \( a = 1, b = 0 \) gives \( v = t^{-6} \), leading to the second fundamental solution: \[ y_2 = v(t) y_1 = t^{-6} \cdot t^3 = t^{-3} \] Thus, the general solution is \( y(t) = c_1 t^3 + c_2 t^{-3} \).
PAGE 8

Alternative Way to See Why We Multiply by \( t \) to Get \( y_2 \)

Abel's identity: \( W = C e^{-\int p \, dt} = e^{-\int p \, dt} \)

Using Abel's identity, the Wronskian \( W(y_1, y_2) \) satisfies \( W = C e^{-\int p(t) \, dt} \). Setting the constant \( C = 1 \) yields \( W = e^{-\int p \, dt} \).

By the definition of the Wronskian of two solutions \( y_1 \) and \( y_2 \):

\[ W = \begin{vmatrix} y_1 & y_2 \\ y_1' & y_2' \end{vmatrix} = y_1 y_2' - y_1' y_2 \]

Dividing both sides by \( y_1^2 \):

\[ \frac{y_1 y_2' - y_1' y_2}{y_1^2} = \frac{e^{-\int p \, dt}}{y_1^2} \]

Recognizing the left side as the derivative of the quotient \( \frac{y_2}{y_1} \) by the quotient rule:

\[ \frac{d}{dt} \left( \frac{y_2}{y_1} \right) = \frac{W}{y_1^2} \]

If roots repeated, \( W = (y_1)^2 \):

\[ \frac{W}{y_1^2} = \frac{y_1^2}{y_1^2} = 1 \]

For a second-order linear differential equation with constant coefficients having repeated root \( r \), \( y_1 = e^{rt} \) and \( p = -2r \). Then \( W = e^{2rt} = (y_1)^2 \), simplifying the ratio to 1.

Integrating both sides:

\[ \frac{d}{dt} \left( \frac{y_2}{y_1} \right) = 1 \implies \frac{y_2}{y_1} = t + c \implies y_2 = (t + c)y_1 \]

Setting the integration constant \( c = 0 \) yields the standard second linearly independent solution \( y_2 = t y_1 \).