How to Solve Differential Equations Using Laplace Transforms
How to Solve Differential Equations Using Laplace Transforms
The Laplace transform is an integral transform that is widely used to solve linear differential equations with constant coefficients. When such a differential equation is transformed into Laplace space, the result is an algebraic equation, which is much easier to solve. Furthermore, unlike the method of undetermined coefficients, the Laplace transform can be used to directly solve for functions given initial conditions. It is for these reasons that the Laplace transform is often used to solve such equations.
Preliminaries

Example 1

Solve the differential equation given initial conditions. y {\displaystyle y} y and its derivatives only depend on t . {\displaystyle t.} t. y ′ ′ + 5 y ′ + 6 y = cos ⁡ t ; y ( 0 ) = 1 , y ′ ( 0 ) = 0 {\displaystyle y^{\prime \prime }+5y^{\prime }+6y=\cos t;\ \ y(0)=1,\ y^{\prime }(0)=0} y^{{\prime \prime }}+5y^{{\prime }}+6y=\cos t;\ \ y(0)=1,\ y^{{\prime }}(0)=0

Take the Laplace transform of both sides. Using the properties of the Laplace transform, we can transform this constant coefficient differential equation into an algebraic equation. s 2 Y − s y ( 0 ) − y ′ ( 0 ) + 5 ( s Y − y ( 0 ) ) + 6 Y = s s 2 + 1 s 2 Y − s + 5 s Y − 5 + 6 Y = s s 2 + 1 {\displaystyle {\begin{aligned}s^{2}Y-sy(0)-y^{\prime }(0)+5(sY-y(0))+6Y&={\frac {s}{s^{2}+1}}\\s^{2}Y-s+5sY-5+6Y&={\frac {s}{s^{2}+1}}\end{aligned}}} {\begin{aligned}s^{{2}}Y-sy(0)-y^{{\prime }}(0)+5(sY-y(0))+6Y&={\frac {s}{s^{{2}}+1}}\\s^{{2}}Y-s+5sY-5+6Y&={\frac {s}{s^{{2}}+1}}\end{aligned}}

Solve for Y ( s ) {\displaystyle Y(s)} Y(s). Simplify and factor the denominator to prepare for partial fraction decomposition. Y = s s 2 + 1 + s + 5 s 2 + 5 s + 6 = s ( s 2 + 1 ) ( s + 3 ) ( s + 2 ) + s + 5 ( s + 3 ) ( s + 2 ) {\displaystyle {\begin{aligned}Y&={\frac {{\frac {s}{s^{2}+1}}+s+5}{s^{2}+5s+6}}\\&={\frac {s}{(s^{2}+1)(s+3)(s+2)}}+{\frac {s+5}{(s+3)(s+2)}}\end{aligned}}} {\begin{aligned}Y&={\frac {{\frac {s}{s^{{2}}+1}}+s+5}{s^{{2}}+5s+6}}\\&={\frac {s}{(s^{{2}}+1)(s+3)(s+2)}}+{\frac {s+5}{(s+3)(s+2)}}\end{aligned}}

