A differential equation ties a function to its own derivatives. Many real situations are naturally described this way: a population that grows faster the bigger it gets, or a cup of tea cooling down to room temperature. We will learn the words first (order, degree, general and particular solutions), see how to form such an equation by getting rid of constants, and then solve the simplest kind, where the variables can be separated.
The order is simply the order of the highest derivative present. The degree is the power of that highest derivative when the equation is a polynomial in the derivatives (if it is not, we say the degree is not defined).
Example 1.(dx2d2y)3+(dxdy)4+y=0 has order 2 and degree 3. But y′′+siny′=0 has order 2 and no defined degree, because of the sine.
A general solution carries as many arbitrary constants as the order of the equation. A particular solution is what you get once the given conditions fix those constants.
Example 2.y=Ae3x+Be−3x is a solution of y′′=9y. Just differentiate twice: y′′=9Ae3x+9Be−3x.
If dxdy=g(x)h(y), gather everything involving one variable on one side: h(y)dy=g(x)dx and then integrate both sides.
Example 6.dxdy=yx2: ydy=x2dx, 2y2=3x3+C.
Example 7.dxdy=(1+y2)ex with y(0)=0. Separating and integrating, tan−1y=ex+C. The condition gives C=−1, so y=tan(ex−1).
Example 8 (growth). A population grows at a rate proportional to its size, so dtdP=kP, which gives P=P0ekt. If it doubles in 10 years, k=10log2, and it becomes 8 times as large in 30 years, since that is three doublings.
Doubling every 10 years: 2, 4 and then 8 times the start after 30 years.
Example 9. A bank pays interest compounded continuously at 6% a year. Then dtdA=0.06A, A=A0e0.06t. ₹10,000 grows to 10,000e0.6≈ ₹18,221 in 10 years.