There are two ways to do great mathematics. The first is to be smarter than everybody else. The second way is to be stupider than everybody else - but persistent, Raoul Bott
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$):
To solve ordinary differential equations (ODEs), several methods can be employed, each suited to different types of equations. Here are some of the key methods:
Separation of Variables. This method is used for ODEs where the algebraic expression can be factored into a function of $x$ times a function of $y$, $\frac{dy}{dx} = g(x)h(y)$. By separating the variables to opposite sides of the equation, you can integrate both sides separately: $\int \frac{dy}{h(y)} = \int g(x)dx + C$
Integrating Factors. This powerful technique applies strictly to linear first-order ODEs, $\frac{dy}{dx} + P(x)y = Q(x)$. The idea is to multiply the entire equation by an integrating factor μ(x) = $e^{\int P(x)dx}$, which simplifies the left-hand side into a product derivative, making the equation easier to solve: $\frac{d}{dx}(y·μ(x)) = Q(x)·μ(x)$. Integrating both sides with respect to x yields the solution.
Exact Differential Equations. These are ODEs that can be expressed in the form of a total differential of a multivariable potential function, M(x, y)dx + N(x, y)dy = 0, where the exactness condition $\boxed{\frac{∂M}{∂y} = \frac{∂N}{∂x}}$ must be satisfied. If exact, you integrate $M$ with respect to $x$ (and $N$ with respect to $y$) to reverse-engineer the original potential function $f(x, y)$. The implicit solution is defined as $f(x,y) = C$.
Substitution Methods (e.g., Bernoulli Equations). Sometimes an ODE doesn’t fit the above categories but can be transformed into one that does via substitution. For example, a Bernoulli equation takes the form $y' + P(x)y = Q(x)y^n$. By using the substitution $v = y^{1-n}$, the equation is transformed into a standard linear ODE, which can then be solved using an Integrating Factor.
Geometric Interpretations. This approach involves visualizing the solution in the phase plane or using graphical methods to understand the behavior of the solutions. For example, in autonomous differential equations, the phase plane can help in understanding the equilibrium points and the stability of the solutions.
Numerical Methods. For ODEs that cannot be solved analytically, numerical methods are used to find approximate solutions.
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’ appear only to the first power. They are never multiplied together, squared, or composed within nonlinear functions (like $\sin(y)$ or $e^y$).
If the function n $c(x) = 0$ for all $x$ in the interval of interest, the “driving force” or external input of the system is zero. The equation simplifies to: $\boxed{a(x)y' + b(x)y = 0}$
Such an equation is called a homogeneous linear differential equation. It describes a system that evolves entirely based on its own internal dynamics, free from external influences.
The Existence and Uniqueness Theorem provides crucial insight into the behavior of solutions to first-order differential equations ODEs. It answers two fundamental questions: Is there a solution? and Is it the only one? It states that if:
Then, the differential equation y' = f(x, y) has a unique solution to the initial value problem through the point (x₀, y₀), meaning that it perfectly satisfies the initial condition $y(x_0) = y_0$.
This theorem is a mathematician’s safety net: it ensures that under these well-behaved conditions, a solution definitively exists and is absolutely unique near $x = x_0$. The physical system modeled by the ODE will only follow one distinct path.

To solve these equations systematically, the general first-order linear ODE is usually rearranged by dividing the entire equation by $a(x)$ (assuming $a(x) \neq 0$), yielding the standard linear form: $\boxed{y' + p(x)y = q(x)}$ where:
Expressing the equation in this standard form is the critical first step before applying advanced solution techniques, such as the method of integrating factors.
The method of integrating factors is a common and brilliant algebraic technique for solving first-order linear ODEs in standard form.
Given the equation in standard form: $y' + p(x)y = q(x)$, we define an integrating factor, denoted as $\mu(x)$, calculated as: $μ(x)=e^{\int p(x)dx}$
Why do we do this? Multiplying both sides of the differential equation by $\mu(x)$ “magically” transforms the entire left-hand side into the exact derivative of the product $(\mu(x)y)$, via the Reverse Product Rule. This allows us to simply integrate both sides to find $y(x)$.
Because they describe rates of change proportional to the current state of a system, first-order linear ODEs are widely used to model various physical phenomena, including:
Newton’s law of cooling describes the rate at which an object changes temperature when placed in an environment with a different temperature.
The law states that the rate of change of the temperature of an object is proportional to the difference between its own temperature and the ambient or external temperature Tₑ of its surroundings.
Mathematically, this law is expressed by the differential equation: $\frac{dT}{dt}= -k(T -T_e)$ or equivalently $\frac{dT}{dt}=k(T_e-T)$ where:
Physical Interpretation. This differential equation implies that:
In both cases, the object smoothly approaches the ambient temperature over time.
Let’s apply our mathematical toolkit to solve this specific physical problem.
The object's temperature T(t) exponentially approaches the external temperature Tₑ over time. Mathematically, as $t \to \infty$, $e^{-kt} \to 0$. Therefore, $\lim_{t \to \infty} T(t) = T_e$. The term $e^{-kt}$ represents this exponential decay curve.
The rate at which T(t) approaches the ambient temperature Tₑ depends on the cooling constant k:
A fresh pot of coffee is brewed at an initial temperature of 180°F. It is then placed in a room where the ambient temperature remains constant at 76°F. After 5 minutes, the coffee has cooled to 168°F. Using Newton’s Law of Cooling, determine the cooling constant 𝑘, which quantifies how quickly the coffee approaches room temperature.
Refer to Figure B for a visual representation of the cooling process and aid in understanding it.

The general solution to Newton’s Law of Cooling $\frac{dT}{dt} = -k(T - T_e)$ is: $\boxed{T = T_e + (T_0-T_e)e^{-kt}}$
Diffusion processes provide another elegant example of first‑order linear differential equations. Just as Newton’s Law of Cooling models how temperature approaches equilibrium, diffusion models describe how concentrations equalize across boundaries.
Consider a chamber containing a salt solution whose internal concentration at time t is C(t). The chamber is immersed in a surrounding water bath with a constant external concentration $C_e$. A semi‑permeable membrane separates the two regions and allows salt to diffuse across it.
The key physical principle is simple: Salt diffuses from regions of higher concentration to regions of lower concentration, and the rate of diffusion is proportional to the concentration difference.
This leads to the differential equation: $\boxed{\frac{dC}{dt} = k(C_e-C)}$ where:
This equation is similar to the cooling equation. It states that the rate at which the internal salt concentration changes is proportional to the difference between the external and internal concentrations.
This equation mirrors the cooling equation in structure and meaning:

Rewriting the equation in standard linear form: $\frac{dC}{dt}+kC = kC_e$. Again, this matches the previously studied standard form y’ + p(t)y = q(t), where y = C(t), p(t) = k, and $q(t) = kC_e$.
The factor $e^{-kt}$ represents exponential decay of the concentration difference $C(t) - C_e$. In other words, the internal concentration C(t) exponentially approaches the external concentration $C_e$.
This means:
The rate of diffusion k determines how quickly the internal concentration C(t) approaches the external concentration $C_e$ or how quickly equilibrium is reached:
In both applications, the solutions exhibit exponential behavior, reflecting how the quantity of interest approaches equilibrium over time.