IB Analysis and Approaches HL · Integral calculus · Section 5 of 13

Separable differential equations

3 worked examples · By Álvaro López

Key idea

A differential equation relates a function to its derivative, and its solution is a function. They appear when you know how a quantity changes (growth, cooling, decay) and want the quantity itself. Those with separable variables are solved by integrating, and they are among the types most often asked in IB exams.

What a differential equation is

A first-order differential equation is an equality involving , a function and its first derivative . You can almost always isolate the derivative and write For example, or .

Seeing the equation: the slope field

The equation tells you the gradient of any solution at each point . If you draw a short tangent segment at many points, you obtain the slope field, and each solution is a curve that follows those segments. For the solutions are circles centred at the origin; the one through is the upper semicircle of radius .

Slope field of dy/dx = -x/y: circles centred at the origin; the solution through (0, 3) is the upper semicircle of radius 3

Separable variables

The idea is to put everything involving with on one side, and everything involving with on the other, and then integrate each side with respect to its own variable.

Dividing by loses the constant solutions with . In IB problems the initial condition usually rules them out, but it is worth keeping them in mind.

Context problems

Many situations are modelled by an equation of this type. The most common is "the rate of change of is proportional to ", , with solution . In Newton's law of cooling, the temperature of an object in surroundings at temperature satisfies , with : the object cools faster the greater the difference from its surroundings.

Worked examples

Example 1 Basic

Proportional growth

Solve , with , given that when . Give the solution in the form .

Solution

Separate the variables: . Integrate: With at : . Then , and taking exponentials,

Example 2 Medium

With a tangent in the result

Solve given that when . Give the solution as , for values of close to .

Solution

Separate the variables: . Integrate: With at : . Then and

Example 3 Hard

Cooling a coffee

The temperature (in degrees Celsius) of a coffee minutes after it is poured satisfies the equation where is the room temperature. At the initial instant the coffee is at degrees and after minutes it is at degrees.

a) Find the exact value of .

b) Find the temperature after minutes.

c) Find the instant at which the coffee reaches degrees.

Solution

Separate the variables, with : . Integrate: With : . So .

a) .

b) , so degrees.

c) , approximately minutes.

In the exam: each step is marked separately. After integrating, use the initial condition before solving for anything else: if you lose the constant , you cannot continue. Keep exact until the end and round only the numerical answer.

Common mistakes

Summary

  • A first-order differential equation relates , and ; its solution is a function. The general solution includes ; the particular solution comes from an initial condition.
  • Separable variables: , then .
  • A single constant ; find it from the initial condition and solve for at the end.
  • Models: gives ; Newton's law of cooling gives .
  • The slope field shows the direction of the solutions at each point.
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp