Tutorial 1 & 2: Differential Equations & First Order ODE
Tutorial Question
-
Identify 5 physical laws/ theory that are frequently used in your field of study (i.e. Mechanical/Electrical/Chemical/Civil/Biomedical) and show that they can be transformed into the form of differential equation.
Sample SolutionField Mechanical Engineering Thermodynamic Fourier’s heat equation, where is the thermal conductivity, is the change of temperature in direction and is the rate of flow of heat energy/heat flux. Fluid Mechanics Law of conservation of mass, , where the total volumetric flow of water enter and leaving the tank during duration is equal, i.e . Applied Mechanics Field Newton's 2nd law of motion, . Vibration Field Mass-damper-spring system: Equations of motion, Mechanics of Materials Field Differential equation for the elastic curve, Field Biomedical Engineering Tumor growth kinetics Tumor growth kinetics in the human body follow relatively law that can be expressed using ODE , where the , , , , and represent the tumour cell population Mathematical models in oncology Mathematical models in oncology aid in the design of drugs and understanding of their mechanisms of action by simulation of drug biodistribution, drug effects, and interaction between tumor and healthy cells. , , . The initial condition is the given dose. The initial drug amount in the plasma compartment and in the tumor compartment is zero. -
Classify each equation according to its order, linearity/non-linearity, and homogeneity/non-homogeneity. Also identify its dependent & independent variables in each case. Hence, find the solutions except 2nd order ODE and nonhomogeneous cases. Verify that the solution that you find is a true solution.
i.
Solution-
Dependent variable:
-
Independent variable:
2nd order linear nonhomogeneous ordinary differential equation. Initial conditions are provided.
ii.
Solution-
Dependent variable:
-
Independent variable:
2nd order linear homogeneous ordinary differential equation. Boundary conditions are provided
iii.
Solution-
Dependent variable:
-
Independent variable:
It is 1st order nonlinear ordinary differential equation. because of nonlinear component .
To check the homogeneity for order nonlinear differential equation, we rearrange it to the form, where . Since and are nonhomogenous equations of various degree, therefore it is a nonhomogeneous equation.
Nonhomogeneous method is not covered in this study. Check if other analytical approach is possible to solve the problem instead of using nonhomogeneous because there is at least one approach to solve a particular ODE.
Exact Differential Equation Linear Differential Equation Separable Differential Equation Bernoulli Differential Equation Not suitable because can't find any formula that produce the derivate directly. To check there is exact solution or not use Not suitable for nonlinear ODE. Not possible because it is not separable. Possible. Using Bernoulli Differential Equation:
Let
Step 1: Linear Form
, where
Step 2: Integrating Factor
Step 3: Multiply
Step 4: Exact
Step 5: Integrate
Given , we get
iv.
Solution-
Dependent variable:
-
Independent variable:
It is 1st order linear homogeneous ordinary differential equation
Exact Differential Equation Linear Differential Equation Separable Differential Equation Bernoulli Differential Equation Suitable. Recall product rule Suitable as it is linear ODE Possible because it is separable. Not possible. For nonlinear only Using Seperable Differential Equation:
Given
Using Exact Differential Equation:
Let
Therefore there is an exact solution since .
Recall product rule ,
Given . Therefore,
Using Linear Differential Equation:
Step 1: Arrange the differential equation in the linear form of .
where
Step 2: Create integrating factor
Step 3: Multiply 1st ODE eqn by
Step 4: Recognize the LHS is exact solution
Step 5: Integrate both side
Given .
Therefore,
NoteIt shows that all three methods have the same accuracy (i.e. same result ). However, the efficiency is different. For an experience user, Exact Differential Equation is preferred due to its fast computation speed, for beginner it is recommended to use the Linear Separable Equation and Separable Differential Equation.
v.
Solution-
Dependent variable:
-
Independent variable:
It is 1st order linear nonhomogeneous ordinary differential equation because .
Exact Differential Equation Linear Differential Equation Separable Differential Equation Bernoulli Differential Equation Not suitable because can’t find any formula that produce the derivate directly. To check there is exact solution or not use Suitable as it is linear ODE Possible because it is separable. Not possible. For nonlinear only Using Linear Differential Equation:
Step 1: Arrange the differential equation in the linear form of .
, where
Step 2: Create integrating factor
Step 3: Multiply 1st ODE eqn by
Step 4: Recognize the LHS is exact solution
Step 5: Integrate both side
Given .
Using Seperable Differential Equation,
vi.
Solution-
Dependent variable:
-
Independent variable:
It is 1st order nonlinear ordinary differential equation because because dependent variable exist in RHS.
Exact Differential Equation Linear Differential Equation Separable Differential Equation Bernoulli Differential Equation Homogeneous / Nonhomogeneous Not suitable because can’t find any formula that produce the derivate directly. To check there is exact solution or not use Not suitable as it is nonlinear ODE. Not possible because it is non-separable. Not possible. For nonlinear only. Suitable for nonlinear. Using Homogeneous/ Nonhomogeneous:
To check the homogeneity for 1st order nonlinear differential equation, we rearrange it to the form, where .
Since and have different degree, therefore it is a nonhomogeneous equation.
Solving 1st order ODE problem by using methods other than the five methods above is out of scope of this study.
vii.
Solution-
Dependent variable:
-
Independent variable:
2nd order nonlinear ordinary differential equation because of nonlinear component . Boundary conditions are provided.
viii.
Solution-
Dependent variable:
-
Independent variable:
1st order linear nonhomogeneous ordinary differential equation, .
We should recognize the LHS easily where it is an exact equation where and it can be solved easily. Let us assume we do not know it is an exact equation & try with other.
Using Linear Differential Equation:
Step 1: Arrange the differential equation in the linear form of .
, where
Step 2: Create integrating factor
Step 3: Multiply 1st ODE eqn by $$IF$
Step 4: Recognize the LHS is exact solution
Step 5: Integrate both side
Given .
ix.
Solution-
Dependent variable:
-
Independent variable:
1st order nonlinear ordinary differential equation .
Using Homogeneous/ Nonhomogeneous:
To check the homogeneity for 1st order nonlinear differential equation, we rearrange it to the form, where .
Since and are homogeneous equation with same degree, therefore it is a homogeneous equation.
Let
Given , we get
Rearranging,
x.
Solution-
Dependent variable:
-
Independent variable:
3rd order linear nonhomogeneous ordinary differential equation where boundary conditions are provided,
-
-
Solve
i.
SolutionThe integrating factor is given immediately by
Multiplying through the ODE by and integrating, we have
The solution to the ODE is therefore given by .
ii.
Solutioni.e. and . Now
so the ODE is not exact in its present form. However, we see that
a function of alone. Therefore an integrating factor exists that is also a function of alone and, ignoring the arbitrary constant of integration, is given by
Multiplying (1) through by we obtain
By inspection this integrates immediately to give the solution , where is a constant.
iii.
SolutionThis is now a separable equation and can be integrated directly to give
Substituting we obtain
Cancelling on both sides, rearranging and integrating gives
But
so the solution to the ODE is , where is a constant.
NotesCheck to see whether the equation is homogeneous. If so, make the substitution , separate variables as in (2) and then integrate directly. Finally replace by to obtain the solution.
:::