Вы находитесь на странице: 1из 36

4/23/2016

DifferentialEquations

Differential Equations
These equations, containing a derivative, involve rates of change so often appear in an
engineering or scientific context.
Solving the equation involves integration.

The order of a differential equation is given by the highest derivative used.


The degree of a differential equation is given by the degree of the power of the highest
derivative used.

Examples :-

http://www.mathsmutt.co.uk/files/diffeq.htm

1/36

4/23/2016

DifferentialEquations

Types of differential equations :-

First order Differential Equations


First order Linear Differential Equations
Second order Linear Differential Equations
Second order non homogeneous Differential Equations
http://www.mathsmutt.co.uk/files/diffeq.htm

2/36

4/23/2016

DifferentialEquations

Examples of Differential Equations

First order Differential Equations


Solving by direct integration
The general solution of differential equations of the form
can be found using direct integration.
Substituting the values of the initial conditions will give
Example
Solve the equation

http://www.mathsmutt.co.uk/files/diffeq.htm

3/36

4/23/2016

DifferentialEquations

Example
Find the particular solution of the
differential equation

http://www.mathsmutt.co.uk/files/diffeq.htm

4/36

4/23/2016

DifferentialEquations

given y = 5 when x = 3

http://www.mathsmutt.co.uk/files/diffeq.htm

5/36

4/23/2016

DifferentialEquations

Example
A straight line with gradient 2 passes through
the point (1,3). Find the equation of the line.

A variables separable differential equation is one


in which the equation can be written with all the terms
for one variable on one side of the equation, and the other
terms on the other side.

http://www.mathsmutt.co.uk/files/diffeq.htm

6/36

4/23/2016

DifferentialEquations

Example
Find the general solution of the differential equation

Example
http://www.mathsmutt.co.uk/files/diffeq.htm

7/36

4/23/2016

DifferentialEquations

Find the general solution of the differential equation

Example
Find the particular solution of the differential equation
http://www.mathsmutt.co.uk/files/diffeq.htm

8/36

4/23/2016

DifferentialEquations

given y = 2 when x = 1

Partial fractions are required to break the left hand side of the equation into a form which
can be integrated.

http://www.mathsmutt.co.uk/files/diffeq.htm

9/36

4/23/2016

DifferentialEquations

so

which integrates to general solution

http://www.mathsmutt.co.uk/files/diffeq.htm

10/36

4/23/2016

DifferentialEquations

substitute values for particular solution

http://www.mathsmutt.co.uk/files/diffeq.htm

11/36

4/23/2016

DifferentialEquations

Linear Differential Equations


These are first degree differential equations.

describes a general linear differential equation of order n,


where an(x), an-1(x),etc and f(x) are given functions of x or constants.
Louis Arbogast introduced the differential operator
D = d/dx , which simplifies the general equation to

or

If f(x) = 0 , the equation is called homogeneous.


If f(x) 0 , the equation is non-homogeneous

http://www.mathsmutt.co.uk/files/diffeq.htm

12/36

4/23/2016

DifferentialEquations

First order Linear Differential Equations


To solve equations of the form

1) Express in standard form

where P and Q are functions of x or constants


2) Multiply both sides by the Integrating Factor

3) Write

4) Integrate the right hand side,


use integration by parts if necessary

http://www.mathsmutt.co.uk/files/diffeq.htm

13/36

4/23/2016

DifferentialEquations

5) Divide both sides by the integrating factor.


This gives the General solution.
6) Use any initial conditions to find
particular solutions.

Example
Find a general solution of the equation

http://www.mathsmutt.co.uk/files/diffeq.htm

14/36

4/23/2016

DifferentialEquations

so

http://www.mathsmutt.co.uk/files/diffeq.htm

15/36

4/23/2016

DifferentialEquations

Example
Find a general solution of the equation

where x 2 , and hence find the particular solution


for y = 1 when x=-1
http://www.mathsmutt.co.uk/files/diffeq.htm

16/36

4/23/2016

DifferentialEquations

http://www.mathsmutt.co.uk/files/diffeq.htm

17/36

4/23/2016

http://www.mathsmutt.co.uk/files/diffeq.htm

DifferentialEquations

18/36

4/23/2016

DifferentialEquations

Second order Linear Differential Equations


To solve equations of the form

1) Write down the auxiliary equation


am2 +bm + c = 0
http://www.mathsmutt.co.uk/files/diffeq.htm

19/36

4/23/2016

DifferentialEquations

(why this works, UCL.ac.uk)


2) Examine the discriminant of the auxiliary equation.
3) For real and distinct roots, m1 and m2,
the general solution is

4) For real and equal roots,


the general solution is

5)For complex conjugate roots,


m1= p + iq and m2 = p - iq ,
the general solution is

6) Use any initial conditions to find the particular solution.

