Professional Documents
Culture Documents
4A
𝑑𝑦 1
= 𝑓 𝑥 𝑔(𝑦) න 𝑑𝑦 = න 𝑓(𝑥) 𝑑𝑥
𝑑𝑥 𝑔(𝑦)
4A
𝑑𝑦 1
= 𝑓 𝑥 𝑔(𝑦) න 𝑑𝑦 = න 𝑓(𝑥) 𝑑𝑥
𝑑𝑥 𝑔(𝑦)
4A
𝑑𝑦 1
= 𝑓 𝑥 𝑔(𝑦) න 𝑑𝑦 = න 𝑓(𝑥) 𝑑𝑥
𝑑𝑥 𝑔(𝑦)
x
Now we have the equation we can
sketch some examples from this
‘family’
4A
𝑑𝑦 1
= 𝑓 𝑥 𝑔(𝑦) න 𝑑𝑦 = න 𝑓(𝑥) 𝑑𝑥
𝑑𝑥 𝑔(𝑦)
4A
𝑑𝑦 1
= 𝑓 𝑥 𝑔(𝑦) න 𝑑𝑦 = න 𝑓(𝑥) 𝑑𝑥
𝑑𝑥 𝑔(𝑦)
4A
𝑑𝑦 1
= 𝑓 𝑥 𝑔(𝑦) න 𝑑𝑦 = න 𝑓(𝑥) 𝑑𝑥
𝑑𝑥 𝑔(𝑦)
4A
First order differential equations
𝑑 𝑑𝑣 𝑑𝑢
You can solve exact equations where The product rule 𝑢𝑣 = 𝑢 +𝑣
𝑑𝑥 𝑑𝑥 𝑑𝑥
one side is the exact derivative of a
product, and the other side can be
𝑑 3
integrated with respect to x Imagine we were finding: 𝑥 𝑦 (so u = x3 and v = y)
𝑑𝑥
Find the general solution of the We can use the product rule above
following equation:
𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
𝑥3
+ 3𝑥 2 𝑦 = 𝑠𝑖𝑛𝑥 𝑢𝑣 = 𝑢 +𝑣 𝑢 = 𝑥3 𝑣=𝑦
𝑑𝑥 𝑑𝑥 𝑑𝑥 Sub in the
𝑑𝑥 values to 𝑑𝑢 𝑑𝑣 𝑑𝑦
𝑑 3 𝑑𝑦 the right = 3𝑥 2 =
In this example you will not be able to 𝑥 𝑦 = 𝑥3 + 3𝑥 2 𝑦
𝑑𝑥 𝑑𝑥 𝑑𝑥
separate the variables easily, if at all! 𝑑𝑥 𝑑𝑥
4B
First order differential equations
You can solve exact equations where
one side is the exact derivative of a General pattern
product, and the other side can be
integrated with respect to x
This function … differentiates to
of x… this function of x
You can use a general pattern to see
whether this is doable.
4B
𝑑
𝑓 𝑥 𝑔′(𝑦) + 𝑓 ′ 𝑥 𝑔(𝑦) 𝑓 𝑥 𝑔(𝑦)
𝑑𝑥
𝑑𝑦
𝑓 𝑥 + 𝑓′ 𝑥 𝑦
𝑑𝑥
Can be written as:
𝑑
𝑓 𝑥 𝑦
𝑑𝑥
4B
𝑑
𝑓 𝑥 𝑔′(𝑦) + 𝑓 ′ 𝑥 𝑔(𝑦) 𝑓 𝑥 𝑔(𝑦)
𝑑𝑥
4B
𝑑𝑦 𝑑
𝑓 𝑥 + 𝑓′ 𝑥 𝑦 𝑓 𝑥 𝑔′(𝑦) + 𝑓 ′ 𝑥 𝑔(𝑦) 𝑓 𝑥 𝑔(𝑦)
𝑑𝑥 𝑑𝑥
4C
𝑑𝑦 𝑑
𝑓 𝑥 + 𝑓′ 𝑥 𝑦 𝑓 𝑥 𝑔′(𝑦) + 𝑓 ′ 𝑥 𝑔(𝑦) 𝑓 𝑥 𝑔(𝑦)
𝑑𝑥 𝑑𝑥
4C
𝑑𝑦 𝑑
𝑓 𝑥 + 𝑓′ 𝑥 𝑦 𝑓 𝑥 𝑔′(𝑦) + 𝑓 ′ 𝑥 𝑔(𝑦) 𝑓 𝑥 𝑔(𝑦)
𝑑𝑥 𝑑𝑥
𝑑𝑦 𝑑𝑦 𝑑𝑦
+ 𝑃𝑦 = 𝑄 𝑓(𝑥) + 𝑓(𝑥)𝑃𝑦 = 𝑓 𝑥 + 𝑓′ 𝑥 𝑦
𝑑𝑥 𝑑𝑥 𝑑𝑥 The second terms
must be equal if the
Where P and Q are functions of x. sides are equal
𝑓 𝑥 𝑃𝑦 = 𝑓 ′ 𝑥 𝑦
Divide by y
′
Our objective here is to find a 𝑓 𝑥 𝑃=𝑓 𝑥
function of x, f(x), that we can Divide by
multiply by to make the equation exact. 𝑓′ 𝑥 f(x)
𝑃=
It needs to be in terms of what we 𝑓(𝑥)
already have.
4C
𝑑𝑦
𝑓 𝑥 + 𝑓′ 𝑥 𝑦
𝑑𝑥
Our objective here is to find a If we have a differential equation in the form shown
function of x, f(x), that we can to the left…
multiply by to make the equation exact.
It needs to be in terms of what we You can multiply all terms by 𝑒 𝑥𝑑 𝑃 to make it exact
already have.
After this, you can follow the process from before!
4C
𝑑𝑦 𝑑𝑦
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑓 𝑥 + 𝑓′ 𝑥 𝑦
𝑑𝑥 𝑑𝑥
4C
𝑑𝑦 𝑑𝑦
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑓 𝑥 + 𝑓′ 𝑥 𝑦
𝑑𝑥 𝑑𝑥
4C
𝑑𝑦 𝑑𝑦
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑓 𝑥 + 𝑓′ 𝑥 𝑦
𝑑𝑥 𝑑𝑥
4C
𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑢𝑣 = 𝑢 +𝑣
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
4D
𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑢𝑣 = 𝑢 +𝑣
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
4D
𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑢𝑣 = 𝑢 +𝑣
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
4D
𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑢𝑣 = 𝑢 +𝑣
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
4D
𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑢𝑣 = 𝑢 +𝑣
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
4D
𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑢𝑣 = 𝑢 +𝑣
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
4D
𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑢𝑣 = 𝑢 +𝑣
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑧 = 1 + 𝐶𝑒 2
𝑥2
− z = y-1 so z = 1/y
𝑒 2 𝑥2
1
= 1 + 𝐶𝑒 2
𝑦 Rearrange (flip both
1 sides effectively)
𝑦= 𝑥2
1 + 𝐶𝑒 2
4D
𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
+ 𝑃𝑦 = 𝑄 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑦 𝑎𝑙𝑙 𝑏𝑦 𝑒 𝑥𝑑 𝑃 𝑢𝑣 = 𝑢 +𝑣
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