A differential equation describes the relationship between an independent variable (on the bottom of the derivative), and a dependent variable (on the top of the derivative) and its derivatives. Differential equations can be categorized by:
For a differential equation with independent variable
To find the arbitrary constants, initial conditions or boundary conditions are needed. Each piece of information, e.g.
Some differential equations can be solved by separation of variables. This is where the equation can be rearranged so one side only has
A proof for this result is given below. A separable differential equation can be written in the following form:
By considering the integrals of
Consider the following equation:
Where going from the first line to the second involves differentiating by
For linear differential equations, the general solution to a non-homogeneous differential equation is the sum of:
Consider a linear first-order differential equation:
We define
By multiplying both sides of the original equation by
Now, the left-hand side is a result of applying the product rule:
Giving a solution to the original differential equation.
A homogeneous second-order differential equation with constant coefficients is of the form:
To solve this, an auxiliary equation is formed:
The general solution depends on the solutions to the auxiliary equation:
A non-homogeneous second-order differential equation with constant coefficients is of the form:
To solve equations of this form, first solve the homogeneous equation to obtain the complementary function. Then, find a particular integral using a trial function, by substituting in a trial function into the differential equation to find the coefficients. The trial function is of the form: