Maths4UBETA

General solutions by integration

Recover a family of curves from its gradient. Choose an antiderivative, keep one arbitrary constant and check by differentiating.

Try the quick check →
Lesson 2 of 5

Section 1 of 5 · Core · about 5 min

How can I recover y when the gradient depends only on x?

Solving the differential equation means finding a function that gives the stated derivative. If the right side only depends on xx, integrate directly.

Worked example

Integrate a polynomial gradient

The equation dydx=3x2−2\frac{\mathrm dy}{\mathrm dx}=3 x^{2} - 2 has a general solution of the form y=ax3+bx+Cy=ax^3+bx+C. Find the two displayed coefficients.

  1. The right-hand side depends only on xx, so integrate with respect to xx.

  2. Raise each power by one and divide its coefficient by the new power. The constant gradient integrates to a multiple of x.

  3. Write y=x3−2x+Cy=x^{3} - 2 x+C. Differentiation removes CC and gives 3x2−23 x^{2} - 2.

Your turn

The equation dydx=5x2−4\frac{\mathrm dy}{\mathrm dx}=5 x^{2} - 4 has a general solution of the form y=ax3+bx+Cy=ax^3+bx+C. Find the two displayed coefficients.

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 2 of 5 · Core · about 5 min

How do I handle an exponential rate?

The exponential retains its argument on integration. Its coefficient changes to undo the constant introduced by differentiation.

Worked example

Reverse the chain factor of an exponential

The equation dydx=2e3x−2\frac{\mathrm dy}{\mathrm dx}=2 e^{3 x} - 2 has a general solution of the form y=ae3x+bx+Cy=a\mathrm e^{3x}+bx+C. Find the two displayed coefficients.

  1. The right-hand side depends only on xx, so integrate with respect to xx.

  2. Differentiating the exponential brings out its inner coefficient. Divide by that coefficient when integrating.

  3. Write y=−2x+2e3x3+Cy=- 2 x + \frac{2 e^{3 x}}{3}+C. Differentiation removes CC and gives 2e3x−22 e^{3 x} - 2.

Your turn

The equation dydx=4e5x−2\frac{\mathrm dy}{\mathrm dx}=4 e^{5 x} - 2 has a general solution of the form y=ae5x+bx+Cy=a\mathrm e^{5x}+bx+C. Find the two displayed coefficients.

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 3 of 5 · Core · about 7 min

When does the solution contain a logarithm?

Check whether the numerator is a multiple of the derivative of the denominator. This is why a reciprocal of a linear expression gives a logarithm.

Worked example

Spot a logarithmic antiderivative

The equation dydx=2+32x+1\frac{\mathrm dy}{\mathrm dx}=2 + \frac{3}{2 x + 1} has a general solution of the form y=aln⁡∣2x+1∣+bx+Cy=a\ln|2x+1|+bx+C. Find the two displayed coefficients.

  1. The right-hand side depends only on xx, so integrate with respect to xx.

  2. The numerator is constant and the denominator is linear. Divide by the derivative of the denominator when integrating the reciprocal.

  3. Write y=32ln⁡∣2x+1∣+2x+Cy=\frac{3}{2}\ln|2x+1|+2x+C. Differentiation removes CC and gives 2+32x+12 + \frac{3}{2 x + 1}.

Your turn

The equation dydx=2+54x+1\frac{\mathrm dy}{\mathrm dx}=2 + \frac{5}{4 x + 1} has a general solution of the form y=aln⁡∣4x+1∣+bx+Cy=a\ln|4x+1|+bx+C. Find the two displayed coefficients.

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

Spot a logarithmic antiderivative

The equation dydx=2+73x+1\frac{\mathrm dy}{\mathrm dx}=2 + \frac{7}{3 x + 1} has a general solution of the form y=aln⁡∣3x+1∣+bx+Cy=a\ln|3x+1|+bx+C. Find the two displayed coefficients.

Try it on paper first.

  1. The right-hand side depends only on xx, so integrate with respect to xx.

  2. The numerator is constant and the denominator is linear. Divide by the derivative of the denominator when integrating the reciprocal.

  3. Write y=73ln⁡∣3x+1∣+2x+Cy=\frac{7}{3}\ln|3x+1|+2x+C. Differentiation removes CC and gives 2+73x+12 + \frac{7}{3 x + 1}.

Your turn

The equation dydx=2+176x+1\frac{\mathrm dy}{\mathrm dx}=2 + \frac{17}{6 x + 1} has a general solution of the form y=aln⁡∣6x+1∣+bx+Cy=a\ln|6x+1|+bx+C. Find the two displayed coefficients.

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

Which signs go with sine and cosine?

Recall which derivative gives sine with a minus sign. Use the same inner multiplier for the antiderivative.

Worked example

Integrate sine and cosine terms

