First-order ordinary differential equations (ODEs) are crucial in modeling various real-world phenomena. In this section, we’ll explore five practical examples that illustrate the application of first-order ODEs in different fields. These examples are designed just to be aware of how basic concepts of first-order ODEs can be applied in real world scenarios.
1. Application 1: Chemical mixing
1.1. Example 1: Salt mixture
A tank with a capacity of 600 gallons initially contains 300 gallons of water with 150 pounds of salt dissolved in it. A salt solution containing 2 pounds of salt per gallon enters the tank at a rate of 4 gallons per minute. The mixture is stirred thoroughly, and a mixture with the same concentration exits the tank at a rate of 3 gallons per minute. Find the amount of salt in the tank when it overflows.
The above scenario can be expressed as in the image below.
Solution:

Inlet of salt solution - 4 gallons per minute
Outlet of salt solution - 3 gallons per minute
Step 1: Define Variables
- Let
- Let
Step 2: Determine the Volume of Solution
Since the tank starts with 300 gallons and the net inflow rate is
The tank will overflow when
Step 3: Set Up the Differential Equation
The rate of change of salt in the tank is given by:
Rate In: The rate at which salt enters the tank is the concentration of the incoming solution multiplied by the rate at which it flows in:
Rate Out: The rate at which salt leaves the tank depends on the concentration of salt in the tank and the outflow rate. The concentration in the tank at time
Step 4: Formulate the Initial Value Problem
The differential equation governing the amount of salt in the tank is:
with the initial condition
2. Application 2: Population growth models
2.1. Example 1: Human Population growth
A town’s population grows at a rate proportional to its current size. Suppose the population increases by 2% per year. If the initial population at time
Solution:
Step 1: Set Up the Differential Equation
The population growth can be modeled by:
where
The population growth is modeled by the differential equation
Step 2: Solve the Differential Equation
Separate variables and integrate:
Integrating both sides:
Exponentiate:
Step 3: Apply Initial Condition
Given
Step 4: Calculate Population After 5 Years
Answer: The population after 5 years will be approximately 1105 people.
The below image shows how population size changes with time exponentially.

