Differential equations

Solve differential equations of the form dydx=f(x)\frac{dy}{dx} = f(x) by direct integration and separable equations of the form dydx=g(x)h(y)\frac{dy}{dx} = g(x)h(y); interpret direction fields qualitatively; model and solve simple problems with first-order differential equations.

Worked examples

Direct integration (simplest type)

Straightforward

Problem

Solve dydx=4x3−2\dfrac{dy}{dx} = 4x^3 - 2 with y(1)=3y(1) = 3.

Separable equation

Moderate

Problem

Solve dydx=yx\dfrac{dy}{dx} = \dfrac{y}{x} with y(1)=5y(1) = 5.

Mixture / flow problem

Challenging

Problem

A tank contains 50 L of pure water. Brine containing 3 g/L flows in at 2 L/min; the well-mixed solution drains at 2 L/min. Set up and solve the differential equation for the salt content Q(t)Q(t) (grams) at time tt minutes.

Practise

Q1·Straightforward
Which of the following is the general solution of dydx=3x2\dfrac{dy}{dx} = 3x^2?
Q2·Straightforward
The differential equation dydx=2x+1\dfrac{dy}{dx} = 2x + 1 has general solution y=x2+x+Cy = x^2 + x + C. If y=5y = 5 when x=1x = 1, find the value of CC.
Q3·Straightforward
A differential equation is called **separable** if it can be written in the form dydx=g(x)h(y)\dfrac{dy}{dx} = g(x)h(y). Which of the following is separable?
Q4·Straightforward
The differential equation dydx=ex\dfrac{dy}{dx} = e^x with initial condition y(0)=2y(0) = 2 has solution y=ex+Cy = e^x + C. Find the value of CC.
Q5·Moderate
Solve the separable equation dydx=2xy\dfrac{dy}{dx} = 2xy with initial condition y(0)=3y(0) = 3. Find y(1)y(1) to 4 decimal places.
Q6·Moderate
Solve dydx=xy\dfrac{dy}{dx} = \dfrac{x}{y} with y(0)=2y(0) = 2. Find y(3)y(3) to 4 decimal places.
Q7·Moderate
A direction field (slope field) for dydx=y\dfrac{dy}{dx} = y shows line segments with positive slope wherever y>0y > 0 and negative slope wherever y<0y < 0. Which function family is the general solution?
Q8·Moderate
The rate of change of a quantity PP satisfies dPdt=5−P\dfrac{dP}{dt} = 5 - P. Find the general solution P(t)P(t). If P(0)=2P(0) = 2, what is P(ln⁡2)P(\ln 2) to 2 decimal places?
Q9·Moderate
Solve dydx=cos⁡x\dfrac{dy}{dx} = \cos x with y(0)=1y(0) = 1. Find y ⁣(π2)y\!\left(\dfrac{\pi}{2}\right).
Q10·Challenging
Solve the separable equation dydx=1−y2y\dfrac{dy}{dx} = \dfrac{1-y^2}{y} with y(0)=2y(0) = 2. Find y(1)y(1) to 4 decimal places.
Q11·Challenging
A tank initially contains 100 L of pure water. Salt solution containing 2 g/L flows in at 5 L/min, and the well-mixed solution drains at 5 L/min. The amount of salt QQ grams after tt minutes satisfies dQdt=10−Q20\dfrac{dQ}{dt} = 10 - \dfrac{Q}{20}. If Q(0)=0Q(0) = 0, find Q(20)Q(20) to 2 decimal places.
Q12·Challenging
The velocity vv (m/s) of a particle satisfies dvdt=4−v\dfrac{dv}{dt} = 4 - v with v(0)=0v(0) = 0. Find the time tt (in seconds, to 4 decimal places) at which v=2v = 2.