Solving Simple Differential Equations
Updated July 2026
Solving differential equations of the form
Solving the expression is really asking you to find what y is, expressed in terms of x, such that when you differentiate y you get f(x). This is a bit of a mouthful. Another way of saying this is: what do you differentiate to get f(x)?
We will look at a couple of examples, firstly without any additional conditions and then with additional conditions [you will see what we mean by additional conditions below]:
Example
Solve
To find y we integrate both sides with respect to [wrt] x. When we integrate wrt x we get y [see Fundamental Theorem of Calculus above]. And when we integrate wrt x we get . So, the solution is
A few things to note in this example: when integrating we found and we used the Fundamental Theorem of Calculus which tells us that integration and differentiation are linked. So, if we differentiate y and then integrate it we should get just y back. Well actually, we should write y + constant but we don't as we tend to assume all the constants generated from integration are combined on the x side of the solution and written as "c".
We can now look at an example with some additional condition attached to it:
Example
Given when and , find in terms of
[Numerical values such as when are sometimes called "boundary conditions" or "initial conditions" depending on the circumstances and values given. We won't use these terms in the TMUA/ESAT.]
We can solve this two [entirely equivalent] ways.
Method 1
We can work out the answer as we did above with a constant term in it and then use the condition when to find the value of by substitution:
So when gives
So
And the solution is
Method 2
We notice that when and is when is , and so we put these values directly as corresponding limits [top limits go together, and bottom limits go together] in the integration:
Don't worry too much about the expression on the left [but do think a little about what it means]. (We have been a little slapdash with our notation on the left-hand side: as we are integrating wrt then the limits ought to be values and not the corresponding values, but it is easier just to put the values in as those are the ones we will end up using when we have integrated.) This leads to:
Which gives:
Which gives, as above:
Much of this section has been covered earlier in these notes. And so, we will concentrate mainly on the parts of the specification that have not been covered in detail elsewhere and add a few additional comments when useful.