Skip to content
Feb 9

Differential Equations: First-Order Methods

MA
Mindli AI

Differential Equations: First-Order Methods

First-order ordinary differential equations (ODEs) describe how a quantity changes with respect to a single independent variable, often time. Despite their simple form, they power a large share of practical models in science and engineering: population growth and radioactive decay, salt mixing in tanks, and Newton’s law of cooling, among others. The key skill is recognizing the structure of an equation and matching it to a reliable solution method.

This article focuses on four foundational categories and techniques: separable equations, linear equations and integrating factors, and exact equations. Along the way, we connect each method to common real-world applications.

What makes an ODE “first-order”?

A first-order ODE involves the first derivative of an unknown function and no higher derivatives. In general form:

Solving a first-order ODE means finding a function that satisfies the equation on some interval, usually with an initial condition such as . That initial value problem is where the equation becomes predictive.

Separable differential equations

Recognizing a separable equation

An equation is separable if it can be rearranged so that all terms involving are on one side and all terms involving are on the other:

Then we separate variables:

Solving by integration

Integrate both sides:

Often the result is an implicit solution. If possible, you then solve algebraically for .

Application: growth and decay

Many growth and decay laws are separable. The simplest is exponential change:

Separate and integrate:

Exponentiating gives:

With this models unconstrained growth; with it models decay (radioactive decay, depletion of a chemical reactant under certain assumptions). The model’s usefulness depends on whether proportional-to-current-amount is realistic over the time window.

Practical note: equilibrium solutions

When separating, pay attention to values where . Those can create constant (equilibrium) solutions that may be lost if you divide by too early. For example, in , the solution exists and should be included.

Linear first-order equations

Standard form and why it matters

A first-order linear ODE has the form:

“Linear” means and appear to the first power and are not multiplied together. Many physical balance laws and rate equations naturally produce this structure.

Integrating factors

The standard method uses an integrating factor that turns the left side into the derivative of a product.

Choose:

Multiply the ODE by :

The left side becomes:

Integrate:

Then divide by .

Application: Newton’s law of cooling

Newton’s law of cooling says the rate of change of an object’s temperature is proportional to the difference between its temperature and the ambient temperature :

Rearrange into linear form:

Here and (often constant). The integrating factor is . Solving yields:

This formula explains why cooling (or heating) is fastest initially and slows as the object approaches the ambient temperature. In practice, is estimated from measurements; it depends on airflow, surface area, and material properties.

Mixing problems as linear ODEs

Mixing problems model the amount of solute (like salt) in a tank as liquid flows in and out. Let be the amount of salt (mass) in the tank, and let be the volume of liquid.

A typical balance law is:

If inflow concentration is and inflow rate is , then rate in is . If the mixture is well-stirred, the outflow concentration is , so rate out is .

That yields:

This is linear in with:

The integrating factor method applies directly. When is constant (equal inflow and outflow rates), the solution is especially clean and illustrates exponential approach to a steady salt amount set by inflow concentration.

Exact differential equations

The “exactness” idea

Some first-order ODEs appear in the form:

It is exact if there exists a potential function such that:

Then the differential equation is simply , so solutions satisfy:

Testing exactness

A standard test checks whether the mixed partial derivatives match:

If this holds on a region (with mild continuity assumptions), the equation is exact.

Solving an exact equation

  1. Integrate with respect to to get a candidate plus an unknown “function of .”
  2. Differentiate that candidate with respect to and match it to to determine the missing function.
  3. Set .

Exact equations often arise from conservative systems and energy-like invariants. Even when the original problem is not “physics,” exactness provides a powerful shortcut to an implicit solution.

Integrating factors beyond linear equations

Integrating factors are not limited to linear ODEs. For non-exact equations of the form , sometimes multiplying by a function or can make the equation exact. While there are criteria to test whether such a factor depends only on or only on , the key practical point is conceptual: an integrating factor is a multiplier that turns a difficult equation into one with a built-in conservation structure.

Choosing the right first-order method

In practice, success is less about memorizing formulas and more about pattern recognition:

  • If you can algebraically separate and , use separation of variables.
  • If the equation matches , use the integrating factor method for linear equations.
  • If the equation looks like , check exactness via and .
  • If it is close to exact but not quite, consider whether an integrating factor might apply.

First-order methods remain central because they connect clean mathematics to interpretable models. Whether you are fitting a decay constant, predicting cooling time, or tracking concentration in a mixing tank, these techniques provide solutions you can compute, check, and use.

Write better notes with AI

Mindli helps you capture, organize, and master any subject with AI-powered summaries and flashcards.