Mathematics 265 Section: 101 Midterm Test Full Name: Nov 10, 2010 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−5 (a) e−5s , (b) e5s , (c) u5 (s)e−5s , (d) 1, (e) None of these. Solution: The function f (t) is not of exponential order, since it has a singularity at t = 5. 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 −3s s−1 e (b) H(t − 3)et , (c) H(t − 3)e−t , (d) H(t − 3)et−3 , (e) H(t − 1)e−3(t−1) Solution: The solution is H(t − 3)et−3 3 For the differential equation y ′′ + 3y ′ − 2y = δ(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) s e2s 1 es , (c) , (d) , (e) 2 , 2 2 2 s + 3s − 2 s + 3s − 2 s + 3s − 2 s + 3s − 2 Solution: The answer is F (s) = 1 , also called the Transfer function. s2 + 3s − 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 α = 12, γ = 3 are fixed. For which of the following settings will the displacement of the ride have the greatest amplitude? (a) β = 0.01, ω = 4, (b) β = 0.01, ω = 1/6, (c) β = 1, ω = √ √ 15/24, (d) β = 1, ω = 1/6, (e) β = 2, ω = 3/12 √ 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.01. The natural frequency for 1 = 61 . α = 12, γ = 3 is ω0 = √1αγ = √12·3 Hence the answer is β = 0.01, ω = 1/6. 2 5: Consider the system of first order ODEs given below. dx dt dy dt = −x + 2y, = −2x − y. Which of these answers best described the behaviour of the system? (a) Growing exponential behaviour (b) Decaying exponential behaviour (c) Oscillations with decaying amplitude (d) Oscillations with growing amplitude (e) None of the above Solution: The matrix of coefficients has β =Tr(M)=(-1-1)=-2 and γ =det(M)=(1+4)=5. The eigenvalues satisfy r2 − βr + γ = 0 so p √ −2 ± 4 − 20 β ± β 2 − 4γ = = −1 ± 2i. r1,2 = 2 2 The real part is negative and the roots are complex, so we expect to see oscillations with decaying amplitude 3 6: Consider the differential equation y ′′ + 9y = E0 cos(ωt). The following behaviour is observed when the driving frequency is ω = 3.2. What is the frequency (radians/time) of the envelope of the oscillations and of the oscillations themselves? (a) Envelope frequency= 3.1, oscillation frequency 0.1 (b) Envelope frequency= 0.1, oscillation frequency 3.1 (c) Envelope frequency= 0.2, oscillation frequency 6.2 (d) Envelope frequency= 6.2, oscillation frequency 0.2 (e) Envelope frequency= 9/3.2, oscillation frequency 9·3.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 −ω 3.2−3 = 3.1 frequency (lower of the two) is 2 = 2 = 0.1 and the cycles themselves have frequency 2 = 3.2+3 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)}. L{f (t)} = 4 (ii) If the same function is extended so that it is periodic, with period T = 4, what would be the Laplace transform L{fp (t)} of the periodic function fp (t)? L{fp (t)} = Solution: (i) The function can be written as: f (t) = [Heaviside(t − 1) − Heaviside(t − 2)] · (t − 1) + [Heaviside(t − 2) − Heaviside(t − 3)] · (3 − t) also correct is f (t) = [u1 (t) − u2 (t)] · (t − 1) + [u2 (t) − u3 (t)] · (3 − t) We rewrite it in the form f (t) = u1 (t) · (t − 1) − u2 (t) · (t − 1) + u2 (t) · (3 − t) − u3 (t) · (3 − t) f (t) = u1 (t) · (t − 1) − u2 (t) · (t − 2 + 1) + u2 (t) · (1 + 2 − t) − u3 (t) · (3 − t) f (t) = u1 (t) · (t − 1) − u2 (t) · (t − 2) + u2 (t) · (2 − t) − u3 (t) · (3 − t) f (t) = u1 (t) · (t − 1) − 2u2 (t) · (t − 2) − u3 (t) · (3 − t) In this form we see that its Laplace transform is L{f (t)} = e−s − 2 e−2 s + e−3 s s2 (ii) For fp (t) the periodic extension of the above function, with period 4, −s e − 2 e−2 s + e−3 s 1 1 L{f (t)} = L{fp (t)} = 1 − e−4s 1 − e−4s 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 s4 L−1 {F (s)} = (b) F (s) = 2 (s − 2)(s − 1) L−1 {F (s)} = (c) F (s) = s (s2 + 4s + 9) L−1 {F (s)} = Solution: (a) F (s) = 9 3! 9 = The inverse transform is f (t) = 23 t3 4 s 3! s4 (b) The partial fraction expansion of F (s) is 2 2 F (s) = − + and the inverse Laplace transform is f (t) = 2e2t − 2et . (s − 1) (s − 2) (c) Completing the square and some algebra leads to s s (s + 2) − 2 (s + 2) 2 F (s) = 2 = = = − (s + 4s + 4) + 9 − 4 (s + 2)2 + 5 (s + 2)2 + 5 (s + 2)2 + 5 (s + 2)2 + 5 √ ! √ 5 5 2 2 s (s + 2) −√ −√ = F (s) = 2+5 2+5 2+5 (s + 2)2 + 5 (s + 2) s s 5 5 s→s+2 s→s+2 6 We see that this corresponds to cosine and sine with the shift leading to an exponential so the inverse transform is ! √ √ √ 5 −2t sin( 5t) f (t) = e cos( 5t) − 2 5 (B) Consider the ODE y ′′ + 4y = t cos(2t) 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 ω = 2. To avoid duplicating any part of the solution to the homogeneous system, we have to use the guess yp (t) = t [(At + B) cos(2t) + (Ct + D) sin(2t)] 7 Problem 4: In the Figure shown here, L = 5 is inductance and C = 0.2 is capacitance in the circuit. The charge on the capacitor satisfies L 1 d2 q + q = V (t), dt2 C q(0) = 0, q ′ (0) = 0. (1) (a) A unit impulse voltage is applied at t = 0. You may assume that this impulse is represented by the Dirac delta function. Solve Eqn. (1) to find the charge q(t) at t > 0. L C V q(t) = (b) What would be the current I(t) in the inductor in this same circuit with the same applied voltage? I(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) A voltage of the form V (t) = t is now applied to the circuit. Use the Laplace transform method to solve Eqn. (1) with this new time-dependent voltage. (You may find the result in (c) useful.) Solution to Problem 4: (a) 1 d2 q + q = dt2 C 1 L(s2 F (s) − sq(0) − q ′ (0)) + F (s) = C 1 (s2 + )F (s) = LC L F (s) = = = δ(t), L{δ(t)} = 1 1 L 1 1 1 L (s2 + LC ) 1 1 L (s2 + ω 2 ) 1 ω Lω (s2 + ω 2 ) √ Since L = 5, C = 0.2 we have that ω = 1/ LC = 1 so F (s) = 1 1 5 (s2 + 1) Now inverting this leads to q(t) = L−1 {F (s)} = (b) The current is I(t) = dq/dt so r I(t) = 1 sin(ωt) = Lω C 1 √ cos L LC 1 √ t LC r C sin L 1 = cos L 1 √ t LC 1 √ t LC = = 1 sin(t) 5 1 cos(t) 5 (c) g(t) = t and h(t) = sin(t) so the convolution is g ∗ h(t) = Z t 0 (t − τ ) sin(τ )dτ = t Z 0 t sin(τ )dτ − Z t τ sin(τ )dτ 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).] (d) The new equation and its solution are: 1 d2 q + q dt2 C 1 )F (s) (s2 + LC L = t, = L{t} = F (s) = = 9 1 s2 1 1 1 · 1 L (s2 + LC ) s2 ω 1 1 · Lω (s2 + ω 2 ) s2 Again, since ω = 1 we have that 1 1 1 · L (s2 + 1) s2 F (s) = The final result is a product of two Laplace transforms, i.e. F (s) = 1 H(s) · G(s), L where H(s) = L{sin(t)}, By the convolution theorem, q(t) = L−1 {F (s)} = where g(t) = t, h(t) = sin(t), but ω = 1 so q(t) = 1 L 10 Rt 0 G(s) = L{t} 1 g(t) ∗ h(t) L (t − τ ) sin(τ )dτ = 1 L (t − sin(t)) = 15 (t − sin(t)) 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) 11