Mathematics 265 Section: 103 Version A Midterm Test Nov 10, 2010 Full Name: Student Number: Instructions: There are 6 pages in this test (including this cover page). 1. Caution: There may (or may not) be more than one version of this test paper. 2. Ensure that your full name and student number appears on this page. Circle your section number. 3. No calculators, books, notes, or electronic devices of any kind are permitted. 4. Show all your work. Answers not supported by calculations or reasoning will not receive credit. Messy work will not be graded. 5. Five minutes before the end of the test period you will be given a verbal notice. After that time, you must remain seated until all test papers have been collected. 6. When the test period is over, you will be instructed to put away writing implements. Put away all pens and pencils at this point. Continuing to write past this instruction will be considered dishonest behaviour. 7. Please remain seated and pass your test paper down the row to the nearest indicated aisle. Once all the test papers have been collected, you are free to leave. 8. Exposing your test paper, copying from another student’s paper, or sharing information about this test constitutes academic dishonesty. Such behaviour may jeopardize your grade on this test, in this course, and your standing at this university. 9. There is a table of Laplace Transforms on p 6 of this test paper. Question number 1 Grade Value 18 2 10 I have read and understood the instructions and agree to abide by them. 3 16 Signed: 4 16 Total 60 1 Problem 1: Multiple Choice Questions: Circle ONE correct answer (a, b, c, d, or e). There is no partial credit in this question. Illegible or multiple answers will get no credit. NOTE: In these questions, the notation for step functions includes uc (t) = H(t − c). 1: The Laplace transform of the function f (t) = 1 is t−2 (a) e−2s , (b) e2s , (c) u2 (s)e−2s , (d) 1, (e) None of these. Solution: The function f (t) is not of exponential order, since it has a singularity at t = 2. Therefore the answer is None of these. 2 Which of the below corresponds to the inverse Laplace transform of F (s) = (a) H(t − 1)et−1 , 1 −s s−3 e (b) H(t − 3)et , (c) H(t − 3)e−t , (d) H(t − 1)e3(t−1) , (e) H(t − 3)et−3 Solution: H(t − 1)e3(t−1) 3 For the differential equation y ′′ + 2y ′ + y = δ(t) with initial conditions y(0) = 0, y ′ (0) = 0, we find that F (s) = L{y(t)} is which of the following functions? (a) Z 0 t y(t − τ )δ(τ )dτ , (b) s2 s es 1 1 , (c) 2 , (d) 2 , (e) +s+2 s + 2s + s s + 2s + s (s + 1)2 Solution: The answer is F (s) = 1 1 , also called the Transfer function. = s2 + 2s + 1 (s + 1)2 4: A “pirate-ship” ride at an amusement park is driven by a motor so that the vertical displacement of the “ship” satisfies αz ′′ + βz ′ + γ1 z = 10 cos(ωt), where α, β, γ are manufacturer’s specifications for the ride, and ω is the driving frequency of the motor powering the ride. Suppose that α = 28, γ = 7 are fixed. For which of the following settings will the displacement of the ride have the greatest amplitude? (a) β = 0.05, ω = 1/14, (b) β = 0.05, ω = 4, (c) β = 2, ω = √ 3/28, (d) β = 2, ω = 1/2, (e) β = 4, ω = 1/14 √ 4α/γ Solution: The natural frequency of the (undamped) machine would be ω0 = 2α = √1αγ . The oscillation amplitude is greater the smaller the damping and the closer is the driving frequency to the natural frequency. Here β acts as the damping, so to minimize it, we chose the setting β = 0.05. The natural frequency for 1 1 . = 14 α = 28, γ = 7 is ω0 = √1αγ = √28·7 Hence the answer is β = 0.05, ω = 1/14. 2 5: Consider the system of first order ODEs given below. dx dt dy dt = x − 2y, = x + 3y. Which of these answers best described the behaviour of the system? (a) Growing exponential behaviour (b) Decaying exponential behaviour (c) Combined growing and decaying exponentials (d) Oscillations with growing amplitude (e) Oscillations with decaying amplitude Solution: The matrix of coefficients has β =Tr(M)=(1+3)=4 and γ =det(M)=(3+2)=5. The eigenvalues satisfy r2 − βr + γ = 0 so p √ 4 ± 16 − 20 β ± β 2 − 4γ = = 2 ± i. r1,2 = 2 2 The real part is positive and the roots are complex, so we expect to see oscillations with growing amplitude. 3 6: Consider the differential equation y ′′ + 16y = E0 cos(ωt). The following behaviour is observed when the driving frequency is ω = 4.4. What is the frequency (radians/time) of the envelope of the oscillations and of the oscillations themselves? (a) Envelope frequency= 8.4, oscillation frequency 0.4 (b) Envelope frequency= 0.4, oscillation frequency 8.4 (c) Envelope frequency= 16/4.4, oscillation frequency 16·4.4 (d) Envelope frequency= 0.2, oscillation frequency 4.2 (e) Envelope frequency= 4.2, oscillation frequency 0.2 ω0 − ω ω0 + ω t ·sin t so the envelope Solution: The solution can be written in the form of y(t) = C sin 2 2 ω0 +ω ω0 −ω 4.4−4 = 4.2 frequency (lower of the two) is 2 = 2 = 0.2 and the cycles themselves have frequency 2 = 4.4+4 2 Problem 2: Consider the function shown in the figure. Answer (i) and (ii). (i) Find the Laplace Transform of this function. L{f (t)} = 4 (ii) If the same function is extended so that it is periodic, with period T = 5, what would be the Laplace transform of this new function? L{fp (t)} = Solution to Problem 2: (i) The function is f (t) = [Heaviside(t − 2) − Heaviside(t − 3)) · (t − 2) + [Heaviside(t − 3) − Heaviside(t − 4)] · (4 − t) also correct is f (t) = [u2 (t) − u3 (t)] · (t − 2) + [u3 (t) − u4 (t)] · (4 − t) We rewrite it in the form f (t) = u2 (t) · (t − 2) − u3 (t) · (t − 2) + u3 (t) · (4 − t) − u4 (t) · (4 − t) f (t) = u2 (t) · (t − 2) − 2u3 (t) · (t − 3) + u4 (t) · (t − 4) In this form we see that its Laplace transform is Its Laplace transform is L{f (t)} = e−2 s − 2 e−3 s + e−4 s s2 (ii) For fp (t) the periodic extension of the above function, with period 5 −2 s 1 e − 2 e−3 s + e−4 s 1 L{f (t)} = L{fp (t)} = 1 − e−5s 1 − e−5s s2 5 Problem 3: Short Answer Questions Check your answer carefully, as there are no part marks for right method(s) in this question. (A) Find the inverse Laplace transform of the following functions: (a) F (s) = 9 s5 L−1 {F (s)} = (b) F (s) = 2 (s + 2)(s + 1) L−1 {F (s)} = (c) F (s) = s (s2 + 2s + 7) L−1 {F (s)} = Solution: (a) F (s) = 9 4! 3 4! 9 = = The inverse Laplace transform is f (t) = 83 t4 s5 4! s5 8 s5 (b) The partial fraction expansion of F (s) is 2 2 F (s) = − and the inverse Laplace transform is f (t) = −2e−2t + 2e−t (s + 1) (s + 2) (c) Completing the square and algebra leads to s s (s + 1) − 1 (s + 1) 1 F (s) = 2 = = = − 2 2 2 (s + 2s + 1) + 7 − 1 (s + 1) + 6 (s + 1) + 6 (s + 1) + 6 (s + 1)2 + 6 √ (s + 1) 1 6 F (s) = −√ (s + 1)2 + 6 6 (s + 1)2 + 6 We see that this corresponds to cosine and sine with the shift leading to an exponential so the inverse transform is 6 f (t) = e−t √ cos( 6t) − ! √ √ 6 sin( 6t) 6 (B) Consider the ODE y ′′ + 9y = t cos(3t) Using the Method of Undetermined Coefficients, what would be the form of the particular solution to this equation? NOTE: Do not solve the equation and do not find the coefficients. yp (t) = Solution: This is exactly like problem 2D in HW4. The frequency of the unforced system is ω = 3. To avoid duplicating any part of the solution to the homogeneous system, we have to use the guess yp (t) = t [(At + B) cos(3t) + (Ct + D) sin(3t)] 7 Problem 4: In a frictionless spring-mass system, the mass is m = 2kg and the spring constant is k = 2m kg s−2 . The vertical displacement of the spring satisfies m d2 y + ky = F (t), dt2 y(0) = 0, y ′ (0) = 0. (1) (a) At t = 0, the mass is hit with a hammer, producing a unit impulse. You may assume that this impulse is represented by the Dirac delta function. Solve Eqn. (1) to find the displacement y(t) at t > 0. y(t) = (b) What would be the velocity of the mass, v(t) in the same system with the same applied force? v(t) = (c) Consider the functions g(t) = t and h(t) = sin(t). Compute the convolution g ∗ h. R [Hint: A useful fact is: x sin(x)dx = sin(x) − x cos(x).] g∗h= Problem 4 is continued next page → .. → 8 Problem 4 Cont’d (d) In a new experiment, a time dependent force of the form g(t) = t is applied to the spring-mass system. Use the Laplace transform method to solve Eqn. (1) with this time-dependent force. (You may find the result in (c) useful.) Solution to Problem 4: (a) The velocity is v(t) = y ′ (t), so the initial velocity is v(0) = 0. (b) d2 y + ky = dt2 m(s2 F (s) − sy(0) − y ′ (0)) + kF (s) = k (s2 + )F (s) = m m F (s) = = = where ω = q k m 1. δ(t), L{δ(t)} = 1 1 m 1 1 k m (s2 + m ) 1 1 m (s2 + ω 2 ) 1 ω 2 mω (s + ω 2 ) So F (s) = 1 1 2 m (s + 1) Now inverting this leads to 1 q(t) = L−1 {F (s)} = sin(ωt) = mω r r 1 sin km k t m ! (c) What would be the velocity of the mass in this same experiment with the same applied force? (d) g(t) = t and h(t) = sin(t) so the convolution is Z t Z t Z t g ∗ h(t) = (t − τ ) sin(τ )dτ = t sin(τ )dτ − τ sin(τ )dτ 0 0 0 g∗h(t) = −t(cos(t)−cos(0))−(sin(t)−t cos(t))+(sin(0)−0 cos(0)) = t(1−cos(t)+cos(t))−sin(t) = t−sin(t). R [where we have used x sin(x)dx = sin(x) − x cos(x).] (e) The new equation and its solution (using the fact that ω = 1) are: m d2 y + ky dt2 = (s2 + 1)F (s) = F (s) = = t, 1 1 1 L{t} = m m s2 1 1 1 · 2 2 m (s + 1) s 1 1 1 · m (s2 + 1) s2 The final result is a product of two Laplace transforms, i.e. F (s) = 1 H(s) · G(s), m where H(s) = L{sin(t)}, 9 G(s) = L{t} By the convolution theorem, 1 q(t) = L−1 {F (s)} = g(t) ∗ h(t) m Rt 1 1 (t − sin(t)) = 12 (t − sin(t)) (t − τ ) sin(τ )dτ = m where g(t) = t, h(t) = sin(t), so y(t) = m 0 Rt 0 f (t) F (s) = L[f (t)] 1 1 s eat 1 s−a tn n! sn+1 sin at a s2 +a2 cos at s s2 +a2 uc (t) e−cs s uc (t)f (t − c) e−cs F (s) δ(t − c) e−cs ect f (t) F (s − c) f (t − τ )g(τ ) dτ F (s)G(s) 10