Orinary Differential Equations
First Order Differential Equations
Differential equations are equations that involve a function and its derivatives.
A n ordered differential equation is an equation of the form:
Where is the nth derivative of with respect to . The highest degree of the derivative is n for a n-ordered differential equation. Note that is really just (A function of x)
Solving linear 1st-ODEs
Linear differential equations does not contain non-linear functions. (e.g. ) Otherwise, it's a non-linear ODE.
We can solve a linear 1st-ODE as followed, given a particular solution of :
The multiplied integration factor will give us a product of the product rule, then we simply integrate both sides to solve for . Make sure that the coefficient of is 1.
We can solve a separable equation as followed, given a particular solution of :
Solving non-linear 1st-ODEs
A non-linear 1st-ODE of the form can be solved by:
The subsitution will turn the equation into a linear ODE, then simply solve using integrating factors.
A non-linear 1st-ODE of the form can be solved by the following, given a particular solution of :
A homogeneous equation has it's and terms in the same degree. (e.g. )
A homogeneous 1st-ODE of the form can be solved by the following, given a particular solution of :
We can divide the formula by or to get the equation in the desired form (every term is the ratio ). Otherwise, we can shift the origin using and .
After substitution, we will get a separable equation after the substitution, and the particular solution is used.
Exact equations
A partial derivative is a derivative of a function with respect to one of its variables, with the others held constant. The following notation expresses the partial derivative of with respect to :
To find the solution of an exact equation:
is present as we are integrating partially with respect to , and is the constant of integration.
Hence, the solution would be:
Second Order Differential Equations
Solving homogeneous linear 2nd-ODEs
The term homogeneous is used differently from the previous section.
A homogeneous 2nd-ODE is of the form:
Where are constants. (Coefficients are constants)
We first use the following substitution:
To find the general solution, we put the roots into the quadratic characteristic equation:
- If given particular solutions of and , we can solve for and by finding with our general solution and substituting.
A Cauchy-Euler equation is a slight variation of homogenous 2nd-ODEs, which is of the following form and can be solved by:
The general solutions is similar to that of the homogeneous 2nd-ODEs, but with all terms of :
Solving non-homogeneous linear 2nd-ODEs
A non-homogeneous 2nd-ODE is of the form:
Where are constants. (Coefficients are constants)
We first solve for for the complementary homogenous function to get :
The general solution for the non-homogeneous 2nd-ODE is:
Where is a particular solution of . To solve for , we can use the following methods:
To solve for for a non-homogeneous 2nd-ODE, let as the following if consists of:
- (polynomial of degree )
Important things to note:
If is a product of multiple components, is the product of the different results.
If consists of a non-constant term that exists in , we must multiply by and repeat the process.
We then substitute and solve for and .
For Cachy-Eular equations, we instead multiply by if consists of a non-constant term that exists in .
We can use this method when we are unable to see a particular solution for in the above method.
Note that for is in the form of . To solve for for a non-homogeneous 2nd-ODE:
Note that for Cachy-Eular equations, is defined as the function with the coefficient of as 1, hence, .
If consists of a non-constant term that exists in , we simply discard it (merging constants).
Solving ODEs with Laplace Transforms
The Laplace transform is a technique used to solve linear ODEs with constant coefficients. The Laplace transform of a function is defined as:
Where is a complex number.
The Laplace transform of the derivative of a function is:
Where is the initial condition of .
0. | ||
0. | ||
0. | ||
1. | ||
2. | ||
3. | ||
4. | ||
5. | ||
6. |
Convolution operator:\
The inverse Laplace transform is the reverse operation of the Laplace transform.
You basically think backwards like how you'd do intergration sometimes. Remember to use the rules!
A fraction can be decomposed into partial fractions if the degree of the numerator is less than the degree of the denominator. If not, then perform long division first.
We can solve for , , and by multiplying the denominator (to make left side only) and solving for the numerator.