FP2 Chp4 FirstOrderDifferentialEquations
FP2 Chp4 FirstOrderDifferentialEquations
Differential Equations
Dr J Frost ([email protected])
www.drfrostmaths.com
( )
proportional to where is the current 𝑑𝑃 𝑃
population and is the limiting size of =𝑘𝑃 1−
the population 𝑑𝑡 𝑀
(the Verhulst-Pearl Model)
As you might imagine, they’re used a lot in physics and engineering, including modelling radioactive
decay, mixing fluids, cooling materials and bodies falling under gravity against resistance.
A ‘first order’ differential equation means the equation contains the first derivative () but not the
second derivative or beyond.
C4 recap
and are said to be ‘separated’ because
they are not mixed in the same expression.
Divide through by
and times through
by .
𝑦
So the ‘family of
If we let , we get circles’ satisfies this
differential equation.
?
𝑥
Examples
Find general solutions to Find general solutions to
? ?
Particular solutions
Just like at the end of C1 integration, we can fix to one particular solution if we
give some conditions.
Find the particular solutions for which satisfy the initial conditions when .
1
−
∫ 𝑥 𝑑𝑥=∫ 1𝑑𝑦
2
Some people (including myself) like to sub in
? as soon as possible before rearranging.
Exercise 4A
Using reverse product rule
We will see in a bit how to solve equations of the form (where and are functions
of ). We’ll practice a particular part of this method before going for the full whack.
𝑑 2
( 𝑥 𝑦 ) =𝒙 𝟐? 𝒅𝒚 𝑑𝑦 3 𝒅 𝟒 ?
+𝟐 𝒙𝒚
𝑥 +4𝑥 𝑦→ ( 𝒙 𝒚 )
4
𝑑𝑥 𝒅𝒙? ?
So it appears whatever term ends up on
front of the will be on the front of the in
𝑑𝑥 𝒅𝒙?
the integral.
Using reverse product rule
Find general solutions of the equation
𝑑 3 ?
( 𝑥 𝑦 ) =sin 𝑥
𝑑𝑥
Test Your Understanding
Find general solutions of the equation Find general solutions of the equation
𝑑
𝑑𝑥 ( ) 𝑦
𝑥
? =𝑒
𝑥 𝑑
𝑑𝑥
( 2𝑥 𝑦 ) =𝑥
?2 2
But what if we can’t use the product rule backwards?
We can multiply through by the integrating factor . This then produces an equation where
we can use the previous reverse-product-rule trick (we’ll prove this in a sec).
∫ − 4 𝑑𝑥 ? −4 𝑥
𝐼 . 𝐹 .=𝑒 =𝑒
Then multiplying through by the integrating factor:
−4 𝑥 𝑑𝑦 −4 𝑥 −3 𝑥
𝑒 − 4 𝑒 ? 𝑦 =𝑒
𝑑𝑥
Then we can solve in the usual way:
𝑑
( 𝑦 𝑒 ? )=𝑒
−4 𝑥 − 3𝑥
𝑑𝑥
Proof that Integrating Factor works
If we can use the reverse product rule trick on the LHS, then it would be
of the form:
? two LHSs:
Thus comparing the coefficients of the
?
When there’s something on front of the
𝑑𝑦
STEP 1: Divide by anything
? on front of
3
+2 𝑦 tan 𝑥=cos 𝑥
? STEP 2: Determine IF
You could skip to
here provided STEP 3: Multiply through
𝑑𝑥
? you don’t forget
to multiply the
by IF and use product rule
RHS by the IF. backwards.
?
Exercise 4C
Making a substitution
Sometimes making a substitution will turn a more complex differential equation into one
like we’ve seen before.
𝑦
find and sub out.
?
𝑧= →𝑦=𝑥𝑧
Sub in and
?
Simplify to either get
𝑥
or
1 𝑑𝑦 1 𝑑𝑧
𝑦= , =− 2
The and are separable here
(but factorising out ), so we
could have done without an IF.
?
𝑧 𝑑𝑥 𝑧 𝑑𝑥
Test Your Understanding
FP2 June 2012 Q7
(a) Show that the substitution transforms the differential equation
(b) By solving differential equation (II), find a general solution of differential equation (I) in the
form .
(c) Given that at , find the value of at .
a?
b?
c?
Exercise 4D/E