A second order system of ordinary differential equations (ODE) can be used to describe a motional system involving multiple masses. Consider a system of two horizontally moving masses with displacements x1(t) and x2(t) respectively. This system is modeled as equations (Eq. 1) and (Eq. 2) as below:
x1′′=5x1−2x2(Eq. 1)x2′′=−2x1+2x2(Eq. 2)
Part (a): [5 marks]
Laplace transform is often used to solve an ODE. In a short paragraph (< 100 words), describe the three main stages of solving an ODE using this method. Then, mention two advantages of solving an ODE using this method compared to using other methods that you have learned previously.
Part (b): [15 marks]
Solve the above second order system of ODE using the Laplace transform method. For this system, the initial conditions are: x1(0)=M, x1′(0)=0, x2(0)=0, x2′(0)=0.
M is based on the last digit of your matric number (e.g. 22101234/2)
Last digit of matric number
0
1
2
3
4
5
6
7
8
9
M
10
1
2
3
4
5
6
7
8
9
Solution
Part (a)
In general, solving an ODE using Laplace transform is a three-stage process:
Stage 1: Apply Laplace transform to the LHS and RHS of the ODE, making sure that the initial conditions are substituted.
Stage 2: The ODE is now an algebraic equation, and so the algebraic equation can be solved to get the solution (dependent variable) function as a function of the Laplace variable (s-variable).
Stage 3: Once the solution in Laplace domain is obtained, apply inverse Laplace transform to get back the solution (dependent variable) as a function of the independent variable (t-variable).
There are a few advantages of using Laplace transform to solve an ODE:
The initial conditions are automatically taken care of in the first step.
The workflow is the same / is systematic regardless of whether the ODE is homogeneous or non-homogeneous.
The method is convenient when solving a system of ODEs.
Part (b)
Given: x1′′=5x1−2x2 and x2′′=−2x1+2x2
With initial conditions: x1(0)=M, x1′(0)=0, x2(0)=0, x2′(0)=0.