First order differential equations (HL only)
IB Mathematics: Analysis and Approaches HLΒ· Unit 5: Calculus, Topic 12Β· 15 min read
1. Fundamentals and Separable Differential Equationsβ β βββHL onlyβ± 5 min
First order differential equation
An equation relating independent variable , dependent variable , and the first derivative of . The general solution includes an arbitrary constant; an initial condition fixes the constant for a particular solution.
Example:
\frac{dy}{dx} = 2xy
A separable ODE can be rearranged to group all terms on one side and all terms on the other, allowing direct integration of both sides.
Find the general solution to
- 1
Separate variables by multiplying both sides by :
- 2
Integrate both sides, add the constant of integration:
- 3
Evaluate the integrals:
- 4
Simplify to get the general solution:
2. Homogeneous First Order Differential Equationsβ β β ββHL onlyβ± 6 min
Homogeneous first order ODE
A first order ODE of the form , solved using the substitution that transforms the ODE into a separable equation.
Since , differentiate with respect to using the product rule to get . Substitute this into the original ODE to get a separable equation in and .
Solve the homogeneous ODE , for
- 1
Rearrange to confirm it is homogeneous:
- 2
Substitute and :
- 3
Simplify and separate variables:
- 4
Integrate both sides:
- 5
Substitute back for the general solution:
3. Linear First Order ODEs and Integrating Factorβ β β β βHL onlyβ± 7 min
Linear first order ODE
A first order ODE linear in , where and are functions of only, solved using the integrating factor method.
The integrating factor is defined as . Multiplying through by turns the left-hand side into the derivative of the product , which can be integrated directly:
Find the general solution to ,
- 1
Confirm the ODE is in standard linear form, with and .
- 2
Calculate the integrating factor:
- 3
Multiply both sides by :
- 4
Recognize left-hand side as :
- 5
Integrate and rearrange for :
4. Initial Value Problems in Applied Contextsβ β β βββ± 4 min
In applied problems, you will almost always get an initial condition , which lets you solve for the arbitrary constant and get a unique particular solution. Common applications include population growth, radioactive decay, Newton's law of cooling, and motion with resistance.
A population grows according to , with initial population . Find when .
- 1
Separate variables:
- 2
Integrate both sides:
- 3
Exponentiate to simplify, rename :
- 4
Apply initial condition :
- 5
Calculate :
5. Common Pitfalls
Wrong move:
Forgetting to add the constant of integration when integrating both sides.
Why:
This gives an incorrect general solution, leading to wrong particular solutions and lost marks.
Correct move:
Add the constant of integration immediately after integrating.
Wrong move:
Calculating the integrating factor without writing the ODE in standard form with coefficient 1.
Why:
P(x) will be incorrect, leading to a wrong integrating factor and wrong solution.
Correct move:
Always divide through by the coefficient of first.
Wrong move:
Incorrect substitution for homogeneous ODEs, writing instead of .
Why:
Forgetting the product rule for differentiating gives a wrong separable equation.
Correct move:
Always use the product rule for the substitution.
Wrong move:
Dropping the absolute value when integrating .
Why:
This leads to invalid solutions for negative , or incorrect integrating factors.
Correct move:
Keep the absolute value until simplifying, or confirm domain.
Wrong move:
Using integrating factor for non-linear ODEs.
Why:
The method only works for linear ODEs in , so it will not give a correct solution.
Correct move:
Classify the ODE first: separate, test homogeneity, then use integrating factor only for linear ODEs.
6. Quick Reference Cheatsheet
ODE Type | Standard Form | Solution Method |
|---|---|---|
Separable | ||
Homogeneous | Substitute , solve separable | |
Linear | Integrating factor , solve | |
Initial Value | Find general solution, substitute initial condition to find |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2025 Β· 2
Solve linear ODE with initial condition
- 2023 Β· 1
Solve homogeneous first order ODE
- 2022 Β· 2
Separable ODE population model
What's Next
First order differential equations are the foundation for more advanced topics in calculus and dynamic systems modeling, widely used across STEM fields. Mastering classification of ODE types and their solution methods is critical for IB AA HL exams, where mixed problems requiring you to select the right method are common. Next, you will extend your knowledge to second order ODEs, used to model oscillations, motion, and electric circuits. You will also learn qualitative analysis of ODEs with slope fields and equilibrium solutions, which helps check your results and interpret solutions in context. Practicing mixed problems that require classification first is the best way to prepare for exam questions.