Decompose the solution into its partial fractions. This process can be long-winded, but there are ways to streamline this process. Because partial fractions are inevitably going to show up while working in Laplace space, we will detail the entire process into solving for each coefficient. First, let's work with the first fraction, the harder one. This fraction can be written in terms of four coefficients. s ( s 2 + 1 ) ( s + 3 ) ( s + 2 ) = A s + B s 2 + 1 + C s + 3 + D s + 2 {\displaystyle {\frac {s}{(s^{2}+1)(s+3)(s+2)}}={\frac {As+B}{s^{2}+1}}+{\frac {C}{s+3}}+{\frac {D}{s+2}}} {\frac {s}{(s^{{2}}+1)(s+3)(s+2)}}={\frac {As+B}{s^{{2}}+1}}+{\frac {C}{s+3}}+{\frac {D}{s+2}} C {\displaystyle C} C and D {\displaystyle D} D can easily be solved for. To solve for C , {\displaystyle C,} C, we multiply both sides by ( s + 3 ) {\displaystyle (s+3)} (s+3) and substitute s = − 3. {\displaystyle s=-3.} s=-3. By doing so, we will be evaluating the "reduced fraction" on the left, while C {\displaystyle C} C on the right side becomes isolated as the other terms vanish. D {\displaystyle D} D can be found in a similar manner. In general, such coefficients can be found by multiplying by the factor in the denominator and substituting that root. This is an excellent way to avoid solving a system of equations. C = s ( s 2 + 1 ) ( s + 2 ) | s = − 3 = 3 10 {\displaystyle C={\frac {s}{(s^{2}+1)(s+2)}}{\Bigg |}_{s=-3}={\frac {3}{10}}} C={\frac {s}{(s^{{2}}+1)(s+2)}}{\Bigg |}_{{s=-3}}={\frac {3}{10}} D = s ( s 2 + 1 ) ( s + 3 ) | s = − 2 = − 2 5 {\displaystyle D={\frac {s}{(s^{2}+1)(s+3)}}{\Bigg |}_{s=-2}=-{\frac {2}{5}}} D={\frac {s}{(s^{{2}}+1)(s+3)}}{\Bigg |}_{{s=-2}}=-{\frac {2}{5}} B {\displaystyle B} B can be found by multiplying both sides by ( s 2 + 1 ) {\displaystyle (s^{2}+1)} (s^{{2}}+1) and choosing s = 0. {\displaystyle s=0.} s=0. 0 = B + C 3 + D 2 {\displaystyle 0=B+{\frac {C}{3}}+{\frac {D}{2}}} 0=B+{\frac {C}{3}}+{\frac {D}{2}} B = 1 10 {\displaystyle B={\frac {1}{10}}} B={\frac {1}{10}} A {\displaystyle A} A is a bit trickier to find. We first get rid of the denominators to both sides. Then, we recognize that A {\displaystyle A} A is a coefficient of s 3 . {\displaystyle s^{3}.} s^{{3}}. The other s 3 {\displaystyle s^{3}} s^{{3}} terms will have C {\displaystyle C} C and D {\displaystyle D} D in them. Now, notice that the left side has no cubic term. Therefore, we can say that A + C + D = 0. {\displaystyle A+C+D=0.} A+C+D=0. s = A s ( s + 3 ) ( s + 2 ) + B ( s + 3 ) ( s + 2 ) + C ( s + 2 ) ( s 2 + 1 ) + D ( s + 3 ) ( s 2 + 1 ) {\displaystyle {\begin{aligned}s=As(s+3)(s+2)&+B(s+3)(s+2)\\&+C(s+2)(s^{2}+1)\\&+D(s+3)(s^{2}+1)\end{aligned}}} {\begin{aligned}s=As(s+3)(s+2)&+B(s+3)(s+2)\\&+C(s+2)(s^{{2}}+1)\\&+D(s+3)(s^{{2}}+1)\end{aligned}} A = − C − D = 1 10 {\displaystyle A=-C-D={\frac {1}{10}}} A=-C-D={\frac {1}{10}} The same process in finding C {\displaystyle C} C and D {\displaystyle D} D can be used to find the coefficients of the partial fractions for the second fraction. In general, this idea of substituting, differentiating (for fractions with repeated roots), or equating coefficients can be used to efficiently find partial fraction decompositions. Of course, such efficiency takes practice, and if you need to double-check your work, going back to the system of equations is another option. s + 5 ( s + 3 ) ( s + 2 ) = E s + 3 + F s + 2 {\displaystyle {\frac {s+5}{(s+3)(s+2)}}={\frac {E}{s+3}}+{\frac {F}{s+2}}} {\frac {s+5}{(s+3)(s+2)}}={\frac {E}{s+3}}+{\frac {F}{s+2}} E = − 2 , F = 3 {\displaystyle E=-2,\ F=3} E=-2,\ F=3

