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

George S.

Degree: Physics (Masters) - Birmingham University

Subjects offered: Maths, Physics+ 2 more

Further Mathematics

“About Me: I am just entering my first year to study Physics at University of Birmingham, I've always enjoyed anything maths based hence my A-level choices, I hope I can help you through your work whether it's GCSE or A-level and maybe...”

£20 /hr

Robert F.

Degree: Mathematics (Bachelors) - Nottingham University

Subjects offered: Maths, Further Mathematics

Further Mathematics

“About Me: I am a mathematics student at the University of Nottingham. I've loved maths and science for my life and I hope that my tutorials will encourage you to do the same. I'm sociable and friendly and have tutored maths throughout ...”

MyTutor guarantee

£24 /hr

Osian S.

Degree: Mathematics (Masters) - Warwick University

Subjects offered: Maths, Further Mathematics

Further Mathematics

“Hi, I'm Osian, a Master's student at the University of Warwick. I've had fun with mathematics from a young age, and I hope to be able to instill this passion for mathematics in you, through my tutorials! Throughout my time at Warwick,...”

About the author

Stephen S.

Currently unavailable: for new students

Degree: Earth Sciences (Masters) - Durham University

Subjects offered: Maths


“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

You may also like...

Other A Level Maths questions

Find the equation of the tangent to the curve y = 2 ln(2e - x) at the point on the curve where x = e.

How do you add or subtract complex numbers?

What is the integral of ln(x)? Hint: use parts for this integration

A Definitive Guide to Differentiation

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