
A system represented by a single block diagram in the state space
.The Laplace transform is a popular approach in solving ordinary differential equations (ODEs), particularly solving initial value problems (IVPs) of ODEs. Such stereotype may confuse students when they face a task of solving ODEs without explicit initial condition(s). In this paper, four case studies of solving ODEs by the Laplace transform are used to demonstrate that, firstly, how much influence of the stereotype of the Laplace transform was on student's perception of utilizing this method to solve ODEs under different initial conditions; secondly, how the generalization of the Laplace transform for solving linear ODEs with generic initial conditions can not only break down the stereotype but also broaden the applicability of the Laplace transform for solving constant-coefficient linear ODEs. These case studies also show that the Laplace transform is even more robust for obtaining the specific solutions directly from the general solution once the initial values are assigned later. This implies that the generic initial conditions in the general solution obtained by the Laplace transform could be used as a point of control for some dynamic systems.
Citation: William Guo. The Laplace transform as an alternative general method for solving linear ordinary differential equations[J]. STEM Education, 2021, 1(4): 309-329. doi: 10.3934/steme.2021020
[1] | William Guo . The Laplace transform as an alternative general method for solving linear ordinary differential equations. STEM Education, 2021, 1(4): 309-329. doi: 10.3934/steme.2021020 |
[2] | William Guo . Unification of the common methods for solving the first-order linear ordinary differential equations. STEM Education, 2021, 1(2): 127-140. doi: 10.3934/steme.2021010 |
[3] | William Guo . A practical strategy to improve performance of Newton's method in solving nonlinear equations. STEM Education, 2022, 2(4): 345-358. doi: 10.3934/steme.2022021 |
[4] | Ruiheng Cai, Feng-kuang Chiang . A laser-cutting-centered STEM course for improving engineering problem-solving skills of high school students in China. STEM Education, 2021, 1(3): 199-224. doi: 10.3934/steme.2021015 |
[5] | William Guo . Solving problems involving numerical integration (I): Incorporating different techniques. STEM Education, 2023, 3(2): 130-147. doi: 10.3934/steme.2023009 |
[6] | Ana Barbosa, Isabel Vale, Dina Alvarenga . The use of Tinkercad and 3D printing in interdisciplinary STEAM education: A focus on engineering design. STEM Education, 2024, 4(3): 222-246. doi: 10.3934/steme.2024014 |
[7] | William Guo . Solving worded real-world problems using simultaneous equations by pre-service mathematics teachers in regional Australia: Performances and implications. STEM Education, 2024, 4(1): 35-50. doi: 10.3934/steme.2024003 |
[8] | William Guo . Streamlining applications of integration by parts in teaching applied calculus. STEM Education, 2022, 2(1): 73-83. doi: 10.3934/steme.2022005 |
[9] | Kaitlin Riegel . Frustration in mathematical problem-solving: A systematic review of research. STEM Education, 2021, 1(3): 157-169. doi: 10.3934/steme.2021012 |
[10] | Muzakkir, Rose Amnah Abd Rauf, Hutkemri Zulnaidi . Development and validation of the Quran – Science, Technology, Engineering, Art, And Mathematics (Q-STEAM) module. STEM Education, 2024, 4(4): 346-363. doi: 10.3934/steme.2024020 |
The Laplace transform is a popular approach in solving ordinary differential equations (ODEs), particularly solving initial value problems (IVPs) of ODEs. Such stereotype may confuse students when they face a task of solving ODEs without explicit initial condition(s). In this paper, four case studies of solving ODEs by the Laplace transform are used to demonstrate that, firstly, how much influence of the stereotype of the Laplace transform was on student's perception of utilizing this method to solve ODEs under different initial conditions; secondly, how the generalization of the Laplace transform for solving linear ODEs with generic initial conditions can not only break down the stereotype but also broaden the applicability of the Laplace transform for solving constant-coefficient linear ODEs. These case studies also show that the Laplace transform is even more robust for obtaining the specific solutions directly from the general solution once the initial values are assigned later. This implies that the generic initial conditions in the general solution obtained by the Laplace transform could be used as a point of control for some dynamic systems.
The Laplace transform, a family of integral transforms, is a popular approach in solving ordinary differential equations (ODEs) and applications in science and engineering [1,2,3,4,5,6,7]. By transferring a differential equation (DE) in the time domain to the s-domain of complex frequency (or the state space) by the Laplace transform, linear ODEs and systems of linear ODEs, particularly the constant-coefficient linear ODEs, can be manipulated by algebraic operations in the s-domain for purposefully oriented processing (or filtering in engineering terms) before transferring the manipulated formula in the s-domain back to the time domain. Furthermore, the Laplace transform is particularly useful in system control and automation owing to its ability to deal with piece-wise and periodic control functions [1,8,9,10], with which the traditional methods would be difficult to deal.
In engineering, many dynamic systems are represented by differential equations to describe the real-world scenarios in the time domain. Engineers often modify or adjust some parameters of a system (or a DE) to obtain the desired outcome from the system. Such actions can be taken in the state space because of the relatively simpler algebraic operations or matric operations in the s-domain through the Laplace transform [10,11,12].
For example, given the linear ODEs
X(s)=G(s)F(s) → G(s)=X(s)F(s), | (1) |
where
x(t)=L−1[X(s)]=L−1[G(s)F(s)]. | (2) |
This seems like a simple process for the Laplace transform. However, in engineering education, the Laplace transform has been regarded as a highly difficult technique for the teachers to teach and for the students to learn [14,15]. Furthermore, in many advanced engineering mathematics textbooks, the Laplace transform is specified as a technique best suited for solving the initial value problem (IVP) of ODEs as it naturally embeds the initial values in the transfer process [1,10,13,16]. A very few textbooks [e.g., 17, 18] introduced the Laplace transform through a generic example, but it was immediately followed by more IVP examples and applications. In a similar way, many academic publications involving the Laplace transform were also full of solving IVPs of ODEs [3,19,20,21]. Such a focused presentation is indeed highlighted the advantage of the Laplace transform but this stereotype also confuses students when they face a task to solve ODEs without explicit initial condition(s), such being demonstrated by the student's experience in the following sections in this article.
In this paper, after outlining the differences between using the conventional method and the Laplace transform to solve a resistor-inductor (RL) circuit in Section 2, Section 3 presents two cases of solving ODEs using the Laplace transform demonstrated by undergraduate engineering students at a regional university in Australia. This aims to demonstrate how much influence of the stereotype of the Laplace transform on student's perception of utilizing this method to solve ODEs under different conditions. In Section 4, the generalization of the Laplace transform for solving linear ODEs with generic initial values is presented using Case 1 and Case 2 appeared in Sections 2 and 3, and a new case of system of linear ODEs, aiming to not only break down the stereotype but also broaden the applicability of the Laplace transform for solving linear ODEs, practically the constant-coefficient linear ODEs. Brief discussion and conclusion are made in Section 5.
At many regional universities, students enrolled in STEM programs are diverse in ages, mathematical abilities, study modes, time availabilities, and levels of commitment to their learning due to various reasons. Hence, many students prefer a full and detailed presentation of solving a mathematical problem, even some steps seem too basic and unnecessary for students studying at prestigious or metropolitan universities. Since all the cases here are prepared to serve the needs of the diverse student cohorts at many regional universities as the bottom line, the essence and the step-by-step processes for solving a problem are all included to provide all detailed information to meet the needs of such students.
Let us begin with the case of modelling a RL circuit with an initial value by the conventional method and the Laplace transform, respectively.
Case 1: A series RL circuit with source voltage or input
didt+RLi=E0Lsinωt, | (3) |
where R and L are the resistance and inductance, respectively. Solve this ODE for i(t) and model the electrical current in the circuit.
In the ODE (3), let a = R/L and b = E0/L. This ODE can be rewritten as
didt+ai=bsinωt. | (4) |
Since this is a first-order linear ODE in the standard form with P(t) = a and Q(t) = bsinωt, its general solution can be obtained using the explicit formula in [22] or [23]. Note the asterisk indicates that the details can be found in the Appendix of this article.
i(t)=ce∫−P(t)dt+e∫−P(t)dt∫Q(t)e∫P(t)dtdt=ce∫−adt+e∫−adt∫bsin(ωt)e∫adtdt=ce−at+e−at∫beatsin(ωt)dt=e−at(c+∫beatsin(ωt)dt)=e−at[c+ba2+ω2eat(asinωt−ωcosωt)]∗=ce−at+ba2+ω2(asinωt−ωcosωt)=ce−RLt+E0L(RL)2+ω2(RLsinωt−ωcosωt)=ce−RLt+E0L(RL)2+L2ω2L2(RLsinωt−LωLcosωt) = ce−RLt+E0L2R2+L2ω2L2(Rsinωt−Lωcosωt)=ce−RLt+E0R2+ω2L2(Rsinωt−ωLcosωt). |
or
i(t)=ce−RLt+E0R2+ω2L2(Rsinωt−ωLcosωt). | (5) |
This is the general solution to the RL circuit. The first part is the response of the homogeneous ODE. This response ih approaches zero as t → ∞. The second part is the particular response ip to the input that varies with time.
To find the specific solution satisfying the initial value i(0) = 0, substitute t = 0 and i(0) = 0 into the general solution (5).
0=ce−RL×0+E0R2+ω2L2(Rsin0−ωLcos0) → 0=c+E0R2+ω2L2(0−ωL)0=c+−ωLE0R2+ω2L2 → c=ωLE0R2+ω2L2. |
Thus, the specific solution is
is=E0R2+ω2L2(ωLe−RLt+Rsinωt−ωLcosωt). | (6) |
The separation between the general solution and the initial condition requires extra steps to get a specific solution for a given initial condition. However, such separation keeps the general solution as a universal module for the ODE regardless of what the initial condition(s) would be applied with respect to different circumstances.
Figure 3 shows the responses of the homogeneous solution ih, the particular solution ip and the combined solution is with time with R = 10 Ω, L = 5 H, ω = 2, and E0 = 10 V. It clearly shows that the current is dependent on the input after the initial period, in which the influence of the ih component fades out quickly. Therefore, the response ih correlating to the homogeneous ODE is called the transient current whereas the particular response correlating to the input in the inhomogeneous ODE (3) is called the steady-state current.
Apply the Laplace transform to both sides of the ODE (4)
L[didt]+aL[i]=bL[sinωt]. | (7) |
Let I(s) = L[i]. This translates the ODE to its state space form
sI(s)−i(0)+aI(s)=bL[sinωt] | (8) |
(s+a)I(s)=bωs2+ω2 → I(s)=1s+abωs2+ω2 → I(s)=G(s)F(s). |
Here the input, transfer function, and the output in the state space are
F(s)=bωs2+ω2, G(s)=1s+a, I(s)=1s+abωs2+ω2. |
The corresponding functions in the time domain can be found by the inverse Laplace transform.
f(t)=L−1[F(s)]=L−1[bωs2+ω2]=bsinωt, g(t)=L−1[G(s)]=L−1[1s+a]=e−ati(t)=L−1[I(s)]=L−1[G(s)F(s)]=g(t)∗f(t). |
Here
i(t)=L−1[G(s)F(s)]=g(t)∗f(t)=e−at∗bsin(ωt)=b∫t0e−a(t−p)sin(ωp)dp=be−at∫t0eapsin(ωp)dp=be−at∫t0sin(ωp)eapdp=be−ata2+ω2[eap(asin(ωp)−ωcos(ωp))]|t∗0 |
=be−ata2+ω2[eat(asinωt−ωcosωt)−e0(asin0−ωcos0)]=ba2+ω2(ωe−at+asinωt−ωcosωt) ←a=RL,b=E0L=E0R2+ω2L2(ωLe−RLt+Rsinωt−ωLcosωt). |
This is the same outcome as obtained by the traditional method. Since the initial condition i(0) = 0 was embed in the equation (8) during the process, the result from the inverse Laplace transform is the specific solution satisfying this specific initial condition only. This process seems relatively simpler if students know the convolution well. Hence, many students may have a misunderstanding that the Laplace transform would be only applicable for solving ODEs with explicit initial condition(s), which is demonstrated by the student's attempts to the questions in the next section.
The two selected cases presented below are from undergraduate student's assignments in the past several years at a regional university in Australia. Each case is from a different cohort and demonstrates student's strengths and weaknesses in using the Laplace transform to solve ODEs under different conditions.
This case was part of a group assignment for 35 teams totalling 91 students in an advanced engineering mathematics course. The assigned question is a second-order linear ODE with two initial values. The question is presented below, followed by the step-by-step working with the Laplace transform. Student's performances on solving this question are then analysed.
Case 2: Solve the following ODE with the initial values by the Laplace transform and the convolution theorem.
y″+9y=2cos3t, given y(0)=y′(0)=0 | (9) |
Apply the Laplace transform to both sides of the ODE (9).
L[y″]+9L[y]=2L[cos3t]. | (10) |
Let Y(s) = L[y]. This translates the ODE to its state space form
s2Y(s)−sy(0)−y′(0)+9Y(s)=2ss2+32 | (11) |
(s2+9)Y(s)=2ss2+9 → Y(s)=1s2+92ss2+9 → Y(s)=G(s)F(s). |
These are equivalent to
F(s)=2ss2+32, G(s)=1s2+32, Y(s)=1s2+322ss2+32. |
The corresponding functions in the time domain can be found by the inverse Laplace transform.
f(t)=L−1[F(s)]=L−1[2ss2+32]=2cos3t → g(t)=L−1[G(s)]=L−1[1s2+32]=13sin3t |
y(t)=L−1[Y(s)]=L−1[G(s)F(s)]=g(t)∗f(t). | (12) |
By convolution, the output in the time domain can be determined as follows.
y(t)=L−1[G(s)F(s)]=g(t)∗f(t)=2cos3t∗13sin3t=23sin3t∗cos3t=23∫t0sin(3t−3p)cos(3p)dp=13∫t0[sin(3t−3p+3p)+sin(3t−3p−3p)]dp∗∗=13[∫t0sin(3t)dp−∫t0sin(6p−3t)dp]=13[sin3t⋅p+16cos(6p−3t)]|t0=13[tsin3t+16[cos3t−cos(−3t)]]=13[tsin3t+16[cos3t−cos3t]]=13tsin3t. | (13) |
∗∗ sinαcosβ=12[sin(α+β)+sin(α−β)] |
The plot of this specific solution is shown in Figure 4, which indicates a periodic sine pattern amplified by time.
Twenty-four out of the 35 teams solved this question correctly, i.e., correct in applying the Laplace transform, using the convolution theorem, and carrying out integrations during the entire process. One such example is shown in Figure 5. This team demonstrated not only a good understanding of the procedure of using the Laplace transform to solve the initial value ODE but also the efficacy of utilizing the mathematical skills obtained from previous mathematics courses.
For the eleven teams who presented incorrect or partly correct solutions to the question, two teams were completely wrong with applying the Laplace transform; six teams encountered problems in using the convolution theorem; three teams made mistakes in integration during convolution. The student's overall performances in solving this question are summarized in Table 1. With an overall correct rate of 69% (24/35), plus a few teams with partly correct solutions, student's ability to solve ODEs with explicit initial values by the Laplace transform was reasonably satisfactory.
Summary of the performances in solving the ODE in Case 2 by students
.Laplace transform | Laplace transform | Convolution | Integration |
Incorrect | 2 | 6 | 3 |
Correct | 24 | 24 | 24 |
The second case was part of an individual assignment for 124 students in the same advanced engineering mathematics course in another year. The assigned question is also a second-order linear ODE with only one explicit initial condition. Students were asked to solve this question using the Laplace transform but convolution was not compulsory. Without providing the full explicit initial conditions, this case became a partly open question. Students would need their reasoning to start applying the Laplace transform.
This question is presented below, followed by the step-by-step working with the Laplace transform for the preferred outcome. Student's performances on solving this question are then analysed.
Case 3: Use the Laplace transform to solve the following ODE
y″−y=e2t+1, given y(0)=1. | (14) |
Apply the Laplace transform to both sides of the ODE (14)
L[y″]−L[y]=L[e2t+1]. | (15) |
Let Y(s) = L[y] and assume
s2Y(s)−sy(0)−y′(0)−Y(s)=1s−2+1s | (16) |
(s2−1)Y(s)−s−v1=1s−2+1s → (s2−1)Y(s)=1s−2+1s+s+v1Y(s)=1(s2−1)(s−2)+1(s2−1)s+ss2−1+v1s2−1=G(s)[F1(s)+F2(s)]+G0(s)+v1G(s) |
where
G(s)=1s2−1, F1(s)=1s−2, F2(s)=1s, G0(s)=ss2−1. |
The corresponding functions in the time domain can be found by the inverse Laplace transform.
g(t)=L−1[G(s)]=L−1[1s2−1]=sinht, f1(t)=L−1[F1(s)]=L−1[1s−2]=e2tf2(t)=L−1[F2(s)]=L−1[1s]=1, g0(t)=L−1[G0(s)]=L−1[ss2−1]=coshty(t)=L−1[Y(s)]=L−1[G(s)F1(s)+G(s)F2(s)+G0(s)+v1G(s)]. |
By convolution, the output in the time domain can be determined as follows.
y(t)=L−1[Y(s)]=g(t)∗f1(t)+g(t)∗f2(t)+g0(t)+v1g(t)=∫t0e2(t−p)sinhpdp+∫t01⋅sinhpdp+cosht+v1sinht=e2t∫t0e−2p(ep−e−p2)dp+coshp|t0+cosht+v1sinht=e2t2∫t0(e−p−e−3p)dp+cosht−1+cosht+v1sinht=e2t2[−e−p+13e−3p]|t0+2cosht+v1sinht−1=e2t2[−e−t+13e−3t+1−13]+2cosht+v1sinht−1=13e2t−12et+16e−t+2⋅et+e−t2+v1⋅et−e−t2−1=13e2t−12et+16e−t+et+e−t+v12et−v12e−t−1=13e2t+(1+v1)2et+(7−3v1)6e−t−1. | (17) |
The consideration here is that the 'system' represented by the ODE would exhibit a certain pattern if all two initial values are given. By fixing one initial value and allowing the other to vary, the 'system' would become a dynamic system to some extent. For example, with y(0) = 1 already embed in the solution, by using –2, 0, 2 for
Among the 124 students, only nineteen students (or 15% of all students) attempted this question, partly due to the assessment setting that allowed students to choose five out of the six questions in the assignment. All these nineteen students assumed
Summary of attempts to solve Case 3 by 124 students
.No attempt | 105 | 105 |
Convolution | 8 (6) | 0 |
Partial fraction | 11 (5) | 0 |
Correct solution | 11 | 0 |
Italic numbers indicate the correct solutions obtained by students |
The more profound observation from this case is that no student attempted to use a generic value for
To help students further their understanding of the capacity of the Laplace transform in solving ODEs with generic initial value(s), Case 1 and Case 2 presented in previous sections and a system of linear ODEs as Case 4 are solved by the Laplace transform for generalization in this section.
Assuming i(0) = v0, the equation (8) in the state space becomes
sI(s)−v0+aI(s)=bL[sinωt] | (18) |
(s+a)I(s)=bωs2+ω2+v0 → I(s)=1s+abωs2+ω2+v0s+aI(s)=G(s)F(s)+v0G(s), |
where
F(s)=bωs2+ω2, G(s)=1s+a. |
There is a new term
i(t)=L−1[I(s)]=L−1[G(s)F(s)]+L−1[v0G(s)]=g(t)∗f(t)+v0e−at. |
Therefore, the general output in the time domain is
i(t)=g(t)∗f(t)+v0e−at=ba2+ω2(ωe−at+asinωt−ωcosωt)+v0e−at |
=E0R2+ω2L2(ωLe−RLt+Rsinωt−ωLcosωt)+v0e−RLt. | (19) |
By assigning i(0) = 0 ampere, its specific solution is decided as
i(t)=E0R2+ω2L2(ωLe−RLt+Rsinωt−ωLcosωt). |
This is the same as the solution (6).
By assigning i(0) = –10 amperes, the corresponding specific solution is decided as
i(t)=E0R2+ω2L2(ωLe−RLt+Rsinωt−ωLcosωt)−10e−RLt. | (20) |
By assigning i(0) = 10 amperes, the corresponding specific solution is decided as
i(t)=E0R2+ω2L2(ωLe−RLt+Rsinωt−ωLcosωt)+10e−RLt. | (21) |
These three corresponding outputs are shown in Figure 7. The red curve represents the specific case with i(0) = 0 ampere, starting from the original till reaching the steady-state phase after the first period, the same as demonstrated in Figure 2. In the meantime, the solution (19) is more flexible in demonstrating the patterns resulted from other initial values. For example, with i(0) = –10 amperes, the blue curve begins from the initial position at 10 units below the original till reaching the steady-state phase after the first period. With i(0) = 10 amperes, the black curve begins from the initial position at 10 units above the original till reaching the steady-state phase after the first period.
In this case, simply replacing v0 by the given initial value will produce the specific solution, without substituting the initial value into the general solution (5) obtained by the conventional method to define the unknown constant for the new cases.
Assuming y(0) = v0 and
s2Y(s)−sy(0)−y′(0)+9Y(s)=2ss2+32 → (s2+9)Y(s)=2ss2+32+sv0+v1Y(s)=1s2+92ss2+9+sv0s2+9+v1s2+9 → Y(s)=G(s)F(s)+G0(s)+v1G(s) | (22) |
where
F(s)=2ss2+32, G(s)=1s2+32, G0(s)=sv0s2+32. |
The corresponding functions in the time domain can be found by the inverse Laplace transform.
f(t)=L−1[F(s)]=L−1[2ss2+32]=2cos3t, g(t)=L−1[G(s)]=L−1[1s2+32]=13sin3tg0(t)=L−1[G0(s)]=L−1[sv0s2+32]=v0cos3t |
Considering the convolution outcome (13) in Section 3, the output in the time domain can be determined as follows.
y(t)=L−1[Y(s)]=g(t)∗f(t)+g0(t)+v1g(t)=13tsin3t+v0cos3t+v13sin3t=v0cos3t+13(v1+t)sin3t. | (23) |
By assigning y(0) = 0 and
y(t)=13tsin3t. |
This is the same as the solution (13) obtained in Section 3.
By assigning y(0) = –3 and
y(t)=−3cos3t+13(t−3)sin3t. | (24) |
By assigning y(0) = 5 and
y(t)=5cos3t+13(t+5)sin3t. | (25) |
These three specific outputs are shown in Figure 8. The red curve represents the specific case with
The black curve represents the pattern with y(0) = –3 and
The blue curve represents the pattern with y(0) = 5 and
In this case, simply replacing v0 and/or v1 for different initial conditions in the solution (23) will produce the anticipated specific solution without a need to substitute the initial values into the general solution determined by the conventional method to define the unknown constants for the new case. Therefore, the Laplace transform is a general method suitable to solve constant-coefficient linear ODEs not only with explicit initial values for the corresponding specific solution but also with generic initial values for the general solution.
Case 4: Tank 1 (T1) and Tank 2 (T2) initially contain V litres of saline. In the beginning, the saline in T1 contains x0 kg of salt dissolved uniformly in T1 and the saline in T2 contains y0 kg of salt dissolved uniformly in T2. The liquid is circulated at a constant rate of q litre/min and stirred to keep the mixture uniform. Find the amount of salt x(t) in T1 and y(t) in T2 with time, respectively.
For T1, the rate of change in salt equals the amount of salt in the inflow from T2 by taking away the amount of salt in the outflow to T2, and so does for T2 (Figure 9), i.e.,
{dxdt=qVy−qVx, x(0)=x0dydt=qVx−qVy, y(0)=y0 → {x′=−qVx+qVy, x(0)=x0y′=qVx−qVy, y(0)=y0. | (26) |
Let
{L[x′]=−kL[x]+kL[y]L[y′]=kL[x]−kL[y]. | (27) |
Let X(s) = L[x] and Y(s) = L[y]. This translates the ODEs to its state space form
{sX(s)−x0=−kX(s)+kY(s)sY(s)−y0=kX(s)−kY(s). | (28) |
The vertical addition of the two equations in the system (28) becomes
s[X(s)+Y(s)]=x0+y0 → X(s)+Y(s)=x0+y0s → Y(s)=x0+y0s−X(s). | (29) |
Substitute Y(s) into the first ODE in the system (28).
sX(s)−x0=−kX(s)+k[x0+y0s−X(s)] → (s+2k)X(s)=x0+k(x0+y0)s, | (30) |
or
X(s)=x0(s+2k)+k(x0+y0)s(s+2k)=x0G(s)+k(x0+y0)F(s)G(s), | (31) |
here
F(s)=1s, G(s)=1s+2k. |
Y(s)=x0+y0s−X(s)=(x0+y0)F(s)−x0G(s)−k(x0+y0)F(s)G(s). | (32) |
The corresponding functions in the time domain can be found by the inverse Laplace transform.
f(t)=L−1[F(s)]=L−1[1s]=1, g(t)=L−1[G(s)]=L−1[1s+2k]=e−2kt |
The outputs in the time domain can be determined as follows.
x(t)=L−1[X(s)]=x0g(t)+k(x0+y0)f(t)∗g(t)f(t)=x0e−2kt+k(x0+y0)∫t01⋅e−2kpdp=x0e−2kt−x0+y02e−2kp|t0=x0e−2kt−x0+y02e−2kt+x0+y02=x0+y02+x0−y02e−2kt. |
y(t)=L−1[Y(s)]=L−1[Y(s)]=(x0+y0)f(t)−x(t)=(x0+y0)−x0+y02−x0−y02e−2kt=x0+y02−x0−y02e−2kt. |
Substitute
{x(t)=12(x0+y0)+12(x0−y0)e−2qVty(t)=12(x0+y0)−12(x0−y0)e−2qVt. | (33) |
This is the general solution to this mixing problem without specifying the initial values.
Assume the volume for both tanks is 4000 liters and in the beginning 600 kg of salt are dissolved in T1 and only pure water is in T2, i.e., x0 = x(0) = 600 kg and y0 = y(0) = 0 kg. If the two circulating rates, q1 = 40 l/m and q2 = 100 l/m, are used in the mixing process, two sets of specific solutions can then be determined by the general solution (33) as follows.
q1 = 40 l/m:
{x(t)=300+300e−0.02ty(t)=300−300e−0.02t. | (34) |
q2 = 100 l/m:
{x(t)=300+300e−0.05ty(t)=300−300e−0.05t. | (35) |
Figure 10 displays the progression of mixing for these two settings. Suppose the mixing is to achieve at least 99% (297–303 kg) of uniformity of salt in both tanks. The mixing process using the higher circulating rate of 100 l/m would reach this threshold in about 95 minutes, indicated by the red dot on the red curves. The lower circulating rate of 40 l/m would take more than 180 minutes to have a chance to achieve this standard as indicated by the blue curves in Figure 10.
If in the beginning 500 kg of salt are dissolved in T1 and 100 kg of salt are dissolved in T2, i.e., x0 = x(0) = 500 kg and y0 = y(0) = 100 kg. With the two circulating rates, q1 = 40 l/m and q2 = 100 l/m, two sets of new specific solutions can be determined by the general solution (33) as follows.
q1 = 40 l/m:
{x(t)=300+200e−0.02ty(t)=300−200e−0.02t. | (36) |
q2 = 100 l/m:
{x(t)=300+200e−0.05ty(t)=300−200e−0.05t. | (37) |
Figure 11 displays the progression of mixing for these two settings. Suppose the mixing is to achieve at least 99% of uniformity of salt in both tanks. The mixing process using the higher circulating rate of 100 l/m would reach this threshold in about 85 minutes, indicated by the red dot on the red curves. This is faster than the case where all 600 kg of salt are dissolved in Tank 1 in the beginning. The lower circulating rate of 40 l/m would still take more than 180 minutes to have a chance to achieve this standard as indicated by the blue curves in Figure 11.
This case also demonstrates that the Laplace transform is well capable of solving systems of linear ODEs with generic initial values. The general solutions from the Laplace transform are even simpler to produce specific solutions by simply replacing the generic initial values with the given numbers, without a need to substitute the initial values into the general solution to define the unknown constants for the new case through the conventional method.
All the cases have demonstrated that the Laplace transform is not only useful in solving linear ODEs with explicit initial values, but also powerful in solving constant-coefficient linear ODEs with generic initial conditions. The general solution obtained by the Laplace transform is even more robust for obtaining the specific solutions directly once the initial values are assigned. This is because the generic initial values, even being symbolic in the general solutions, are already embed into the process of problem solving by the Laplace transform, no need to go through the substitution process with the initial values to determine the unknown constants contained in the general solution resulted from the conventional method. This implies that the generic initial conditions in the general solution obtained from the Laplace transform could be used as a point of control for some dynamic systems.
However, a good understanding of the power of the Laplace transform for solving ODEs is different from the effective use of the powerful tool to solve the real problems. This is because the nature of the Laplace transform already leans to a more difficult path than the conventional way, particularly through convolution, experienced by both the teachers and students [14,15]. The challenging route is often compounded by the inefficient retention of the skills and knowledge students gained in previous mathematics courses, such as integration by parts, trigonometric relationships etc. [23,24,25]. Hence, a high level of efficacy of mathematical skills and techniques is still the necessity for a smooth progression in advanced mathematics studies, including the Laplace transform.
Although four representative cases are closely examined in this study, more research should be done to explore the extra power and/or the limit that the Laplace transform may bring to solving other types of ODEs. For example, to what extent, the Laplace transform can deal with solving nonlinear ODEs with generic initial conditions? How will the piecewise functions as the input to linear ODEs with generic initial conditions affect the effectiveness of applying the Laplace transform as a general tool? How best the generic initial conditions in the general solution obtained through the Laplace transform can be integrated into the control of dynamic system? More questions are raised than solved, which should become the research questions for future studies.
This article was originally submitted to an engineering journal in September 2021. All three anonymous referees provided positive feedback. One of the referees suggested a possible publishing of this article in a journal related to the education and teaching of engineering mathematics. As a result, this article was formally withdrawn from the journal. However, the constructive feedback from the referees has much improved this article. The author much appreciate the referees' precious time and thoughtful suggestions.
I=∫bsinωteatdt=bsinωteata−∫ωbacosωteatdt=basinωteat−ωba[cosωteata+∫ωasinωteatdt] =basinωteat−ωa[bacosωteat+ωa∫bsinωteatdt]=basinωteat−ωba2cosωteat−ω2a2I |
Hence
I+ω2a2I=baeat(sinωt−ωacosωt)a2+ω2a2I=ba2eat(asinωt−ωcosωt)(a2+ω2)I=beat(asinωt−ωcosωt) |
Finally
I=∫bsinωteatdt=ba2+ω2eat(asinωt−ωcosωt) |
[1] |
Kreyszig, E., Advanced Engineering Mathematics, 10th ed. 2011, USA: Wiley. |
[2] |
Fatoorehchi, H. and Rach, R., A method for inverting the Laplace transform of two classes of rational transfer functions in control engineering. Alexandria Engineering Journal, 2020, 59: 4879-4887. |
[3] |
Ha, W. and Shin C., Seismic random noise attenuation in the Laplace domain using SVD. IEEE Access, 2021, 9: 62037. |
[4] |
Grasso, F., Manetti, S., Piccirilli, M.C. and Reatti, A., A Laplace transform approach to the simulation of DC-DC converters. International Journal of Numerical Modelling: Electronic Networks, Devices and Fields, 2019, 32(5): e2618. |
[5] |
Han, H. and Kim, H., The solution of exponential growth and exponential decay by using Laplace transform. International Journal of Difference Equations, 2020, 15(2):191-195. |
[6] |
Huang, L., Deng, L., Li, A., Gao, R., Zhang, L. and Lei, W., A novel approach for solar greenhouse air temperature and heating load prediction based on Laplace transform. Journal of Building Engineering, 2021, 44: 102682. |
[7] |
Daci, A. and Tola, S., Laplace transform, application in population growth. International Journal of Recent Technology and Engineering, 2019, 8(2): 954-957. |
[8] |
Etzweiler, G. and S. Steele., The Laplace transformation of the impulse function for engineering problems. IEEE Transactions on Education, 1967, 10: 171-173. |
[9] |
Zill, D.G., A First Course in Differential Equations with Modeling Applications, 10th ed. 2013, Boston, USA: Cengage Learning. |
[10] |
Nise, N.S. Control Systems Engineering, 8th ed. 2019, USA: John Wiley & Sons. |
[11] |
AL-Khazraji, H., Cole, C. and Guo, W., Analysing the impact of different classical controller strategies on the dynamics performance of production-inventory systems using state space approach. Journal of Modelling in Management, 2018, 13(1): 211-235. https://doi.org/10.1108/JM2-08-2016-0071 doi: 10.1108/JM2-08-2016-0071![]() |
[12] |
AL-Khazraji, H., Cole, C. and Guo, W., Optimization and simulation of dynamic performance of production–inventory systems with multivariable controls. Mathematics, 2021, 9(5): 568. https://doi.org/10.3390/math9050568 doi: 10.3390/math9050568![]() |
[13] |
Guo, W.W., Advanced Mathematics for Engineering and Applied Sciences, 3rd ed. 2016, Sydney, Australia: Pearson. |
[14] |
Ngo, V. and Ouzomgi, S., Teaching the Laplace transform using diagrams. The College Mathematics Journal, 1992, 23(4): 309-312. |
[15] |
Holmberg, M. and Bernhard. J., University teachers' perspectives on the role of the Laplace transform in engineering education. European Journal of Engineering Education, 2017, 42(4): 413-428. https://doi.org/10.1080/03043797.2016.1190957 doi: 10.1080/03043797.2016.1190957![]() |
[16] |
Croft, A. and Davison, R., Engineering Mathematics, 5th ed. 2019, Harlow, UK: Pearson. |
[17] |
Greenberg, M.D., Advanced Engineering Mathematics. 2nd ed. 1998, Upper Saddle River, USA: Prentice Hall. |
[18] |
James, G., Modern Engineering Mathematics, 2nd ed. 1996, Harlow, UK: Addison-Wesley Longman. |
[19] |
Yeung, K.S. and Chung, W.D., On solving differential equations using the Laplace transform. International Journal of Electrical Engineering and Education. 2007, 44(4): 373-376. |
[20] |
Robertson, R.L., Laplace transform without integration. PRIMUS, 2017, 27(6): 606–617. https://doi.org/10.1080/10511970.2016.1235643 doi: 10.1080/10511970.2016.1235643![]() |
[21] |
Srivastava, H.M., Masjed-Jamei, M. and Aktas, R., Analytical solutions of some general classes of differential and integral equations by using the Laplace and Fourier transforms. Filomat, 2020, 34(9): 2869-2876. https://doi.org/10.2298/FIL2009869S doi: 10.2298/FIL2009869S![]() |
[22] |
Guo, W., Unification of the common methods for solving the first-order linear ordinary differential equations. STEM Education, 2021, 1(2): 127-140. https://doi.org/10.3934/steme.2021010 doi: 10.3934/steme.2021010![]() |
[23] |
Guo, W., Li, W. and Tisdell, C.C., Effective pedagogy of guiding undergraduate engineering students solving first-order ordinary differential equations. Mathematics, 2021, 9(14):1623. https://doi.org/10.3390/math9141623 doi: 10.3390/math9141623![]() |
[24] |
Garner, B. and Garner, L., Retention of concepts and skills in traditional and reformed applied calculus. Mathematics Education Research Journal, 2001, 13: 165-184. |
[25] |
Kwon, O.N., Rasmussen, C. and Allen, K., Students' retention of mathematical knowledge and skills in differential equations. School Science and Mathematics, 2005,105: 227-239. |
1. | William Guo, A guide for using integration by parts: Pet-LoPo-InPo, 2022, 30, 2688-1594, 3572, 10.3934/era.2022182 | |
2. | William Guo, Special tutorials to support pre-service mathematics teachers learning differential equations and mathematical modelling, 2024, 12, 2301-251X, 71, 10.30935/scimath/13831 |
Summary of the performances in solving the ODE in Case 2 by students
.Laplace transform | Laplace transform | Convolution | Integration |
Incorrect | 2 | 6 | 3 |
Correct | 24 | 24 | 24 |
Summary of attempts to solve Case 3 by 124 students
.No attempt | 105 | 105 |
Convolution | 8 (6) | 0 |
Partial fraction | 11 (5) | 0 |
Correct solution | 11 | 0 |
Italic numbers indicate the correct solutions obtained by students |
A system represented by a single block diagram in the state space
The series RL circuit with input
Electric currents in the RL circuit with R = 10 Ω, L = 5 H, ω = 2, and E0 = 10 V
Plot of the output for Case 2 with y(0) = 0 and y′(0) = 0
An example of student's work on solving the ODE in Case 2 by the Laplace transform
Plots of the solution to Case 3 with fixed y(0) = 1 and different values for
Electric currents of the RL circuit in Case 1 with R = 10 Ω, L = 5 H, ω = 2, and E0 = 10 V [v0 = i(0) for –10, 0, and 10 amperes, respectively]
Plots of the output of the ODE in Case 2 by Laplace transform with different initial values [Black: v0 = –3, v1 = –3; Red: v0 = 0, v1 = 0; Blue: v0 = 5, v1 = 5]
The mixing problem for Case 4
Plots of the mixing processes in the solutions (34) and (35) V = 4000 liters, x0 = 600 kg, y0 = 0 kg; blue curves: q1 = 40 l/m; red curves: q2 = 100 l/m
Plots of the mixing processes in the solutions (36) and (37) V = 4000 liters, x0 = 500 kg, y0 = 100 kg; blue curves: q1 = 40 l/m; red curves: q2 = 100 l/m