Maths4UBETA

Separating variables

Recognise separable equations, integrate each variable on its own side, and check restrictions introduced when dividing.

Try the quick check →
Lesson 3 of 5

Section 1 of 5 · Core · about 5 min

How can I put each variable on its own side?

Look for a product of a function of xx and a function of yy. Move the y factor to the same side as dy\mathrm dy. If a variable is absent, its factor can be one.

Worked example

Separate a reciprocal power of y

For x>0, y>0x>0,\ y>0, dydx=2x2y\frac{\mathrm dy}{\mathrm dx}=\frac{2 x^{2}}{y}. The general solution can be written as y2=ax3+Cy^{2}=ax^{3}+C. Find aa.

  1. Multiply by the power of yy from the denominator to isolate yy terms on the left.

  2. Integrating gives y22=2x33+C1\frac{y^{2}}{2}=\frac{2 x^{3}}{3}+C_1.

  3. Multiply by 22 and rename the arbitrary constant. The result is y2=C+4x33y^{2}=C + \frac{4 x^{3}}{3}.

Your turn

For x>0, y>0x>0,\ y>0, dydx=3x3y2\frac{\mathrm dy}{\mathrm dx}=\frac{3 x^{3}}{y^{2}}. The general solution can be written as y3=ax4+Cy^{3}=ax^{4}+C. Find aa.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Section 2 of 5 · Core · about 5 min

When should I keep absolute values?

Dividing by a y factor can produce the reciprocal 1y\frac1y. Its antiderivative is logarithmic on any non-zero branch.

Worked example

Recognise logarithms on both sides

For x>0, y>0x>0,\ y>0, dydx=3y2x+1\frac{\mathrm dy}{\mathrm dx}=\frac{3 y}{2 x + 1}. Write the integrated relation as ln⁡y=aln⁡(2x+1)+C\ln y=a\ln(2 x + 1)+C. Find aa.

  1. Divide by yy, which is positive, so the left integrand is 1y\frac{1}{y}.

  2. The right-hand side is a constant over a linear expression. Its antiderivative contains a factor 12\frac{1}{2}.

  3. Therefore ln⁡y=C+3log⁡(2x+1)2\ln y=C + \frac{3 \log{\left(2 x + 1 \right)}}{2}.

Your turn

For x>0, y>0x>0,\ y>0, dydx=10y3x+2\frac{\mathrm dy}{\mathrm dx}=\frac{10 y}{3 x + 2}. Write the integrated relation as ln⁡y=aln⁡(3x+2)+C\ln y=a\ln(3 x + 2)+C. Find aa.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Section 3 of 5 · Core · about 7 min

What if the separated denominator has two factors?

Separate first to see exactly which rational expression needs integrating. Write the appropriate partial fractions in its own variable.

Worked example

Use partial fractions after separation

A positive function satisfies dydx=(y+4)(2y+4)\frac{\mathrm dy}{\mathrm dx}=\left(y + 4\right) \left(2 y + 4\right). Find a,ba,b such that the integrated relation is aln⁡(y+2)+bln⁡(y+4)=2x+Ca\ln(y + 2)+b\ln(y + 4)=2x+C.

  1. Divide by the product of the positive linear factors.

  2. The partial fractions of 1(y+2)(y+4)\frac{1}{\left(y + 2\right) \left(y + 4\right)} are −12(y+4)+12(y+2)- \frac{1}{2 \left(y + 4\right)} + \frac{1}{2 \left(y + 2\right)} when written with separate denominators.

  3. Integrating gives log⁡(y+2)2−log⁡(y+4)2=C+2x\frac{\log{\left(y + 2 \right)}}{2} - \frac{\log{\left(y + 4 \right)}}{2}=C + 2 x, so the two coefficients have opposite signs.

Your turn

A positive function satisfies dydx=(y+5)(3y+9)\frac{\mathrm dy}{\mathrm dx}=\left(y + 5\right) \left(3 y + 9\right). Find a,ba,b such that the integrated relation is aln⁡(y+3)+bln⁡(y+5)=3x+Ca\ln(y + 3)+b\ln(y + 5)=3x+C.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Worked example

Use partial fractions after separation

A positive function satisfies dydx=(y+7)(4y+16)\frac{\mathrm dy}{\mathrm dx}=\left(y + 7\right) \left(4 y + 16\right). Find a,ba,b such that the integrated relation is aln⁡(y+4)+bln⁡(y+7)=4x+Ca\ln(y + 4)+b\ln(y + 7)=4x+C.

Try it on paper first.

  1. Divide by the product of the positive linear factors.

  2. The partial fractions of 1(y+4)(y+7)\frac{1}{\left(y + 4\right) \left(y + 7\right)} are −13(y+7)+13(y+4)- \frac{1}{3 \left(y + 7\right)} + \frac{1}{3 \left(y + 4\right)} when written with separate denominators.

  3. Integrating gives log⁡(y+4)3−log⁡(y+7)3=C+4x\frac{\log{\left(y + 4 \right)}}{3} - \frac{\log{\left(y + 7 \right)}}{3}=C + 4 x, so the two coefficients have opposite signs.

Your turn

A positive function satisfies dydx=(y+13)(7y+49)\frac{\mathrm dy}{\mathrm dx}=\left(y + 13\right) \left(7 y + 49\right). Find a,ba,b such that the integrated relation is aln⁡(y+7)+bln⁡(y+13)=7x+Ca\ln(y + 7)+b\ln(y + 13)=7x+C.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Section 4 of 5 · Core · about 5 min

What if one side contains a trigonometric function?

The antiderivative method can differ on each side. A logarithm in yy can occur alongside a sine in xx.

Worked example

Separate a trigonometric factor in x

