Separable differential equations and families of solutions

Separable differential equations and families of solutions

Spec 4.1 · Edexcel International A Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A separable equation dydx=f(x)g(y)\frac{dy}{dx}=f(x)g(y) is solved by ∫1g(y)dy=∫f(x) dx\int\frac1{g(y)}dy=\int f(x)\,dx with one constant.
  • A particular solution uses a given point to find the constant.
  • 'Proportional to' means =k×=k\times, and 'rate of decrease' means a negative sign.
  • The constant gives a family of curves that never cross.
  • Check by substituting back into the differential equation.

Separating the variables

Put all the yy terms on one side and all the xx terms on the other, integrate each side, and include one constant.

A first order equation is separable if it can be written dydx=f(x)g(y)\frac{dy}{dx}=f(x)g(y). Integrate each side and include one arbitrary constant to get the general solution.

The constant usually goes inside the logarithm or exponent, so it becomes a multiplier AA after exponentiating. If g(y)=0g(y)=0 for some value, then y=y= that constant is also a solution and may be lost in the division.

−2−1.5−1−0.50.511.5224681012xyy = Ae^(x²)
The general solution of dy/dx = 2xy is y = Ae^(x²): a family of curves, one for each value of the constant A.
  • dydx=f(x)g(y)\dfrac{dy}{dx}=f(x)g(y)∫1g(y) dy=∫f(x) dx\displaystyle\int\frac{1}{g(y)}\,dy=\int f(x)\,dx

Worked example

Solve dydx=2xy\frac{dy}{dx}=2xy with y>0y>0.

Solve dydx=3y\frac{dy}{dx}=3y with y>0y>0.

Particular solutions

Substitute the given values into the general solution to find the constant, then state the domain of the solution.

A particular solution is the member of the family through a given point. After finding yy, state the domain on which it is valid (for example x>0x>0 when ln⁡x\ln x appears).

Use the equation to find gradients and stationary points directly, without differentiating the solution.

−4−3−2−11234−0.50.511.522.53xy(0, 0)y = ln(1 + x²/2)
The particular solution y = ln(1 + x²/2) passes through the origin, where it has a minimum.

Worked example

Solve dydx=xe−y\frac{dy}{dx}=xe^{-y} given that y=0y=0 when x=0x=0.

y=Aex2y=Ae^{x^2} passes through (0,5)(0,5). What is AA?

Forming differential equations

Name the variables, write the rate as dydt\frac{dy}{dt}, use k×k\times for 'proportional to', and a negative sign for a decrease.

To form a differential equation: name the variables and write the rate as dydt\frac{dy}{dt} (or dydx\frac{dy}{dx} for a gradient). 'Is proportional to' means =k×=k\times. 'Rate of decrease' means a negative sign. Say what kk is and its sign.

For a geometric condition such as 'the gradient equals the yy-coordinate divided by x2x^2', write dydx=yx2\frac{dy}{dx}=\frac{y}{x^2}. Use the point given to find the constant.

1234567891020406080xyroom temperature 20(0, 80)θ = 20 + 60e^(−kt)
Cooling curve θ = 20 + 60e^(−kt), drawn with k = 0.5 to start. The temperature falls towards the room temperature of 20 °C.

Worked example

A drink cools in a room at 20 ∘C20\,^\circ\text{C}. Its rate of decrease of temperature is proportional to θ−20\theta-20, and θ=80\theta=80 at t=0t=0. Find θ\theta in terms of tt.

'The rate of decrease of NN is proportional to NN' gives which equation?

Families of solution curves

The arbitrary constant gives a family with one member through each point, so members never cross.

The arbitrary constant gives a family of curves. Through any point where the equation is defined there is exactly one member, so members never cross.

  • dydx=2xy\frac{dy}{dx}=2xy: y=Aex2y=Ae^{x^2}. All curves cross the yy-axis at (0,A)(0,A), with a minimum there when A>0A>0.
  • dydx=−xy\frac{dy}{dx}=-\frac xy: x2+y2=kx^2+y^2=k, circles centred at the origin.
  • xdydx=y2x\frac{dy}{dx}=y^2: y=1c−ln⁡xy=\frac{1}{c-\ln x}, with a vertical asymptote at x=ecx=e^c.
−1.5−1−0.50.511.5−6−4−2246xyy = Ae^(x²)A = 1
The family y = Ae^(x²) for dy/dx = 2xy. Move the slider to change A: every curve crosses the y-axis at (0, A).

dy/dx = 2xy

Solution:
y=Aex2y=Ae^{x^2}
Shape:
Cross the y-axis at (0, A)

dy/dx = −x/y

Solution:
x2+y2=kx^2+y^2=k
Shape:
Circles about the origin

x dy/dx = y²

Solution:
y=1c−ln⁡xy=\frac{1}{c-\ln x}
Shape:
Asymptote x=ecx=e^c

Why can two solution curves of the same equation never cross?

Checking and presenting

Check by differentiating and substituting, use ln⁡∣y∣\ln|y| if yy may be negative, and give the answer in the form asked.

Always check a solution: differentiate your yy and substitute into the original equation, or test the initial condition.

Use ln⁡∣y∣\ln|y| when yy may be negative; if y>0y>0 is given, write ln⁡y\ln y. In modelling questions, interpret the constants: kk is a rate constant with units (for example per minute), and the model may break down for large tt.

  1. 1

    Solve

    write the solution, with ln|y| if y may be negative

  2. 2

    Differentiate your y

    find dy/dx

  3. 3

    Substitute into the equation

    both sides must match

  4. 4

    Test the initial condition

    and interpret the constants in context

Check every solution before presenting it.
  • ∫1y dy\int\frac1y\,dyln⁡∣y∣\ln|y|
  • ∫ey dy\int e^y\,dyeye^y
  • ∫y−2 dy\int y^{-2}\,dy−1y-\frac1y

What is ∫1y2 dy\int\frac1{y^2}\,dy?

Try an exam question

Given that dydx=3xy2\frac{dy}{dx}=3xy^2 and y=1y=1 when x=0x=0, find yy in terms of xx.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which of the following is the general solution of the differential equation?

1 mark, marked against the mark scheme

Revision notes