Skip to content
8.7

Evaluate the analytical solution of simple first order differential equations with separable variables, including finding particular solutions.

Draft — not yet indexed

Separable differential equations

Worked answers and methods for 8.7 on Edexcel A-level Maths 9MA0.

Explanation

  • For $\frac{\mathrm dy}{\mathrm dx}=g(x)h(y)$, rearrange to place all yy-terms with dy\mathrm dy and all xx-terms with dx\mathrm dx, then integrate both sides.
  • Include a constant after integration and use the initial condition to determine it.
  • A family of solutions can be sketched from its equilibrium curves, initial values, gradients and long-term behaviour.
  • When logarithms arise, exponentiate carefully and use the stated domain or initial condition to choose any required sign or branch.
  • A common error is to divide by a factor involving yy without checking whether doing so loses a constant equilibrium solution.

Worked example

Solve dydx=x+1y\frac{\mathrm dy}{\mathrm dx}=\frac{x+1}{y}, given that y=2y=2 when x=0x=0 and y>0y>0.

  1. 1.Separate: ydy=(x+1)dxy\,\mathrm dy=(x+1)\,\mathrm dx.
  2. 2.Integration gives 12y2=12x2+x+C\frac12y^2=\frac12x^2+x+C, so y2=x2+2x+C1y^2=x^2+2x+C_1.
  3. 3.The condition y(0)=2y(0)=2 gives C1=4C_1=4.
  4. 4.Since y>0y>0, y=x2+2x+4y=\sqrt{x^2+2x+4}.

Answer: y=x2+2x+4y=\sqrt{x^2+2x+4}

Common mistakes

  • Don't rearrange dy/dx=f(x)/g(y)\mathrm dy/\mathrm dx=f(x)/g(y) as f(x)dy=g(y)dxf(x)\,\mathrm dy=g(y)\,\mathrm dx.
  • Don't separate variables but lose the integration constant or select a branch inconsistent with the initial condition.

Exam tip

After separation and integration, use the initial condition before choosing the branch required by the stated domain.

Worked practice

Q1
Tier 1 · Easy

1.

Solve dydx=2xy\frac{\mathrm dy}{\mathrm dx}=2xy, given that y=3y=3 when x=0x=0.

(4)

(Total for Question 1 is 4 marks)

Mark scheme

Mark scheme for question 1
QuestionSchemeMarks
1
  • y=3ex2y=3e^{x^2}
4
Notes
Separate variables: 1ydy=2xdx\frac1y\,\mathrm dy=2x\,\mathrm dx. Integrating gives lny=x2+C\ln|y|=x^2+C, so y=Aex2y=Ae^{x^2}. The condition y(0)=3y(0)=3 gives A=3A=3, hence y=3ex2y=3e^{x^2}.

(4 marks)

Q2
Tier 2 · Standard

2.

For dydx=3x(y2)\dfrac{\mathrm dy}{\mathrm dx}=3x(y-2), find the general non-equilibrium solution and state the equilibrium solution excluded when the variables are separated.

(4)

(Total for Question 2 is 4 marks)

Mark scheme

Mark scheme for question 2
QuestionSchemeMarks
2
  • y=2+Ae3x2/2y=2+Ae^{3x^2/2}, where A0A\ne0
  • Equilibrium solution: y=2y=2
4
Notes
Before dividing by y2y-2, note that y=2y=2 is a constant equilibrium solution. For y2y\ne2, separate to obtain dy/(y2)=3xdx\mathrm dy/(y-2)=3x\,\mathrm dx. Integration gives lny2=3x2/2+C\ln|y-2|=3x^2/2+C, so y2=Ae3x2/2y-2=Ae^{3x^2/2}. Hence the non-equilibrium family is y=2+Ae3x2/2y=2+Ae^{3x^2/2} with A0A\ne0, alongside the excluded equilibrium solution y=2y=2.

(4 marks)

Q3
Tier 3 · Hard

3.

Solve dydx=y(4y)\frac{\mathrm dy}{\mathrm dx}=y(4-y), given that y=1y=1 when x=0x=0. State the equilibrium solutions and describe the particular solution's long-term behaviour.

(9)

(Total for Question 3 is 9 marks)

Mark scheme

