• Tidak ada hasil yang ditemukan

Linear Algebra and Differential Equations

N/A
N/A
Protected

Academic year: 2024

Membagikan "Linear Algebra and Differential Equations"

Copied!
42
0
0

Teks penuh

(1)

Linear Algebra and Differential Equations

Sujin Khomrutai, Ph.D.

Department of Math & Computer Science Chulalongkorn University

Lecture 2

(2)

Table of Contents

1 Second Order Linear Equations

2 Constant Coefficients ODE: Homogeneous

3 Real Distinct Roots

4 Abel’s Theorem & Reduction of Order

5 Repeated Roots

6 Complex Pair

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 2 / 42

(3)

Table of Contents

1 Second Order Linear Equations

2 Constant Coefficients ODE: Homogeneous

3 Real Distinct Roots

4 Abel’s Theorem & Reduction of Order

5 Repeated Roots

6 Complex Pair

(4)

Wronskian & General Solutions

Theorem (General solutions) If y1,y2 are solutions of the ODE

y00+p(t)y0+q(t)y = 0, and W(y1,y2)(t)6= 0 for all t, then the solution formula

y(t) =C1y1(t) +C2y2(t) is a general solution of the ODE.

On the other hand, if the Wronskian W(y1,y2)(t) = 0, then the formula y(t) =C1y1(t) +C2y2(t) is not a general solution.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 4 / 42

(5)

Wronskian & General Solutions

Proof. We have to show that for any k,l, one can chooseC1,C2 so that y(t) satisfies

y(t0) =k, y0(t0) =l.

This is the same as

y1(t0) y2(t0) y10(t0) y20(t0)

C1 C2

= k

l

has solutionsC1,C2. But then we need thatW(y1,y2)(t0)6= 0 which is true by assumption.

Thus y(t) =C1y1(t) +C2y2(t) is a general solution of the ODE.

IfW(y1,y2)(t0) = 0, then [y1(t0),y10(t0)]T and [y2(t0),y20(t0)]T are linearly dependent, so there are no C1,C2 satisfying the equation when [k,l]T is a non-zero vector perpendicular to [y1(t0),y10(t0)]T.

(6)

Wronskian & General Solutions

EX.For the ODE y00+ 5y0+ 6y = 0, show thaty1=e−2t andy2 =e−3t are solutions andy(t) =C1y1(t) +C2y2(t) is a general solution.

Sol.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 6 / 42

(7)

Wronskian & General Solutions

EX.For the ODE y00+ 2y0+y = 0 show that y1 =e−t andy2 =te−t are solutions and y(t) =C1y1(t) +C2y2(t) is a general solution.

Sol.

(8)

Wronskian & General Solutions

EX.Determine whether y(t) =C1e2t+C25e2t is a general solution of the ODEy00−y0−2y = 0?

Sol.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 8 / 42

(9)

Exercise

EX.For the ODE y00−2y0−15y = 0, show thaty1=e−3t andy2=e5t are solutions and determine whether y(t) =C1y1(t) +C2y2(t) is a general solution.

Sol.

(10)

Solutions to IVP

Definition (Fundamental set of solutions)

A pair of solutions y1,y2 toy00+p(t)y0+q(t)y= 0 such that W(y1,y2)(t)6= 0 for all t

is called afundamental set of solutions to the ODE.

Theorem (Solutions to IVP) For the IVP

y00+p(t)y0+q(t)y = 0, y(t0) =k, y0(t0) =l if y1,y2 is a fundamental set of solutions to the ODE, then

y(t) = det

k y2(t0) l y20(t0)

W(y1,y2)(t0) y1(t) + det

y1(t0) k y10(t0) l

W(y1,y2)(t0) y2(t).

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 10 / 42

(11)

Solutions to IVP

EX.For the ODE

y00+y0 = 0

show that y1= 1 andy2 =e−t form a fundamental set of solutions and solve the IVP

y00+y0 = 0, y(0) =−1, y0(0) = 2.

Sol.

(12)

Table of Contents

1 Second Order Linear Equations

2 Constant Coefficients ODE: Homogeneous

3 Real Distinct Roots

4 Abel’s Theorem & Reduction of Order

5 Repeated Roots

6 Complex Pair

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 12 / 42

(13)

Constant Coefficients ODE

Definition ODE of the form

ay00+by0+c =f(t)

is called asecond order constant coefficient equation.

Iff(t) = 0, the ODE is homogeneous.

Iff(t)6= 0, the ODE is nonhomogeneous.

Throughout this section a,b,c are constants.

We study homogeneous equations.

The main tool is characteristic equation for the ODE.

1 distinct real roots

2 repeated real roots

3 complex pair

(14)

Characteristic Equations

Can you guess an exponential solution of 2y00+ 5y0+ 2y = 0?

Try ert:

2y00+ 5y0+ 2y= (2r2+ 5r+ 2)ert = 0 ⇒ 2r2+ 5r+ 2 = 0.

Factoring 2r2+ 5r+ 2 = (2r+ 1)(r+ 2), so we obtain e−t/2, e−2t.

Definition

For a second order ODE ay00+by0+cy = 0, the equation ar2+br+c = 0

