MATH 308 Lecture 10

From Notes
Jump to navigation Jump to search

« previous | Friday, February 8, 2013 | next »

Begin Exam 2 content
Lecture Notes


Chapter 3

Solving second order linear differential equations

Section 3.1–3.4: Homogeneous with constant coefficients

P(x)y+Q(x)y+R(x)y=G(x)

When G(x)=0, equation is homogeneous When P(x), Q(x), and R(x) do not depend on x, the equation has constant coefficients

Examples:

Equation Linear Homogeneous Constant Coefficients
xy+3y+ysinx=ex Yes No No
y+xy=(yx)x Yes No No
y+xyy=xy No -- --
y=ysinx Yes Yes No
y+5y+3y=sinx Yes No Yes
y2y=5y No -- --

Theorem

Let y1 and y2 be two solutions to a second order homogeneous linear differential equation. Any linear combination c1y1+c2y2, for any real c1 and c2 is a solution to the differential equation.

Exercise 2

Given that y1(x)=e3x and y2(x)=e2x are solutions to the homogeneous equation

y5y+6y=0

Show that every linear combination c1y1+c2y2 for any c1,c2 is a solution to the homogeneous problem.


f(x)=c1e3x+c2e2xf(x)=c1e3x+c2e2x


f(x)=c1y1+c2y2f(x)=c1y1+c2y2f(x)=c1y1+c2y2

c1y1+c2y25(c1y1+c2y2)+6(c1y1+c2y2)=0c1(y15y1+6y1)+c2(y25y2+6y2)=0

  • y_1 is a solution: y15y1+6y1=0
  • y_2 is a solution: y25y2+6y2=0

Therefore f is a solution.


Find a solution that satisfies the initial condition y(0)=3 and y(0)=1.

Find f in the form c1e3x+c2e2x

f(x)=c1e3x+c2e2xf(x)=3c1e3x+2c2e2xf(0)=c1+c2=3f(0)=3c1+2c2=1c1=7c2=10

Therefore, the solution is 7e3x+10e2x


Exercise 3

Find the general solution to the differential equation y7y+12y=0. Look for a solution of the form y=erx.

y=erxy=rerxy=r2erx

So we have

r2erx7rerx+12erx=0r27r+12=0

This is called the characteristic equation.

Solving for r gives {3,4}, so the following formulae are solutions:

  • y1=e3x
  • y2=e4x

And any linear combination y=c1e3x+c2e4x is the general solution to the differential equation.

Characteristic Equation

Replace each derivative with a coefficient of the same degree.

For example, y3y10y=0 becomes r23r10=0.

Solving the characteristic gives coefficients for the exponential.


Exercise 4

Find the general solutino to the differential solution y+4y=0.

Characteristic equation is r2+4=0, and roots are r=±2i.

General complex valued solution is y=c1e2ix+c2e2ix.

Recall the Euler Formula: eiθ=cosθ+isinθ

The solution takes the form

y1=cos2x+isin2xy2=cos2x+isin2x=cos2xisin2x

Recombining we get

  • Let c1=c2=12, then y1+y22=cos2x
  • Let c1=c2=12i, then y1+y22=sin2x.

So we can express the solution as a linear combination of these two real functions:

y=c1cos2x+c2sin2x