CH02 Slides
CH02 Slides
First-Order
Differential
Equations
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com.
Outline
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
2.2 Separable Equations
2.3 Linear Equations
2.4 Exact Equations
2.5 Solutions by Substitutions
2.6 A Numerical Method
2.7 Linear Models
2.8 Nonlinear Models
2.9 Modeling with Systems of First-Order DEs
Solution Curves Without a Solution
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
Two approaches are:
Direction fields
Autonomous first-order DEs
Solution Curves Without a Solution (cont’d.)
Direction fields
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
Slope of the lineal element
(tangent line) at (x,y(x)) on a
solution curve is the value of
dy/dx at this point
Direction/slope fields of dy/dx
= f(x, y) are collections of lineal
slope elements that visually
suggest the shape of a family of
solution curves
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
dy dy
autonomous 1 y2 0.2 xy nonautonomous
dx dx
Critical points, f c 0 , are constant (or equilibrium) solutions of autonomous DEs
A phase portrait is made by putting critical points on a vertical line with phase lines
pointing up or down, depending on the sign of the function over intervals between
the points
Solution Curves Without a Solution (cont’d.)
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
solutions curves to autonomous DEs
If a solution y x passes through x0 , y0 in subregion Ri,
then y x remains in Ri
dy
f x, y
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
Consider
dx
dy
When f does not depend on y, dx g x , which can be solved by integration?
The solution y g x dx G x c where G x is an antiderivative
(indefinite integral)
dy
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
A first-order DE of the form g x h y is said to be separable, or have
dx
separable variables
A separable equation can be rewritten in the form p y dy g x dx , which
is solved by integrating both sides
Linear Equations
dy
A first-order DE of the form 1 dx a0 x y g x is a linear
a x
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
equation in the dependent variable y
The DE is homogenous when g x 0 ; otherwise, it is
nonhomogenous
The standard form of a linear DE is obtained by dividing
both sides by the lead coefficient
dy
P x y f x
dx
Linear Equations (cont’d.)
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
solution y is the sum of the solution of the associated
homogenous equation yc and the particular solution of the
nonhomogenous equation yp
The homogenous equation is separable, allowing us to
solve for yc
Variation of parameters can be used to solve the
nonhomogenous equation for yp
Exact Equations
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
differential in a region R of the xy-plane if it corresponds
to the differential of some function f x, y
M x, y dx N x, y dy 0 is an exact equation if the left
side is an exact differential
A condition of exact differentials is:
M N
y x
Exact Equations (cont’d.)
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
With M x, y 2 xy and N x, y x 2 1 we have
M N
2x
y x
The equation is exact so there exists f x, y such that
f f
2 xy x2 1
x y
Integrating f / x gives
f x, y x 2 y g y
Exact Equations (cont’d.)
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
Taking the partial derivative of f / y with respect to y and
setting the result equal to N x, y gives
f
x 2 g' y x 2 1
y
It follows that g' y 1 and g y y
Hence f x, y x 2 y y and the solution of the equation in
implicit form is x y y c
2
Solutions by Substitutions
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
a known procedure can be used to find a solution
u Ax By C , B 0
Solutions by Substitutions (cont’d.)
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
2
Solve the IVP dy / dx 2x y 7, y 0 0
Let u 2 x y then du / dx 2 dy / dx giving
du / dx 2 u 2 9
Separating using partial fractions
du 1 1 1
dx or du dx
u 3 u 3
6 u 3 u 3
Integrating yields
1 u 3 u 3
ln x c1 or e 6 x 6 c1 ce6 x
6 u 3 u 3
Solutions by Substitutions (cont’d.)
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
Solving the previous equation for u and resubstituting gives
the solution
3 1 ce6 x 3 1 ce6 x
u or y 2x
1 ce 6x 1 ce6 x
Finally, applying the initial condition gives c 1
3 1 e6 x
y 2x
1 e6 x
A Numerical Method
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
approximating the unknown solution
to a DE
Linearization: approximates
solutions within a small area around
lineal elements in direction fields
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
2
y1 y0 h 0.1 y0 0.4 x 2
0 4 0.1 0.1 4 0.4 2
2
4.18
y2 4.18 0.1 0.1 4.18 0.4 2.1
2
4.3768
Continuing the process leads to y 2.5 5.0768
A Numerical Method
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
implement numerical methods
Some solvers simply plot solution curves, while others
also generate hard numerical data
When difficulties are encountered obtaining a solution with
a numerical solver, consider:
Decreasing step size
Using another numerical method
Trying a different numerical solver
Linear Models
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
For a series circuit containing a resistor (R) and an inductor
(L), Kirchoff’s second law gives
di
L Ri E t , where E(t) = impressed voltage
dt
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
a grams of chemical A are combined with b grams of
chemical B to produce M parts of A, N parts of B, and X t
grams of chemical C
Applying the law of mass action,
dX M M
X b X
dt M N M N
Factoring and introducing a constant k 0 of
proportionality, dX k X X
dt
A reaction governed by this nonlinear DE is said to be a
second-order reaction
Modeling with Systems of First-Order DEs
Copyright © 2021 by Jones & Bartlett Learning, LLC an Ascend Learning Company. www.jblearning.com
In radioactive decay series, one substance decays into another
and another until a stable element is reached.
In the decay of X Y Z:
The decay of the initial element X is given by
dx
1 x
dt
The second element gains atoms from the decay of X and
loses its own: dy 1 x 2 y
dt
dz
2 y
Z is stable and simply gains atoms from the decay of Y: dt