Write out the solution in terms of its partial fraction decomposition. We now have the coefficients, so we can now simplify the solution. Y = 1 10 s + 1 s 2 + 1 + 3 / 10 s + 3 + − 2 / 5 s + 2 + − 2 s + 3 + 3 s + 2 = 1 10 s + 1 s 2 + 1 + − 17 / 10 s + 3 + 26 / 10 s + 2 {\displaystyle {\begin{aligned}Y&={\frac {1}{10}}{\frac {s+1}{s^{2}+1}}+{\frac {3/10}{s+3}}+{\frac {-2/5}{s+2}}+{\frac {-2}{s+3}}+{\frac {3}{s+2}}\\&={\frac {1}{10}}{\frac {s+1}{s^{2}+1}}+{\frac {-17/10}{s+3}}+{\frac {26/10}{s+2}}\end{aligned}}} {\begin{aligned}Y&={\frac {1}{10}}{\frac {s+1}{s^{{2}}+1}}+{\frac {3/10}{s+3}}+{\frac {-2/5}{s+2}}+{\frac {-2}{s+3}}+{\frac {3}{s+2}}\\&={\frac {1}{10}}{\frac {s+1}{s^{{2}}+1}}+{\frac {-17/10}{s+3}}+{\frac {26/10}{s+2}}\end{aligned}}

Write out the solution in physical space. Now, we can finally transform back from Laplace space. We are lucky because our terms are all written such that we can find the functions in physical space by looking at a table of Laplace transforms. In general, taking inverse Laplace transforms is no joke, and requires a fair bit of knowledge of complex analysis (the Bromwich integral is a contour integral typically done using residue theory). y ( t ) = 1 10 cos ⁡ t + 1 10 sin ⁡ t − 17 10 e − 3 t + 13 5 e − 2 t {\displaystyle y(t)={\frac {1}{10}}\cos t+{\frac {1}{10}}\sin t-{\frac {17}{10}}e^{-3t}+{\frac {13}{5}}e^{-2t}} y(t)={\frac {1}{10}}\cos t+{\frac {1}{10}}\sin t-{\frac {17}{10}}e^{{-3t}}+{\frac {13}{5}}e^{{-2t}}

Damped Harmonic Oscillator