The equation dydx=3sin⁡(2x)+2cos⁡(3x)\frac{\mathrm dy}{\mathrm dx}=3 \sin{\left(2 x \right)} + 2 \cos{\left(3 x \right)} has a general solution of the form y=acos⁡(2x)+bsin⁡(3x)+Cy=a\cos(2x)+b\sin(3x)+C. Find the two displayed coefficients.

  1. The right-hand side depends only on xx, so integrate with respect to xx.

  2. The cosine term has a negative coefficient because its derivative is negative sine. Adjust for each inner multiplier.

  3. Write y=2sin⁡(3x)3−3cos⁡(2x)2+Cy=\frac{2 \sin{\left(3 x \right)}}{3} - \frac{3 \cos{\left(2 x \right)}}{2}+C. Differentiation removes CC and gives 3sin⁡(2x)+2cos⁡(3x)3 \sin{\left(2 x \right)} + 2 \cos{\left(3 x \right)}.

Your turn

The equation dydx=5sin⁡(4x)+2cos⁡(5x)\frac{\mathrm dy}{\mathrm dx}=5 \sin{\left(4 x \right)} + 2 \cos{\left(5 x \right)} has a general solution of the form y=acos⁡(4x)+bsin⁡(5x)+Cy=a\cos(4x)+b\sin(5x)+C. Find the two displayed coefficients.

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 5 of 5 · Core · about 7 min

How do I check the whole family of curves?

Differentiating checks that all members of a family solve the same equation, since the arbitrary additive constant vanishes.

Worked example

Check the derivative and the arbitrary constant

The family of curves satisfies y=C+2x3−2x2+2y=C + 2 x^{3} - 2 x^{2} + 2. Find the gradient at x=−1x=-1. What is the coefficient of xx in the derivative?

  1. Differentiate each term. The two constant terms have derivative zero.

  2. The derivative is dydx=6x2−4x\frac{\mathrm dy}{\mathrm dx}=6 x^{2} - 4 x. Its linear coefficient is −4-4.

  3. Substituting the requested input gives dydx=10\frac{\mathrm dy}{\mathrm dx}=10.

Your turn

The family of curves satisfies y=C+3x3−3x2+5y=C + 3 x^{3} - 3 x^{2} + 5. Find the gradient at x=2x=2. What is the coefficient of xx in the derivative?

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Worked example

Check the derivative and the arbitrary constant

The family of curves satisfies y=C+4x3−4x2+8y=C + 4 x^{3} - 4 x^{2} + 8. Find the gradient at x=3x=3. What is the coefficient of xx in the derivative?

Try it on paper first.

  1. Differentiate each term. The two constant terms have derivative zero.

  2. The derivative is dydx=12x2−8x\frac{\mathrm dy}{\mathrm dx}=12 x^{2} - 8 x. Its linear coefficient is −8-8.

  3. Substituting the requested input gives dydx=84\frac{\mathrm dy}{\mathrm dx}=84.

Your turn

The family of curves satisfies y=C+7x3−7x2+17y=C + 7 x^{3} - 7 x^{2} + 17. Find the gradient at x=5x=5. What is the coefficient of xx in the derivative?

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

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

Integrate a polynomial gradient

2 marks

The equation dydx=11x2−5\frac{\mathrm dy}{\mathrm dx}=11 x^{2} - 5 has a general solution of the form y=ax3+bx+Cy=ax^3+bx+C. Find the two displayed coefficients.

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.

Enter the value on its own or write b = … . 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

Integrate a polynomial gradient

The equation dydx=7x2−3\frac{\mathrm dy}{\mathrm dx}=7 x^{2} - 3 has a general solution of the form y=ax3+bx+Cy=ax^3+bx+C. Find the two displayed coefficients.

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.

Reverse the chain factor of an exponential

The equation dydx=3e7x−2\frac{\mathrm dy}{\mathrm dx}=3 e^{7 x} - 2 has a general solution of the form y=ae7x+bx+Cy=a\mathrm e^{7x}+bx+C. Find the two displayed coefficients.

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.

Spot a logarithmic antiderivative

The equation dydx=2+198x+1\frac{\mathrm dy}{\mathrm dx}=2 + \frac{19}{8 x + 1} has a general solution of the form y=aln⁡∣8x+1∣+bx+Cy=a\ln|8x+1|+bx+C. Find the two displayed coefficients.

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.

Integrate sine and cosine terms

The equation dydx=7sin⁡(3x)+2cos⁡(7x)\frac{\mathrm dy}{\mathrm dx}=7 \sin{\left(3 x \right)} + 2 \cos{\left(7 x \right)} has a general solution of the form y=acos⁡(3x)+bsin⁡(7x)+Cy=a\cos(3x)+b\sin(7x)+C. Find the two displayed coefficients.

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.

Check the derivative and the arbitrary constant

The family of curves satisfies y=C+8x3−8x2+20y=C + 8 x^{3} - 8 x^{2} + 20. Find the gradient at x=6x=6. What is the coefficient of xx in the derivative?

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

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.