Leaving Certificate Applied Mathematics8.7 Solving separable differential equations

All books

8.7 Solving separable differential equations — Practise with help

Warm-up: remember

  1. Find ∫6t dt\displaystyle\int 6t\,dt.
  2. Find ∫1y dy\displaystyle\int \frac{1}{y}\,dy.
  3. Differentiate e3xe^{3x}.
Answers and feedback
  1. 3t2+C3t^2 + C. Raise the power and divide by the new power.
  2. ln⁡∣y∣+C\ln|y| + C. This is the integral that produces the logarithm in a separable solution.
  3. 3e3x3e^{3x}. The derivative brings down the constant, which is what makes ektk\dfrac{e^{kt}}{k} the integral of ekte^{kt}.

Practise with help

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

Hint

Divide by yy and integrate both sides.

Next step

∫1y dy=∫4x dx\displaystyle\int \frac{1}{y}\,dy = \int 4x\,dx, so ln⁡∣y∣=2x2+C\ln|y| = 2x^2 + C.

Full working

Raise ee to both sides and write A=eCA = e^C:

y=Ae2x2.y = Ae^{2x^2}.

Check by differentiating: dydx=4xAe2x2=4xy\dfrac{dy}{dx} = 4xAe^{2x^2} = 4xy.

2. Solve dydx=x2y\dfrac{dy}{dx} = \dfrac{x^2}{y}, giving the general solution.

Hint

Multiply by yy to get y dy=x2 dxy\,dy = x^2\,dx.

Next step

y22=x33+C\dfrac{y^2}{2} = \dfrac{x^3}{3} + C.

Full working

Multiply by 22 and rename the constant:

y2=2x33+K,y=±2x33+K.y^2 = \frac{2x^3}{3} + K, \qquad y = \pm\sqrt{\frac{2x^3}{3} + K}.

The initial condition fixes the sign.

3. Solve dydx=y2\dfrac{dy}{dx} = \dfrac{y}{2}, giving the general solution.

Hint

Divide by yy and integrate.

Next step

ln⁡∣y∣=x2+C\ln|y| = \dfrac{x}{2} + C.

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

This is exponential growth with rate 12\dfrac{1}{2}, matching Section 8.2.

4. Find the particular solution of dydx=3xy\dfrac{dy}{dx} = 3xy for which y=2y = 2 when x=0x = 0.

Hint

Find the general solution first, then substitute the initial condition.

Next step

The general solution is y=Ae3x2/2y = Ae^{3x^2/2}.

Full working

At x=0x = 0, y=2y = 2:

2=Ae0=A,y=2e3x2/2.2 = Ae^0 = A, \qquad y = 2e^{3x^2/2}.

Check x=0x = 0: y=2y = 2, as required.

5. A liquid cools so that dTdt=−0.05(T−25)\dfrac{dT}{dt} = -0.05(T - 25), with T=85T = 85°C when t=0t = 0. Find TT in terms of tt.

Hint

Separate with 1T−25\dfrac{1}{T - 25} on the left.

Next step

ln⁡∣T−25∣=−0.05t+C\ln|T - 25| = -0.05t + C, so T=25+Ae−0.05tT = 25 + Ae^{-0.05t}.

Full working T=25+Ae−0.05t.T = 25 + Ae^{-0.05t}.

At t=0t = 0, T=85T = 85:

85=25+A,A=60,T=25+60e−0.05t.85 = 25 + A, \qquad A = 60, \qquad T = 25 + 60e^{-0.05t}.

The temperature falls towards the room temperature of 2525°C.

6. A body falls so that dvdt=10−2v\dfrac{dv}{dt} = 10 - 2v, with v=0v = 0 when t=0t = 0. Find vv in terms of tt.

Hint

Divide by 10−2v10 - 2v and integrate.

Next step

−12ln⁡∣10−2v∣=t+C-\dfrac{1}{2}\ln|10 - 2v| = t + C, so 10−2v=Ae−2t10 - 2v = Ae^{-2t}.

Full working

At t=0t = 0, v=0v = 0 gives 10=A10 = A, so

10−2v=10e−2t,v=5(1−e−2t).10 - 2v = 10e^{-2t}, \qquad v = 5\left(1 - e^{-2t}\right).

The velocity approaches the terminal value 55 m/s.

7. A student solves dydx=xy\dfrac{dy}{dx} = xy and writes y=ex2/2+Cy = e^{x^2/2} + C. Explain the mistake.

Hint

What happens to the constant when you exponentiate both sides?

Next step

From ln⁡∣y∣=x22+C\ln|y| = \dfrac{x^2}{2} + C, exponentiating gives ∣y∣=eCex2/2|y| = e^C e^{x^2/2}.

Full working

The constant of integration is added before exponentiating, so it becomes a multiplier, not a term added to the answer. Writing A=eCA = e^C gives

y=Aex2/2.y = Ae^{x^2/2}.

The student's expression ex2/2+Ce^{x^2/2} + C is not a solution: its derivative is xex2/2xe^{x^2/2}, which is not xyxy for that expression.

A question from Section 8.5

8. Solve dPdt=30−0.1P\dfrac{dP}{dt} = 30 - 0.1P with P=0P = 0 when t=0t = 0, by separating the variables.

Hint

Rewrite the right-hand side as −0.1(P−300)-0.1(P - 300).

Next step

∫1P−300 dP=∫−0.1 dt\displaystyle\int \frac{1}{P - 300}\,dP = \int -0.1\,dt, so ln⁡∣P−300∣=−0.1t+C\ln|P - 300| = -0.1t + C.

Full working P−300=Ae−0.1t,P=300+Ae−0.1t.P - 300 = Ae^{-0.1t}, \qquad P = 300 + Ae^{-0.1t}.

At t=0t = 0, P=0P = 0:

0=300+A,A=−300,P=300(1−e−0.1t).0 = 300 + A, \qquad A = -300, \qquad P = 300\left(1 - e^{-0.1t}\right).

The amount rises towards the equilibrium 300300, which is 300.1\dfrac{30}{0.1} as Section 8.5 predicted.

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.