is called acharacteristic equation for the ODE.

Such a number r is called acharacteristic root for the ODE.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 14 / 42

(15)

Table of Contents

1 Second Order Linear Equations

2 Constant Coefficients ODE: Homogeneous

3 Real Distinct Roots

4 Abel’s Theorem & Reduction of Order

5 Repeated Roots

6 Complex Pair

(16)

Real Distinct Characteristic Roots

Theorem

If r solves ar2+br+c = 0then ert is a solution to ay00+by0+cy = 0.

Theorem

If r1,r2 are real distinct roots of the characteristic equation ar2+br+c = 0,

then er1t,er2t is a fundamental set of solutions for the ODE ay00+by0+cy = 0.

Thus

y(t) =C1er1t+C2er2t is a general solution for the ODE.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 16 / 42

(17)

Real Distinct Characteristic Roots

Proof. Substituting ert into the ODEay00+by0+cy = 0 we get (ar2+br+c)ert = 0 ⇒ ar2+br2+c = 0.

r1,r2 solve ar2+br+c = 0, soer1t,er2t are two solutions of ODE ay00+by0+cy = 0.

Next, we calculate the Wronskian w(er1t,er2t) = det

er1t er2t r1er1t r2er2t

= (r2−r1)e(r1+r2)t. Since r2−r1 6= 0, we find thatW(er1t,er2t)6= 0 for all t. So

y(t) =C1er1t+C2er2t is a general solution to the ODE.

(18)

Real Distinct Characteristic Roots

Formula. The quadratic equation

ar2+br+c = 0 has two roots r1,r2 (can be repeated, or complex).

They are given by the formula

r1 = −b−√

b2−4ac

2a , r2 = −b+√

b2−4ac

2a .

1 r1,r2 are distinct real numbers ifb2−4ac >0.

2 r1,r2 are repeated (or equal) ifb2−4ac = 0

3 r1,r2 are complex pair if b2−4ac <0.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 18 / 42

(19)

Real Distinct Characteristic Roots

EX.Find a fundamental set of solutions to the ODE y00+ 4y0+ 3y = 0.

Then find a general solution formula.

Sol.

(20)

Real Distinct Characteristic Roots

EX.Find a fundamental set of solutions to the ODE 3y00−5y0−2y= 0.

Then find a general solution formula.

Sol.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 20 / 42

(21)

Real Distinct Characteristic Roots

EX.Find a fundamental set of solutions to the ODE y00+ 3y0+y = 0.

Then find a general solution formula.

Sol.

(22)

Exercise

EX.Solve the IVP

y00−3y0 = 0, y(0) =−1, y0(0) = 2.

Sol.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 22 / 42

(23)

Table of Contents

1 Second Order Linear Equations

2 Constant Coefficients ODE: Homogeneous

3 Real Distinct Roots

4 Abel’s Theorem & Reduction of Order

5 Repeated Roots

6 Complex Pair

(24)

Abel’s Theorem

We will need the following important result.

Theorem (Abel’s theorem) If y1,y2 are solutions to the ODE

y00+p(t)y0+q(t)y= 0 then there is a constant C depending on y1,y2 such that

W(y1,y2)(t) =CeRp(t)dt.

Moreover, if y1,y2 are fundamental set of solutions then C 6= 0.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 24 / 42

(25)

Abel’s Theorem

Proof. Since y1,y2 are solutions to ODE:

y100+p(t)y10 +q(t)y1= 0 ⇒ y100 =−p(t)y10 −q(t)y1, y200+p(t)y20 +q(t)y2= 0 ⇒ y200 =−p(t)y20 −q(t)y2, . We differentiate the Wronskian W(t) =W(y1,y2)(t):

d

dtW = d

dt(y1y20 −y2y10) =y1y200−y2y100

=y1(−p(t)y20 −q(t)y2)−y2(−p(t)y10 −q(t)y1)

=−p(t)W.

This is a linear first order ODE: W0+p(t)W = 0! So W(t) = 1

I(t)( Z

I(t)(0)dt+C) =Ce

Rp(t)dt.

Ify1,y2 are fundamental solutions W 6= 0, soC 6= 0.

(26)

Abel’s Theorem

EX.Consider ODEy00+ 2y0+y = 0. The characteristic equation is r2+ 2r+ 1 = 0 ⇒ (r+ 1)2= 0.

So we get−1,−1, which gives only one solutione−t! Let y1 =e−t, which is a solution. To findy2, we solve

W(e−t,y2) =eR2dt. That is

det

e−t y2

−e−t y20

=e−2t ⇒ y20 +y2 =e−t. Integrating factor I(t) =et, so y2 = e1t(R

ete−tdt+C) =te−t+Ce−t. We can choose C = 0 to gety2 =te−t!

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 26 / 42

(27)

Reduction of Order Formula

Theorem (Reduction of order formula)

If y1 6= 0is a solution of ODE y00+p(t)y0+q(t)y = 0, then y2(t) =y1(t)

Z 1 (y1(t))2e

Rp(t)dtdt

is a solution of the ODE. Furthermore, {y1,y2} is a fundamental set of solutions, hence