On an interval where y>−1y>-1, dydx=(2y+2)cos⁡(3x)\frac{\mathrm dy}{\mathrm dx}=\left(2 y + 2\right) \cos{\left(3 x \right)}. Write the integrated relation as ln⁡(y+1)=asin⁡(3x)+C\ln(y+1)=a\sin(3x)+C. Find aa.

  1. Separate using 1y+1\frac{1}{y+1} on the yy side. This division is allowed by the condition.

  2. Integrate both sides. The inner multiplier in the cosine term must be accounted for.

  3. The integrated relation is ln⁡(y+1)=C+2sin⁡(3x)3\ln(y+1)=C + \frac{2 \sin{\left(3 x \right)}}{3}.

Your turn

On an interval where y>−1y>-1, dydx=(3y+3)cos⁡(4x)\frac{\mathrm dy}{\mathrm dx}=\left(3 y + 3\right) \cos{\left(4 x \right)}. Write the integrated relation as ln⁡(y+1)=asin⁡(4x)+C\ln(y+1)=a\sin(4x)+C. Find aa.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Section 5 of 5 · Core · about 7 min

Which solutions can division leave out?

Separation by division assumes the divisor is non-zero. A value where the original rate is zero for every input may itself be a solution.

Worked example

Recover constant solutions before dividing

Find every constant solution of dydx=(y−1)(y+3)\frac{\mathrm dy}{\mathrm dx}=\left(y - 1\right) \left(y + 3\right) by giving the set of its possible yy values.

  1. A constant function has derivative zero on its whole interval.

  2. Set both factors of (y−1)(y+3)\left(y - 1\right) \left(y + 3\right) equal to zero in turn.

  3. The two constant functions are y=−3y=-3 and y=1y=1. Each makes the original derivative equation read 0=00=0.

Your turn

Find every constant solution of dydx=(y−2)(y+4)\frac{\mathrm dy}{\mathrm dx}=\left(y - 2\right) \left(y + 4\right) by giving the set of its possible yy values.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Worked example

Recover constant solutions before dividing

Find every constant solution of dydx=(y−3)(y+5)\frac{\mathrm dy}{\mathrm dx}=\left(y - 3\right) \left(y + 5\right) by giving the set of its possible yy values.

Try it on paper first.

  1. A constant function has derivative zero on its whole interval.

  2. Set both factors of (y−3)(y+5)\left(y - 3\right) \left(y + 5\right) equal to zero in turn.

  3. The two constant functions are y=−5y=-5 and y=3y=3. Each makes the original derivative equation read 0=00=0.

Your turn

Find every constant solution of dydx=(y−6)(y+8)\frac{\mathrm dy}{\mathrm dx}=\left(y - 6\right) \left(y + 8\right) by giving the set of its possible yy values.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Worked examples

Practise the method

Core practice

Question 1 of 4

0 / 4 checked in this collection

Question list

Core practice

Fresh variants

Exam-style

Separate a reciprocal power of y

1 mark

For x>0, y>0x>0,\ y>0, dydx=5x4y4\frac{\mathrm dy}{\mathrm dx}=\frac{5 x^{4}}{y^{4}}. The general solution can be written as y5=ax5+Cy^{5}=ax^{5}+C. Find aa.

Enter the complete form using all three fields: a(x − h)² + c.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Full answer-format guide

Exact numbers: 3/2, sqrt(5), 2-sqrt(3), pi/6, 3*pi/2. Sets: {1,4}. Intervals: (3,5]; a round bracket excludes the endpoint. Infinity: inf; union: U; no solutions: empty. Separate coordinate pairs or triples with semicolons. Expressions: 2x^2+3x-1; equations: x^2=3x+1 or the polynomial equal to zero. Factors: x-1 ; x+2. Parameter fraction: numerator ; denominator. List integer answers individually.

Review the method

Progress stays in this browser. Create an account to save it or sign in.

Extra practice from this lesson

Separate a reciprocal power of y

For x>0, y>0x>0,\ y>0, dydx=4x2y3\frac{\mathrm dy}{\mathrm dx}=\frac{4 x^{2}}{y^{3}}. The general solution can be written as y4=ax3+Cy^{4}=ax^{3}+C. Find aa.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Recognise logarithms on both sides

For x>0, y>0x>0,\ y>0, dydx=2y4x+3\frac{\mathrm dy}{\mathrm dx}=\frac{2 y}{4 x + 3}. Write the integrated relation as ln⁡y=aln⁡(4x+3)+C\ln y=a\ln(4 x + 3)+C. Find aa.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Use partial fractions after separation

A positive function satisfies dydx=(y+15)(8y+64)\frac{\mathrm dy}{\mathrm dx}=\left(y + 15\right) \left(8 y + 64\right). Find a,ba,b such that the integrated relation is aln⁡(y+8)+bln⁡(y+15)=8x+Ca\ln(y + 8)+b\ln(y + 15)=8x+C.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Separate a trigonometric factor in x

On an interval where y>−1y>-1, dydx=(4y+4)cos⁡(5x)\frac{\mathrm dy}{\mathrm dx}=\left(4 y + 4\right) \cos{\left(5 x \right)}. Write the integrated relation as ln⁡(y+1)=asin⁡(5x)+C\ln(y+1)=a\sin(5x)+C. Find aa.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Recover constant solutions before dividing

Find every constant solution of dydx=(y−7)(y+9)\frac{\mathrm dy}{\mathrm dx}=\left(y - 7\right) \left(y + 9\right) by giving the set of its possible yy values.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Apply it · original exam-style problems

Show your working on paper and compare it with the worked solution and marking guidance.

Come back to what needs practice

Quick revision sheet (A4)

Your review plan starts after your first check.