How do i solve differential equations?

To solve differential equations we use a method called separation of variables. This is where we take all the ‘y’ values to one side of the equation and all the ‘x’ values to the other side of the equation make sure the ‘y’ terms are on the same side as the ‘dy/dx’. We then integrate both sides of the equation with respect to the variable of that side. We then if possible rearrange to equation with respect to y.


For example:

Solve this differential equation.


dy/dx = (3x2)/(y+1)


Step 1: Rearrange the equation so that the ‘y’ terms are on one side of the                                    equation and the ‘x’ terms are on the other side of the equation.


Times both sides by: (y+1).


(y+1)dy/dx = 3x2


Step 2: Integrate both sides with respect to x.


∫ (y+1) dx dy/dx = ∫ 3x2 dx


(The ‘dx’s cancel on the left side of the equation leaving ‘dy’, this means we integrate the left side with respect to ‘y’ now).



∫ (y+1) dy = ∫ 3x2 dx


(y2/2) + y = x+ c


(You only need one constant in the solution for differential equations.)


It is not possible to rearrange this equation with respect to y so we leave it as it is.



Stephen S. GCSE Maths tutor, A Level Maths tutor

2 years ago

Answered by Stephen, an A Level Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£20 /hr

Georgiana P.

Degree: Mathematics (Bachelors) - Bristol University

Subjects offered: Maths


“I am a Maths student at the University of Bristol and hope to share my love of maths with you. I believe that Maths is learnt in 3 steps:    1) I will explain and we will discuss the main principles of what we are working on, assis...”

£20 /hr

Matthew M.

Degree: Engineering Mathematics (Bachelors) - Bristol University

Subjects offered: Maths, Law+ 1 more


“I am an Engineering Math student at the University of Bristol. I have a range of interests, which cover maths, history and law, and would love to help others in these areas as well as encourage the same enthusiasm I have in others! I a...”

MyTutor guarantee

£20 /hr

Emily-Louisa S.

Degree: Mathematics (Masters) - Exeter University

Subjects offered: Maths, Further Mathematics

Further Mathematics

“I am in my first year of my mathematics degree at the University of Exeter and one of my favourite things about maths is how it can appear in unexpected situations. For example, in cryptography (the writing and solving of codes of whi...”

About the author

Stephen S.

Currently unavailable: for new students

Degree: Earth Sciences (Masters) - Durham University

Subjects offered: Maths


“Maths made easy for all.”

You may also like...

Other A Level Maths questions

How do you rationalise the denominator?

The triangle ABC is such that AC=8cm, CB=12cm, angle ACB=x radians. The area of triangle ABC = 20cm^2. Show that x=0.430 (3sf)

How to differentiate using the Product Rule

Sketch the curve y = (x^2 - 9)(x - 2)

View A Level Maths tutors


We use cookies to improve our service. By continuing to use this website, we'll assume that you're OK with this. Dismiss