wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time.
This article has been viewed 22,322 times.
Learn more...
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
- In this article, we will use to denote the function in Laplace space.
- A few properties of the Laplace transform will be listed below. It is also assumed that you have a table of Laplace transforms with you.
- Notice that these derivatives encode the information about the initial conditions into the algebraic equation.
Steps
Example 1
-
1Solve the differential equation given initial conditions. and its derivatives only depend on
-
2Take 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.Advertisement
-
3Solve for . Simplify and factor the denominator to prepare for partial fraction decomposition.
-
4Decompose 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.
-
and can easily be solved for. To solve for we multiply both sides by and substitute By doing so, we will be evaluating the "reduced fraction" on the left, while on the right side becomes isolated as the other terms vanish. 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.
-
can be found by multiplying both sides by and choosing
-
is a bit trickier to find. We first get rid of the denominators to both sides. Then, we recognize that is a coefficient of The other terms will have and in them. Now, notice that the left side has no cubic term. Therefore, we can say that
- The same process in finding and 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.
- First, let's work with the first fraction, the harder one. This fraction can be written in terms of four coefficients.
-
5Write out the solution in terms of its partial fraction decomposition. We now have the coefficients, so we can now simplify the solution.
-
6Write 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).
Example 2: Damped Harmonic Oscillator
-
1Find 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 where 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 where 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 in each of the terms means that our solution must eventually be independent of
-
2Take the Laplace transform of both sides, and solve for .
-
3Rewrite 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 term, we need to subtract that so that we are "adding 0."
-
4Write 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 in the denominator, it is obvious that both of these terms will be multiplied by an exponential term (in fact, an exponential decay term ). In order to see the two contributions more clearly, we can rewrite the numerator as
- 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.
Example 3: Driven Harmonic Oscillator
-
1Find 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 where is the amplitude and is the frequency of the driving force. Our differential equation is now modified to be inhomogeneous with more general initial conditions. We denote to be the frequency of the oscillator free of the driving force.
-
2Take the Laplace transform of both sides, and solve for . 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).
-
3Consider the second fraction without and write its partial fraction decomposition. can be treated as a constant. Notice that is being multiplied by which should be the case because the denominator contains a term important for getting the out when we transform back.
-
4Get rid of the denominators. Equate the coefficients first.
- From this result, we clearly see by equating the cubic terms we obtain
-
5Substitute to get rid of the terms. Remember that is, in general, a complex number. Since is involved in a sum of squares, we recognize that if is purely imaginary, such a term will vanish. This causes both and to vanish. Then we obtain a system of equations because we can equate the real and imaginary components. This gets us and simultaneously. This also gets us because
-
6Substitute to obtain . The reason for this is simple - vanishes, and the other terms simplify. Then substitute the results for and This coefficient is the most laborious to obtain, but the goal here is to write all terms on the right side in terms of
-
7Transform back into physical space. (Of course, transform back using the coefficients, not their explicit forms! Remember to multiply by 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.
- 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.