Abstract mathematical symbols and equations representing physics mathematics

First-order ODEs

PHYS 110 · Differential Equations and Series

First-order ordinary differential equations relate a function to its first derivative. This lesson introduces separation of variables and simple growth, decay, and motion models.

Key equations

\frac{dy}{dt} = kyy(t)=y_0e^{kt}\frac{dN}{dt}=-\lambda NN(t)=N_0e^{-\lambda t}\frac{dT}{dt}=-k(T-T_{env})T(t)-T_{env} = (T_0-T_{env})e^{-kt}\frac{dQ}{dt}=-\frac{1}{RC}QQ(t)=Q_0e^{-t/RC}

Learning objectives

  • Define a first-order ordinary differential equation.
  • Solve simple separable ODEs.
  • Recognize exponential growth and decay models.
  • Use initial conditions to select a physical solution.

What is an ordinary differential equation?

A differential equation is an equation involving an unknown function and its derivatives. An ordinary differential equation, or ODE, involves derivatives with respect to one independent variable, often time.

A first-order ODE contains a first derivative but no higher derivatives. For example,

rac{dy}{dt} = ky

is a first-order ODE. It says the rate of change of yy is proportional to yy itself.

Differential equations are central in physics because laws often describe rates of change rather than direct formulas.

Growth and decay

The equation

rac{dy}{dt}=ky

models exponential growth if k>0k>0 and exponential decay if k<0k<0. The solution is

y(t)=y0ekty(t)=y_0e^{kt}

where y0y_0 is the initial value.

For radioactive decay, the equation is often written

rac{dN}{dt}=-lambda N

with solution

N(t)=N0elambdatN(t)=N_0e^{-lambda t}

This says the number of undecayed nuclei decreases at a rate proportional to the number remaining.

Separation of variables

Many first-order ODEs can be solved by separation of variables. The idea is to put all terms involving yy on one side and all terms involving tt on the other.

Starting with

rac{dy}{dt}=ky

rewrite as

rac{1}{y}dy = k,dt

Integrate both sides:

int rac{1}{y},dy = int k,dt

So

lny=kt+Cln|y| = kt + C

Exponentiating gives

y=Aekty = Ae^{kt}

where AA is determined by the initial condition.

Cooling and approach to equilibrium

Not all first-order equations grow or decay toward zero. Newton's law of cooling can be written

rac{dT}{dt}=-k(T-T_{env})

Here TT is object temperature and TenvT_{env} is environmental temperature. The temperature difference decays exponentially:

T(t)Tenv=(T0Tenv)ektT(t)-T_{env} = (T_0-T_{env})e^{-kt}

This describes approach to equilibrium.

RC circuits

A charging or discharging capacitor in an RC circuit also follows first-order ODEs. During discharge,

rac{dQ}{dt}=- rac{1}{RC}Q

with solution

Q(t)=Q0et/RCQ(t)=Q_0e^{-t/RC}

The quantity RCRC is a time constant. It sets the timescale for decay.

Initial conditions

A differential equation usually has a family of solutions. An initial condition selects the physical solution. If you know y(0)=y0y(0)=y_0, that determines the constant. In physics, initial conditions represent starting position, initial velocity, initial temperature, initial charge, or initial amount.

Direction fields

Even before solving an ODE exactly, you can interpret it. The derivative tells the slope of the solution at each point. A direction field sketches small slope marks showing how solutions flow. This helps visualize growth, decay, and equilibrium.

The big idea

First-order ODEs model systems where the rate of change depends on the current state. Exponential growth, exponential decay, cooling, drag models, and RC circuits all use this structure. Solving an ODE means finding a function whose behavior matches the rate law and initial condition.

Ask your AI physics guide

AI Physics Chat· Mathematical Methods for Physics — First-order ODEs

Ask anything about Mathematical Methods for Physics — First-order ODEs, or choose a suggested question below.

AI responses are educational and may not be perfectly accurate. Press Enter to send, Shift+Enter for new line.