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

Sarah M.

Degree: Chemistry (Doctorate) - Bristol University

Subjects offered: Maths, Science+ 2 more


“Who am I?I am a French PhD student in chemistry at the university of Bristol. As far as I remember I have always been fascinated by sciences and I ldo ove sharing this passion by helping students.Tutoring is to my eyes extremely re...”

£20 /hr

Peter H.

Degree: Mathematics (Bachelors) - Durham University

Subjects offered: Maths, Physics+ 2 more

Further Mathematics

“About me: I am a Mathematics student at Durham University, and I am currently in my 3rd year. I would very much like to give assistance and help students of all abilities to reach the goals they aspire to in Maths and Physics, whether...”

MyTutor guarantee

£20 /hr

Anahita G.

Degree: Maths and Economics (Bachelors) - York University

Subjects offered: Maths, Science+ 3 more

.TSA. Oxford.

“I am a maths and economics student at the University of York. I have always loved logical and analytical subjects, for example Maths and the Sciences. I also particularly enjoy economics as there are countless ways to analyse and conc...”

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

x^2 + y^2 + 10x + 2y - 4xy = 10. Find dy/dx in terms of x and y, fully simplifying your answer.

Express (2x-1)/(x-1)(2x-3) in partial fractions.

Solve the equation tanx/cosx = 1 for 0°<x<360°

Solve the equation 5^x = 8, giving your answer to 3 significant figures.

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