Basic MathematicsUnit 710 min read
Differential Equations: Types, Solutions & Applications
Unit 7 of Basic Mathematics covers first-order and second-order differential equations, their classifications, methods of solving (separation of variables, integrating factors, homogeneous equations), and real-world applications in finance, physics, and population modeling.
TAKEAWAYS:
- Differential equations model real-world rates of change (e.g., population growth, loan interest, cooling objects).
- First-order equations are solved by separation of variables, integrating factors, or substitution; second-order equations require characteristic equations or reduction of order.
- Homogeneous equations use substitution , while linear equations use integrating factors .
- Exact equations require , solved by integrating and .
- Applications include compound interest (exponential growth), cooling laws (Newton’s law), and spring-mass systems (harmonic motion).
- Numerical methods (Euler’s method) approximate solutions when analytical methods fail.
1. Introduction to Differential Equations
A differential equation (DE) is an equation involving an unknown function and its derivatives. It describes how a quantity changes with respect to another (e.g., time, distance).
Types of Differential Equations
| Type | Form | Example | Solution Method |
|---|---|---|---|
| Ordinary (ODE) | Involves derivatives of one variable | Separation of variables, integrating factors | |
| Partial (PDE) | Involves partial derivatives | Fourier series, separation of variables | |
| First-order | Highest derivative is | Separation, integrating factors | |
| Second-order | Highest derivative is | Characteristic equation, reduction of order | |
| Linear | Depends linearly on and its derivatives | Integrating factor | |
| Nonlinear | Depends nonlinearly (e.g., ) | Substitution, numerical methods | |
| Homogeneous | Substitution | ||
| Exact | Integrate w.r.t. and w.r.t. |
Worked Example 1: Separation of Variables
Problem: Solve with . Solution:
- Separate variables: .
- Integrate both sides:
- Exponentiate: .
- Apply initial condition : Final Solution: .
Worked Example 2: Integrating Factor (Linear DE)
Problem: Solve . Solution:
- Identify , .
- Integrating factor .
- Multiply through: .
- Left side is , so integrate:
- Solve for :
2. Homogeneous Differential Equations
A first-order DE is homogeneous if can be written as . Solve by substitution , so .
Worked Example 3: Homogeneous Equation
Problem: Solve . Solution:
- Substitute , :
- Separate variables:
- Integrate:
- Substitute back :
3. Exact Differential Equations
An equation is exact if: Solution: Integrate w.r.t. and w.r.t. , then combine.
Worked Example 4: Exact Equation
Problem: Solve . Solution:
- Check exactness: Exact.
- Integrate w.r.t. :
- Differentiate w.r.t. and compare with :
- Integrate :
- General solution:
4. Second-Order Linear Differential Equations
Form: . Solve using characteristic equation .
Cases:
- Distinct real roots : Solution: .
- Repeated root : Solution: .
- Complex roots : Solution: .
Worked Example 5: Characteristic Equation
Problem: Solve . Solution:
- Characteristic equation:
- General solution:
Worked Example 6: Damped Harmonic Motion (Real-World Application)
Problem: A spring-mass system has equation . Find displacement . Solution:
- Characteristic equation:
- General solution: Interpretation: The mass oscillates with exponentially decaying amplitude due to damping.
5. Applications of Differential Equations
In the Real World
eSewa/Khalti (Loan Interest Calculation):
- Idea: Exponential Growth (First-Order DE)
- How: Compound interest is modeled by , where is principal, is interest rate.
- Example: A loan of Rs. 100,000 at 10% annual interest grows as . After 5 years:
Pathao (Traffic Flow Modeling):
- Idea: First-Order Linear DE (Traffic Density)
- How: Traffic flow relates to density via . Pathao’s algorithm optimizes routes by solving DEs for congestion prediction.
NTC (Newton’s Law of Cooling):
- Idea: First-Order Linear DE
- How: Temperature of a cooling object satisfies , where is cooling constant.
- Example: A cup of tea at 90°C in a 25°C room cools to 50°C in 10 minutes. Solve: Separate variables and integrate to find , then predict time to reach 40°C.
NEPSE (Stock Price Trends):
- Idea: Second-Order DE (Market Dynamics)
- How: Stock prices may follow , where is external demand.
- Example: If , solve the homogeneous part first, then find particular solution.
6. Numerical Methods: Euler’s Method
When analytical solutions are difficult, use Euler’s method to approximate solutions: where is step size.
Worked Example 7: Euler’s Method
Problem: Approximate for , , with . Solution:
- Iterate:
- , .
- .
- .
- Approximate .
Exam Tip
- Classify the DE first: Identify order, linearity, homogeneity, or exactness before solving.
- Check initial conditions: Always apply them to find constants .
- Graph solutions: Sketch graphs for first-order DEs (e.g., exponential growth/decay) and second-order DEs (oscillatory vs. exponential).
- Common mistakes:
- Forgetting to multiply by the integrating factor.
- Misapplying substitution for homogeneous equations.
- Incorrectly solving characteristic equations (factor quadratics properly).
- Application questions: Relate DEs to real-world scenarios (e.g., "A tank drains water..." or "Population grows..."). Always define variables clearly (e.g., population at time ).
Visual Summary of Solution Methods:
mindmap
root((Differential Equations))
First-Order
Separation of Variables
Integrating Factor
Homogeneous Substitution
Exact Equations
Second-Order
Characteristic Equation
Repeated Roots
Complex Roots
Applications
Finance (Interest)
Physics (Spring-Mass)
Biology (Population)
Numerical Methods
Euler's MethodBased on the TU BIM syllabus for Basic Mathematics (MTH204), unit 7.
Discussion
Loading…