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


Jaisal P. GCSE Maths tutor, A Level Maths tutor, A Level Further Math...
View profile
£20 /hr

Jaisal P.

Degree: Mathematics (Masters) - Durham University

Subjects offered: Maths, Further Mathematics

Further Mathematics

“Hello, my name is Jaisal. I'm studying Maths at Durham University, and I'm here to help you improve your Maths. ”

James B. A Level Maths tutor, GCSE Maths tutor, 13 plus  Maths tutor,...
View profile
£20 /hr

James B.

Degree: Mathematics and Economics (Bachelors) - Nottingham University

Subjects offered: Maths, Economics


“About me : I am currently studying Maths and Economics at Nottingham University, about to go into my second year. Over the summer I have been in America teaching and counselling kids at a summer camp and I hope to bring what I have le...”

Tiarnan B. GCSE Chemistry tutor, GCSE Maths tutor, GCSE Geography tutor
View profile
£20 /hr

Tiarnan B.

Degree: MChem (Masters) - York University

Subjects offered: Maths, Geography+ 1 more


“About Me: I am a student of Chemistry at the University of York studying for a masters degree and am a self-confessed science nerd! My goal is to give you the help you need, build your confidence and push you to be the best you can. A...”

MyTutor guarantee

About the author

Stephen S. GCSE Maths tutor, A Level Maths tutor
View profile

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 show that two lines do, or do not intersect?

Simplify (7+sqrt(5))/(sqrt(5)-1), leaving the answer in the form a+b*sqrt(5)

Simple binomial: (1+0.5x)^4

What's the integral of x^2 +3/x, with respect to x?

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