One who asks a question is a fool for a minute; one who does not remains a fool forever, Chinese proverb
An algebraic equation is a mathematical statement asserting that two algebraic expressions are equal.. These expressions are constructed using:
An algebraic equation typically has the following general form: Expression1 = Expression2, where the two expressions are set equal to each other.
Examples: y = 2x + 4 (simple linear equation, represents a straight line with a slope of 2 and a y-intercept of 4), ax2 + bx + c = 0 (quadratic equation, it represents a parabola), $ln(xy + t) = z·sin(\sqrt{x})$.
Definition. A differential equation is an equation that involves one or more functions and their derivatives. It relates the function itself (the dependent variable), its derivatives with respect to one or more independent variables (rates of change), and the independent variable(s) themselves, e.g., $\frac{dy}{dx} = 3x +5y, y' + y = 4xcos(2x), \frac{dy}{dx} = x^2y+y, etc.$
If an algebraic equation is a “snapshot” of a relationship, a differential equation is the “instruction manual” for how that relationship moves and changes.
Key Components (e.g., $\frac{dy}{dx} = 3x +5y$):
First-order linear differential equations are fundamental tools in mathematical modeling across various disciplines, including physics, engineering, biology, and economics. They are used to describe dynamic systems where the rate of change of a quantity depends linearly on the quantity itself and, frequently, on external inputs.
Definition. A first-order linear ordinary differential equation is an ordinary differential equation (ODE) involving an unknown function y(x), its first derivative y′, and functions of the independent variable x, which can be written in the general form:: a(x)y' + b(x)y = c(x) where:
These equations are termed “linear” because the unknown function y and its derivative y’ strictly appear to the first power. They are never multiplied together, squared, or composed inside nonlinear functions (like sin(y) or $e^y$).
If the forcing function c(x) = 0 for all x in the interval of interest, the equation simplifies to: a(x)y’ + b(x)y = 0. Such an equation is called a homogeneous linear differential equation. If $c(x) \ne 0$, it is non-homogeneous.

To standardize the equation and prepare it for universal solution methods, we divide both sides of the general form by a(x), assuming a(x) ≠ 0: y’ + p(x)y = q(x) where $p(x)=\frac{b(x)}{a(x)}\text{ and }q(x) = \frac{c(x)}{a(x)}$ This is the standard linear form of a first-order differential equation, which is more convenient for applying solution methods, such as the integrating factor method.
The integrating factor method is a brilliant and highly effective algebraic technique. It involves multiplying the entire standard-form equation by a carefully crafted mathematical function—the integrating factor—which compresses the left side of the equation into a single, easily integrable derivative via the product rule.
Here are the step-by-step mechanics:
Note: We typically ignore the constant of integration +C during this specific step, as any constant multiplier will eventually cancel out.
When p(x) and q(x) are constants, the equation simplifies dramatically, and finding the solutions become more straightforward. This is the most common form encountered in introductory physics and engineering circuits.
Consider the equation modeled over time t: $\frac{dy}{dt} + ky = q(t)$ where:
The total solution y(t) naturally splits into two distinct behavioral components: $\boxed{y(t) = y_{part}(t) + y_{hom}(t)}$.