y(t) =C1y1(t) +C2y2(t) is a general solution to the ODE.

(28)

Reduction of Order Formula

Proof. To find y2, we use Abel’s theorem and solve W(y1,y2) =e

Rp(t)dt.

By the definition of Wronskian, we get

y1y20 −y2y10 =eRp(t)dt ⇒ y20 −(y10/y1)y2 =eRp(t)dt/y1. This is a linear first order ODE: I(t) =eR(−y10/y1)dt = 1/y1 and

y2 = 1 I(t)(

Z

I(t)eRp(t)dt

y1 +C) =y1(

Z eRp(t)dt

y12 dt+C).

Setting C = 0, we get a solutiony2=y1R e

Rp(t)dt

y12 dt.

y2 is chosen so that W(y1,y2) =eRp(t)dt 6= 0, so it is automatically that {y1,y2} is a fundamental set of solutions.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 28 / 42

(29)

Table of Contents

1 Second Order Linear Equations

2 Constant Coefficients ODE: Homogeneous

3 Real Distinct Roots

4 Abel’s Theorem & Reduction of Order

5 Repeated Roots

6 Complex Pair

(30)

Repeated Real Roots

Theorem

If the characteristic equation of ODE ay00+by0+cy = 0has only one root r (this happens when b2−4ac = 0), then

ert, tert

form a fundamental set of solutions to the ODE. So y(t) =C1ert+C2tert is a general solution of the ODE.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 30 / 42

(31)

Repeated Real Roots

Proof. Let y1 =ert. By assumptionr solves the characteristic equation, so ert is a solution to the ODE.

We use the reduction of order formula:

y2 =y1

Z eR(b/a)dt y12 dt

=ert

Z e−(b/a)t e2rt dt.

Since ar2+br+c = 0 has a repeated rootr, we getb2 = 4ac and r =−b/(2a). So −(b/a) = 2r and hence

y2=ert Z

1dt =tert.

(32)

Repeated Real Roots

EX.Find a fundamental set of solutions to the ODE y00+ 4y0+ 4y = 0.

Then find a general solution formula.

Sol.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 32 / 42

(33)

Repeated Real Roots

EX.Find a fundamental set of solutions to the ODE y00+y0+14y = 0.

Then find a general solution formula.

Sol.

(34)

Repeated Real Roots

EX.Find a fundamental set of solutions to the ODE y00+ 6y0+ 9y = 0.

Solve the IVP

y00+ 6y0+ 9y = 0, y(0) = 0, y0(0) = 2.

Sol.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 34 / 42

(35)

Exercise

EX.Determine a general solution to the ODE y00−4y0+ 4y = 0.

Sol.

(36)

Table of Contents

1 Second Order Linear Equations

2 Constant Coefficients ODE: Homogeneous

3 Real Distinct Roots

4 Abel’s Theorem & Reduction of Order

5 Repeated Roots

6 Complex Pair

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 36 / 42

(37)

Complex Pair

Now we consider ODE ay00+by0+cy = 0 that has two complex roots.

This occurs whenb2−4ac <0. Actually, the roots are λ−iµ, λ+iµ,

where λ, µare real numbers andµ6= 0.

Theorem

Ifλ−iµ, λ+iµ(µ6= 0) are roots of the characteristic equation for ODE ay00+by0+cy = 0, then

eλtcosµt, eλtsinµt

form a fundamental set of solutions. So the general solution to the ODE is y(t) =eλt(C1cosµt+C2sinµt).

(38)

Complex Pair

Proof. Note thatλ=−b/(2a) andµ=√

4ac−b2/(2a). Let y1 =eλtcosµt and y2 =eλtsinµt. We calculate

y10 =eλt(λcosµt−µsinµt),

y100 =eλt2cosµt−2λµsinµt−µ2cosµt) So

ay100+by10 +cy1 =eλt(a(λ2−µ2) +bλ+c) cosµt +eλt(−2aλµ−µb) sinµt Now −2aλµ−µb= 0 and

a(λ2−µ2) +bλ+c = 2b2−4ac 4a −b2

2a+c = 0.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 38 / 42

(39)

Complex Pair

So y1 solves the ODE. Similarly, y2 also solves the ODE.

Next, we calculate the Wronskian

W(y1,y2) = det

eλtcosµt eλtsinµt eλt(λcosµt−µsinµt) eλt(λsinµt+µcosµt)

=e2λtµ(cos2µt+ sin2µt)

=e2λtµ.

We have used the trig. identity: cos2A+ sin2A= 1. Since µ6= 0, it follows that the Wronskian is non-zero.

Thus y1,y2 is a fundamental set of solutions.

(40)

Complex Pair

EX.Consider ODEy00+ 2y0+ 2y = 0. Find the characteristic roots and a general solution.

Sol.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 40 / 42

(41)

Complex Pair

EX.Find a general solution of the ODE y00+ 4y0+ 8y= 0.

Sol.

(42)

Exercise

EX.Determine a general solution to the ODE y00+ 2y0+ 5y = 0.

Sol.

S. Khomrutai (CU) Lin & Diff Eqns. Lecture 2 42 / 42

Referensi

Dokumen terkait