Line 12: | Line 12: | ||
For example, we want to solve the differential equation <math>\frac{dy}{dt}=-2yt</math>, where <math>y(0)=1</math>. | For example, we want to solve the differential equation <math>\frac{dy}{dt}=-2yt</math>, where <math>y(0)=1</math>. | ||
+ | |||
+ | Now we start separating our variables. We put all items with respect to our dependent variable <math>y</math> on the left hand side of the equation, and all with respect to our independent variable <math>t</math> on the right hand side. Hence we get <math>\frac{1}{y}dy=-2tdt</math>. | ||
</font> | </font> |
Revision as of 20:59, 12 November 2017
Basic Methods to Solve 1st-Order ODEs
3.0 Abstract
By now we have known what is a differential equation and how its solutions conduct. It's time to solve it, like plenty of linear equations we have done before.
3.1 Separable Equation
The easiest method is to separate the variables. This method is switching the variables to make the same variable on the same side, in order to integral on both sides and solve out the function (solution).
For example, we want to solve the differential equation $ \frac{dy}{dt}=-2yt $, where $ y(0)=1 $.
Now we start separating our variables. We put all items with respect to our dependent variable $ y $ on the left hand side of the equation, and all with respect to our independent variable $ t $ on the right hand side. Hence we get $ \frac{1}{y}dy=-2tdt $.