ODE is considered to be a differential equation with a degree of one. The power of any Is one, or says .
1.4 IVP & BVP
By solving the D.E., we normally get the general solution, G.S, the general solution is with constant term,C. To specify the solution, we need to plug in specific value into D.E., and calculate "C".
Initial Value Problems
In this case, the specific values are given at a certain point of "x". For example,
We got value for different order of derivatives of , at .
Boundary Value Problems
In this case, values are given at different points of "x". For example,
2. First Order Ordinary Differential Equations ODE
General form:
2.1 Missing One Variable
Case 1. y is missing
Case 2. x is missing
2.2 Variable Separable
"x" and "y" are separable, we can follow the same steps .
Rationale: If "x" and "y" are separable, we move all "y" and "dy" into one side, and all "x" and "dx" into the other side.
2.3 Linear Equations
How to solve it? We left multiply an Integrating Factor, .
To find the I.F., needs to satisfy,
So, we need
Therefore, our problem becomes,
The satisfied I.F., is,
The takeaway is, by left multiplying From both side of the equation, we could then easily solve the D.E., and the answer is the following,
3 Second Order ODE
General form:
P.S. we may find later that the number of arbitrary constant "C" in the solution is equal to the highest order of derivatives.
3.1 Simplest Cases
Case 1. are missing
Easiest one, integrate it twice.
Case 2. Only "y" is missing
All "y"s in this equation are in derivatives of none zero.
We try to reduce the order of derivatives by letting , so .
, then the problem would become the first order one. Integrate later to get the G.S. for this D.E.
Case 3. and are missing
Similarly, we try to reduce the order of derivatives, by assume .
Case 4. "x" is missing
We do the same, by replacing ,
The problem would then become the first order O.D.E.
4. Linear ODE
General form,
We then transform the equation,
L - Linear Differential Operator of Order "n"
We apply the notation:
G.S. of is given by
, where - Complimentary Function; & - Particular Integral (or Particular Solution).
Linearly Dependent: if , or in other words, variables could be represented by the linear combination of others.
Linearly Independent: if the only way to make happen is to let .
4.1 Homogenous - Auxiliary Equation A.E.
is said to be homogeneous.
For example, for a second order D.E.
We assume the solution is in the form of , and plug it back to our D.E.
Hence,
would be the solution of D.E.
Clearly, would affects the form of solutions.
If , two solutions,
If , two solutions are equal or says only one solution,
If , the complex solutions are over there, , where , and the G.E. is
By applying the Euler Identity .
Therefore, in a "n" order case, we would apply the similar reasoning.
Case 1: "n" distinct roots, then G.E. is
Case 2: r - fold roots, then G.E. is
Case 3: Complex Number.
For example,
So, roots are: 0, 0, 0, 0, (for the quadratic lambda), For the second part. The G.S. is then,
4.2 Non-homogeneous Case
G.S. is
The first term of the RHS is the G.E. in homogeneous case while denote .
The second term of RHS is the specific solution of our D.E. The way of calculating it is called "Guesswork".
There are three cases we may encounter:
Polynomial in x,
Exponential, . P.S. "k" is not a root of A.E., otherwise .
Trigonometric terms, Has a form , or .
For example, g(x)=e^x
We guess the solution Ly=g is and solve for the unknown "C". (Why we assume in this form is that in the original D.E. is super difficult to get, so we assume it here.) We plug back to our D.E. and find "C".
Our G.E. of this problem would be,
For example, g(x)=x^2
G.S.,
Assume , substitute into D.E. could solve that
So our G.S. would be,
Failure Case Example,
, and then we are trying to find by assuming Would be impossible, because answers are folded. Let's see,
Impossible to get a solution. We need to assume Instead.
5. Linear ODE with Variable Coefficients - Euler Equation
Cauchy-Euler Equation form:
Each derivative terms is consisted with the derivatives multiplied by the same power "x", where the order of derivatives is same as the power of "x".
G.S. is as well.
5.1 Homogeneous Part
:
Denote g(x)=0 firstly, and assume . Plug it back to the homogeneous D.E.