lecture 1

18
CHAPTER 2 Differential Equation

Upload: wraithxjmin

Post on 12-Nov-2014

2.203 views

Category:

Sports


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Lecture 1

CHAPTER 2

Differential Equation

Page 2: Lecture 1

Introduction

Consider x as an independent variable and y as dependent variable. An equation that involves at least one derivative of y with respect to x, e.g. n

n

dx

yd

dx

yd

dx

dy,.....,,

2

2

Is known as a differential equation or common differential equation.

Page 3: Lecture 1

dxxdy 32

b) 52 3 xdx

dy

c) xydx

dysin2

2

d) 07432

2

dx

dy

dx

yd

a)a)

Example of Differential Equation

Page 4: Lecture 1

Order is the highest derivative

Degree is the highest power of the highest

derivative

Examples: a)

8233

2

2

yx

dx

dy

dx

yd

This DE has order 2 (the highest derivative appearing is the second derivative) and degree 1 (the power of the highest derivative is 1.)

Order & Degree

Page 5: Lecture 1

In this chapter we only deal with first order,

first degree differential equations.

A solution for a differential equation is a

function whose elements and derivatives may be

substituted into the differential equation. There

are two types of solution for differential

equations

Page 6: Lecture 1

General solution – The general solution of a

differential equation contains an arbitrary

constant c.

Particular solution - The particular solution of

a differential equation contains a specified

initial value and containing no constant.

Solutions

Page 7: Lecture 1

Examples Of General Solution

This is already in the required form, so we

simply integrate:

, c is constant

032 dxxdyy

cdxxdyy 32

cxy

43

43

Page 8: Lecture 1

Example

011 dx

dyyxxy

First we must separate the variables:

011 dyyxdxxy Multiply throughout by dx

0

11

y

dyyxdxx Divide throughout by y

0

11

y

dyy

x

dxxDivide throughout by x

Page 9: Lecture 1

This gives us: 01

11

1

dy

ydx

x

We now integrate,

constant is

11

11

c,cx

ylnyx

cxlnylnyxcylnyxlnx

cdyy

dxx

Page 10: Lecture 1

Example

21 ydx

dye x

First we must separate the variables:

dxydye x 21 Multiply throughout by dx

dx

e

ydy

x

21 Divide throughout by xe

dx

edy

y x

1

1

12

Divide throughout by 21 y

Page 11: Lecture 1

This gives us: dxedyy x 21

We now integrate:

constant is ,1

1

11

1

1

1

2

ccey

cey

dxedyy

x

x

x

Page 12: Lecture 1

Separable Variables and Integrating Factors

Example

Solve the differential equation

012 dx

dyyexx y

First we must separate the variables:

cdyyedxxx

dyyedxxxy

y

1

012

2

Consider dxxx 12 :

Page 13: Lecture 1

cx

ct

ct

dtt

x

dttxdxxx

2

32

2

3

2

3

2

1

2

13

13

1

23

21

2

1

21 Thus,

By using substitution,

12 xt

x

dtdx

xdx

dt

2

2

Page 14: Lecture 1

Consider

Let

dyye y

yu dydu

dy

du

1

andye

dy

dv

y

y

y

ev

dyedv

dyedv

1

Thus,

yeeye

dyeye

vduuvdyye

y

yy

yy

y

By using integration by

part

Page 15: Lecture 1

2

32 1

3

1x cye y 1

The General Solution :

Page 16: Lecture 1

Example

Solve the differential equation

when x =0, y=5

First we must separate the variables:

2 yxdx

dy

xdxy

dy

2We now integrate:

xdx

y

dy

2

cx

y 2

2ln2

Page 17: Lecture 1

We now use the information which means

at , to find c.

0x 5y

c2

025ln

2

3lnc

So the particular solution is:

3ln2

2ln2

x

y

gives

Page 18: Lecture 1

Exercise :

Solve the initial value problem. Express the solution implicitly.

0 when 0;)2( 22

xyyxdx

dye xa.

0 when 0;)cos1()1(sin xydx

dyxex yb.