A-level Mathematics8.7 Separable first-order differential equations

All books

8.7 Separable first-order differential equations — Practise with help

Work each question closed book first. Separate the variables before you integrate, and keep one constant of integration. Substitute the initial condition at the end.

Warm-up: remember

  1. Solve e2x=5e^{2x} = 5 for xx, giving an exact answer.
  2. Write ln⁡a+ln⁡b\ln a + \ln b as a single logarithm.
  3. Find ∫1ydy\displaystyle\int \frac{1}{y}dy for y>0y > 0.
Answers
  1. 2x=ln⁡52x = \ln 5, so x=12ln⁡5x = \dfrac{1}{2}\ln 5.
  2. ln⁡(ab)\ln(ab).
  3. ln⁡y+C\ln y + C.

If question 1 was hard, revise solving exponential equations in Section 6.4.

Practise with help

1. Solve dydx=3xy\dfrac{dy}{dx} = 3xy, giving the general solution.

Hint

Divide both sides by yy, then integrate. The right-hand side becomes ∫3xdx\displaystyle\int 3xdx.

Next step

ln⁡∣y∣=3x22+C\ln|y| = \dfrac{3x^2}{2} + C. Exponentiate both sides and replace eCe^C by a constant AA.

Full working y=Ae3x2/2.y = Ae^{3x^2/2}.

Different values of AA give the different curves in the family. Check by differentiating: dydx=3xAe3x2/2=3xy\dfrac{dy}{dx} = 3xAe^{3x^2/2} = 3xy.

2. Solve dydx=xy\dfrac{dy}{dx} = \dfrac{x}{y} for which y=2y = 2 when x=0x = 0.

Hint

Multiply both sides by yy and integrate. The general solution is y2=x2+Ky^2 = x^2 + K.

Next step

Substitute x=0x = 0 and y=2y = 2 into y2=x2+Ky^2 = x^2 + K: 4=0+K4 = 0 + K, so K=4K = 4. Choose the positive root because the initial value is positive.

Full working y2=x2+4,y=x2+4.y^2 = x^2 + 4, \qquad y = \sqrt{x^2 + 4}.

The initial value y(0)=2y(0) = 2 is positive, so the positive square root is the correct branch.

3. Solve dydx=exy\dfrac{dy}{dx} = \dfrac{e^x}{y}, giving the general solution.

Hint

Multiply both sides by yy. Both sides are then standard integrals.

Next step

ydy=exdxydy = e^xdx, so y22=ex+C\dfrac{y^2}{2} = e^x + C. Multiply by 22 and rename the constant.

Full working y2=2ex+K.y^2 = 2e^x + K.

The constant K=2CK = 2C absorbs the factor of 22. The general solution can be written as y=±2ex+Ky = \pm\sqrt{2e^x + K}.

4. Solve dydx=x(y−1)\dfrac{dy}{dx} = x(y - 1) for which y=3y = 3 when x=0x = 0.

Hint

The right-hand side is already factorised. Divide by y−1y - 1 and integrate.

Next step

ln⁡∣y−1∣=x22+C\ln|y - 1| = \dfrac{x^2}{2} + C, so y=1+Aex2/2y = 1 + Ae^{x^2/2}. Substitute the initial condition.

Full working

Substitute x=0x = 0 and y=3y = 3:

3=1+A,A=2.3 = 1 + A, \qquad A = 2.

The particular solution is

y=1+2ex2/2.y = 1 + 2e^{x^2/2}.

The constant term 11 is the value that makes dydx\dfrac{dy}{dx} zero when y=1y = 1.

5. Solve dydx=yx\dfrac{dy}{dx} = \dfrac{y}{x} for x>0x > 0.

Hint

Divide by yy, then integrate both sides. On the right, use the standard integral of 1x\dfrac{1}{x}.

Next step

ln⁡∣y∣=ln⁡x+C\ln|y| = \ln x + C. Exponentiate to turn the sum of logarithms into a product.

Full working y=Ax.y = Ax.

Every straight line through the origin with x>0x > 0 is a solution. Check: dydx=A=Axx=yx\dfrac{dy}{dx} = A = \dfrac{Ax}{x} = \dfrac{y}{x}.

6. A body moves so that its velocity vv satisfies dvdt=2−v\dfrac{dv}{dt} = 2 - v, and v=0v = 0 when t=0t = 0. Find vv in terms of tt.

Hint

Rearrange to ∫12−vdv=∫1dt\displaystyle\int \frac{1}{2 - v}dv = \int 1dt. The left side gives −ln⁡∣2−v∣-\ln|2 - v|.

Next step

−ln⁡∣2−v∣=t+C-\ln|2 - v| = t + C, so ln⁡∣2−v∣=−t−C\ln|2 - v| = -t - C and 2−v=Ae−t2 - v = Ae^{-t}. Substitute t=0t = 0, v=0v = 0.

Full working

At t=0t = 0: 2−0=A2 - 0 = A, so A=2A = 2. Then

2−v=2e−t,v=2−2e−t.2 - v = 2e^{-t}, \qquad v = 2 - 2e^{-t}.

As tt grows, e−te^{-t} tends to zero and vv approaches 22. The value 22 is the terminal velocity, where dvdt=0\dfrac{dv}{dt} = 0.

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.