Differential Equations Notes
Copyright Notice
- Do not copy for others, including friends or family.
- Do not distribute online in any form, including social media.
- Do not sell to tutoring companies or other organizations.
- These files are strictly for personal use only.
- Agreement to all conditions is required before using the files.
- If you do not agree, please inform the instructor to be removed from D2L.
Introduction to Differential Equations
Definitions
- Ordinary Differential Equation (ODE): An equation containing an unknown function of a single variable together with its derivatives with respect to that variable.
- Partial Differential Equation (PDE): An equation containing an unknown function of two or more variables together with its partial derivatives with respect to these variables.
- Order of a Differential Equation: The order of an ODE or PDE is the order of the highest derivative present.
Examples
ODE Example:
- Unknown function: (dependent variable).
- Independent variable: .
- Order: Two (second-order derivative present).
PDE Example: K \frac{\partial^2 u}{\partial x^2} = \frac{\partial u}{\partial t}, K > 0
- Unknown function: (dependent variable).
- Independent variables: and .
- Order: Two (second-order PDE).
- Known as the Heat Conduction Equation.
Mathematical Modeling
Differential equations (ordinary or partial) occur in connection with numerous applications in various branches of science and engineering.
Examples of Problems:
- Conduction of heat in a rod, plate, or slab.
- Vibration in a string or a membrane.
- Determining gravitational or electrical potential.
- Determining the motion of a projectile, planet, or satellite.
- Reaction of chemicals.
- Growth and decay problems.
- Determining curves having specific geometric properties (e.g., in robotics).
- Mixture problems.
- Hanging cables.
These problems involve not only a differential equation but also a set of supplementary conditions, such as:
- Initial Conditions
- Boundary Conditions
Solution to an ODE
Definition: A solution to an ODE in an interval I is a function having sufficient derivatives in I and which identically satisfies the ODE.
Example: Show that is a solution to the ODE on .
Solution:
- Given ODE: (*)
- (1)
- (2)
- (3)
- and exist on .
Substitute (1), (2), and (3) into the left-hand side (L.H.S) of (*):
Verified. Therefore, is a solution to the ODE in .
Example: Given the DE , find all values of the constant real number K so that is a solution to the DE on .
Solution:
- Given DE: (*.I)
- (1)
- (2)
- (3)
Substitute (1), (2), and (3) in DE (*.I):
Since (for ), then:
There are two solutions: and .
Initial Value Problem (IVP) vs Boundary Value Problem (BVP)
Initial Value Problem (IVP): An ODE together with the prescribed initial conditions. The conditions are prescribed at exactly one value of t.
- Example: with supplementary conditions and is an IVP.
Boundary Value Problem (BVP): An ODE together with the prescribed boundary conditions. The conditions are prescribed at more than one value of t.
- Example: together with the supplementary conditions and is a BVP.
Note: The condition means at .
General Solution to an ODE
Definition: The general solution to an ODE is a formula that describes all possible solutions to the DE.
The general solution to an nth-order ODE must contain n arbitrary constants . These arbitrary constants may also be referred to as parameters, and accordingly, the general solution may be referred to as an n-parameter family of solutions.
Example: Given the DE
(a) Find the general solution to the DE.
(b) Sketch few members of the one-parameter family of solutions.Solution:
(a)
Integrate both sides:
, where C is an arbitrary constant.
Therefore, is the general solution to the DE.
(b) The general solution is a one-parameter family, namely . . This is a family of parabolas with a vertex at and which opens upward.
First-Order Equations
- Consider first-order equations of the form .
Separable Equations
- A separable equation is one in which f can be expressed as a function of x times a function of y, i.e., .
Method of Solution
Rewrite as .
Integrate both sides: .
The solution is given implicitly by , where and .
Note: If , then is a solution (called a singular solution).
Example of Separable Equations
Example: Solve the differential equation .
Solution: Separate variables:
.
Integrate both sides:
.
So the solutions are given implicitly by .
Homogeneous Equations
- A homogeneous equation can be written in the form .
Method of Solution
- Let . Then . So .
- Substitute into the original equation: .
- Separate variables and integrate: .
Note that the method for solving homogeneous equation may not work at , hence it produces singular solutions.
Exact Differential Equations
- An exact differential equation is an equation of the form , where .
Method of Solution
- Find a function such that and .
- Then the solution is given implicitly by , where C is a constant.
-Note: The reason this approach works is that if , then by the chain rule, , which is the original differential equation.
Integrating Factors
- If the equation is not exact, it may be possible to find a function such that the equation is exact. Then is called an integrating factor.
Linear First-Order Equations
- A linear first-order equation is one that can be written in the form
Method of Solution
- Calculate the integrating factor:
- Multiply both sides of the equation by :
- Observe that the left-hand side is the derivative of :
- Integrate both sides with respect to x:
- Solve for y: