SlideShare a Scribd company logo
2
Most read
Concordia University                                                                 March 23, 2010

                         Applied Ordinary Differential Equations
                                 ENGR 213 - Section F
                                    Prof. Alina Stancu

                                           Exam II (A)



   (1) (6 points) Solve the homogeneous ODE


                                       x2 y + 5xy + 4y = 0.

        Solution: The characteristic equation of this homogeneous Cauchy-Euler ODE is
      m(m − 1) + 5m + 4 = 0 or m2 + 4m + 4 = 0. It has a double root r = −2. Hence the
      general solution of the ODE on x > 0 (or x < 0) is
                           y(x) = c1 x−2 + c2 x−2 ln x, c1,2 = constants.

   (2) (14 points) Solve the initial value problem


                           y + 4y + 5y = e−2x ,       y(0) = 0, y (0) = 1.

        Solution: Consider first the associated homogeneous ODE: y + 4y + 5y = 0 with
      the characteristic equation r2 + 4r + 5 = 0 whose roots are r1,2 = −2 ± i. Hence
                      yc (x) = c1 e−2x cos x + c2 e−2x sin x, c1,2 = constants.

         We now look for a particular solution yp to the non-homogenous ODE. We’ll use here
      the method of undetermined coefficients by setting yp (x) = Ae−2x . As yp (x) = −2Ae−2x
      and yp (x) = 4Ae−2x , we deduce that 4Ae−2x − 8Ae−2x + 5Ae−2x = e−2x ⇒ A = 1 and
      yp (x) = e−2x .
         Thus

                ygeneral (x) = c1 e−2x cos x + c2 e−2x sin x + e−2x , c1,2 = constants.

        We’ll now use the initial conditions to find c1,2 . As y(0) = 0, we have c1 + 1 =
      0 ⇒ c1 = −1. Evaluating y (x) = c1 (−2e−2x cos x − e−2x sin x) + c2 (−2e−2x sin x +
      e−2x cos x) − 2e−2x , thus y (0) = −2c1 + c2 − 2 = c2 = 1.
         Therefore the solution of the IVP is
                              y(x) = −e−2x cos x + e−2x sin x + e−2x .

                                                  1
2

    (3) (10 points) Use the variation of parameters to solve the differential equation

                                            y + y = cos2 x.

           Solution: The complementary part of the solution follows from r2 +1 = 0 ⇒ r = ±i
        and is
                                    yc (x) = c1 cos x + c2 sin x.
           Considering y1 (x) = cos x, y2 (x) = sin x, the Wronskian is W (x) = 1 = 0 for all real
                                                                                   0     sin x
        x’s. To find the complementary solution we calculate W1 (x) = det            2           =
                                                                                cos x cos x
                                            cos x     0
        − sin x cos2 x and W2 (x) = det                      = cos3 x.
                                           − sin x cos2 x
           The method of variation of parameters gives yp (x) = y1 (x)u1 (x) + y2 (x)u2 (x), where
        u1 (x) = W1 (x)/W (x) and u2 (x) = W2 (x)/W (x).
           Integrating (by taking u = cos x du = − sin x dx) and taking the constant of integra-
        tion to be zero, we have
                                                                     u3   cos3 x
                     u1 (x) =    (− sin x cos2 x) dx =     u2 du =      =        .
                                                                     3      3
          On the other hand,

                                                                                u3           sin3 x
    u2 (x) =    cos3 x dx =     cos x (1 − sin2 x) dx =    (1 − u2 ) du = u −      = sin x −        ,
                                                                                3              3
          where above we used the fundamental identity of trigonometry (sin2 x + cos2 x = 1)
        and the substitution u = sin x, du = cos x dx.
          Consequently,
                                            cos3 x                   sin3 x
                         yp (x) = cos x ·          + sin x · sin x −
                                              3                        3
          and
                                       cos4 x            sin4 x
        y(x) = c1 cos x + c2 sin x +          + sin2 x −        , c1,2 = arbitrary constants.
                                         3                 3

    (4) (10 points) A mass weighing 10 pounds stretches a spring 0.5 foot. Determine the
        equation of motion if the mass is initially released from a point 6 inches below the
        equilibrium position with a downward velocity of 4 ft/s. What is the instantaneous
        velocity at the first time when the mass passes through the equilibrium position?

          Solution: The equation of motion is mx + kx = 0, where m = 10/32 slug and
        k = 10/0.5 = 20 ft/lb. Thus
                 x + 64x = 0 ⇒ x(t) = c1 cos 8t + c2 sin 8t, c1,2 = constants.
         To determine the constants, use the initial conditions. As x(0) = 1/2 ft, c1 = 1/2.
        Additionally, x (t) = −8c1 sin 8t + 8c2 cos 8t, thus x (0) = 4 ft/sec and 8c2 = 4.
3

   Consequently, x(t) = 1 cos 8t + 1 sin 8t and x (t) = −4 sin 8t + 4 cos 8t. To find the
                         2         2
time when the mass passes through the equilibrium position, set x(t) = 0. Note that
this implies tan(8t) = −1 whose first positive solution is for 8t = 3π/4. So
                                   √        √
                                     2        2      √
                   x (3π/32) = −4      −4       = −4 2 ft/sec
                                    2        2
is the answer needed.

More Related Content

PDF
Engr 213 midterm 2b sol 2010
PDF
Engr 213 midterm 1b sol 2009
PDF
Engr 213 final 2009
PDF
Engr 213 sample midterm 2b sol 2010
DOC
Phuong trinh vo ty
PDF
Tập 2 chuyên đề Toán học: Phương trình vô tỷ - Megabook.vn
PPT
23 general double integrals
PDF
Ecuaciones e inecuaciones resueltos
Engr 213 midterm 2b sol 2010
Engr 213 midterm 1b sol 2009
Engr 213 final 2009
Engr 213 sample midterm 2b sol 2010
Phuong trinh vo ty
Tập 2 chuyên đề Toán học: Phương trình vô tỷ - Megabook.vn
23 general double integrals
Ecuaciones e inecuaciones resueltos

What's hot (20)

PPTX
Inverse variation
PDF
Engr 213 midterm 1a sol 2009
PDF
Phương trình và hệ phương trình
PDF
Tuyển tập 100 hệ phương trình thường gặp (2015-2016) - Megabook.vn
PDF
Tai lieu on chuyen toan
PPT
Factor común
PPT
Factorising Quadratics
PDF
Engr 213 final sol 2009
PDF
Lectures4 8
PDF
1.4 Quadratic Equations
PPT
4.9 Graphing Quadratic Inequalities
PDF
1-06 Even and Odd Functions Notes
PPT
Drawing trigonometric graphs.
PDF
Lesson 8: Derivatives of Polynomials and Exponential functions
PDF
Exercices avec les solutions d'analyse complexe
PPT
Differentiation jan 21, 2014
KEY
Funktion suurin ja pienin arvo laskemalla
PPTX
Euler’s Theorem Homogeneous Function Of Two Variables
PPTX
05 perfect square, difference of two squares
PPT
Multiplying polynomials
Inverse variation
Engr 213 midterm 1a sol 2009
Phương trình và hệ phương trình
Tuyển tập 100 hệ phương trình thường gặp (2015-2016) - Megabook.vn
Tai lieu on chuyen toan
Factor común
Factorising Quadratics
Engr 213 final sol 2009
Lectures4 8
1.4 Quadratic Equations
4.9 Graphing Quadratic Inequalities
1-06 Even and Odd Functions Notes
Drawing trigonometric graphs.
Lesson 8: Derivatives of Polynomials and Exponential functions
Exercices avec les solutions d'analyse complexe
Differentiation jan 21, 2014
Funktion suurin ja pienin arvo laskemalla
Euler’s Theorem Homogeneous Function Of Two Variables
05 perfect square, difference of two squares
Multiplying polynomials
Ad

Viewers also liked (6)

PDF
Engr 213 midterm 2b 2009
PDF
Engr 213 midterm 2a sol 2009
PDF
Engr 213 midterm 1a sol 2010
PDF
Engr 213 midterm 2a 2009
PDF
Engr 213 midterm 1b 2009
PDF
Emat 213 study guide
Engr 213 midterm 2b 2009
Engr 213 midterm 2a sol 2009
Engr 213 midterm 1a sol 2010
Engr 213 midterm 2a 2009
Engr 213 midterm 1b 2009
Emat 213 study guide
Ad

Similar to Engr 213 midterm 2a sol 2010 (20)

PDF
Engr 213 midterm 2b sol 2009
PDF
Emat 213 midterm 2 fall 2005
PDF
Emat 213 midterm 1 fall 2005
PDF
Engr 213 midterm 1b sol 2010
PDF
Emat 213 midterm 2 winter 2006
PDF
Sect1 1
PDF
Emat 213 midterm 1 winter 2006
PDF
Linear Differential Equations1
PDF
Week 8 [compatibility mode]
PDF
Maths assignment
PDF
1010n3a
PDF
Chapter 09
PDF
Assignment grouping 2(bungee jumping) (edit)
PDF
Answers to Problems for Advanced Engineering Mathematics, 7th Edition by Denn...
PDF
Amth250 octave matlab some solutions (1)
PDF
Answers to Problems for Advanced Engineering Mathematics, 6th Edition – Denni...
PDF
Assignment6
DOCX
Maths 301 key_sem_1_2009_2010
PDF
Hw2 s
PDF
Answers to Problems for Advanced Engineering Mathematics 6th Edition Internat...
Engr 213 midterm 2b sol 2009
Emat 213 midterm 2 fall 2005
Emat 213 midterm 1 fall 2005
Engr 213 midterm 1b sol 2010
Emat 213 midterm 2 winter 2006
Sect1 1
Emat 213 midterm 1 winter 2006
Linear Differential Equations1
Week 8 [compatibility mode]
Maths assignment
1010n3a
Chapter 09
Assignment grouping 2(bungee jumping) (edit)
Answers to Problems for Advanced Engineering Mathematics, 7th Edition by Denn...
Amth250 octave matlab some solutions (1)
Answers to Problems for Advanced Engineering Mathematics, 6th Edition – Denni...
Assignment6
Maths 301 key_sem_1_2009_2010
Hw2 s
Answers to Problems for Advanced Engineering Mathematics 6th Edition Internat...

