When we were in elementary school, we were taught how to solve linear equations like
−2x+17=8x−13.
The algorithm started with us moving all of the unknows to the one side, all of the knows to the other side and then explicitly solving the equation for x. In what follows, we will introduce a new kind of an equation and then we will try and see which of the steps from the algorithm for solving linear equations can be used to solve this new type of an equation.
Now, our goal is to come up with an algorithm that we’ll be able to use for solving differential equations. As mentioned before, we will use the algorithm for solving linear equations and try to adapt its steps. So, in order to solve the linear equation given above, we have the following:
−2x+17−2x−8x−10xx=8x−13=−13−17[separate the unknows from the knowns]=−30/:(−10)[express the unknown]=3
Take, for example, the differential equation x⋅y′=2x−1. From the algorithm above, the first step in solving this differential equation would be to separate the unkowns from the knowns. Since we consider the function y to be unknown, while the variable x and all of the constants are know, we get the following:
y′=x2x−1.
Based on the algorithm for solving linear equations, the next step should be to express the unknown. In case of linear equations, we have expressed the unknown variable x by dividing the whole equation by -10 since division is the opposite operation to multiplication. Similarly, in case of differential equations we have to integrate since integration is the opposite operation to differentiation. Hence, the algorithm for solving differential equations can be summarized as follows:
Lastly, let’s compare linear and differential equations side by side:
type of equationknownsunknowns−2x+17=8x−13linearconstantsxx⋅y′=2x−1differentialconstants and expressions containing xy