Sometimes the equation y’ + ky = kqe(t) is expressed as $\frac{1}{k}y' + y = q_e(t)$ where qe(t) is called the input.
Let’s walk through a concrete example of solving a non-homogeneous first-order linear differential equation using the integrating factor method.
Consider the following differential equation: $\frac{dy}{dt}+2y = e^{-2t}$.
The general solution is mathematically composed of two distinct responses: $y(t) = y_{\text{particular}(t)} + y_{\text{homogeneous}(t)}$
Thus, the final explicit solution matching the initial condition is: $y(t) = e^{-2t}(t + y_0)$
In this specific example, the entire solution diminishes over time and converges back to absolute rest (y = 0).
Physical Interpretation: The system returns to equilibrium over time. Any initial perturbations (captured by C) decay exponentially.
The superposition principle is a fundamental structural pillar of linear systems, particularly in the study of linear differential equations. It allows us to break up a problem into simpler, more manageable parts, and then at the end assemble the answer from its simpler pieces. This principle is immensely powerful because it leverages the linearity property of differential equations.
It states that if a system is driven by multiple independent inputs, you can break the problem up into simpler parts, solve for each input individually, and then add the individual answers together to find the total response.
Let’s consider the first-order linear differential equation: y’ + p(t)y = q(t) where:
In this context, we can think of the left-hand side $\frac{dy}{dt}+p(t)y$ as representing the system (the physical “system rules”) and the right-hand side q(t) as the input to the system.
For any given input q(t) that yields an output or solution y(t), we can write this relationship as $q(t) \implies y(t)$ (read input q leads to output y).
The superposition principle states that in a linear system, the response (output) to a weighted sum of inputs (e.g., $q_1(t)$ and $q_2(t)$) is equal to the exact same weighted sum of their individual responses (responses to each input individually).
Mathematically, if $q_1(t)$ leads to solution $y_1$ ($q_1 \implies y_1$) and $q_2(t)$ leads to solution $y_2$ ($q_2 \implies y_2$), then the combined input $c_1q_1(t) + c_2q_2(t)$ leads directly to the solution: $c_1y_1(t) + c_2y_2(t)$ ($c_1q_1 + c_2y_2 \implies c_1y_1 + c_2y_2$). This principle holds because the differential equation is linear and linear systems allow for the sum of solutions to be a solution itself.
Proof:
Because calculus derivatives are linear operators, proving this requires only a few straightforward algebraic steps. Let’s plug the proposed combined solution $y(t) = c_1y_1(t) + c_2y_2(t)$ into the left-hand side of our differential equation: $\frac{d(c_1y_1 + c_2y_2)}{dt} + p(c_1y_1 + c_2y_2)$
Distribute the derivative operator and the coefficient function p(t): $c_1\frac{dy_1}{dt} + c_2\frac{dy_2}{dt} + c_1py_1 + c_2py_2$.
Group the terms by their respective scaling constants $c_1$ and $c_2$: $c_1(\frac{dy_1}{dt} + py_1) + c_2(\frac{dy_2}{dt} + py_2)$
Since we already know that $y_1$ solves the equation for $q_1$ and $y_2$ solves it for $q_2$ ($q_1 \implies y_1, q_2 \implies y_2$), we get: $c_1q_1 + c_2q_2.$
The left side simplifies perfectly into the combined input. Therefore, the combined output $y(t) = c_1y_1(t) + c_2y_2(t)$ is mathematically guaranteed to be the exact solution to the differential equation under the combined input $q(t) = c_1q_1(t) + c_2q_2(t)$.
Let’s look at a practical example that demonstrates how to use the superposition principle to solve a more complex first-order linear ordinary differential equation by breaking it down into simpler, modular parts.
Step 1: Decompose the Input Forcing Function. We can break this problem into two simpler differential equations. The right-hand side input, $q(t) = 2 + 3e^{-2t}$ can be viewed as a linear combination of two fundamental baseline signals. Baseline Input 1, $q_1(t) = 1$. Baseline Input 2, $q_2(t) = e^{-2t}$. Therefore, the total input is a scaled combination of these two inputs: $q(t) = 2q_1(t) + 3q_2(t).$
According to the Superposition Principle, if we find the individual responses $x_1(t)$ and $x_2(t)$ to these baseline inputs, our total solution will simply be: $x(t) = 2x_1(t) + 3x_2(t)$.
Step 2: Solve Each Subproblem Individually
Equation 1. $\frac{dx_1}{dt} + 2x_1 = 1$. The solution can be found:
Equation 2. $\frac{dx_2}{dt}+2x_2 = e^{-2t}$,
Step 3: Combine Solutions Using Superposition. Now, we construct the final composite solution x(t) by scaling and adding our two individual subproblem solutions together: $x(t) = 2x_1(t) + 3x_2(t) = 2(\frac{1}{2} + C_1e^{-2t}) + 3e^{-2t}(t+C_2) = 1 + 2C_1e^{-2t} + 3e^{-2t}t + 3e^{-2t}C_2 =[\text{Simplify}] 1 + e^{-2t}(3t + 2C_1 + 3C_2) = 1 + e^{-2t}(3t + C)$.
This gives us our final general explicit solution: $\boxed{x(t) = 1 + e^{-2t}(3t + C)}$ where C is a single consolidated arbitrary constant defined as $C = 2C_1 + 3C_2$.
Step 4: Physical & Mathematical Interpretation.
Long-Term System Behavior (t → ∞). What happens to the system in the long run? We evaluate the limit as time goes to infinity:
$\lim_{t \to \infty}x(t) = \lim_{t \to \infty} [1 + \frac{3t + C}{e^{2t}}]$
Using L’Hôpital’s Rule on the fraction, $\lim_{t \to \infty} \frac{3}{2e^{2t}} = 0.$ Because exponential growth in the denominator dramatically outpaces the linear growth in the numerator, the entire transient term exponentially decays to zero.
Therefore, $\lim_{t \to \infty}x(t) = 1$.
No matter what the initial conditions or transient inputs are, the system naturally clears out its temporary behaviors and smoothly settles down to a stable operating state of x = 1.