11.10PureStretch

Solving Differential Equations

A first-order differential equation can be solved by separating the variables — getting all the y-terms on one side and the x-terms on the other — then integrating both sides.

28 min Integration
Edexcel A level Maths: 11.10 Solving Differential Equations (Part 1)Curated by Kepler, not produced by us. Watch it before the notes below.
Open on YouTube

What you'll be able to do

  • Separate variables in a differential equation
  • Integrate both sides
  • Find the general solution (with + c)
  • Use a boundary condition for the particular solution
1

Separating variables

For dydx=f(x)g(y)\dfrac{dy}{dx} = f(x)g(y), rearrange to 1g(y) dy=f(x) dx\dfrac{1}{g(y)}\,dy = f(x)\,dx and integrate both sides. One constant of integration covers both.

∫1g(y) dy=∫f(x) dx\int \frac{1}{g(y)}\,dy = \int f(x)\,dx
Separation of variables.
Example 1Solve dydx=xy\dfrac{dy}{dx} = xy.
1∫1y dy=∫x dx\int \tfrac{1}{y}\,dy = \int x\,dx.
2ln⁡∣y∣=x22+c\ln|y| = \tfrac{x^2}{2} + c, so y=Aex2/2y = A e^{x^2/2}.
Answer
y=Aex2/2y = A e^{x^2/2}

Tip — The general solution keeps an arbitrary constant; a boundary condition pins it down.

2

General vs particular

The general solution\textbf{general solution} contains the arbitrary constant. Substituting a given condition (e.g. y=1y = 1 when x=0x = 0) gives the particular solution\textbf{particular solution}.

Formula recap

∫1g(y) dy=∫f(x) dx\int \frac{1}{g(y)}\,dy = \int f(x)\,dx
Separate and integrate.
y=Aekxy = A e^{kx}
Typical exponential solution.

Common mistakes to avoid

Forgetting the constant of integration.
The general solution needs +c (or A).
Not using the boundary condition when asked for the particular solution.
Substitute the given values to find the constant.

Key takeaways

  • Separate variables: y-terms one side, x-terms the other.
  • Integrate both sides (one constant).
  • Use a boundary condition for the particular solution.

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. To solve a first-order ODE you usually:

    • separate the variables
    • differentiate
    • use the quotient rule
    • guess
    Show answer and explanation

    Answer: separate the variables

    Then integrate.

  2. For dydx=xy\frac{dy}{dx} = xy, you write:

    • ∫1y dy=∫x dx\int \tfrac{1}{y}\,dy = \int x\,dx
    • ∫y dy=∫x dx\int y\,dy = \int x\,dx
    • ∫1x dx=∫y dy\int \tfrac{1}{x}\,dx = \int y\,dy
    • ∫xy dx\int xy\,dx
    Show answer and explanation

    Answer: ∫1y dy=∫x dx\int \tfrac{1}{y}\,dy = \int x\,dx

    Separate.

  3. The solution of dydx=xy\frac{dy}{dx}=xy is:

    • y=Aex2/2y = A e^{x^2/2}
    • y=Aexy = A e^{x}
    • y=x2/2+cy = x^2/2 + c
    • y=ln⁡xy = \ln x
    Show answer and explanation

    Answer: y=Aex2/2y = A e^{x^2/2}

    ln|y| = x²/2 + c.

  4. The general solution contains:

    • an arbitrary constant
    • no constant
    • two variables
    • a derivative
    Show answer and explanation

    Answer: an arbitrary constant

    +c or A.

  5. A boundary condition gives the:

    • particular solution
    • general solution
    • derivative
    • asymptote
    Show answer and explanation

    Answer: particular solution

    Fixes the constant.

Next step

Check your understanding

Work through questions on Solving Differential Equations. Use the feedback to decide what needs another look.

4 past-paper questions · 17 marks

Practise this topic

Related lessons

All 11 lessons

Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.