IB Syllabus Requirements for Differential Equations
5.18.1
First order differential equations
5.18.2
Numerical solution of using Euler's method
5.18.3
Variables separable
5.18.4
Homogeneous differential equation using the substitution
5.18.1
FIRST ORDER DIFFERENTIAL EQUATIONS
A differential equation links an unknown function with one or more of its derivatives. The usual form in this topic is
A first-order differential equation has the first derivative as its highest derivative. For example, is first order. An equation containing does not belong to this syllabus point.

A solution is a function that satisfies the differential equation on an interval. A general solution describes a family of solutions and contains an arbitrary constant. Extra information selects one member of that family, called a particular solution. An initial condition gives the value of the unknown function at one input. For example,
IB expects you to recognize and solve three common first-order types:
The topic also includes one numerical method: Euler's method. It approximates a solution when an exact solution is not required or is inconvenient to find.
In modelling, the derivative tells the rate story. Newton cooling models temperature change, while population models describe growth rate. Carbon dating uses radioactive decay; physics uses decay curves, and chemistry uses first-order reaction curves. The same mathematical structure appears in each case, but the variables have different meanings. There is a TOK point here too. Personal experience may suggest which kind of model feels plausible, but the mathematical knowledge claim depends on whether the equation and its solution follow logically from the assumptions.
5.18.2
NUMERICAL SOLUTION OF USING EULER'S METHOD
Euler's method is a numerical method for approximating the solution curve of a first-order differential equation. Starting at a known point, it follows a short tangent-line segment, then repeats the process. The derivative at the current point gives the gradient for the next small step.
For
Euler's method uses
and

A step length is the fixed increment in the independent variable that takes the method from one approximation point to the next. A smaller usually gives a better approximation, though it requires more repeated calculations. In an exam, use the given . Don't choose your own unless the question asks you to.
Begin with the given initial condition. This is usually written as
and
Then substitute the current pair into the recurrence for the problem.
For example, if
then the iteration is
and
Show the first step by hand:
After that, it makes sense to use a calculator table or spreadsheet. Check that the formula entered matches the differential equation exactly. Pay particular attention to the brackets around .
Euler's method doesn't produce the exact solution. Instead, it creates a polygonal path with gradients that copy the differential equation at the left-hand end of each step. The approximation can drift away quite quickly when the true solution bends sharply or is large. The method is useful, but it isn't magic.
5.18.3
VARIABLES SEPARABLE
A separable differential equation is a first-order differential equation that can be rearranged to place every term involving with and every term involving with . It often has the form
As long as the division is valid on the interval under consideration, rearrange the equation as
Then integrate both sides:
Here, is the arbitrary constant of integration. Don’t lose it. When an initial condition is given, substitute it after integrating.
Consider
First separate the variables, then integrate:
which gives
Now use :
and hence
Therefore,
so
Take care with the final algebra. From you get unless the context or initial condition determines the sign. Don’t casually turn a square into a linear expression.
A syllabus example is the logistic equation. This separable differential equation models a quantity that grows quickly at first, then slows as it approaches a limiting value:

The value is the carrying capacity, the limiting quantity approached by the model as growth slows. Separating the equation gives
Partial fractions now become useful. Partial fraction decomposition is an algebraic method for rewriting a rational expression as a sum of simpler rational expressions. For ,
Thus,
Integrating gives
An initial condition can then be used to find . If the question asks for explicitly, rearrange the result for .
5.18.4
HOMOGENEOUS DIFFERENTIAL EQUATION USING THE SUBSTITUTION
A homogeneous first-order differential equation is a first-order differential equation in which the right-hand side depends on and only through the ratio . In the syllabus, it has the form
Here, homogeneous refers to scaling. To check, replace with and with , where is a non-zero scale factor. The equation is homogeneous if the cancels completely from the right-hand side.
For example,
is homogeneous since
so the right-hand side depends only on ratios.
A substitution deliberately replaces variables to put an equation into a more useful form. For homogeneous equations, use
Differentiate with respect to :

The substitution should turn the equation into a separable one. That’s the purpose of the method.
Start with the example above:
Put . Then and , giving
Subtract from both sides:
Now separate the variables:
Integrate:
Finally, replace with :
If the question states , then can be written as . It’s easy to forget the final substitution, so don’t leave the answer in terms of unless the question explicitly allows it.
5.18.5
SOLUTION OF , USING THE INTEGRATING FACTOR
A first-order linear differential equation is a first-order differential equation where the unknown function and its first derivative appear only to the first power. They aren’t multiplied together. Its standard form is
Before choosing the integrating factor, put the equation into this exact form. If has a coefficient in front of it, divide through first.
An integrating factor is a non-zero function that multiplies a differential equation, turning the left-hand side into the derivative of a product. For
use
We normally omit the constant of integration inside the exponential since any non-zero constant multiple of an integrating factor works.
Now multiply the entire equation by :
The left-hand side has been constructed so that
Integrate both sides:
If the question asks for as a function of , finish by dividing by .
Solve
In this equation,
So the integrating factor is
On an interval where , this becomes
Multiply every term by :
The expression on the left is
so
Now integrate:
Therefore,
The product-derivative check isn’t just decoration. It’s the reason the method works.
First-order linear equations often appear when a rate is proportional to a difference or to the current amount. Newton's law of cooling, for example, can model a temperature approaching room temperature. Carbon dating and physics decay curves use exponential decay ideas. In chemistry, first-order reactions have rates proportional to the amount of reactant remaining. Although the contexts differ, the same mathematical structure describes change. It also lets us compare patterns and make predictions from rates.
