MATH 308 Lecture 14

From Notes
Jump to navigation Jump to search

« previous | Monday, February 18, 2013 | next »

Lecture Notes


Non-Homogeneous Equations

y3y+2y=1

yh=c1e2x+c2ex is solution to homogeneous problem y3y+2y=0

Let's look for a constant function solution to the nonhomogeneous function: y(t)=12

Guess particular solution yp=12+yh by looking at original diff EQ.

y3y+2y=yh3yh+2yh+1=0+1

The general solution to the non-homogeneous function is y=12+c1e2x+c2ex

Exercise 2

y5y+6y=ex

Corresponding homogeneous function is y5y+6y=0, and solution is yh=c1e2x+c2e3x.

We'll guess the particular solution is a constant undetermined coefficient multiplied into ex:

Cex5Cex+6Cex=exC=12

So yp=12ex is a particular solution to the non-homogeneous differential equation.

Combining the general solution to the homogeneous equation, we get

y=12ex+c1e2x+c2e3x

Exercie 3

y4y+3y=ex

General solution to y4y+3y=0 is yh=c1ex+c2e3x

Possible particular solution is of form y=Cex, so

Cex4Cex+3Cex=ex0=ex

Bad guess. This isn't surprising since c1ex is a solution to the homogeneous differential equation, so of course it will equal 0.

Note: To make good guesses for equations of form y+Ay+By=eCx, multiply it by x so that x has a degree one greater than the homogeneous solution

Let's try y=Cxex.

2Cex+Cxex4Cex4Cxex+3Cxex=ex2Cex=exC=12

So y=12xex is a particular solution to the non-homogeneous differential equation.

The general solution is y=12xex+c1ex+c2e3x

Exercise 5

y3y+2y=2x+3

Solution to homogeneous differential equation is yh=c1e2x+c2ex

Particular solution yp is a polynomial function of degree 1: yp=ax+b since the RHS is a polynomial of degree 1.

yp=ax+byp=ayp=0y3y+2y=03a+2ax+2b=2x+32a=22b=6

So our particular solution is yp=x+3


Exercise 6

Find a particular solution to y3y+2y=20sin(2x)

Solution to homogeneous function is yh=c1e2x+c2ex

Try particular solution yp=Asin2x+Bcos2x

yp=Asin2x+Bcos2xyp=2Acos2x2Bsin2xyp=4Asin2x2Bcos2xy3y+2y=4Asin2x2Bcosx6Acos2x+6Bsinx+2Asin2x+2Bcos2x=20sin2x(4A+6B+2A)sin2x+(4B6A+2B)cos2x=20sin2x

We're left with the system of equations

{2A+6B=202B+6A=0

We find that A=1 and B=3.

Therefore our general solution to the nonhomogeneous equation is y=sin2x+3cos2x+c1e2x+c2ex


Making Good Guesses

Given a linear second order differential operator with constant coefficients

ay+by+cy=g(x)

We have the following cases for g(x):

Exponentials

g(x)=eαx

A particular solution to the differential equation is in the form

y=kxseαx
  • s=0 if eαx is not a solution to the corresponding homogeneous problem.
  • s=1 if eαx is a solution to the corresponding homogeneous problem.
  • s=2 if eαx and xeαx are solutions to the corresponding homogeneous problem.

Polynomials

g(x)=Pn(x)=j=0nαjxj=αnxn+αn1xn1++α1x+α0

Where Pn is a polynomial function of degree n, then a particular solution is in the form y=xspn(x) where

  • pn is a polynomial function of degree n
  • s=1 if the constant functions are solutions to the corresponding homogeneous differential equation
  • s=0 otherwise.

Trigonometric

g(x)=pcosαx+qsinαx

A particular solution is in the form

y=xs(Acosαx+Bsinαx)
  • s=1 if cosαx is solution to the homogeneous solution
  • s=0 otherwise.