Engr 213 midterm 2a sol 2010

  • 1. Concordia University March 23, 2010 Applied Ordinary Differential Equations ENGR 213 - Section F Prof. Alina Stancu Exam II (A) (1) (6 points) Solve the homogeneous ODE x2 y + 5xy + 4y = 0. Solution: The characteristic equation of this homogeneous Cauchy-Euler ODE is m(m − 1) + 5m + 4 = 0 or m2 + 4m + 4 = 0. It has a double root r = −2. Hence the general solution of the ODE on x > 0 (or x < 0) is y(x) = c1 x−2 + c2 x−2 ln x, c1,2 = constants. (2) (14 points) Solve the initial value problem y + 4y + 5y = e−2x , y(0) = 0, y (0) = 1. Solution: Consider first the associated homogeneous ODE: y + 4y + 5y = 0 with the characteristic equation r2 + 4r + 5 = 0 whose roots are r1,2 = −2 ± i. Hence yc (x) = c1 e−2x cos x + c2 e−2x sin x, c1,2 = constants. We now look for a particular solution yp to the non-homogenous ODE. We’ll use here the method of undetermined coefficients by setting yp (x) = Ae−2x . As yp (x) = −2Ae−2x and yp (x) = 4Ae−2x , we deduce that 4Ae−2x − 8Ae−2x + 5Ae−2x = e−2x ⇒ A = 1 and yp (x) = e−2x . Thus ygeneral (x) = c1 e−2x cos x + c2 e−2x sin x + e−2x , c1,2 = constants. We’ll now use the initial conditions to find c1,2 . As y(0) = 0, we have c1 + 1 = 0 ⇒ c1 = −1. Evaluating y (x) = c1 (−2e−2x cos x − e−2x sin x) + c2 (−2e−2x sin x + e−2x cos x) − 2e−2x , thus y (0) = −2c1 + c2 − 2 = c2 = 1. Therefore the solution of the IVP is y(x) = −e−2x cos x + e−2x sin x + e−2x . 1
  • 2. 2 (3) (10 points) Use the variation of parameters to solve the differential equation y + y = cos2 x. Solution: The complementary part of the solution follows from r2 +1 = 0 ⇒ r = ±i and is yc (x) = c1 cos x + c2 sin x. Considering y1 (x) = cos x, y2 (x) = sin x, the Wronskian is W (x) = 1 = 0 for all real 0 sin x x’s. To find the complementary solution we calculate W1 (x) = det 2 = cos x cos x cos x 0 − sin x cos2 x and W2 (x) = det = cos3 x. − sin x cos2 x The method of variation of parameters gives yp (x) = y1 (x)u1 (x) + y2 (x)u2 (x), where u1 (x) = W1 (x)/W (x) and u2 (x) = W2 (x)/W (x). Integrating (by taking u = cos x du = − sin x dx) and taking the constant of integra- tion to be zero, we have u3 cos3 x u1 (x) = (− sin x cos2 x) dx = u2 du = = . 3 3 On the other hand, u3 sin3 x u2 (x) = cos3 x dx = cos x (1 − sin2 x) dx = (1 − u2 ) du = u − = sin x − , 3 3 where above we used the fundamental identity of trigonometry (sin2 x + cos2 x = 1) and the substitution u = sin x, du = cos x dx. Consequently, cos3 x sin3 x yp (x) = cos x · + sin x · sin x − 3 3 and cos4 x sin4 x y(x) = c1 cos x + c2 sin x + + sin2 x − , c1,2 = arbitrary constants. 3 3 (4) (10 points) A mass weighing 10 pounds stretches a spring 0.5 foot. Determine the equation of motion if the mass is initially released from a point 6 inches below the equilibrium position with a downward velocity of 4 ft/s. What is the instantaneous velocity at the first time when the mass passes through the equilibrium position? Solution: The equation of motion is mx + kx = 0, where m = 10/32 slug and k = 10/0.5 = 20 ft/lb. Thus x + 64x = 0 ⇒ x(t) = c1 cos 8t + c2 sin 8t, c1,2 = constants. To determine the constants, use the initial conditions. As x(0) = 1/2 ft, c1 = 1/2. Additionally, x (t) = −8c1 sin 8t + 8c2 cos 8t, thus x (0) = 4 ft/sec and 8c2 = 4.
  • 3. 3 Consequently, x(t) = 1 cos 8t + 1 sin 8t and x (t) = −4 sin 8t + 4 cos 8t. To find the 2 2 time when the mass passes through the equilibrium position, set x(t) = 0. Note that this implies tan(8t) = −1 whose first positive solution is for 8t = 3π/4. So √ √ 2 2 √ x (3π/32) = −4 −4 = −4 2 ft/sec 2 2 is the answer needed.