Introduction to Differential Equations: Types, Methods, and Applications
Differential equations are equations that relate a function to its derivatives. They are the mathematical language used to describe change, and they appear everywhere in science and engineering: from population growth and radioactive decay to circuits, fluid dynamics, and economics. In this introduction, we cover what differential equations are, how to classify them, and how to solve the most common types.
What Is a Differential Equation?
A differential equation (DE) is any equation that contains one or more derivatives of an unknown function. For example:
This says “the rate of change of with respect to equals .” Solving it means finding the function that satisfies this relationship.
Classifying Differential Equations
Ordinary vs Partial
- Ordinary differential equations (ODEs) involve derivatives with respect to a single variable, e.g. .
- Partial differential equations (PDEs) involve partial derivatives with respect to multiple variables, e.g. the heat equation .
This guide focuses on ODEs, which form the starting point for most courses.
Order
The order of a DE is the highest derivative that appears. A first-order DE contains only . A second-order DE contains , and so on.
Linear vs Nonlinear
A DE is linear if the unknown function and its derivatives appear only to the first power and are not multiplied together. For example, is linear, while is nonlinear.
Solving by Direct Integration
The simplest type of ODE has the form , which is solved by integrating both sides:
Example: Solve .
The constant represents the family of solutions. An initial condition like pins down the specific solution: .
Separation of Variables
When the DE can be written as , we can separate the variables and integrate each side independently:
Worked Example: Exponential Growth
Problem: Solve where is a constant.
Separate variables:
Integrate both sides:
Exponentiate:
This is the exponential growth/decay model. If , the function grows; if , it decays. With the initial condition , we get , so:
Worked Example: Logistic Equation
Problem: Solve with .
Separate variables using partial fractions:
Integrate:
With : , so . Therefore:
This is the logistic (sigmoid) function, which models population growth with a carrying capacity.
First-Order Linear ODEs
A first-order linear ODE has the standard form:
The solution uses an integrating factor :
Worked Example
Problem: Solve .
Here and . The integrating factor is:
Multiply through by :
The left side is . Integrate:
Real-World Applications
- Radioactive decay: gives , with half-life .
- Newton's law of cooling: models how an object cools towards ambient temperature.
- RC circuits: describes charge on a capacitor in a resistor-capacitor circuit.
- Population dynamics: The logistic equation models growth with limited resources, producing the S-shaped sigmoid curve.
Key Takeaways
- A differential equation relates a function to its derivatives. Solving it means finding the function.
- The order is the highest derivative present. First-order ODEs are the most approachable starting point.
- Separation of variables works when you can isolate terms on one side and terms on the other.
- Integrating factors solve any first-order linear ODE systematically.
- Initial conditions turn a general solution (with constant ) into a particular solution.
Try It Yourself
Practise computing derivatives and integrals needed for differential equations with our free Derivative Calculator and Integral Calculator. For evaluating exponential expressions like , try our Exponent Calculator.
Related Articles
GCD and LCM Explained: Methods, Formulas, and Applications
Learn how to find the greatest common divisor and least common multiple using prime factorisation, the Euclidean algorithm, and their key relationship.
How to Solve Quadratic Equations: 3 Methods with Examples
Learn how to solve quadratic equations using the quadratic formula, factoring, and completing the square. Step-by-step worked examples with clear explanations.
How to Find the Slope of a Line: Formula, Methods, and Examples
Learn how to find the slope of a line using the slope formula, rise over run, and slope-intercept form. Covers parallel and perpendicular slopes with worked examples.