Contents:
  1. Integral
  2. Infinite Series
  3. First Order Differential Equation

Reference:

Introduction

Definition
When the unknown variable function depends on a single independent variable, only ordinary derivatives appear in the equation. So, this equation is said to be an Ordinary Differential Equation (ODE).

The order of a differential equation is the order of the highest derivative in the equation.

The general linear ODE has the form:


A linear first order ODE has the general form:


  Example 6.1 - Linear ODEs
Identify whether the given first ODE is a linear first ODE or not.


Solution:
Basically, a first ODE will be linear if it can be expressed in the standard form:


  1. So:



    Since it CAN be written in the standard form, it is Linear.

  2. So:



    Since it CANNOT be written in the standard form, it is Not Linear.

  3. So:



    Since it CANNOT be written in the standard form, it is Not Linear.

  4. So:



    Since it CAN be written in the standard form, it is Linear.

  5. So:



    Since it CANNOT be written in the standard form, it is Not Linear.



Solving First ODE

Separable ODEs
Separable equation usually has the form:


We can solve the equation above directly:


  Example 6.2 - Separable Method I
Identify whether the given first ODE is a separable first ODE or not.


Solution:
Basically, a first ODE is a separable first ODE if it can be manipulated into the following form:


  1. So:



    This ODE cannot be manipulated further to separate x and y, due to the lack of common factor. Hence, it is Not Separable.

  2. So:



    Hence, it is Separable.

  3. So:



    This ODE cannot be manipulated further to separate x and y, due to the lack of common factor. Hence, it is Not Separable.

  4. So:



    Hence, it is Separable.

  5. So:



    Hence, it is Separable.


  Example 6.3 - Separable Method II
Find the solution of the given first ODE and initial condition:


Solution:
  1. Separating variables:


    The right hand side integral requires the substitution method, which is shown below:


    Now, we return to our main problem:


    Using the initial condition, we can find the exact value of C:


    This is our final solution:

  2. Separating variables:


    Since both integration are simple (as in not requiring special methods), I will directly do both integrals:


    Using the initial condition, we can find the exact value of C:


    This can be our final solution:


    However, we can express this solution in explicit form. Notice how when we manipulate it into this, it becomes a quadratic equation where we can solve for y:


    The plus/minus sign implies that there are multiple solutions (of the quadratic equation), when there is only one correct solution (for this entire problem). We should check whether the solution is correct with the + or - sign from the initial condition. In this case, our final solution will be using the + sign since the initial condition would still be true:

  3. Separating variables:


    Integrating left hand side (Two integration by parts will be done):


    Now, the right hand side (The method used is similar to integration by parts):
    Derivative Integral
    1+t2 e-t
    2t -e-t
    2 e-t
    0 -e-t


    The result of derivation and integration in same colored cells are multiplied, and the sign between terms alternate:


    Now, returning to the main problem:


    Using the initial condition, we can find the exact value of C:


    This is our final solution:



Variable Coefficients
Suppose we have a first order linear equation:


We can use the Integrating Factor shown below:


Using that, we can find the solution of the ODE:


  Example 6.4 - Variable Coefficients
Find the general solution of the given ODE:


Solution:
  1. Determining p and g:

  2. Determining p and g:

  3. Determining p and g:



Exact ODEs
Suppose we have a first order linear equation:

where the functions M, N, My and Nx are all continuous in the rectangular region R: (x,y) ∈ (α, β) x (γ, δ).

Then, I) is an exact ODE if:


That is, there exists a function satisfying the conditions:

iff M and N satisfy II) is the implicit solution, and c is a constant.

  Example 6.5 - Exact First ODEs I
Show that the given ODE is an exact ODE, and find the general solution of the given ODE:


Solution:
  1. Step 1: Determining M and N:


    This ODE is indeed an exact ODE, since My=Nx.

    Step 2: Integrate with respect to y.


    Step 3: Using derivative of Ψ with respect to x and M, we can find C(x).


    Step 4: Substitute C(x).


    Our final solution is implicitly given by:

  2. Step 1: Determining M and N:


    This ODE is indeed an exact ODE, since My=Nx.

    Step 2: Integrate with respect to x.


    Step 3: Using derivative of Ψ with respect to y and N, we can find C(y).


    Step 4: Substitute C(x).


    Our final solution is implicitly given by:


  Example 6.6 - Exact First ODEs II
Determine the value of constants a and b so that the following ODE is an exact ODE:


Solution:
We know that, in an exact ODE, that:


So, the appropriate value of a and b respectively are 2 and 1.