Example
Find the general solution of the equation
http://www.mathsmutt.co.uk/files/diffeq.htm

20/36

4/23/2016

DifferentialEquations

and the particular solution for which


y = 7 when x=0 and dy/dx = 7

http://www.mathsmutt.co.uk/files/diffeq.htm

21/36

4/23/2016

DifferentialEquations

http://www.mathsmutt.co.uk/files/diffeq.htm

22/36

4/23/2016

DifferentialEquations

Example
Find the general solution of the equation

and the particular solution for


y=0 and dy/dx = 3 when x=0

http://www.mathsmutt.co.uk/files/diffeq.htm

23/36

4/23/2016

DifferentialEquations

http://www.mathsmutt.co.uk/files/diffeq.htm

24/36

4/23/2016

http://www.mathsmutt.co.uk/files/diffeq.htm

DifferentialEquations

25/36

4/23/2016

DifferentialEquations


Example
Find the general solution of the equation

http://www.mathsmutt.co.uk/files/diffeq.htm

26/36

4/23/2016

DifferentialEquations

Second order non homogeneous Differential Equations


The solution to equations of the form

http://www.mathsmutt.co.uk/files/diffeq.htm

27/36

4/23/2016

DifferentialEquations

has two parts, the complementary function (CF)


and the particular integral (PI).
so Q(x) = CF +PI
The CF is the general solution as described above
for solving homogeneous equations .
The Particular Integral is found by substituting
a form similar to Q(x) into the left hand side equation,
and equating co-efficients.

If Q(x) is a linear function, try y = Cx +D

If Q(x) is quadratic, try Cx2 +Dx +E


If Q(x) is wave function, try CSinx +Dcosx
If Q(x) is a constant, try y = C
If Q(x) is ekx, try y = Cekx

The PI cannot have the same form as anyof the terms in the CF,
so care has to be taken to ensure that this is not the case.
In such a situation, an extra x term is usually introduced to the PI.

http://www.mathsmutt.co.uk/files/diffeq.htm

28/36

4/23/2016

DifferentialEquations

A particular solution is found by substituting initial conditions into the general solution. Do

not just use the CF!!!


Example

Find the general solution of the equation

http://www.mathsmutt.co.uk/files/diffeq.htm

29/36

4/23/2016

DifferentialEquations

http://www.mathsmutt.co.uk/files/diffeq.htm

30/36

4/23/2016

DifferentialEquations

Example
Find the general solution of the equation

and the particular solution for


y=0 and dy/dx = 5 when x=0

http://www.mathsmutt.co.uk/files/diffeq.htm

31/36

4/23/2016

http://www.mathsmutt.co.uk/files/diffeq.htm

DifferentialEquations

32/36

4/23/2016

DifferentialEquations

Now, substitute these back into the original equation

http://www.mathsmutt.co.uk/files/diffeq.htm

33/36

4/23/2016

DifferentialEquations

Now find the particular solution

http://www.mathsmutt.co.uk/files/diffeq.htm

34/36

4/23/2016

DifferentialEquations

Phew!!

More Info
http://www.mathsmutt.co.uk/files/diffeq.htm

35/36

4/23/2016

DifferentialEquations

http://en.wikipedia.org/wiki/Differential_equation
http://en.wikipedia.org/wiki/Ordinary_differential_equation
http://en.wikipedia.org/wiki/Linear_differential_equation
http://en.wikipedia.org/wiki/Superposition_principle
http://en.wikipedia.org/wiki/Integrating_factor
Some examples of differential equations

http://en.wikipedia.org/wiki/Examples_of_differential_equations
http://en.wikipedia.org/wiki/RC_circuit
http://en.wikipedia.org/wiki/Classical_mechanics
http://en.wikipedia.org/wiki/Dynamical_systems
http://en.wikipedia.org/wiki/Numerical_methods
http://en.wikipedia.org/wiki/Newton%27s_Laws
http://en.wikipedia.org/wiki/Radioactive_decay
http://en.wikipedia.org/wiki/Wave_equation
http://en.wikipedia.org/wiki/Schr%C3%B6dinger_equation
http://en.wikipedia.org/wiki/Shallow_water_equations
http://en.wikipedia.org/wiki/Maxwell%27s_equations
http://en.wikipedia.org/wiki/Harmonic_oscillator
http://en.wikipedia.org/wiki/Vector_space
http://en.wikipedia.org/wiki/Method_of_undetermined_coefficients
http://en.wikipedia.org/wiki/Euler%27s_formula
http://en.wikipedia.org/wiki/Poisson%27s_equation
http://en.wikipedia.org/wiki/Quantum_mechanics
http://en.wikipedia.org/wiki/Verhulst_equation

http://www.mathsmutt.co.uk/files/diffeq.htm

36/36

Вам также может понравиться