ME2 Week 3 First Order Diff Eqnsworked
ME2 Week 3 First Order Diff Eqnsworked
MOD002306
Week 3
First order differential equations
Outcomes
1. Revision of standard integrals
2. Solve first order differential equations using the
following methods:
a) Integration
b) Variables separable
c) Homogeneous equations ( using a substitution)
d) Integrating factor method
1.Integration as the reverse of differentiation
dx
2
x
Table of standard integrals
Function Integral
y= xn
y = ex
y = eax
y = cosx
y = cosax
y = sinx
y= sinax
y = 1/x
Review of integration
Recall rule for integrating xn
Integrate the following
4x3
5x6 - 7x + 3
2e4x – e-x
Cos2x - 3sin4x
2.Engineering applications of differential equations
Differential equations are used to model dynamic
systems (systems that change with time)
Examples
Electronic circuits with time-dependent voltages and
currents, flow rates, radio wave propagation, motion
of objects.
dx
If x represents distance then is velocity
dt
d 2x Is acceleration
And
dt 2
Differential equations in engineering
Examples of First order differential equations
Example 1
The streamlines of a fluid flow are given by the first
order differential equation dy x
dx y
Re-arrange to
dy dv
vx
dx dx
Example
Use the substitution y = vx, where v is a function of x,
to solve the differential equation
dy
xy x2 y2
dx
SUMMARY dy
Type 1 dy f(x) Type 2 f(y) g(x)
dx dx
dy
Type 3 P(x, y) Q(x, y)
dx
2. dy y dy
(x y) (y x) 4. (3y 2) (2x 2 1)
dx x dx
Exact type of first order differential equation
dy
P( x ) y Q( x )
dx
Can be solved by integrating both sides of the equation
Example1
dy
x y 3x 2
dx
How to recognise an exact equation
An equation whose coefficient of y is the derivative of the
coefficient of dy is exact
dx
Example 2
Solve the following exact equation
dy
x3
3x 2 y e2 x
dx
Type 4.The Integrating factor
All first order linear differential equations can be
written in the exact form dy
P( x ) y Q( x )
dx
Example 1
dy 3 e2x is not exact but multiplying through by x3
y 3
dx x x
gives dy
x3
3x 2 y e2x
dx
Ie P(x)dx
dy
Multiply differential equation P( x ) y Q( x )
dx
dy
1. 2y 2x 7
dx
2.
dy 1 ex
y
dx x x
3. dy
2xy x
dx
5.Example 1
Use an integrating factor to solve the differential equation
dy
5y e2x
dx
dy
Compare with P( x ) y Q( x )
dx
P(x) =
Ie P(x)dx
dy
P( x ) y Q( x )
dx
Example 2
Use an integrating factor to solve
dy 2
x y
dx x2
SUMMARY
Integrating factor method
• Differential equation needs to be in form
dy
P( x ) y Q( x )
dx