First-Order Differential Equations
students, imagine trying to predict how a cup of hot tea cools down, how water drains from a tank, or how a small population changes over time. In each case, the rate of change matters just as much as the amount present. That is the central idea behind differential equations. In this lesson, you will focus on first-order differential equations, one of the most important starting points in Engineering Mathematics. 🌟
Objectives
By the end of this lesson, you should be able to:
- Explain the main ideas and terminology behind first-order differential equations.
- Identify what makes an equation first-order.
- Connect first-order differential equations to the broader topic of differential equations.
- Recognize common forms such as separable and first-order linear equations.
- Use examples to understand how these equations model real engineering situations.
What Is a First-Order Differential Equation?
A differential equation is an equation that includes a derivative of an unknown function. The derivative tells us how fast something changes. A first-order differential equation is one whose highest derivative is the first derivative. In other words, it involves $\frac{dy}{dx}$ but not $\frac{d^2y}{dx^2}$ or higher derivatives.
A general first-order differential equation can be written as
$$F\left(x,y,\frac{dy}{dx}\right)=0.$$
Here, $x$ is the independent variable, $y$ is the unknown function, and $\frac{dy}{dx}$ is the derivative of $y$ with respect to $x$. students, think of $x$ as time, distance, or another quantity you control, while $y$ is the quantity you want to predict.
A solution to the equation is a function $y=f(x)$ that makes the equation true when substituted in. Sometimes there is one solution, sometimes many, and sometimes a whole family of solutions. A general solution contains arbitrary constants, while a particular solution is obtained when those constants are given specific values.
For example, if
$$\frac{dy}{dx}=3x^2,$$
then one solution is
$$y=x^3+C,$$
because differentiating $x^3+C$ gives $3x^2$. The constant $C$ represents the family of all possible solutions. ✅
Why First Order Matters in Engineering Mathematics
First-order differential equations appear in many models where the current rate of change depends on the current state. This is extremely common in engineering and science.
Here are some real-world examples:
- Cooling of an object: The rate at which a hot object cools may depend on the difference between its temperature and the surrounding air.
- Tank draining: The water level changes depending on how much water is currently in the tank.
- Electrical circuits: The current or voltage in an $RC$ circuit can be modeled using a first-order equation.
- Population growth or decay: A population may grow proportionally to its current size.
These examples are important because first-order equations often provide the simplest useful mathematical model for a real system. Even if the real situation is more complicated, a first-order model can still give good insight into how the system behaves.
Terminology and Key Ideas
To work confidently with first-order differential equations, students, you need a few key terms.
Independent and dependent variables
The independent variable is the variable you choose or measure as the input, often $x$ or $t$. The dependent variable is the unknown function that depends on the input, often $y$.
For example, in a temperature model, time $t$ may be the independent variable and temperature $T$ may be the dependent variable.
Order
The order of a differential equation is the highest derivative appearing in the equation. If the highest derivative is $\frac{dy}{dx}$, the equation is first-order.
Examples:
- $\frac{dy}{dx}=x+y$ is first-order.
- $\frac{d^2y}{dx^2}+\frac{dy}{dx}=0$ is second-order.
Linear and nonlinear
A first-order differential equation is linear if it can be written in the form
$$\frac{dy}{dx}+P(x)y=Q(x).$$
Here, $P(x)$ and $Q(x)$ are functions of $x$ only. The equation is linear because $y$ and $\frac{dy}{dx}$ appear only to the first power and are not multiplied together.
If the equation includes terms such as $y^2$, $\sin(y)$, or $y\frac{dy}{dx}$, it is nonlinear.
Separable
A first-order differential equation is separable if it can be rewritten so that all terms involving $y$ are on one side and all terms involving $x$ are on the other:
$$g(y)\,dy=f(x)\,dx.$$
This form is useful because you can integrate both sides separately.
Solving a Separable First-Order Differential Equation
Separable equations are one of the easiest and most useful types of first-order differential equations. The main idea is to rearrange the equation so the variables are separated, then integrate.
Suppose we have
$$\frac{dy}{dx}=xy.$$
This equation is separable because we can divide both sides by $y$ and multiply by $dx$:
$$\frac{1}{y}\,dy=x\,dx.$$
Now integrate both sides:
$$\int \frac{1}{y}\,dy=\int x\,dx.$$
This gives
$$\ln|y|=\frac{x^2}{2}+C.$$
Exponentiating both sides gives
$$y=Ce^{x^2/2}.$$
This is the general solution. 🌱
A practical interpretation
If $y$ is a quantity that grows at a rate proportional to both the current amount and the input $x$, then the solution shows how that quantity changes over time or position. In engineering, this can represent growth, decay, or response behavior depending on the situation.
Solving a First-Order Linear Differential Equation
A very important form is the first-order linear equation
$$\frac{dy}{dx}+P(x)y=Q(x).$$
The standard method for solving it uses an integrating factor, which is a special function that helps turn the left side into a single derivative.
The integrating factor is
$$\mu(x)=e^{\int P(x)\,dx}.$$
Multiplying the entire differential equation by $\mu(x)$ gives
$$\mu(x)\frac{dy}{dx}+\mu(x)P(x)y=\mu(x)Q(x).$$
The left side becomes
$$\frac{d}{dx}\left(\mu(x)y\right)=\mu(x)Q(x).$$
Then integrate:
$$\mu(x)y=\int \mu(x)Q(x)\,dx+C.$$
Finally, solve for $y$.
Example
Solve
$$\frac{dy}{dx}+2y=e^{-x}.$$
Here, $P(x)=2$, so the integrating factor is
$$\mu(x)=e^{\int 2\,dx}=e^{2x}.$$
Multiply through by $e^{2x}$:
$$e^{2x}\frac{dy}{dx}+2e^{2x}y=e^x.$$
The left side is
$$\frac{d}{dx}\left(e^{2x}y\right)=e^x.$$
Integrate both sides:
$$e^{2x}y=\int e^x\,dx+C=e^x+C.$$
So
$$y=e^{-x}+Ce^{-2x}.$$
This solution shows how the system responds to an input term and how the natural behavior fades over time. 📘
Initial Conditions and Particular Solutions
Often, a problem gives not only the differential equation but also an initial condition, such as
$$y(0)=4.$$
An initial condition tells you the value of the function at a specific point. This lets you find the constant $C$ and get one unique solution.
For example, if the general solution is
$$y=e^{-x}+Ce^{-2x},$$
and the initial condition is $y(0)=4$, then
$$4=1+C.$$
So
$$C=3,$$
and the particular solution is
$$y=e^{-x}+3e^{-2x}.$$
Initial conditions are very important in engineering because they match the model to a real system at the starting moment.
How First-Order Equations Fit Into Differential Equations
First-order differential equations are a major part of the larger topic of differential equations. They are often the first type studied because they introduce the basic ideas of modeling, solving, and interpreting change.
The broader study of differential equations includes:
- first-order equations,
- higher-order equations,
- systems of differential equations,
- partial differential equations.
Understanding first-order equations builds a foundation for more advanced topics. The same habits of thinking—identifying the derivative, classifying the equation, applying a method, and interpreting the result—carry forward into more advanced engineering mathematics.
Why These Models Are Useful in Real Life
students, the power of first-order differential equations is that they turn real-world change into a mathematical rule. For example:
- In cooling, the model can predict how long a material stays above a safe temperature.
- In circuits, it can estimate how quickly a capacitor charges or discharges.
- In chemistry, it can model how a substance concentration changes over time.
- In mechanics and biology, it can describe many simple rate processes.
These models help engineers make decisions, test designs, and predict outcomes before building or experimenting in the real world. That is why first-order differential equations are a core tool in Engineering Mathematics. ⚙️
Conclusion
First-order differential equations describe situations where the rate of change of a quantity depends on the quantity itself, the input variable, or both. They are named first-order because the highest derivative is the first derivative $\frac{dy}{dx}$. Common types include separable equations and first-order linear equations. By learning how to recognize and solve these equations, students, you gain a powerful tool for modeling real systems in engineering, science, and technology. This lesson is a key step in the broader study of Differential Equations and prepares you for more advanced topics.
Study Notes
- A differential equation contains an unknown function and one or more derivatives.
- A first-order differential equation has highest derivative $\frac{dy}{dx}$.
- A solution is a function that satisfies the equation.
- A general solution includes an arbitrary constant $C$.
- An initial condition helps find a unique particular solution.
- A separable equation can be written in the form $g(y)\,dy=f(x)\,dx$.
- To solve a separable equation, separate the variables and integrate both sides.
- A first-order linear equation has the form $\frac{dy}{dx}+P(x)y=Q(x)$.
- The integrating factor for a linear equation is $\mu(x)=e^{\int P(x)\,dx}$.
- First-order differential equations are widely used in engineering to model cooling, circuits, tank flow, and growth or decay.
- Mastering first-order equations builds the foundation for more advanced work in Differential Equations.
