Further Maths Help.co.uk

Topics

First order differential equations

Solving a differential equation determines a family of functions until a condition fixes the constant.

Try a fresh questionRead the worked method

For a separable equation, move all factors involving y to one side and all factors involving x to the other, then integrate. Dividing by a factor of y can remove an equilibrium solution; check the original equation for those cases.

Apply an initial or boundary condition after finding the general solution. Substitute the result back into the original equation to check it. In a model, discuss whether the solution makes sense within its intended domain.

Worked example

Solve dy/dx = 2y with y(0) = 3.

  1. For y ≠ 0, integrate dy/y = 2 dx to get ln|y| = 2x + C.
  2. Write y = Ae^(2x).
  3. The initial condition gives A = 3.

Answer: y = 3e^(2x)

Revise first: Integration and exact area.

Use the initial condition after integrating

For y′+p(x)y=q(x), the integrating factor turns the left side into a product derivative. It is nonzero on the interval where the equation is defined. Keep a constant when integrating and use the initial condition afterwards. If coefficients involve 1/x, specify an interval that does not cross zero.

A variable coefficient

Solve y′+2y/x=xy\prime+2y/x=x on x>0 with y(1)=2. The factor is x², so (x2y)′=x3(x^2y)\prime=x^3. Hence y=x2/4+C/x2y=x^2/4+C/x^2, and C=7/4.

Resonant forcing

For y′−y=exy\prime-y=e^x, multiplying by e^(−x) gives (ye−x)′=1(ye^{-x})\prime=1. Thus y=(x+C)exy=(x+C)e^x. The factor x is required because eˣ already solves the homogeneous equation.

A mistake worth checking

A particular solution alone need not satisfy the initial value. Omitting the homogeneous term removes the freedom needed to fit it.

Why can the first solution not simply be extended through x=0?

The differential equation contains 2/x and is undefined there; this solution also has a pole because C≠0. Its stated interval is part of the problem.

Try this before opening the working

Solve y′+3y=6y\prime+3y=6, with y(0)=5, and verify it.

Compare your reasoning

The solution is y=2+3e^(−3x). Its derivative is −9e^(−3x), so y′+3y=6, and its initial value is 5.

Choose a longer question · Check a misconception

Forcing terms and repeated roots

A first-order linear equation y′ + py = q uses the integrating factor e^(∫p dx). Multiplying by it turns the left side into the derivative of a product. Keep the integration constant until you apply the initial condition.

For a constant-coefficient second-order homogeneous equation, substitute y = e^(rx) to obtain the auxiliary equation. Two distinct real roots give two exponential terms. A repeated root r instead gives (A + Bx)e^(rx); writing two copies of e^(rx) gives only one independent solution.

A forced equation needs a complementary function and a particular integral. A polynomial trial is useful for polynomial forcing, provided it is not already part of the complementary function. If it overlaps, multiply the trial by a sufficient power of x.

Solving y′ + 2y = 4x + 6, y(0) = 5

  1. Try y_p = ax + b. Then y_p′ + 2y_p = 2ax + a + 2b.
  2. Comparing coefficients gives a = 2 and 2 + 2b = 6, hence b = 2.
  3. The homogeneous solution is Ce^(−2x), so y = 2x + 2 + Ce^(−2x).
  4. The initial condition gives C = 3. Differentiate and substitute: y′ + 2y = 4x + 6, and y(0) = 5.
For y″ − 4y′ + 4y = 0, why is y = Ae^(2x) + Be^(2x) insufficient?

Both terms are multiples of the same function. The repeated root needs y = (A + Bx)e^(2x).

Take the idea further

With y(0) = 1 and y′(0) = 0 in that repeated-root equation, A = 1 and B = −2.

Explore the diagram and test a prediction

More advanced methods

Find the constant and check the model

For y′ + 2y = 0, the integrating factor e²ˣ gives d(e²ˣy)/dx = 0. Thus y = Ce⁻²ˣ. An initial condition fixes C; it is not an optional final detail.

For y′ + 2y = 6 and y(0) = 1, a constant particular solution is 3. The full solution is y = 3 − 2e⁻²ˣ. Substitution gives y′ + 2y = 6, and y approaches 3 as x increases. The equilibrium is visible both in the differential equation and in the solution.

If this describes a cooling or mixing model, the constant coefficients assume an unchanged environment or flow. A mathematically correct solution need not remain a realistic model after those assumptions fail. State the time interval and units in an application.

Check the condition

The initial condition should be applied to the particular solution alone.

A different problem

Replace the initial value 1 by 5. Find the new constant and decide whether the solution approaches the equilibrium from above or below.

Try with support · Try a demanding form

Choose a method in an exam-style question. The course filter checks whether it fits your route; extension tasks are labelled.

After feedback, try a fresh question without help. Your revision queue uses delayed retrieval once you choose a course.

Practise first order differential equations

Course mapping

These specification references show where the topic occurs. The questions cover only some parts of each topic.

Next practice: Hyperbolic functions.