Laplace Summary Laplace can be used to solve 1st and 2nd order differential equations that are difficult to deal with. The idea is: Laplace everything, manipulate it algebraically inverse Laplace to get the answer Remember: a function of t Laplaces to a function of s and so a function of s inverse Laplaces to a function of t. Laplace ๐น(๐ก) ๐น(๐ ) Inverse Laplace Notation: When you are using Laplace you could see various notations meaning the same thing – it’s good to be familiar with what things mean so that you don’t get put off solving the problem. If you are using Laplace to solve a 1st or 2nd order differential to find ๐ฅ then ๐ฅ is a function of ๐ก and could be written as ๐(๐ก). ∴ ๐(0) means the same as ๐ฅ(0) etc. Since ๐ฅ is a function of ๐ก (but we don’t know what it is) when we Laplace it we could write: ๐ฟ{๐(๐ก)} or ๐ฟ{๐ฅ)} or we could even write ๐น(๐ ) because we know that a function of t Laplaces to a function of s. Using the Laplace Table: To Laplace something look at the f(t) column on the table and find which one matches your function. Next decide what your ‘n’ and/or ‘a’ and/or ‘b’ is (whichever ones are necessary) and then Laplace: Examples: ๏ท ๐ณ{๐๐๐๐๐} this matches with ๐๐จ๐ฌโก(๐๐) where ๐ = ๐ ∴ ๐ฟ{๐๐๐ 7๐ก} = โก ๏ท ๐ We replace the ๐ with 7 ๐ 2 +72 ๐ณ{๐๐ ๐๐๐ } this matches with ๐๐ ๐๐๐ where ๐ = ๐, ๐ = ๐ ∴ ๐ฟ{๐๐ ๐๐๐ } = โก 3! (๐ −2)3+1 © H Jackson 2011 / 2014 /Academic Skills = 6 (๐ −2)4 Replace ๐ with 3 and ๐ with 2 1 To inverse Laplace something look at the F(s) column on the table and find which one matches your function. Next decide what your ‘n’ and/or ‘a’ and/or ‘b’ is (whichever ones are necessary) and then inverse Laplace: Examples: ๏ท ๐ ๐ณ−๐ {(๐−๐)๐ } ∴ ๐ณ−๐ { ๐ (๐−๐)๐ ๐! this matches with (๐−๐)๐+๐ where ๐ = ๐, ๐ = ๐ } = โก ๐ก 3 ๐ 5๐ก Replace ๐ with 3 and ๐ with 5 Things to look out for with Laplace: Look out for multiples: ๐ฟ{3๐ก 2 } = ๐ฟ{3(๐ก 2 )} = 3 × 2 2 ๐ 3 = 6 ๐ 3 10 ๐ฟ{5๐ ๐๐2๐ก} = โก5 × ๐ 2 +22 = ๐ 2 +4 Multiply out if necessary: ๐ฟ{(๐ก 2 − 2)2 } = ๐ฟ{๐ก 4 − 4๐ก 2 + 4} = 24 ๐ 5 8 4 − ๐ 3 + ๐ Things to look out for with Inverse Laplace: To be able to inverse Laplace something it must look exactly the same as something in the F(s) column of the Laplace table. It can be a multiple or a factor of something in the table but not different. The following are examples of *patterns* that appear quite often and the best ways to deal with them in order to be able to inverse Laplace: Original 8 ๐ 3 ๐ 2 1 +9 ๐ +2 ๐ 2 − 4 3๐ + 1 (๐ − 3)(๐ + 2) ๐ 2 ๐ + 2๐ + 3 4๐ − 7 (๐ − 3)2 + 25 Method Take out the multiple so that you have something that looks exactly like a table entry. Notice that ‘n’ must be 2 (as the power is 3) and so we should have 2! At the top. Notice that 9 is 32 and so in this case ๐ = 3 so we should have 3 on the top of the fraction. We have 1 1 and so we have 3 of what’s in the table. Remember that both the ๐ and the 2 are divided by ๐ − 4 and, therefore, can be written separately. Partial fractions. See if it will factorise then use partial fractions. If not – complete the square. We can see from the table that if there is ๐ − 3 at the bottom then there has to be ๐ − 3 at the top as well. So we put the 4 outside a bracket and ๐ − 3 inside then adjust to make 4๐ − 7. Notice that 4(๐ − 3) = 4๐ − 12 so we add 5 back on. Rewrite as 2 4 ( 3) ๐ 1 3 ( 2 ) 3 ๐ +9 ๐ 2 + ๐ 2 − 4 ๐ 2 − 4 2 1 + (๐ − 3) (๐ + 2) ๐ (๐ + 1)2 + 2 4(๐ − 3) + 5 (๐ − 3)2 + 25 If none of the above help then differentiate or integrate to see if it looks like one of the last two results in the Laplace table. © H Jackson 2011 / 2014 /Academic Skills 2 Solving a 2nd Order Differential Equation Laplace is used to solve differential equations, e.g. is a function of ๐ก that you need to find. ๐2 ๐ฅ ๐๐ก 2 ๐๐ฅ − 3 ๐๐ก + ๐ฅ = ๐ก 3 − 9๐ก 2 + 6๐ก where ๐ฅ After transforming the differential equation you need to solve the resulting equation to make ๐ณ(๐) the subject. You can then inverse the Laplace transform to find ๐ฅ. Suggested steps to follow: Step 1: Transform everything (using the formula sheet) Step 2: Substitute initial conditions in Step 3: Keep every term that includes ๐ฟ(๐ฅ) at the left hand side (LHS) and move everything else to the right hand side (RHS) Step 4: Factorise the LHS (taking ๐ฟ(๐ฅ) out) Step 5: Simplify the RHS to one term Step 6: Make ๐ฟ(๐ฅ) the subject Step 7: Simplify the RHS Step 8: Inverse Laplace to find ๐ฅ Example: Solve ๐ ๐ ๐ ๐ ๐๐ ๐ ๐ − ๐ ๐ ๐ + ๐ = ๐๐ − ๐๐๐ + ๐๐ given the initial conditions, ๐(๐) = ๐ ๐′ (๐) = ๐ 6 18 6 Step 1: ๐ 2 ๐ฟ(๐ฅ) − ๐ฅ(0) − ๐ฅ ′ (0) − 3(๐ ๐ฟ(๐ฅ) − ๐ฅ(0)) + ๐ฟ(๐ฅ) = ๐ 4 − ๐ 3 + ๐ 2 Step 2: ๐ 2 ๐ฟ(๐ฅ) − 0 − 0 − 3๐ ๐ฟ(๐ฅ) + 3(0) + ๐ฟ(๐ฅ) = ๐ 4 − ๐ 3 + ๐ 2 Step 3: ๐ 2 ๐ฟ(๐ฅ) − 3๐ ๐ฟ(๐ฅ) + ๐ฟ(๐ฅ) = ๐ 4 − ๐ 3 + ๐ 2 Step 4&5: ๐ฟ(๐ฅ)(๐ 2 − 3๐ + 1) = Step 6: ๐ฟ(๐ฅ) = ๐ 4 (๐ 2 −3๐ +1) 6 6 6−18๐ +6๐ 2 ๐ 4 18 18 Look out for when these are NOT 0. Make sure you substitute the correct numbers in. 6 6 (tidy up as much as possible) 6−18๐ +6๐ 2 At this stage see if anything will cancel then you might need to complete the square or factorise the denominator and use partial fractions. 6(๐ 2 −3๐ +1) 6 Step 7: ๐ฟ(๐ฅ) = ๐ 4 (๐ 2 −3๐ +1) โกโกโก = โกโกโกโกโก ๐ 4 Step 8: ๐ฟ−1 (๐ 4 ) = โก ๐ก 3 6 Therefore the final answer is: © H Jackson 2011 / 2014 /Academic Skills ๐ฅ = โก ๐ก3 3 Laplace Transform of a Heaviside function Some Heaviside functions can just be transformed using the formula sheet, with no adjustments needed. Examples: ๏ท ๐ณ{๐ฏ(๐ − ๐)} this matches with ๐โก(๐ − ๐) where ๐ = ๐ ∴ ๐ฟ{๐ป(๐ก − 4)} = โก ๏ท ๐ −4๐ We replace the ๐ with 4 ๐ ๐ณ{(๐ − ๐)๐ ๐ฏ(๐ − ๐)} this matches with ๐(๐ − ๐)๐ฏ(๐ − ๐) where ๐ = ๐ ∴ ๐ฟ{(๐ − ๐)๐ ๐ฏ(๐ − ๐)} = ๐ −5๐ โก Replace ๐ with 5 3! = ๐ 3+1 6๐ −5๐ ๐ 4 Laplace the function of ๐ก NOT ๐ก − 5 Some functions may not match the form given on the formula sheet exactly, and so they need to be adjusted so that they do match and can then be transformed. Example: ๏ท ๐ณ{๐๐ฏ(๐ − ๐)} This cannot be transformed as it is because it doesn’t match the formula sheet and so we need an adjustment. Consider: ๐๐ฏ(๐ − ๐) To be able to transform it we need to have it shifted like this: (๐ − ๐)๐ฏ(๐ − ๐) However, by writing this we have introduced an extra −๐๐ฏ(๐ − ๐) so we need to add this back on so that the new function is equal to the original function. Now we have: ๐๐ฏ(๐ − ๐) = (๐ − ๐)๐ฏ(๐ − ๐) + ๐๐ฏ(๐ − ๐) And we can now transform this function as it is in the format that matches the formula sheet. ∴ ๐ฟ{๐๐ฏ(๐ − ๐)} = ๐ −2๐ โก © H Jackson 2011 / 2014 /Academic Skills 1 2๐ −2๐ ๐ ๐ + 2 = ๐ −2๐ ๐ 2 + 2๐ −2๐ ๐ 4