Differential Equations

Solve first-order differential equations by separation of variables for IB Maths.

Differential equations model real-world change. IB Maths focuses on separable first-order equations.

Separation of Variables

dydx=f(x)g(y)\frac{dy}{dx} = f(x)g(y)1g(y)dy=f(x)dx\frac{1}{g(y)}\,dy = f(x)\,dx → integrate both sides.

Worked Example: Example 1

Problem

dydx=xy\frac{dy}{dx} = xy. 1ydy=xdx\frac{1}{y}\,dy = x\,dxlny=x22+C\ln|y| = \frac{x^2}{2} + Cy=Aex2/2y = Ae^{x^2/2}.

Solution

Worked Example: With Initial Condition

Problem

dydx=3y\frac{dy}{dx} = 3y, y(0)=2y(0) = 2. → y=2e3xy = 2e^{3x}.

Solution

Common Models

  • Exponential growth/decay: dydt=ky\frac{dy}{dt} = kyy=y0ekty = y_0 e^{kt}.
  • Logistic: dPdt=kP(LP)\frac{dP}{dt} = kP(L-P).
  • Newton's cooling: dTdt=k(TTs)\frac{dT}{dt} = -k(T - T_s).

Practice Problems

    1. Solve dydx=xy\frac{dy}{dx} = \frac{x}{y}, y(0)=3y(0) = 3.
    1. A population satisfies dPdt=0.02P\frac{dP}{dt} = 0.02P, P(0)=500P(0) = 500. Find P(10)P(10).

Want to check your answers and get step-by-step solutions?

Get it on Google PlayDownload on the App Store

Key Takeaways

  • Separate variables → integrate → apply initial conditions.

  • dydt=ky\frac{dy}{dt} = kyy=Aekty = Ae^{kt}.

  • Always include constant of integration until initial conditions are used.

Ready to Ace Your IB maths?

Get instant step-by-step solutions to any problem. Snap a photo and learn with Tutor AI — your personal exam prep companion.

Get it on Google PlayDownload on the App Store