Find the equation of motion of an object exhibiting simple harmonic motion with a resistive force. In physics, the equation of an object undergoing simple harmonic motion with no resistance is given by m x ¨ + m ω 2 x = 0 , {\displaystyle m{\ddot {x}}+m\omega ^{2}x=0,} m{\ddot x}+m\omega ^{{2}}x=0, where ω {\displaystyle \omega } \omega is the angular frequency of oscillation, and the number of dots specifies the number of derivatives (Newton's notation for derivatives). Of course, in real life, there will always be some form of resistance. In this example, the resistive force is assumed to be proportional to velocity F = − m β x ˙ , {\displaystyle F=-m\beta {\dot {x}},} F=-m\beta {\dot x}, where β {\displaystyle \beta } \beta is a constant. Our initial conditions are a displacement of 1 from equilibrium at rest. By using Newton's second law, we can write the differential equation in the following manner. Notice that the presence of mass m {\displaystyle m} m in each of the terms means that our solution must eventually be independent of m . {\displaystyle m.} m. m x ¨ + 2 m β x ˙ + m ω 2 x = 0 , x ( 0 ) = 1 , x ˙ ( 0 ) = 0 {\displaystyle m{\ddot {x}}+2m\beta {\dot {x}}+m\omega ^{2}x=0,\ \ x(0)=1,\ {\dot {x}}(0)=0} m{\ddot x}+2m\beta {\dot x}+m\omega ^{{2}}x=0,\ \ x(0)=1,\ {\dot x}(0)=0 x ¨ + 2 β x ˙ + ω 2 x = 0 {\displaystyle {\ddot {x}}+2\beta {\dot {x}}+\omega ^{2}x=0} {\ddot x}+2\beta {\dot x}+\omega ^{{2}}x=0

Take the Laplace transform of both sides, and solve for X ( s ) {\displaystyle X(s)} X(s). s 2 X − s + 2 β s X − 2 β + ω 2 X = 0 {\displaystyle s^{2}X-s+2\beta sX-2\beta +\omega ^{2}X=0} s^{{2}}X-s+2\beta sX-2\beta +\omega ^{{2}}X=0 X ( s ) = s + 2 β s 2 + 2 β s + ω 2 {\displaystyle X(s)={\frac {s+2\beta }{s^{2}+2\beta s+\omega ^{2}}}} X(s)={\frac {s+2\beta }{s^{{2}}+2\beta s+\omega ^{{2}}}}

Rewrite the denominator by completing the square. The purpose of this is to obtain a result from which we can look at a table of Laplace transforms and find the function in physical space by inspection. Of course, to compensate for the added β 2 {\displaystyle \beta ^{2}} \beta ^{{2}} term, we need to subtract that so that we are "adding 0." X = s + 2 β ( s + β ) 2 + ω 2 − β 2 {\displaystyle X={\frac {s+2\beta }{(s+\beta )^{2}+\omega ^{2}-\beta ^{2}}}} X={\frac {s+2\beta }{(s+\beta )^{{2}}+\omega ^{{2}}-\beta ^{{2}}}}

Write out the solution in physical space. From the numerator, it is obvious that this is going to be a sum of a cosine and sine term. From the ( s + β ) 2 {\displaystyle (s+\beta )^{2}} (s+\beta )^{{2}} in the denominator, it is obvious that both of these terms will be multiplied by an exponential term (in fact, an exponential decay term e − β t {\displaystyle e^{-\beta t}} e^{{-\beta t}}). In order to see the two contributions more clearly, we can rewrite the numerator as ( s + β ) + β . {\displaystyle (s+\beta )+\beta .} (s+\beta )+\beta . x ( t ) = e − β t cos ⁡ ( ω 2 − β 2 t ) + β ω 2 − β 2 e − β t sin ⁡ ( ω 2 − β 2 t ) {\displaystyle x(t)=e^{-\beta t}\cos \left({\sqrt {\omega ^{2}-\beta ^{2}}}\,t\right)+{\frac {\beta }{\sqrt {\omega ^{2}-\beta ^{2}}}}e^{-\beta t}\sin \left({\sqrt {\omega ^{2}-\beta ^{2}}}\,t\right)} x(t)=e^{{-\beta t}}\cos \left({\sqrt {\omega ^{{2}}-\beta ^{{2}}}}\,t\right)+{\frac {\beta }{{\sqrt {\omega ^{{2}}-\beta ^{{2}}}}}}e^{{-\beta t}}\sin \left({\sqrt {\omega ^{{2}}-\beta ^{{2}}}}\,t\right) This example has shown us that the method of Laplace transforms can be used to solve homogeneous differential equations with initial conditions without taking derivatives to solve the system of equations that results. However, it is a good idea to check your answer by solving the differential equation using the standard ansatz method.

Driven Harmonic Oscillator

Find the equation of motion of an object exhibiting harmonic motion with a resistive force and a driven force. The previous example serves as a prelude for this more complicated problem. Now, we add a driving force F = A sin ⁡ ω t , {\displaystyle F=A\sin \omega t,} F=A\sin \omega t, where A {\displaystyle A} A is the amplitude and ω {\displaystyle \omega } \omega is the frequency of the driving force. Our differential equation is now modified to be inhomogeneous with more general initial conditions. We denote ω 0 {\displaystyle \omega _{0}} \omega _{{0}} to be the frequency of the oscillator free of the driving force. x ¨ + 2 β x ˙ + ω 0 2 x = A sin ⁡ ω t , x ( 0 ) = x 0 , x ˙ ( 0 ) = v 0 {\displaystyle {\ddot {x}}+2\beta {\dot {x}}+\omega _{0}^{2}x=A\sin \omega t,\ \ x(0)=x_{0},\ {\dot {x}}(0)=v_{0}} {\ddot x}+2\beta {\dot x}+\omega _{{0}}^{{2}}x=A\sin \omega t,\ \ x(0)=x_{{0}},\ {\dot x}(0)=v_{{0}}

Take the Laplace transform of both sides, and solve for X ( s ) {\displaystyle X(s)} X(s). We split the answer into two pieces. The first fraction is easy, and we will transform that back into physical space at the end of this problem. The second fraction is a bit more complicated (to say the least). s 2 X − s x 0 − v 0 + 2 β s X − 2 β x 0 + ω 0 2 X = A ω s 2 + ω 2 {\displaystyle s^{2}X-sx_{0}-v_{0}+2\beta sX-2\beta x_{0}+\omega _{0}^{2}X={\frac {A\omega }{s^{2}+\omega ^{2}}}} s^{{2}}X-sx_{{0}}-v_{{0}}+2\beta sX-2\beta x_{{0}}+\omega _{{0}}^{{2}}X={\frac {A\omega }{s^{{2}}+\omega ^{{2}}}} X ( s ) = s x 0 + 2 β x 0 + v 0 ( s + β ) 2 + ω 0 2 − β 2 + A ω ( ( s + β ) 2 + ω 0 2 − β 2 ) ( s 2 + ω 2 ) {\displaystyle X(s)={\frac {sx_{0}+2\beta x_{0}+v_{0}}{(s+\beta )^{2}+\omega _{0}^{2}-\beta ^{2}}}+{\frac {A\omega }{((s+\beta )^{2}+\omega _{0}^{2}-\beta ^{2})(s^{2}+\omega ^{2})}}} X(s)={\frac {sx_{{0}}+2\beta x_{{0}}+v_{{0}}}{(s+\beta )^{{2}}+\omega _{{0}}^{{2}}-\beta ^{{2}}}}+{\frac {A\omega }{((s+\beta )^{{2}}+\omega _{{0}}^{{2}}-\beta ^{{2}})(s^{{2}}+\omega ^{{2}})}}

Consider the second fraction without A ω {\displaystyle A\omega } A\omega and write its partial fraction decomposition. A ω {\displaystyle A\omega } A\omega can be treated as a constant. Notice that B {\displaystyle B} B is being multiplied by ( s + β ) , {\displaystyle (s+\beta ),} (s+\beta ), which should be the case because the denominator contains a ( s + β ) {\displaystyle (s+\beta )} (s+\beta ) term important for getting the e − β t {\displaystyle e^{-\beta t}} e^{{-\beta t}} out when we transform back. 1 ( ( s + β ) 2 + ω 0 2 − β 2 ) ( s 2 + ω 2 ) = B ( s + β ) + C ( s + β ) 2 + ω 0 2 − β 2 + D s + E s 2 + ω 2 {\displaystyle {\frac {1}{((s+\beta )^{2}+\omega _{0}^{2}-\beta ^{2})(s^{2}+\omega ^{2})}}={\frac {B(s+\beta )+C}{(s+\beta )^{2}+\omega _{0}^{2}-\beta ^{2}}}+{\frac {Ds+E}{s^{2}+\omega ^{2}}}} {\frac {1}{((s+\beta )^{{2}}+\omega _{{0}}^{{2}}-\beta ^{{2}})(s^{{2}}+\omega ^{{2}})}}={\frac {B(s+\beta )+C}{(s+\beta )^{{2}}+\omega _{{0}}^{{2}}-\beta ^{{2}}}}+{\frac {Ds+E}{s^{{2}}+\omega ^{{2}}}}

Get rid of the denominators. Equate the coefficients first. 1 = B ( s + β ) ( s 2 + ω 2 ) + C ( s 2 + ω 2 ) + D s ( ( s + β ) 2 + ω 0 2 − β 2 ) + E ( ( s + β ) 2 + ω 0 2 − β 2 ) {\displaystyle {\begin{aligned}1&=B(s+\beta )(s^{2}+\omega ^{2})+C(s^{2}+\omega ^{2})\\&+Ds((s+\beta )^{2}+\omega _{0}^{2}-\beta ^{2})+E((s+\beta )^{2}+\omega _{0}^{2}-\beta ^{2})\end{aligned}}} {\begin{aligned}1&=B(s+\beta )(s^{{2}}+\omega ^{{2}})+C(s^{{2}}+\omega ^{{2}})\\&+Ds((s+\beta )^{{2}}+\omega _{{0}}^{{2}}-\beta ^{{2}})+E((s+\beta )^{{2}}+\omega _{{0}}^{{2}}-\beta ^{{2}})\end{aligned}} From this result, we clearly see by equating the cubic terms s 3 , {\displaystyle s^{3},} s^{{3}}, we obtain B + D = 0. {\displaystyle B+D=0.} B+D=0.

Substitute s = i ω {\displaystyle s=i\omega } s=i\omega to get rid of the ( s 2 + ω 2 ) {\displaystyle (s^{2}+\omega ^{2})} (s^{{2}}+\omega ^{{2}}) terms. Remember that s {\displaystyle s} s is, in general, a complex number. Since s {\displaystyle s} s is involved in a sum of squares, we recognize that if s {\displaystyle s} s is purely imaginary, such a term will vanish. This causes both B {\displaystyle B} B and C {\displaystyle C} C to vanish. Then we obtain a system of equations because we can equate the real and imaginary components. This gets us D {\displaystyle D} D and E {\displaystyle E} E simultaneously. This also gets us B {\displaystyle B} B because B = − D . {\displaystyle B=-D.} B=-D. 1 = D i ω ( ω 0 2 − ω 2 + 2 i ω β ) + E ( ω 0 2 − ω 2 + 2 i ω β ) {\displaystyle 1=Di\omega (\omega _{0}^{2}-\omega ^{2}+2i\omega \beta )+E(\omega _{0}^{2}-\omega ^{2}+2i\omega \beta )} 1=Di\omega (\omega _{{0}}^{{2}}-\omega ^{{2}}+2i\omega \beta )+E(\omega _{{0}}^{{2}}-\omega ^{{2}}+2i\omega \beta ) { 0 = D ω ( ω 0 2 − ω 2 ) + 2 E ω β 1 = E ( ω 0 2 − ω 2 ) − 2 D ω 2 β {\displaystyle {\begin{cases}0=D\omega (\omega _{0}^{2}-\omega ^{2})+2E\omega \beta \\1=E(\omega _{0}^{2}-\omega ^{2})-2D\omega ^{2}\beta \end{cases}}} {\begin{cases}0=D\omega (\omega _{{0}}^{{2}}-\omega ^{{2}})+2E\omega \beta \\1=E(\omega _{{0}}^{{2}}-\omega ^{{2}})-2D\omega ^{{2}}\beta \end{cases}} E = ω 0 2 − ω 2 ( ω 0 2 − ω 2 ) 2 + 4 β 2 ω 2 {\displaystyle E={\frac {\omega _{0}^{2}-\omega ^{2}}{(\omega _{0}^{2}-\omega ^{2})^{2}+4\beta ^{2}\omega ^{2}}}} E={\frac {\omega _{{0}}^{{2}}-\omega ^{{2}}}{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\beta ^{{2}}\omega ^{{2}}}} D = − 2 β ( ω 0 2 − ω 2 ) 2 + 4 β 2 ω 2 {\displaystyle D={\frac {-2\beta }{(\omega _{0}^{2}-\omega ^{2})^{2}+4\beta ^{2}\omega ^{2}}}} D={\frac {-2\beta }{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\beta ^{{2}}\omega ^{{2}}}} B = 2 β ( ω 0 2 − ω 2 ) 2 + 4 β 2 ω 2 {\displaystyle B={\frac {2\beta }{(\omega _{0}^{2}-\omega ^{2})^{2}+4\beta ^{2}\omega ^{2}}}} B={\frac {2\beta }{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\beta ^{{2}}\omega ^{{2}}}}

Substitute s = − β {\displaystyle s=-\beta } s=-\beta to obtain C {\displaystyle C} C. The reason for this is simple - B {\displaystyle B} B vanishes, and the other terms simplify. Then substitute the results for D {\displaystyle D} D and E . {\displaystyle E.} E. This coefficient is the most laborious to obtain, but the goal here is to write all terms on the right side in terms of ( ω 2 + β 2 ) . {\displaystyle (\omega ^{2}+\beta ^{2}).} (\omega ^{{2}}+\beta ^{{2}}). 1 = C ( β 2 + ω 2 ) + ( ω 0 2 − β 2 ) ( E − β D ) {\displaystyle 1=C(\beta ^{2}+\omega ^{2})+(\omega _{0}^{2}-\beta ^{2})(E-\beta D)} 1=C(\beta ^{{2}}+\omega ^{{2}})+(\omega _{{0}}^{{2}}-\beta ^{{2}})(E-\beta D) C ( β 2 + ω 2 ) = 1 − ( ω 0 2 − ω 2 + 2 β 2 ) ( ω 0 2 − β 2 ) ( ω 0 2 − ω 2 ) 2 + 4 β 2 ω 2 = ω 4 + 3 ω 2 β 2 − ω 2 ω 0 2 − ω 0 2 β 2 + 2 β 4 ( ω 0 2 − ω 2 ) 2 + 4 β 2 ω 2 = ( ω 2 + β 2 − β 2 ) 2 + 3 ( ω 2 + β 2 − β 2 ) β 2 + 2 β 4 − ω 0 2 ( ω 2 + β 2 ) ( ω 0 2 − ω 2 ) 2 + 4 β 2 ω 2 = ( ω 2 + β 2 ) 2 + β 2 ( ω 2 + β 2 ) − ω 0 2 ( ω 2 + β 2 ) ( ω 0 2 − ω 2 ) 2 + 4 β 2 ω 2 {\displaystyle {\begin{aligned}C(\beta ^{2}+\omega ^{2})&=1-{\frac {(\omega _{0}^{2}-\omega ^{2}+2\beta ^{2})(\omega _{0}^{2}-\beta ^{2})}{(\omega _{0}^{2}-\omega ^{2})^{2}+4\beta ^{2}\omega ^{2}}}\\&={\frac {\omega ^{4}+3\omega ^{2}\beta ^{2}-\omega ^{2}\omega _{0}^{2}-\omega _{0}^{2}\beta ^{2}+2\beta ^{4}}{(\omega _{0}^{2}-\omega ^{2})^{2}+4\beta ^{2}\omega ^{2}}}\\&={\frac {(\omega ^{2}+\beta ^{2}-\beta ^{2})^{2}+3(\omega ^{2}+\beta ^{2}-\beta ^{2})\beta ^{2}+2\beta ^{4}-\omega _{0}^{2}(\omega ^{2}+\beta ^{2})}{(\omega _{0}^{2}-\omega ^{2})^{2}+4\beta ^{2}\omega ^{2}}}\\&={\frac {(\omega ^{2}+\beta ^{2})^{2}+\beta ^{2}(\omega ^{2}+\beta ^{2})-\omega _{0}^{2}(\omega ^{2}+\beta ^{2})}{(\omega _{0}^{2}-\omega ^{2})^{2}+4\beta ^{2}\omega ^{2}}}\end{aligned}}} {\begin{aligned}C(\beta ^{{2}}+\omega ^{{2}})&=1-{\frac {(\omega _{{0}}^{{2}}-\omega ^{{2}}+2\beta ^{{2}})(\omega _{{0}}^{{2}}-\beta ^{{2}})}{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\beta ^{{2}}\omega ^{{2}}}}\\&={\frac {\omega ^{{4}}+3\omega ^{{2}}\beta ^{{2}}-\omega ^{{2}}\omega _{{0}}^{{2}}-\omega _{{0}}^{{2}}\beta ^{{2}}+2\beta ^{{4}}}{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\beta ^{{2}}\omega ^{{2}}}}\\&={\frac {(\omega ^{{2}}+\beta ^{{2}}-\beta ^{{2}})^{{2}}+3(\omega ^{{2}}+\beta ^{{2}}-\beta ^{{2}})\beta ^{{2}}+2\beta ^{{4}}-\omega _{{0}}^{{2}}(\omega ^{{2}}+\beta ^{{2}})}{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\beta ^{{2}}\omega ^{{2}}}}\\&={\frac {(\omega ^{{2}}+\beta ^{{2}})^{{2}}+\beta ^{{2}}(\omega ^{{2}}+\beta ^{{2}})-\omega _{{0}}^{{2}}(\omega ^{{2}}+\beta ^{{2}})}{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\beta ^{{2}}\omega ^{{2}}}}\end{aligned}} C = ω 2 − ω 0 2 + 2 β 2 ( ω 0 2 − ω 2 ) 2 + 4 β 2 ω 2 {\displaystyle C={\frac {\omega ^{2}-\omega _{0}^{2}+2\beta ^{2}}{(\omega _{0}^{2}-\omega ^{2})^{2}+4\beta ^{2}\omega ^{2}}}} C={\frac {\omega ^{{2}}-\omega _{{0}}^{{2}}+2\beta ^{{2}}}{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\beta ^{{2}}\omega ^{{2}}}}

Transform back into physical space. (Of course, transform back using the coefficients, not their explicit forms! Remember to multiply by A ω , {\displaystyle A\omega ,} A\omega , since we omitted that when finding the coefficients.) This solution is fairly complicated, and it seems unusual that the simple addition of a sinusoidal driving force would end up complicating the motion to this degree. Unfortunately, this is what the math tells us. What we have found in this section is that, while the process of obtaining this solution took a lot of algebra, our only steps that involved some resemblance of calculus were the Laplace transforms both to and from Laplace space. The rest was simply finding the coefficients of the partial fractions. x ( t ) = x 0 e − β t cos ⁡ ( ω 0 2 − β 2 t ) + β x 0 + v 0 ω 0 2 − β 2 e − β t sin ⁡ ( ω 0 2 − β 2 t ) + 2 A ω β ( ω 0 2 − ω 2 ) 2 + 4 ω 2 β 2 e − β t cos ⁡ ( ω 0 2 − β 2 t ) + A ω ω 0 2 − β 2 ω 2 − ω 0 2 + 2 β 2 ( ω 0 2 − ω 2 ) 2 + 4 ω 2 β 2 e − β t sin ⁡ ( ω 0 2 − β 2 t ) + − 2 A ω β ( ω 0 2 − ω 2 ) 2 + 4 ω 2 β 2 cos ⁡ ω t + A ( ω 0 2 − ω 2 ) ( ω 0 2 − ω 2 ) 2 + 4 ω 2 β 2 sin ⁡ ω t {\displaystyle {\begin{aligned}x(t)&=x_{0}e^{-\beta t}\cos \left({\sqrt {\omega _{0}^{2}-\beta ^{2}}}\,t\right)+{\frac {\beta x_{0}+v_{0}}{\sqrt {\omega _{0}^{2}-\beta ^{2}}}}e^{-\beta t}\sin \left({\sqrt {\omega _{0}^{2}-\beta ^{2}}}\,t\right)\\&+{\frac {2A\omega \beta }{(\omega _{0}^{2}-\omega ^{2})^{2}+4\omega ^{2}\beta ^{2}}}e^{-\beta t}\cos \left({\sqrt {\omega _{0}^{2}-\beta ^{2}}}\,t\right)\\&+{\frac {A\omega }{\sqrt {\omega _{0}^{2}-\beta ^{2}}}}{\frac {\omega ^{2}-\omega _{0}^{2}+2\beta ^{2}}{(\omega _{0}^{2}-\omega ^{2})^{2}+4\omega ^{2}\beta ^{2}}}e^{-\beta t}\sin \left({\sqrt {\omega _{0}^{2}-\beta ^{2}}}\,t\right)\\&+{\frac {-2A\omega \beta }{(\omega _{0}^{2}-\omega ^{2})^{2}+4\omega ^{2}\beta ^{2}}}\cos \omega t+{\frac {A(\omega _{0}^{2}-\omega ^{2})}{(\omega _{0}^{2}-\omega ^{2})^{2}+4\omega ^{2}\beta ^{2}}}\sin \omega t\end{aligned}}} {\begin{aligned}x(t)&=x_{{0}}e^{{-\beta t}}\cos \left({\sqrt {\omega _{{0}}^{{2}}-\beta ^{{2}}}}\,t\right)+{\frac {\beta x_{{0}}+v_{{0}}}{{\sqrt {\omega _{{0}}^{{2}}-\beta ^{{2}}}}}}e^{{-\beta t}}\sin \left({\sqrt {\omega _{{0}}^{{2}}-\beta ^{{2}}}}\,t\right)\\&+{\frac {2A\omega \beta }{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\omega ^{{2}}\beta ^{{2}}}}e^{{-\beta t}}\cos \left({\sqrt {\omega _{{0}}^{{2}}-\beta ^{{2}}}}\,t\right)\\&+{\frac {A\omega }{{\sqrt {\omega _{{0}}^{{2}}-\beta ^{{2}}}}}}{\frac {\omega ^{{2}}-\omega _{{0}}^{{2}}+2\beta ^{{2}}}{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\omega ^{{2}}\beta ^{{2}}}}e^{{-\beta t}}\sin \left({\sqrt {\omega _{{0}}^{{2}}-\beta ^{{2}}}}\,t\right)\\&+{\frac {-2A\omega \beta }{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\omega ^{{2}}\beta ^{{2}}}}\cos \omega t+{\frac {A(\omega _{{0}}^{{2}}-\omega ^{{2}})}{(\omega _{{0}}^{{2}}-\omega ^{{2}})^{{2}}+4\omega ^{{2}}\beta ^{{2}}}}\sin \omega t\end{aligned}} Luckily, this solution is very general. There are many interesting properties of this physical system that we can gleam by analyzing this solution. However, since such analysis is not relevant to Laplace transforms anymore, we will not go into it here.

What's your reaction?

Comments

https://shivann.com/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!