2.2. Example 2: Mosquito Population with Predation
In the absence of predators, the population of mosquitoes in a certain area increases at a rate proportional to its population and doubles every three weeks. Initially, there were 250,000 mosquitoes. However, a flock of birds arrives and eats 80,000 mosquitoes per week. We want to determine the number of mosquitoes remaining after two weeks.
Solution:
1. Define the Population Function:
Let
This can be rewritten using natural logarithms as:
The growth rate per week is
2. Incorporate Predation:
The birds eat 80,000 mosquitoes per week. This reduces the growth rate, leading to a differential equation that governs the population:
Initially,
3. Formulate the Initial Value Problem:
The problem becomes solving the following initial value problem:
4. By solving the above results in approximately 193,500 mosquitoes remaining after two weeks.
2.3. Example 3: Logistic Population Model
When a population grows without any constraints, it follows an exponential growth model. However, in reality, limited resources lead to competition, which slows down the growth rate as the population increases. This can be modeled using the logistic equation:
In this equation:
- The term
- The term
Phase Line Portrait for the Logistic Equation
To analyze the behavior of the population over time, we can create a phase line portrait. The phase line helps visualize the stability of equilibrium points (where
1. Finding Equilibrium Points:
Setting
Factoring the equation:
This results in two equilibrium points:
-
-
2. Phase Line Analysis:
- For
- For
- For
- For
3. Phase Line Portrait:
The phase line is represented as follows:

- Arrows pointing away from
- Arrows pointing towards
4. Interpretation of the Phase Line:
- Sudden Drop in Population (e.g., Pandemic):
- If a pandemic causes a sudden drop in the population below the carrying capacity
- Sudden Increase in Population (e.g., Immigration):
- If there is a sudden influx of people (e.g., due to immigration) that pushes the population above the carrying capacity, the phase line shows that the population will decrease back towards the carrying capacity. The carrying capacity acts as a stable point that the population naturally converges to over time.
In both scenarios, the population eventually stabilizes at the carrying capacity
Below graphs show the exponential and logistic growth curves.

3. Application 3: Newton’s Law of Cooling
3.1. Example 1: Cooling of a Hot Object
A hot cup of coffee at 90°C cools down in a room at 20°C. The cooling rate is proportional to the temperature difference between the coffee and the room. If the coffee cools to 60°C in 10 minutes, what will its temperature be after 20 minutes?

Solution:
Step 1: Set Up the Differential Equation
According to Newton’s Law:
As the coffee cools down and the temperature difference decreases, the rate of cooling also slows down. This is why, for example, a very hot object cools rapidly at first but then slows down as it approaches room temperature.
The equation
The term (T−20)(T - 20)(T−20) represents the difference between the coffee's temperature TTT and the room temperature (20°C). Since the rate of cooling is proportional to this difference, the equation reflects that a larger difference leads to a faster cooling rate.
Step 2: Solve the Differential Equation
Separate variables and integrate:
Integrating both sides:
Exponentiate:
Step 3: Apply Initial Condition
Given
Step 4: Determine
Given
Step 5: Calculate Temperature After 20 Minutes
Answer: The temperature after 20 minutes will be approximately 46.3°C.
4. Application 4: Radioactive Decay
Radioactive decay is a natural process by which an unstable atomic nucleus loses energy by emitting radiation. A classic example of this is the decay of Carbon-14 , which is used in radiocarbon dating to determine the age of archaeological artifacts. Carbon-14 is a radioactive isotope of carbon found in all living organisms. When an organism dies, it stops absorbing Carbon-14, and the existing
4.1. Example 1: Radioactive Decay and Carbon-14 Dating
A fossilized tree killed by a volcanic eruption was studied. The fossil contains 6.25% of the original amount of carbon-14 (
Step 1: Understanding the Decay Formula
Radioactive decay is governed by the formula:
Where:
-
-
-
-
Step 2: Apply Given Data
In this problem:
-
-
-
We need to find
Step 3: Set Up the Equation
Using the decay formula:
We can cancel
Step 4: Solve for
To solve for
Using the logarithm power rule
Now solve for
Step 5: Calculate the Value of
Thus:
The volcanic eruption that fossilized the tree occurred approximately 22,920 years ago, based on the decay of carbon-14 in the sample.
5. Application 5: Spring-Mass System
5.1. Example 1: Simple Harmonic Motion
A mass attached to a spring oscillates back and forth. If the displacement from equilibrium is small, the motion can be modeled by a first-order ODE. Given the initial velocity and displacement, find the displacement as a function of time.
Solution:
Step 1: Set Up the Differential Equation
The motion is modeled by:
where

This equation is modeled using below laws ;
1. Hooke’s Law:
Hooke's Law states that the force exerted by a spring is proportional to the displacement
Here:
-
-
-
- The negative sign indicates that the force is directed opposite to the displacement, trying to restore the mass to equilibrium.
2. Newton’s Second Law:
Newton's Second Law of Motion relates the net force acting on a mass to its acceleration:
Here:
-
-
-
3. Combining Hooke’s Law and Newton’s Second Law:
In the case of a mass attached to a spring, the only force acting on the mass (assuming no damping or external forces) is the restoring force from the spring. Therefore:
Substituting
Dividing both sides by
This equation describes how the velocity of the mass changes over time due to the restoring force of the spring. The term
Given the initial conditions (initial velocity and displacement), the motion of the mass can be modeled by the differential equation:
Where:
-
-
-
-
Step 2: Solve the Differential Equation
Solve the system using initial conditions for displacement and velocity.
Step 3: Apply Initial Condition
Given initial conditions for velocity and displacement, solve for the constants.
Answer: The displacement
6. Application 6: First-Order Kinetics
6.1. Example 1: Chemical Reaction Rate
In a chemical reaction, the concentration of a reactant decreases at a rate proportional to its current concentration. If the concentration drops from 1 M to 0.5 M in 10 minutes, how much will remain after 30 minutes?
Solution:
Step 1: Set Up the Differential Equation
The reaction rate is modeled by:
where
In a first-order reaction, the rate at which the concentration C of the reactant decreases depends on how much of the reactant is present at that moment. This means that when the concentration is high, the reaction proceeds quickly; as the concentration decreases, the reaction slows down.
The negative sign indicates that the concentration C is decreasing over time. The constant kkk is the rate constant, which characterizes how quickly the reaction proceeds.

Step 2: Solve the Differential Equation
Separate variables and integrate:
Integrating:
Exponentiate:
Step 3: Apply Initial Condition
Given
Step 4: Determine
Given
Step 5: Calculate Remaining Concentration After 30 Minutes
Answer: Approximately 0.125 M of the reactant will remain after 30 minutes.
7. Application 7 : Financial applications
7.1. Example 1: Saving for a College Fund
Imagine a parent wants to save for their child's college education. They decide to make continuous contributions to a savings account at a constant rate, with the account earning interest compounded continuously. The goal is to have a specific amount saved up by the time the child turns 18.
Let's say the parent wants to save $50,000 by the time their child turns 18. The savings account offers an interest rate of 4% per year, compounded continuously. The parent can contribute continuously at a rate of
1. Determine the Continuous Payment Rate
Let
The change in the savings account balance is due to the interest earned, represented by
Given that the target amount is $50,000 by the time the child turns 18, we impose the condition:
The initial condition is
2. Solving the Differential Equation:
The differential equation is a nonhomogeneous linear equation, and we can solve it using an integrating factor. First, rewrite the equation in its standard form:
The integrating factor is
Integrating both sides with respect to
Multiplying through by
To find
So the solution is:
3. Finding
Now, we use the condition
Simplifying:
This simplifies to approximately
Thus, the parent needs to save continuously at a rate of about $2,817 per year to reach the $50,000 goal by the time the child turns 18.
7.2. Example 2: Financing a Home
Suppose a homebuyer wants to purchase a house and has secured a loan to cover the cost. The loan has a fixed interest rate of 4% per year, compounded continuously. The buyer plans to make continuous payments on the loan at a constant rate and aims to pay off the loan completely in 10 years.
Question: If the buyer can afford to pay $1,200 per month continuously, how much can they borrow?
1. Define the Problem:
Let
where:
-
-
- The goal is to have the loan paid off in 10 years, so
The term
2. Set Up the Initial-Value Problem:
The initial loan amount is
with the condition
3. Solve the Differential Equation:
This is a nonhomogeneous linear differential equation. First, rewrite it in standard form:
The integrating factor is
Now, integrate both sides with respect to
The integral on the right side is:
Simplifying:
Multiplying both sides by
To find
Therefore, the balance as a function of time is:
4. Determine the Initial Loan Amount:
Now, find
This is approximately:
Thus, the buyer can afford to borrow about $118,692 with continuous payments of $1,200 per month over 10 years.
This article is designed to help you understand the practical applications of first-order ordinary differential equations (ODEs) by exploring five real-world examples. Don’t worry if some of the scenarios seem unfamiliar or complex; the goal here is to build your understanding of how first-order ODEs work in different contexts. Focus on the mathematical processes, and over time, the real-world connections will become clearer.
Hope you're enjoying the ODE series; stay tuned for the next sections.