AEM First - Order - .Differential Equation
AEM First - Order - .Differential Equation
BITS Pilani
Pilani|Dubai|Goa|Hyderabad
Notation
• Leibniz notation d2y
dx 2
• Prime notation y
• Newton’s dot notation y
• Subscript notation (partial derivates with subscript indicating
independent variable)
uxx u yy 0
Already Solved
Solution of an ODE
• Any function , defined on an interval I and possessing at least n
derivatives that are continuous on I, which when substituted into an nth-
order ODE reduces the equation to an identity
• Interval I can be an open interval (a, b), a closed interval [a, b],
an infinite interval (a, ), etc.
• An open interval does not include its endpoints, and is indicated with parentheses. For
example, (0,1) means greater than 0 and less than 1.
• A closed interval is an interval which includes all its limit points, and is denoted with square brackets.
For example, [0,1] means greater than or equal to 0 and less than or equal to 1
y is an explicit solution
Is a solution to
ⅆ𝑥1
= 𝑓 𝑡, 𝑥1 , 𝑥2
ⅆ𝑡
ⅆ𝑥2
= 𝑔 𝑡, 𝑥1 , 𝑥2
ⅆ𝑡
dny
dx n (
= f x, y, y',..., y ( n-1)
)
• Initial conditions
y x0 y0 , y' ( x0 ) y1 ,..., y n1 x0 yn1
Example
Direction fields
• Slope of the lineal element
(tangent line) at (𝑥, 𝑦(𝑥)) on a
solution curve is the value of
ⅆ𝑦/ⅆ𝑥 at this point
• Direction/slope fields of
ⅆ𝑦/ⅆ𝑥 = 𝑓(𝑥, 𝑦) are collections
of lineal slope elements that
visually suggest the shape of a Direction field for ⅆ𝑦/ⅆ𝑥 = sin 𝑦
hold on
% Exact solution
syms y(x)
Dy= diff(y(x));
eqn= Dy-sin(y)==0;
cond= y(0)==1;
sol = dsolve(eqn,cond);
fplot(sol,'r','linewidth',2)
hold off
title('Blue directional fields vs
Red exact solution')
16 BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Solution Curves without a Solution
dy
A first-order DE of the form g x h y is said to be separable,
dx
or have separable variables
ⅆ𝑦
= 𝑔 𝑥 ℎ(𝑦)
Can be written as ⅆ𝑥 Can NOT be written as