Mark scheme for question 3
QuestionSchemeMarks
3
  • y=41+3e4xy=\frac4{1+3e^{-4x}}
  • Equilibrium solutions y=0y=0 and y=4y=4; the particular solution increases towards y=4y=4
9
Notes
The constant solutions lost on division are y=0y=0 and y=4y=4. Otherwise separate and integrate to obtain 14(lnyln4y)=x+C\frac14(\ln|y|-\ln|4-y|)=x+C, so y4y=Ae4x\frac{y}{4-y}=Ae^{4x}. The initial condition gives A=1/3A=1/3, hence y=41+3e4xy=\frac4{1+3e^{-4x}}. It starts at 11, has positive gradient while 0<y<40<y<4, and tends to the upper equilibrium 44.

(9 marks)

Q4
Tier 1 · Easy

4.

Solve dydx=3x22y\dfrac{\mathrm dy}{\mathrm dx}=\dfrac{3x^2}{2y}, given that y=2y=2 when x=0x=0 and that y>0y>0.

(3)

(Total for Question 4 is 3 marks)

Mark scheme

Mark scheme for question 4
QuestionSchemeMarks
4
  • y=x3+4y=\sqrt{x^3+4}
3
Notes
Separate variables: 2ydy=3x2dx2y\,\mathrm dy=3x^2\,\mathrm dx. Integration gives y2=x3+Cy^2=x^3+C. The initial condition gives C=4C=4, and the condition y>0y>0 selects y=x3+4y=\sqrt{x^3+4}.

(3 marks)

Q5
Tier 2 · Standard

5.

Solve dydx=(2x+1)ey\dfrac{\mathrm dy}{\mathrm dx}=(2x+1)e^{-y}, given that y=ln2y=\ln2 when x=0x=0.

(4)

(Total for Question 5 is 4 marks)

Mark scheme

Mark scheme for question 5
QuestionSchemeMarks
5
  • y=ln(x2+x+2)y=\ln(x^2+x+2)
4
Notes
Separate variables to obtain eydy=(2x+1)dxe^y\,\mathrm dy=(2x+1)\,\mathrm dx. Integration gives ey=x2+x+Ce^y=x^2+x+C. Since y=ln2y=\ln2 at x=0x=0, C=2C=2. Taking logarithms gives y=ln(x2+x+2)y=\ln(x^2+x+2).

(4 marks)

Q6
Tier 3 · Hard

6.

Solve dydx=x(y1)2\dfrac{\mathrm dy}{\mathrm dx}=x(y-1)^2, given that y=0y=0 when x=0x=0. State the equilibrium solution and the limiting value of the particular solution as xx\to\infty.

(6)

(Total for Question 6 is 6 marks)

Mark scheme

Mark scheme for question 6
QuestionSchemeMarks
6
  • y=x2x2+2y=\dfrac{x^2}{x^2+2}
  • Equilibrium solution y=1y=1; the particular solution tends to 11
6
Notes
The equilibrium solution lost by division is y=1y=1. Otherwise (y1)2dy=xdx(y-1)^{-2}\,\mathrm dy=x\,\mathrm dx, giving 1/(y1)=x2/2+C-1/(y-1)=x^2/2+C. The initial condition gives C=1C=1, so 1/(1y)=1+x2/21/(1-y)=1+x^2/2 and hence y=x2/(x2+2)y=x^2/(x^2+2). As xx\to\infty, this tends to 11 from below.

(6 marks)

Q7
Tier 2 · Standard

7.

Solve dydx=2x+1y2\dfrac{\mathrm dy}{\mathrm dx}=\dfrac{2x+1}{y^2}, given that y=1y=1 when x=0x=0 and that y>0y>0.

(4)

(Total for Question 7 is 4 marks)

Mark scheme

Mark scheme for question 7
QuestionSchemeMarks
7
  • y=(3x2+3x+1)1/3y=(3x^2+3x+1)^{1/3}
4
Notes
Separate variables to obtain y2dy=(2x+1)dxy^2\,\mathrm dy=(2x+1)\,\mathrm dx. Integration gives y3/3=x2+x+Cy^3/3=x^2+x+C. The initial condition gives C=1/3C=1/3, so y3=3x2+3x+1y^3=3x^2+3x+1. The stated positive branch is y=(3x2+3x+1)1/3y=(3x^2+3x+1)^{1/3}.

(4 marks)

Q8
Tier 3 · Hard

