why study differential equations?
TRANSCRIPT
![Page 1: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/1.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 1
Mustansiriyah University - College of Basic Education - Department of Mathematics
Chapter One: Basic and Review
MOTIVATION:
Why study differential equations?
Suppose we know how a certain quantity changes with time (for example, the
temperature of coffee in a cup, the number of people infected with a virus). The rate of
change of this quantity is the derivative, so we can work out how quickly the temperature
changes, how quickly the number of infected people changes.
Suppose instead we know the value of the quantity now and we wish to predict its
value in the future. To do this, we must know how quickly the quantity is changing. But
the rate of change of a quantity will depend on the quantity itself: this gives rise to a
differential equation.
EXAMPLE: Suppose that N(t) is the number of bacteria growing on a plate of nutrients.
At the start of the experiment, suppose that there are 1000 bacteria, so N(0) = 1000. The
rate of change of N will be proportional to N itself: if there are twice as many bacteria, then
N will grow twice as rapidly. So we have:
ππ
ππ‘= ππ
where c is a constant, and ππ
ππ‘ is the derivative (rate of change) of N with respect to time.
We would have to do further experiments to find out the value of c. We can easily verify
that: π(π‘) = 1000πππ‘
is a solution of this differential equation with the given initial condition. To do this, first
calculate N(0) and verify that it is the same as the number given:
π(0) = 1000ππ(0) = 1000(1) = 1000
Next, calculate ππ
ππ‘ and verify that it satisfies the differential equation:
ππ
ππ‘= 1000ππππ‘ = π(1000πππ‘) = ππ as required.
![Page 2: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/2.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 2
Mustansiriyah University - College of Basic Education - Department of Mathematics
The derivative:
The derivative of a function y(x) at a particular value of x is the slope of the tangent
to the curve at the point P, or (x; y(x)).
Suppose y(x) is a function; then the derivative ππ¦
ππ₯ at a particular value of x is the
slope of the curve at the point P (or, the slope of the line that is tangent to the curve
at the point P):
If Q is a neighboring point on the curve, then we can take the limit as Q tends to P:
![Page 3: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/3.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 3
Mustansiriyah University - College of Basic Education - Department of Mathematics
Review of Differentiation Formulas:
Powers of π₯ rule:
If π(π₯) = π₯π, then πβ²(π₯) = π(π₯)πβ1
Constant rule:
If π(π₯) = πΆ, then πβ²(π₯) = 0
Coefficient rules:
If π(π₯) = π β π’(π₯), then πβ²(π₯) = π β π’β²(π₯)
If π(π₯) = π β π₯π, then πβ²(π₯) = ππ(π₯)πβ1
If π(π₯) = ππ₯, then πβ²(π₯) = π
Sum rule:
If π(π₯) = π’(π₯) + π£(π₯), then πβ²(π₯) = π’β²(π₯) + π£β²(π₯)
Difference rule:
If π(π₯) = π’(π₯) β π£(π₯), then πβ²(π₯) = π’β²(π₯) β π£β²(π₯)
Product rule:
If π(π₯) = π’(π₯) β π£(π₯), then πβ²(π₯) = π’β²(π₯) β π£(π₯) + π’(π₯) β π£β²(π₯)
Quotient rule:
If π(π₯) =π’(π₯)
π£(π₯), then πβ²(π₯) =
π’β²(π₯)βπ£(π₯)βπ’(π₯)βπ£β²(π₯)
(π£(π₯))2
Power (Chain) rule:
If π(π₯) = (π’(π₯))π
, then πβ²(π₯) = π(π’(π₯))πβ1
β π’β²(π₯)
Derivative of Natural Log:
If π(π₯) = ln π₯, then πβ²(π₯) =1
π₯
If π(π₯) = ln π’(π₯), then πβ²(π₯) =1
π’(π₯)β π’β²(π₯)
![Page 4: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/4.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 4
Mustansiriyah University - College of Basic Education - Department of Mathematics
Derivative of Exp. Function:
If π(π₯) = ππ₯, then πβ²(π₯) = ππ₯
If π(π₯) = ππ’(π₯), then πβ²(π₯) = ππ’(π₯) β π’β²(π₯)
Properties of Natural Log:
ln(π. π) = ln(π) + ln(π)
ln (π
π) = ln(π) β ln(π)
ln(ππ) = π ln(π)
Properties of Exp. Function:
ππ. ππ = ππ+π
ππ
ππ= ππβπ
(ππ)π = ππ.π
ln(ππ₯) = x
πππ(π₯) = x
Trigonometric Functions:
If π(π₯) = sin(π₯), then πβ²(π₯) = cos(π₯)
If π(π₯) = cos(π₯), then πβ²(π₯) = βπ ππ(π₯)
If π(π₯) = tan(π₯), then πβ²(π₯) = sec2(π₯)
If π(π₯) = cot(π₯), then πβ²(π₯) = βcsc2(π₯)
If π(π₯) = sec(π₯), then πβ²(π₯) = sec(π₯)tan(π₯)
If π(π₯) = csc(π₯), then πβ²(π₯) = βcsc(π₯)cot(π₯)
![Page 5: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/5.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 5
Mustansiriyah University - College of Basic Education - Department of Mathematics
Some Rules of Integrals:
β« πππ₯ = ππ₯ + π
β« π₯πππ₯ =π₯π+1
π + 1+ π
β« ππ₯πππ₯ =π
π+1π₯π+1 + π
β« π’(π₯)π β π’β²(π₯)ππ₯ = β« π’πππ’ =π’(π₯)π+1
π+1+ π,πππ β β1. (ππ’ = π’β²ππ₯)
β« ππ₯ππ₯ = ππ₯ + π
β« ππ’(π₯)π’β²(π₯)ππ₯ = β« ππ’ππ’ = ππ’(π₯) + π
β«1
π₯ππ₯ = ln|π₯| + π
β«1
π’(π₯)β π’β²(π₯)ππ₯ = β«
1
π’ππ’ = ln|π’(π₯)| + π
β« sin(π’)ππ’ = βcos(π’) + π
β« cos(π’)ππ’ = sin(π’) + π
β« sec2(π’)ππ’ = tan(π’) + π
β« csc2(π’)ππ’ = -cot(π’) + π
β« sec(π’)tan(π’)ππ’ = sec(π’) + π
β« csc(π’)cot(π’)ππ’ = βcsc(π’) + π
Integration by parts : β« π’ππ£ = π’π£ β β« π£ππ’
Note: ππ₯+π π¦
π₯π¦ can be transferred into
π΄
π₯+
π΅
π¦for some values of A and B
Example: : 2π₯+3π¦
π₯π¦ =
π΄
π₯+
π΅
π¦=:
π΄π¦+π΅π₯
π₯π¦β π΄π¦ + π΅π₯ = 2π₯ + 3π¦ β π΄ = 3, π΅ = 2
Hence, 2π₯+3π¦
π₯π¦ =
3
π₯+
2
π¦
![Page 6: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/6.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 6
Mustansiriyah University - College of Basic Education - Department of Mathematics
DEFINITION: ( Differential Equation (DE))
An equation containing some derivatives of an unknown function (or dependent
variable), with respect to one or more independent variables, is said to be a
differential equation (DE).
To talk about them, we shall classify differential equations according to type, order,
degree, and linearity.
NOTE: (Dependent and independent variables)
In general, for any given equation, there are two types of variables:
Independent variables - The values that can be changed or controlled in a given
equation. They provide the "input" which is modified by the equation to change the
"output."
Dependent variables - The values that result from the independent variables. For
example,
EXAMPLES:
1- π¦ = π¦(π₯) = π₯3 + 2π₯2 β 5
x: is the independent variable y: is the dependent variable
2- π(π‘) = 1000πππ‘
t: is the independent variable N: is the dependent variable
3- π¦ = π(π₯, π‘) = π‘3 + 2π₯2 β 5
x and t: are the independent variables y: is the dependent variable
![Page 7: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/7.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 7
Mustansiriyah University - College of Basic Education - Department of Mathematics
NOTE: (Ordinary derivatives)
If the function π¦ = π¦(π₯) has a single (only one) independent variable, all derivatives
of y are called ordinary derivatives and are defined as follows:
ππ¦
ππ₯= π¦β² is called the first derivative of y with respect of x.
π2π¦
ππ₯2= π¦β²β² is called the derivative of π¦β² with respect of x.
OR π2π¦
ππ₯2= π¦β²β² is called the second derivative of y with respect of x.
π3π¦
ππ₯3= π¦β²β²β² is called the third derivative of y with respect of x.
π4π¦
ππ₯4= π¦(4) is called the fourth derivative of y with respect of x.
In general, πππ¦
ππ₯π= π¦(π) is called the n-th derivative of y with respect of x.
NOTE: The ordinary derivative ππ¦
ππ₯ of a function π¦ = π¦(π₯) is itself another function
π¦β² = π¦β²(π₯) found by an appropriate rule.
EXAMPLE: Let π¦ = π¦(π₯) = π₯3 + 2π₯2 β 5 be a function, so π¦β² is another function
such that: ππ¦
ππ₯= π¦β² = π¦β²(π₯) = 3π₯2 + 4π₯
NOTE: (Partial derivatives)
If the function y has two or more independent variables, the derivatives of y are called
partial derivatives. For example, if π¦ = π¦(π₯, π‘), the partial derivatives of y are defined
as follows:
ππ¦
ππ₯= π¦π₯ is called the partial derivative of y with respect of x.
ππ¦
ππ‘= π¦π‘ is called the partial derivative of y with respect of t.
![Page 8: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/8.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 8
Mustansiriyah University - College of Basic Education - Department of Mathematics
π2π¦
ππ₯2= π¦π₯π₯ is called the partial derivative of π¦π₯ with respect of x.
π2π¦
ππ₯ππ‘= π¦π₯π‘ is called the partial derivative of π¦π₯ with respect of t.
π2π¦
ππ‘2= π¦π‘π‘ is called the partial derivative of π¦π‘ with respect of t.
EXAMPLE: Let π¦ = π¦(π₯, π‘) = π‘π₯3 + 2π‘2 β 5 , we can find the partial derivatives
as follows:
ππ¦
ππ₯= π¦π₯ = 3π‘π₯2
ππ¦
ππ‘= π¦π‘ = π₯3 + 4π‘
π2π¦
ππ₯2= π¦π₯π₯ = 6π‘π₯
π2π¦
ππ₯ππ‘= π¦π₯π‘ = 3π₯2
π2π¦
ππ‘ππ₯= π¦π‘π₯ = 3π₯2
π2π¦
ππ‘2= π¦π‘π‘ = 4
Classification by Type:
Type 1: Ordinary Differential Equation (ODE) : a differential equation contains
some ordinary derivatives of an unknown function with respect to a single
independent variable is said to be an ordinary differential equation (ODE).
EXAMPLE: The following Equations are examples of ordinary differential equations
(ODEs) : ππ¦
ππ₯+ 5π¦ = ππ₯ ,
π2π¦
ππ₯2+
ππ¦
ππ₯+ 6π¦ = 0, π’β²β² + sin(π’) = π‘2
![Page 9: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/9.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 9
Mustansiriyah University - College of Basic Education - Department of Mathematics
Type 2: Partial Differential Equation (PDE) : An equation involving some partial
derivatives of an unknown function of two or more independent variables is called a
partial differential equation (PDE).
EXAMPLE: The following equations are partial differential equations (PDEs)
Classification by Order: The order of a differential equation (either ODE
or PDE) is the order of the highest derivative in the equation. For example,
is a second-order ordinary differential equation.
Classification by Degree: The degree of a differential equation is the power of the
highest order derivative in the equation.
EXAMPLES:
is an ODE of order 3 and degree 1
is an ODE of order 2 and degree 3
Remark: Not every differential equation has a degree. If the derivatives or the unknown
function occur within radicals , fractions, radicals, trigonometric functions or logarithms,
then the equation may not have a degree.
![Page 10: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/10.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 10
Mustansiriyah University - College of Basic Education - Department of Mathematics
Note: In Mathematics the concept of (linear equation), with respect to a variable, just
means that the variable in an equation appears only with a power of one and is not
multiplied by a non-constant function of the same variable. For examples,
π¦2 + π₯ = 0, is linear function with respect to π₯, whereas it is nonlinear with respect to π¦.
π¦π ππ(π¦) + 1π₯β is nonlinear function with respect to both of π¦ and π₯.
Classification by Linearity: We say that the DE is linear, if it is linear with respect to
the unknown function and its derivatives (each one of them appears with power of one and
they are not multiplied by each other). Otherwise, it is called Nonlinear.
Here are some examples:
π¦β²β² + π¦ = ππ₯ is linear π¦β²β² + log(π₯)π¦β² + π₯π¦ = 0is linear
π¦β² + 1/π¦ = 0 is non-linear because 1/π¦ is not of power one
π¦β² +y2= 0 is non-linear because π¦2 is not of power one
yy' + sin(x) = 0 is non-linear because y is multiplied by its first derivative.
DEFINITION: π¦ = π¦(π‘)is called a solution of the ODE on the interval πΌ β β if it
satisfies the equation, and it is defined on I.
EXAMPLE: π¦ = ππβπ₯ + 2is the solution of the ODE π¦β² + π¦ = 2 on β because
it is defined on β and it satisfies the ODE as follows:
π¦β² + π¦ = (ππβπ₯ + 2)β² + (ππβπ₯ + 2) = βππβπ₯ + ππβπ₯ + 2 = 2
NOTE: The general form of ordinary differential equations of order n takes the
form: π¦(π) = π(π₯, π¦β², π¦β²β², β¦β¦β¦ . . π¦(πβ1))
![Page 11: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/11.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 11
Mustansiriyah University - College of Basic Education - Department of Mathematics
DEFINITION: Consider that, we have an ODE of order n, if we know the value of
y and some of its derivatives at a particular point π₯0, such as:
π¦(π₯0) = π¦0, π¦β²(π₯0) = π¦1, β¦β¦β¦ . , π¦(πβ1)(π₯0) = π¦πβ1
Then this problem is called initial value problem (IVP), while these values are
called initial conditions.
NOTE: For ODEs of order one, the initial value problem takes the form:
π¦β² = π(π₯, π¦),π¦(π₯0) = π¦0
SETRATIGY: The initial value problem (IVP) of order one can be solved in two
steps:
1- Find the general solution of the ODE, π¦ = π¦(π₯, π)
2- Using the initial condition, plug it into the general solution and solve for c.
EXAMPLE: Solve the initial value problem (IVP):
π¦β² = π¦2 , π¦(0) = β1
Solution: step 1: π¦β² = π¦2 βππ¦
ππ₯= π¦2 β
ππ¦
π¦2= ππ₯
β β«ππ¦
π¦2= β« ππ₯ β
β1
π¦= x + c
The general solution is π¦ = β1
π₯+π which is defined on β/{βπ}
Step 2: π¦ = β1
π₯+π and π¦(0) = β1, So π¦(0) =
β1
0+π=
β1
π= β1 β π = 1
Finally, π¦ = β1
π₯+π=
β1
π₯+1 is the solution of the above IVP.
![Page 12: Why study differential equations?](https://reader030.vdocuments.us/reader030/viewer/2022012519/6193d6a735536a4eeb4f2bda/html5/thumbnails/12.jpg)
Ordinary Differential Equations Chapter One: Basic and Review Spring 2018
Dr. Maan A. Rasheed & Dr. Hassan A. Al-Dujaly & Mustafa A. Sabri Page 12
Mustansiriyah University - College of Basic Education - Department of Mathematics
Exercises for Chapter One:
I. For each of the following DE, state the Type (ODE or PDE), the Order, the
Degree, and Linearity (linear or nonlinear):
5.
6.
II. Verify whether or not that the indicated function is a solution of the given
differential equation on the interval (ββ,β):
III. Show that π¦ = 5ππ₯ , is the solution of the following IVP:
π¦β² = π¦ , π¦(0) = 5