8.

Solve dydx=(y+2)sinx\dfrac{\mathrm dy}{\mathrm dx}=(y+2)\sin x, given that y=1y=-1 when x=0x=0. State the equilibrium solution. Hence find all values of xx in 0x2π0\leq x\leq2\pi for which y=e2y=e-2.

(6)

(Total for Question 8 is 6 marks)

Mark scheme

Mark scheme for question 8
QuestionSchemeMarks
8
  • y=e1cosx2y=e^{1-\cos x}-2
  • Equilibrium solution y=2y=-2
  • x=π2,3π2x=\dfrac{\pi}{2},\dfrac{3\pi}{2}
6
Notes
The equilibrium solution lost on division is y=2y=-2. Otherwise dy/(y+2)=sinxdx\mathrm dy/(y+2)=\sin x\,\mathrm dx, so lny+2=cosx+C\ln|y+2|=-\cos x+C. The initial condition gives C=1C=1 and the positive sign, hence y=e1cosx2y=e^{1-\cos x}-2. Setting this equal to e2e-2 gives e1cosx=ee^{1-\cos x}=e, so cosx=0\cos x=0. The two solutions in the stated interval are π/2\pi/2 and 3π/23\pi/2.

(6 marks)

Q9
Tier 3 · Hard

9.

Solve dydx=(1+y2)cosx\dfrac{\mathrm dy}{\mathrm dx}=(1+y^2)\cos x, given that y=0y=0 when x=0x=0. For 0x2π0\leq x\leq2\pi, find the maximum and minimum values of yy and the values of xx at which they occur.

(6)

(Total for Question 9 is 6 marks)

Mark scheme

Mark scheme for question 9
QuestionSchemeMarks
9
  • y=tan(sinx)y=\tan(\sin x)
  • Maximum y=tan1y=\tan1 at x=π2x=\dfrac{\pi}{2}; minimum y=tan1y=-\tan1 at x=3π2x=\dfrac{3\pi}{2}
6
Notes
Separating gives dy/(1+y2)=cosxdx\mathrm dy/(1+y^2)=\cos x\,\mathrm dx, so arctany=sinx+C\arctan y=\sin x+C. The initial condition gives C=0C=0. Since 1sinx1-1\leq\sin x\leq1 lies wholly inside the principal range (π/2,π/2)(-\pi/2,\pi/2) of arctan\arctan, inversion gives the single continuous branch y=tan(sinx)y=\tan(\sin x). The tangent function is increasing on this range, so yy is largest when sinx=1\sin x=1, at x=π/2x=\pi/2, and smallest when sinx=1\sin x=-1, at x=3π/2x=3\pi/2.

(6 marks)

Q10
Tier 3 · Hard

10.

Solve dydx=exy2+1\dfrac{\mathrm dy}{\mathrm dx}=\dfrac{e^x}{y^2+1}, given that y=0y=0 when x=0x=0, leaving your solution in implicit form. Hence find the value of xx for which y=2y=2, and explain why this value is unique.

(6)

(Total for Question 10 is 6 marks)

Mark scheme

Mark scheme for question 10
QuestionSchemeMarks
10
  • y33+y=ex1\dfrac{y^3}{3}+y=e^x-1
  • x=ln(173)x=\ln\left(\dfrac{17}{3}\right)
  • The value is unique because dy/dx>0\mathrm dy/\mathrm dx>0 for all real xx
6
Notes
Separating gives (y2+1)dy=exdx(y^2+1)\,\mathrm dy=e^x\,\mathrm dx. Integration gives y3/3+y=ex+Cy^3/3+y=e^x+C, and the initial condition gives C=1C=-1. When y=2y=2, y3/3+y=14/3y^3/3+y=14/3, so ex=17/3e^x=17/3 and x=ln(17/3)x=\ln(17/3). Since both exe^x and y2+1y^2+1 are positive, dy/dx>0\mathrm dy/\mathrm dx>0 for every real xx; the solution is strictly increasing and can take the value 22 only once.

(6 marks)

Verified exam appearances

We have not yet indexed a verified real-paper appearance for 8.7. Browse the Edexcel A-level Maths 9MA0 past papers directly.

Other points in 8 Integration

Want help turning this into marks?

Bring 8.7 or any tricky specification point, and we can work through the method and exam wording together.