Calculus 4c 3
Calculus 4c 3
Equations...
Leif Mejlbro
                                              r
                                          ke
                                        ocl
                                    it. n
                                   e U
                                 ov F
                               m PD
                             re h
                           to atc
                        se e B
                      en W
                   lic y
                 a b
                y ed
             Buess
             oc
           Pr
                                           l
                                     it. n
                                    e U
    Examples of Systems of        ov F
                                m PD
    Differential Equations and
                              re h
                            to atc
    Calculus 4c-3
                 y ed
              Buess
              oc
            Pr
                                                            r
                                                         ke
                                           l          oc
                                     it. n
                                    e U
                                  ov F
                                m PD
                              re h
                            to atc
                         se e B
                       en W
                    lic y
                  a b
                 y ed
              Buess
              oc
            Pr
                                                   Contents
                                                               Introduction                                                                                                   5
4 Stability 72
                                                                                                                                                                          r
                                                                                                                                                                     ke
                                                   5           Transfer functions                                                                                             88
                                                                                                                                                                 oc
                                                                                                                                        360°
                                                                                                         l
                                                                                                   it. n
                                                                                                  e U                                                                .
                                                                                                ov F
                                                                                              m PD
                                                                                                                                        thinking
                                                                                            re h
                                                                                          to atc
                                                                                       se e B
                                                                                     en W
                                                                                  lic y
                                                                                a b
                                                                               y ed
                                                                            Buess
                                                                   360°
                                                                                                                            .
                                                                            oc
                                                                   thinking
                                                                          Pr
                                                                                                                                     360°
                                                                                                                                     thinking            .
                                                                                                                                Discover the truth at www.deloitte.ca/careers                                                    D
Discover the truth at www.deloitte.ca/careers © Deloitte & Touche LLP and affiliated entities.
Introduction
Here we present a collection of examples of general systems of linear differential equations and some
applications in Physics and the Technical Sciences. The reader is also referred to Calculus 4b as well
as to Calculus 4c-2.
It should no longer be necessary rigourously to use the ADIC-model, described in Calculus 1c and
Calculus 2c, because we now assume that the reader can do this himself.
Even if I have tried to be careful about this text, it is impossible to avoid errors, in particular in the
first edition. It is my hope that the reader will show some understanding of my situation.
                                                                                            Leif Mejlbro
                                                                                          21st May 2008
                                                                                  r
                                                                              ke
                                               l                         oc
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
                  oc
                Pr
                                                         5
Calculus 4c-3                                                             Homogeneous systems of linear differential equations
    is a solution of (1).
2) Are the vectors in (2) linearly dependent or linearly independent?
                                                                                           r
3) How many linearly independent vectors can at most be chosen from (2)? In which ways can this
                                                                                       ke
   be done?
                                                                                   oc
4) Write down all solutions of (1).
                                               l
                          
                                         it. n
                                        e U
                         x
5) Find that solution          of (1), for which
                         y
                        
                                      ov F
         x(0)           1
                                    m PD
                 =           .
         y(0)         −1
                                  re h
                                to atc
                                                                 
      d    cosh t         sinh t          0 1     cosh t           sinh t
                     =              and                      =                ,
                           en W
                     =              and                      =              ,
      dt cosh t           sinh t          1 0     cosh t          sinh t
                     y ed
          t   t                            1   t 
      d     e          e                  0 1      e            e
                  Buess
              t    =    t         and                t     =     t    ,
      dt    e          e                  1  0     e            e
          t   t                             t   t 
      d     2e           2e                 0 1        2e           2e
                  oc
                    =               and                       =             .
      dt    2et          2et                1 0        2et          2et
                Pr
                                                            6
Calculus 4c-3                                                                       Homogeneous systems of linear differential equations
   hence
                                                                                      
           x(t)                 cosh t − sinh t                  et            −t        1
                      =                               =                   =e                     .
           y(t)               − cosh t + sinh t               −e−t                      −1
                                                                                                         r
                                                                                                     ke
                                               l                                                 oc
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
       For almost 60 years Maastricht School of Management has been enhancing the management capacity
       of professionals and organizations around the world through state-of-the-art management education.
       Our broad range of Open Enrollment Executive Programs offers you a unique interactive, stimulating and
       multicultural learning experience.
For more information, visit www.msm.nl or contact us at +31 43 38 70 808 or via admissions@msm.nl
                                                
                                         t+1
Example 1.2 Prove that                               is a solution of the system
                                          t
                                                        
     d        x               0 1        x               1−t
                      =                          +                 ,   t ∈ R.
     dt       y               1 0        y                −t
Find all solutions of this system, and find in particular that solution, for which
                     
      x(0)            1
               =           .
      y(0)          −1
                                  
      x       t+1          d    x      1
If        =         , then         =        and
       y       t           dt   y      1
                                                        
        0 1    t+1         1−t            t       1−t    1    d    x
                                                                                                 r
                       +           =            +      =    =          ,
                                                                                             ke
        1 0      t          −t           t+1       −t    1    dt   y
                                                                                         oc
and the equation is fulfilled.
                                                 l
                                           it. n
It follows from Example 1.1 that the complete solution of the homogeneous system of equations is
                                          e U
given by
                                        ov F
                                 m PD
       x           cosh t          sinh t
            = c1            + c2            ,  c1 , c2 arbitrære.
        y          sinh t          cosh t
                                    re h
                                  to atc
Due to the linearity, the complete solution of the inhomogeneous system of differential equations is
                               se e B
given by
                                              
      x        t+1            cosh t          sinh t
                             en W
         =             + c1            + c2            , c1 , c2 arbitrære.
      y          t            sinh t          cosh t
                          lic y
                        a b
                       y ed
      x(0)          1          1            0      1 + c1      1
              =         + c1        + c2        =          =       ,
       y(0)         0          0            1        c2       −1
                    oc
                                                     
      x(t)        t+1         sinh t         t + 1 − sinh t
             =            −            =−                     ,                         t ∈ R.
      y(t)          t        cosh t            t − cosh t
                                                                        8
Calculus 4c-3                                                      Homogeneous systems of linear differential equations
                                                                                      r
            dx2 /dt = x1 + x2 ,                               dt
                                                                                  ke
       By insertion into the latter equation we get
                                                                             oc
                       d2 x1
                                               l
           dx2   dx1                               dx1
                                         it. n
               =     −       = x1 + x2 = x1 + x1 −     ,
                        dt2
                                        e U
            dt    dt                                dt
                                      ov F
       hence by a rearrangement,
                                    m PD
           d2 x1    dx1
                 −2     + 2x1 = 0.
            dt2      dt
                                  re h
                                to atc
       It follows from
                        lic y
                      a b
           dx1
               = (c1 + c2 )et cos t + (c2 − c1 )et sin t,
                     y ed
            dt
                  Buess
       that
                        dx1
           x2 = x1 −        = −c2 et cos t + c1 et sin t.
                  oc
                         dt
                Pr
       Summing up we get
                                                                              
             x1       c1 et cos t+c2 et sin t          t   cos t         t     sin t
       (4)       =                              = c 1 e            +c 2 e              ,
             x2     −c2 et cos t+c1 et sin t               sin t             − cos t
                                                             9
Calculus 4c-3                                                                      Homogeneous systems of linear differential equations
       A complex eigenvector for e.g. λ = 1 + i is the “cross vector” of (1 − λ, −1) = (−i, −1), thus
       e.g. v = (1, −i).
       A fundamental matrix is
                                          
         Φ(t) = Re e(a+iω)t (α + iβ) | Im e(a+iω)t (α + iβ)       = eat cos ωt(α β) + eat sin ωt(−β α).
       Here,
                                                                        
                                                1                      0
            λ = 1 + i = a + iω,     α=                  ,   β=                 ,
                                                0                     −1
       so
                                                                                                  
                    t            1  0           t               0 1            t       cos t   sin t
            Φ(t) = e cos t                  + e sin t                     =e                               .
                                 0 −1                           1 0                    sin t − cos t
       The complete solution is
                                                        
                                                                                                       r
                                 cos t               sin t
                                                                                                  ke
                             t                 t
          x(t) = Φ(t)c = c1 e            + c2 e              ,
                                 sin t             − cos t
                                                                                              oc
       where c1 and c2 are arbitrary constants.
                                               l
                                         it. n
    c) Alternatively we can directly write down the exponential matrix,
                                        e U
                                     a            1
          exp(At) = eat cos ωt − sin ωt I + eat sin ωt · A
                                      ov F
                                      ω
                                    m PD          ω                                  
                         t               1 0        t        1 −1      t   cos t − sin t
                    = e (cos t−sin t)            + e sin t          =e                     ,
                                         0 1                 1  1          sin t  cos t
                                  re h
                                                            
                                     cos t             − sin t
           x(t) = exp(At)c = c1 et           + c2 et             ,
                             se e B
                                     sin t              cos t
      where c1 and c2 are arbitrary constants.
                           en W
   d) Alternatively (only sketchy) the eigenvalues λ = 1 ± i indicate that the solution necessarily
                        lic y
      is of the structure
          
                      a b
       We have here four unknown constants, and we know that the final result may only contain
       two arbitrary constants. By insertion into the system of differential equations we get by an
                  oc
             x1                                          t   cos t         t     sin t
                   =                               = a1 e            + a2 e              ,
             x2        a1 et sin t − a2 et cos t             sin t             − cos t
       where a1 and a2 are arbitrary constants.
2) By using the initial conditions z1 (0) = (1, 0)T in e.g. (4) we get
                               
        1            1            0
             = c1        + c2          ,
        0            0          −1
   thus c1 = 1 and c2 = 0, and hence
                t        
                 e cos t
      z1 (t) =              .
                 et sin t
                                                                      10
Calculus 4c-3                                                                                          Homogeneous systems of linear differential equations
3) By inserting the initial conditions z2 (0) = (0, 1)T into e.g. (4), we get
                                
        0            1             0
             = c1        + c2          ,
        1            0           −1
4) The complete solution has already been given i four different versions in (1).
                                                                                                                        r
                                                                                                                    ke
                                                l                                                               oc
                                          it. n
                                         e U
                                       ov F
                                     m PD
                                   re h
                                 to atc
                              se e B
                            en W
                         lic y
                       a b
                      y ed
                   Buess
                   oc
                 Pr
       GOT-THE-ENERGY-TO-LEAD.COM
       We believe that energy suppliers should be renewable, too. We are therefore looking for enthusiastic
       new colleagues with plenty of ideas who want to join RWE in changing the world. Visit us online to find
       out what we are offering and how we are working together to ensure the energy of the future.
Example 1.4 Find by using the eigenvalue method the complete solution of the following system of
differential equations
                   
   dx        1    1
       =              x(t).
    dt       0 −2
1) The eigenvalue method. It follows immediately that the eigenvalues are λ 1 = 1 and λ2 = −2.
   To the eigenvalue λ1 = 1 correspond the eigenvectors which are proportional to (1, 0).
   To the eigenvalue λ2 = −2 corresponds the eigenvectors which are proportional to (1, −3).
   The complete solution is
                     t       −2t                         
        x1 (t)         e          e           t  1       −2t    1
                 = c1       +c2         = c1 e      +c2 e           ,
        x2 (t)          0        −3e−2t          0             −3
   where c1 and c2 are arbitrary constants.
                                                                                    r
                                                                                   ke
2) Alternatively the exponential matrix is given by
                                                                            oc
                           1                               1
        exp(At)    =            −λ2 eλ1 t +λ1 eλ2 t I +          eλ1 t −eλ2 t A
                        λ1 −λ2                          λ1 −λ2
                                               l
                                                                            
                                         it. n
                        1                 1 0        1 t               1     1
                                        e U
                   =       2et +e−2t              +     e − e−2t
                        3                 0 1        3                 0 −2
                                      ov F
                                                                            
                        1 2et +e−2t +et −e−2t
                                    m PD                    t
                                                          e −e  −2t
                   =
                        3            0              2et +e−2t −2et +2e−2t
                           t               
                        1    3e et − e−2t
                                  re h
                   =                           .
                                   3e−2t
                                to atc
                        3     0
   The complete solution is
                             se e B
                     t        t       
        x1 (t)         e          e − e−2t
                 = c1       + c2             ,
                           en W
        x2 (t)          0            3e−2t
                        lic y
        dx1                    dx2
                                   = −2x2 ,
                  Buess
            = x1 + x2 ,
         dt                     dt
   from which we immediately get x2 = c2 e−2t .
                  oc
   Then by insertion
                Pr
        dx1
            − x1 = c2 e−2t ,
         dt
   so
                                                  1
        x1 = c1 et + c2 et   e−t e−2t dt = c1 et − c2 e−2t .
                                                  3
   Summing up we have
                          1
                                                         
       x1 (t)      c1 et − c2 e−2t         t  1   1 −2t    1
               =             3       = c1 e      − c2 e        ,
       x2 (t)            c2 e−2t              0   3       −3
                                                           12
Calculus 4c-3                                                   Homogeneous systems of linear differential equations
Example 1.5 Find by the eigenvalue method the complete solution of the following system of differ-
ential equations
                  
    dx         1 4
        =            x(t).
    dt       −2 −3
1) The eigenvalue method. The eigenvalues are the solutions of the following equation,
                    
       1−λ      4   
                     = (1 − λ)(−3 − λ) + 8 = λ2 + 2λ + 5 = 0,
       −2    −3 − λ 
   hence λ = −1 ± 2i.
   A complex eigenvector corresponding to e.g.. λ = a + iω = −1 + 2i is a cross vector of
                                                                                 r
       (1 − λ, 4) = (2 − 2i, 4) = 2(1 − i, 2),
                                                                             ke
                                                                           oc
   so we have e.g.
                                               l
       v = α + iβ = (2, −1 + i)T = (2, −1)T + i(0, 1)T .
                                         it. n
                                        e U
   Then a fundamental matrix is given by
                                      ov F
                                    m PD
       Φ(t)     = eat cos ωt(α β) + eat sin ωt(−β α)
                                                                
                   −t             2 0         −t            0    2
                                  re h
                = e cos 2t                 + e sin 2t
                                −1 1                      −1 −1
                                to atc
                                                            
                   −t         2 cos 2t           2 sin 2t
                = e                                            .
                             se e B
                 −t       2 cos 2t              −t       2 sin 2t
                      a b
      x(t) = c1 e                         + c2 e                       .
                      − cos 2t − sin 2t              cos 2t − sin 2t
                     y ed
                  Buess
      ⎨ dt = x1 + 4x2 ,                       1 dx1  1
                                specielt x2 =       − x1 .
                Pr
      ⎪
      ⎪                                       4  dt  4
      ⎪ dx2 = −2x − 3x ,
      ⎩             1     2
          dt
   We get by insertion into the second equation,
       1 d2 x1   1 dx1          3 dx1  3
            2
               −       = −2x1 −       + x1 ,
       4 dt      4 dt           4 dt   4
   hence by a rearrangement,
       d2 x1    dx1
           t
             +2     + 5x1 = 0.
        dt       dt
                                                        13
Calculus 4c-3                                                          Homogeneous systems of linear differential equations
The characteristic polynomial R2 + 2R + 5 has the roots R = −1 ± 2i, so the complete solution is
   We conclude from
       dx1
           = (2c2 − c1 )e−t cos 2t + (−2c1 − c2 )e−t sin 2t,
        dt
   that
                dx1
       4x2 =        − x1 = (2c2 − 2c1 )e−t cos 2t + (−2c1 − 2c2 )e−t sin 2t.
                 dt
   Summing up we have
                                                                                   
                                           c1 e−t cos 2t + c2 e−t sin 2t
                                                                                          r
           x1 (t)
                                                                                     ke
                        =         1                         1
           x2 (t)              − c1 e−t (cos 2t + sin 2t) + c2 e−t (cos 2t − sin 2t)
                                  2                      2                            
                                                                                oc
                            1 −t           2 cos 2t           1 −t           2 sin 2t
                        =     c1 e                         + c2 e                          ,
                                               l
                                      − cos 2t − sin 2t                  cos 2t − sin 2t
                                         it. n
                            2                                 2
                                        e U
   where c1 and c2 are arbitrary constants.
                                      ov F
                                    m PD
3) Alternatively the exponential matrix is with a = −1 and ω = 2 given by
                               a              1
                                  re h
                               ω            ω
                                                                  
              −t            1           1 0         1 −t       1  4
           =e      cos 2t + sin 2t               + e sin 2t
                             se e B
                            2           0 1         2         −2 −3
                                                   
                    cos 2t + sin 2t     2 sin 2t
           = e−t
                           en W
                                                      ,
                       − sin 2t     cos 2t − sin 2t
                        lic y
                      a b
        x2 (t)
                  oc
4) Alternatively (sketch) the solution must have the following real structure,
                                               
                Pr
   so we shall “only” check that this function satisfies the equations. The details are fairly long and
   tedious, so they are here left out.
                                                              14
Calculus 4c-3                                                      Homogeneous systems of linear differential equations
x1 = x, x 2 = x , x3 = x , x4 = y,
                                                                                    r
                                                                                ke
         x4       y         2      0      0  4     x4       t3 + 1
                                               l                            oc
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
There is here a very good reason for not asking about the complete solution.          In fact, we see that the
eigenvalues are the roots of the polynomial
                         
   −λ 1       0      0                                                                               
                                     −λ 1        0        1 0       0                   1     0  0    
   0 −λ 1            0                                                                                 
                          = −λ  0 −λ           −1    + 3  −λ 1      0              − 2  −λ    1 0     
   3     0 −λ       −1                                                                               
                                     0     0 4−λ           0 0 4−λ                       0    −λ −1    
   2     0    0 4−λ 
                                = −λ3 (4 − λ) + 3(4 − λ) + 2 = λ4 − 4λ3 − 3λ + 14,
where it can be proved that this polynomial does not have rationale roots.
                                                                                       r
                                                                                      ke
If one insists on solving the equation, the “fumbling method” is here without question the easiest
                                                                               oc
one to apply. In fact, if we write the full system
                                               l
                                         it. n
     
       x = 3x − y + t2 ,
                                        e U
                                dvs. specielt y = −x + 3x + t2 ,
       y  = 2x + 4y + t3 + 1,
                                      ov F
                                    m PD
then it follows by insertion into the latter equation that
hence by a rearrangement
                             se e B
    d4 x     d3 x    dx
         − 4      −3    + 14x = −t3 − 4t2 + 2t − 1.
    dt4      dt3
                           en W
                     dt
The we guess a particular solution of the form of a polynomial of degree 3, at 3 + bt2 + ct + d (the
                        lic y
                      a b
coefficients are really ugly), and since the characteristic polynomial is the same as before, we get the
                     y ed
complete solution
   x(t) = at3 + bt2 + ct + d + c1 eλ1 t + c2 eλ2 t + c3 eαt cos βt + c4 eαt sin βt,
                  Buess
y = −x + 3x + t2 .
One has to admit that this method is somewhat easier to apply than the “standard method” of finding
the eigenvectors first.
                                                            16
Calculus 4c-3                                                  Homogeneous systems of linear differential equations
                                                                                r
        (y + z) = 3(y + z),
                                                                            ke
     dt
     d
                                                                        oc
        (z + x) = 2(z + x),      thus z + x = 2a2 e2t ,
     dt
                                               l
                                         it. n
so
                                        e U
     ⎧
     ⎪
     ⎪ x = a1 et + a2 e2t − a3 e3t ,
     ⎪
                                      ov F
     ⎪
     ⎨                              m PD
       y = a1 et − a2 e2t + a3 e3t ,
     ⎪
     ⎪
     ⎪
     ⎪
     ⎩
       z = −a1 et + a2 e2t + a3 e3t ,
                                  re h
                                to atc
or written as a vector,
                             se e B
   ⎛ ⎞            ⎛       ⎞     ⎛    ⎞          ⎛    ⎞
      x                 1          1              −1
   ⎝ y ⎠ = a1 et ⎝ 1 ⎠ + a2 e2t ⎝ −1 ⎠ + a3 e3t ⎝ 1 ⎠ ,
                           en W
      z              −1            1               1
                        lic y
                      a b
       ⎛ 3            ⎞
           2  −1 − 12
   A = ⎝ − 21   2   1 ⎠
                  oc
                    2
           1        5
           2    1   2
                Pr
                                                          17
Calculus 4c-3                                                   Homogeneous systems of linear differential equations
                                                                                     r
                                                                             ke
The eigenvalues are the roots of the polynomial
                  
                                                                         oc
    1−λ     −1 
                    = (λ − 1)(λ + 1) + 2 = λ2 + 1,
    2     −1 − λ 
                                               l
                                         it. n
                                        e U
thus λ = ±i. Since the eigenvalues are complex numbers, we have four solution variants.
                                      ov F
1) The eigenvalue method. To λ = a + iω = i, i.e. a = 0 and ω = 1, we have a complex eigenvector
                                    m PD
   of the form
                              
               1      1          0
                                  re h
       v=          =      +i         = α + iβ.
              1−i     1        −1
                                to atc
                                        
    Φ(t) =     Re e(a+iω)t (α + iβ) Im e(a+iω)t (α + iβ)      = eat cos ωt(α β) + eat sin ωt(−β α)
                           en W
                                                                        
                    1   0               0 1          cos t          sin t
          = cos t             + sin t        =                                 ,
                        lic y
         y1              cos t                  sin t
              = c1                   + c2                   ,   c1 , c2 arbitrary.
         y2          cos t + sin t          sin t − cos t
                  oc
2) The exponential matrix. Since the eigenvalues are complex conjugated, the exponential matrix
                Pr
                                                         18
Calculus 4c-3                                                                    Homogeneous systems of linear differential equations
   hence
                                                    
       d        y1               a2 cos t − a1 sin t
                         =
       dt       y2               b2 cos t − b1 sin t
   and
                                                                                              
            1 −1             a1 cos t + a2 sin t                (a1 −b1 ) cos t+(a2 −b2 ) sin t
                                                       =                                               .
            2 −1             b1 cos t + b2 sin t               (2a1 −b1 ) cos t+(2a2 −b2 ) sin t
                                                                                                           r
                                                                                               ke
       a2 = a1 − b1               and       − a 1 = a2 − b 2 ,
                                                                                           oc
   and hence
                                               l
                                         it. n
       b1 = a1 − a2
                                        e U
                                  and       b 2 = a1 + a2 .
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
                  oc
                Pr
www.job.oticon.dk
       dy1                                     dy1
           = y1 − y2 ,        i.e.    y2 = −       + y1 ,
        dt                                      dt
       dy2
           = 2y1 − y2 ,
        dt
   by eliminating y2 that
                                                                                     r
            d2 y 1   dy1         dy1
                                                                                 ke
       −        2
                   +     = 2y1 +     − y1 ,
             dt       dt          dt
                                                                               oc
   hence by a rearrangement
                                               l
                                         it. n
       d2 y 1
                                        e U
              + y1 = 0.
        dt2
                                      ov F
   Then we get the complete solution
                                    m PD
                                  re h
       y1 = c1 cos t + c2 sin t.
                                to atc
   This gives us
                             se e B
                   dy1
       y2     = −       + y1 = −(−c1 sin t + c2 cos t) + c1 cos t + c2 sin t
                           en W
                    dt
              = c1 (sin t + cos t) + c2 (− cos t + sin t).
                        lic y
                      a b
                                                     
       y1              cos t                  sin t
                  Buess
            = c1                   + c2                     ,
       y2          sin t + cos t          − cos t + sin t
                  oc
                                                            20
Calculus 4c-3                                                     Homogeneous systems of linear differential equations
                                                                                   r
              −2 − λ   1                                                    
                                                                               ke
    1            1    −λ   λ        1      −λ              1      1     −λ 
                                  
                                                                           oc
              −1     5       −3                              
                                          3−λ            −2 
        = λ  0 3 − λ        −2  = −λ                         = −λ(λ2 −9+12) = −λ(λ2 + 3),
                                               l
                                                         −3 − λ 
                                         it. n
              0                             6
                           −3 − λ 
                                        e U
                      6
                                         √
                                      ov F
thus the eigenvalues are λ = 0 and λ = ±i 3.
                                    m PD
An eigenvector (a1 , b1 , c1 ) corresponding to λ = 0 satisfies
   ⎧
                                  re h
                                             b1 = −a1 ,
       −a1 − 2b1 + c1 = 0,            dvs.
   ⎩                                         c1 = a1 + 2b1 = −a1 .
              a1 + b1 = 0,
                             se e B
                                                        √
An eigenvector (a2 , b2 , c2 ) corresponding   to λ = i 3 satisfies
                        lic y
   ⎧                       √              ⎧                      √
                      a b
            √              √
    −(1 + i 3)b2 + (1 − i 3)c2 = 0,
                Pr
hence
             √            √
          1+i 3     (1 + i 3)2     1             √      1       √
   c2 =      √ b2 =            b2 = · (1 − 3 + 2i 3)b2 = (−1 + i 3)b2 .
          1−i 3        1+3         4                    2
By insertion into the second equation we get
               √      1       √      1       √
   a2 = (−2 − i 3)b2 + (−1 + i 3)b2 = (−5 − i 3)b2 .
                      2              2
By choosing b2 = 2 we find the eigenvector
          √            √
   (−5 − i 3, 2, −1 + i 3)T .
                                                           21
Calculus 4c-3                                                             Homogeneous systems of linear differential equations
                                                                           √
We get by a complex conjugation that an eigenvector corresponding to λ = −i 3 is given by
          √           √
  (−5 + i 3, 2, −1 − i 3)T .
                                                                                                r
                                       √
                                                                                            ke
             −1 − cos 3t − 3 sin 3t      3 cos 3t − sin 3t
                                               l                                           oc
                                         it. n
Example 1.10 Find the complete solution of the system
                                        e U
            
                                      ov F
        1 0
  Y =          Y.                   m PD
         2 1
1) Discussion of the structure of the solution. The algebraic multiplicity is 2, while the geo-
   metric multiplicity is only w. Hence the complete solution must necessarily have the structure
                             se e B
                               
         y1        a1 et + a2 tet
             =                      .
                   b1 et + b2 tet
                           en W
         y2
                        lic y
                                          
        d    y1       (a1 + a2 )et + a2 tet
                     y ed
                  =
       dt y2           (b1 + b2 )et + b2 tet
                  Buess
   and
                                                                              
                     a1 et + a2 tet                       a1 et + a2 tet
                  oc
          1 0
                                          =                                            .
          2 1        b1 et + b2 tet               (2a1 + b1 )et + (2a2 + b2 )tet
                Pr
                                                                  22
Calculus 4c-3                                                                Homogeneous systems of linear differential equations
2) The exponential matrix. Since A and I commute, the exponential matrix is given by
   where
                                     
                                0 0
       B=A−I=
                                2 0
                                                                                                 r
                                                                                            ke
   and the complete solution is
                                                                                        oc
             t                
                                               l
         y1         e     0     c1
                                         it. n
              =                      ,
         y2       2tet et       c2
                                        e U
                                      ov F
   where c1 and c2 are arbitrary constants.
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
      Choose Accenture for a career where the variety of opportunities and challenges allows you to make a
      difference every day. A place where you can develop your potential and grow professionally, working
      alongside talented colleagues. The only place where you can learn from our unrivalled experience, while
      helping our global clients achieve high performance. If this is your idea of a typical working day, then
      Accenture is the place to be.
      It all starts at Boot Camp. It’s 48 hours     packed with intellectual challenges     and intense learning experience.
      that will stimulate your mind and             and activities designed to let you      It could be your toughest test yet,
      enhance your career prospects. You’ll         discover what it really means to be a   which is exactly what will make it
      spend time with other students, top           high performer in business. We can’t    your biggest opportunity.
      Accenture Consultants and special             tell you everything about Boot Camp,
      guests. An inspirational two days             but expect a fast-paced, exhilarating   Find out more and apply online.
Visit accenture.com/bootcamp
y1 = y2 + y3 ,
   y2 = y1 + y3 ,
   y3 = y1 + y2 .
                                                                                 r
   so the eigenvalues     are the roots of the polynomial
                                                                            ke
                         
        −λ               
                                                                        oc
              1    1     
        1 −λ       1      = −λ3 + 1 + 1 + λ + λ + λ = −(λ3 − 3λ − 2).
                         
                                               l
        1                
                                         it. n
               1 −λ
                                        e U
   We immediately guess the roots λ = −1 and λ = 2. Then we get by a reduction,
                                      ov F
                                    m PD
       −(λ3 − 3λ − 2) = −(λ + 1)(λ − 2)(λ + 1) = −(λ + 1)2 (λ − 2),
                                  re h
                   ⎛              ⎞
                      1     1 1
       (A − λI)v = ⎝ 1      1 1 ⎠ v = 0.
                           en W
                      1     1 1
                        lic y
                      a b
   Two linearly independent vectors which satisfy these equations are e.g.
                     y ed
   If λ = 2 then we get
                Pr
                    ⎛                 ⎞
                      −2  1         1
       (A − λI)v = ⎝ 1 −2           1 ⎠ v,
                        1 1        −2
   and we can e.g. choose the solution v3 = (1, 1, 1). The complete solution is
      ⎛    ⎞          ⎛      ⎞          ⎛     ⎞          ⎛ ⎞ ⎛ −t                          ⎞⎛     ⎞
        y1                 2                1               1        2e        e−t     e2t     c1
      ⎝ y2 ⎠ = c1 e−t ⎝ −1 ⎠ + c2 e−t ⎝ 1 ⎠ + c3 e2t ⎝ 1 ⎠ = ⎝ −e−t            e−t     e2t ⎠ ⎝ c2 ⎠ ,
        y3               −1               −2                1        −e−t −2e−t        e2t     c3
                                                        24
Calculus 4c-3                                                          Homogeneous systems of linear differential equations
2) The “fumbling method”. It follows immediately of the symmetry of the equations that
          d
             (y1 − y2 ) = −(y1 − y2 ),      thus y1 − y2 = 3c1 e−t ,
          dt
       d
         (y2 − y3 ) = −(y2 − y3 ),   thus y2 − y3 = 3c2 e−t ,
      dt
   hence by addition y1 − y3 = 3(c1 + c2 )e−t . Finally,
          d
             (y1 + y2 + y3 ) = 2(y1 + y2 + y3 ),       thus y1 + y2 + y3 = 3c3 e2t .
          dt
   Hence we get
      
        2y1 + y3 = 3c1 e−t + 3c3 e2t ,
          y1 − y3 = 3(c1 + c2 )e−t ,
                                                                                        r
   i.e.
                                                                                       ke
          y1 = (2c1 + c2 )e−t + c3 e2t ,
                                                                                oc
          y2 = (−c1 + c2 )e−t + c3 e2t ,
                                               l
          y3 = (−c1 − 2c2 )e−t + c3 e2t ,
                                         it. n
                                        e U
   or written in a different way,
                                      ov F
      ⎛     ⎞          ⎛      ⎞       ⎛
                                    m PD   ⎞         ⎛ ⎞
         y1                 2            1             1
      ⎝ y2 ⎠ = c1 e−t ⎝ −1 ⎠ + c2 e−t ⎝ 1 ⎠ + c3 e2t ⎝ 1 ⎠ ,
         y3               −1            −2             1
                                  re h
                                to atc
Example 1.12 Find the complete solution of the system of differential equations
                           en W
   Y = AY,
                        lic y
                      a b
where
           ⎛      ⎞                                ⎛      ⎞
                     y ed
          3  0  4                                  y1 (t)
   A = ⎝ −1 −1  0 ⎠,                         Y = ⎝ y2 (t) ⎠ .
                  Buess
         −2  0 −3                                  y3 (t)
                  oc
                           
    3−λ      0        4                                                
                                                                       
    −1    −1 − λ      0     = (−1 − λ)  3 − λ                     4    
                                           −2                   −3 − λ 
    −2       0     −3 − λ 
                                         = −(λ + 1){λ2 − 9 + 8} = −(λ − 1)(λ + 1)2 .
The eigenvalues are the simple root λ = 1 and λ = −1 of multiplicity 2.
                                                              25
Calculus 4c-3                                                    Homogeneous systems of linear differential equations
If λ = 1, then
    ⎧
    ⎨ 2a + 4c = 0,                
                                      a = −2c = −2b,
          a + 2b = 0,      thus
    ⎩                                 (a, b, c) = c(−2, 1, 1).
       −2a − 4c = 0,
If λ = −1, then
    ⎧
    ⎨ 4a + 4c = 0,
             −a = 0,     thus a = c = 0, and b is a free parameter.
    ⎩
       −2a − 2c = 0,
Thus we have found two linearly independent solutions. The third solution must have the structure
  ⎛     ⎞ ⎛                      ⎞
     y1         a1 e−t + a2 te−t
                                                                                     r
                                                                              ke
  ⎝ y2 ⎠ = ⎝ b1 e−t + b2 te−t ⎠ ,
     y3         c1 e−t + c2 te−t
                                               l                          oc
where
                                         it. n
       ⎛    ⎞ ⎛                              ⎞
                                        e U
         y       (−a1 + a2 )e−t − a2 te−t
    d ⎝ 1⎠ ⎝
                 (−b1 + b2 )e−t − b2 te−t ⎠ ,
                                      ov F
         y2  =
    dt                              m PD
         y3     (−c1 + c2 )e−t e−t − c2 te−t
and
                                  re h
   ⎛          ⎞⎛     ⎞ ⎛                                    ⎞
                                to atc
                                                           26
Calculus 4c-3                                                                       Homogeneous systems of linear differential equations
The matrix is an upper triangular matrix, so it follows immediately by inspection that the two
eigenvalues λ = ±1 both have multiplicity 2. It also follows immediately that y 4 and y3 must have
the simplified structure
                                                                                                            r
     y1
                                                                                                      ke
  ⎜ y2 ⎟ ⎜ b1 et +b2 tet +b3 e−t +b4 te−t ⎟
  ⎜     ⎟ ⎜                                   ⎟.
  ⎝ y3 ⎠ = ⎝                  c3 e−t +c4 te−t ⎠
                                                                                                 oc
     y4                                 ke−t
                                               l
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
        The Wake
                     y ed
                  Buess
.QYURGGF'PIKPGU/GFKWOURGGF'PIKPGU6WTDQEJCTIGTU2TQRGNNGTU2TQRWNUKQP2CEMCIGU2TKOG5GTX
        6JGFGUKIPQHGEQHTKGPFN[OCTKPGRQYGTCPFRTQRWNUKQPUQNWVKQPUKUETWEKCNHQT/#0&KGUGN6WTDQ
        2QYGTEQORGVGPEKGUCTGQHHGTGFYKVJVJGYQTNFoUNCTIGUVGPIKPGRTQITCOOGsJCXKPIQWVRWVUURCPPKPI
        HTQOVQM9RGTGPIKPG)GVWRHTQPV
        (KPFQWVOQTGCVYYYOCPFKGUGNVWTDQEQO
Since
        ⎛   ⎞ ⎛                                                     ⎞
         y1       (a1 +a2 )et +a2 tet +(−a3 +a4 )e−t −a4 te−t
       ⎜    ⎟   ⎜
    d ⎜ y2 ⎟ ⎜ (b1 +b2 )et +b2 tet +(−b3 +b4 )e−t −b4 te−t          ⎟
              =                                                     ⎟
    dt ⎝ y3 ⎠ ⎝                         (−c3 +c4 )e−t −c4 te−t      ⎠
         y4                                            −ke−t
and
⎛               ⎞⎛              ⎞     ⎛                                                                    ⎞
  1     1  1  1     y1              (a1 +b1 )et +(a2 +b2 )tet +(a3 +b3 +c3 +k)e−t e−t +(a4 +b4 + c4 )te−t
⎜0      1  2  1⎟  ⎜ y2          ⎟ ⎜                         b1 et +b2 tet +(b3 +2c3 +k)e−t +(b4 +2c4 )te−t ⎟
⎜               ⎟⎜              ⎟=⎜                                                                        ⎟,
⎝0      0 −1  1 ⎠ ⎝ y3          ⎠ ⎝                                                  (−c3 +k)e−t −c4 te−t ⎠
  0     0  0 −1     y4                                                                             −ke−t
we conclude by identifying the coefficients that
                             
      a 1 + b 1 = a1 + a2 ,      a2 + b 2 = a 2 ,
                                                                                        r
            b1 = b 1 + b 2 ,          b2 = b 2 ,
                                                                                    ke
and
                                                                              oc
   ⎧                                             ⎧
   ⎨ a3 + b3 + c3 + k = −a3 + a4 ,               ⎨ a4 + b4 + c4 = −a4 ,
                                               l
                                         it. n
         b3 + 2c3 + k = −b3 + b4 ,                     b4 + 2c4 = −b4 ,
   ⎩                                             ⎩
                                        e U
              −c3 + k = −c3 + c4 ,                         −c4 = −c4 .
                                      ov F
It follows immediately from these equations that
                                    m PD
   b2 = 0,       b4 = −c4 = −k,           b 1 = a2 .
                                  re h
   ⎧
   ⎨ b3 + c3 = −2a3 + a4 − k,
                             se e B
hence
                        lic y
   b3 + c3 = −k,       a4 = 0 = a3 ,          thus c3 = −k − b3 .
                      a b
                     y ed
   a3 = a4 = 0,    b 1 = a2 ,       b2 = 0,   b4 = −k,   c3 = −k − b3 ,   c4 = k.
The complete solution is
                  oc
   ⎛    ⎞       ⎛                           ⎞
     y1                  a1 et + a2 tet
                Pr
   ⎜ y2 ⎟       ⎜      t        −t       −t ⎟
   ⎜    ⎟ = ⎜ a2 e + b3 e −t − kte −t ⎟
   ⎝ y3 ⎠       ⎝ (−k − b3 )e + kte ⎠
     y4                      ke−t
                   ⎛ t⎞            ⎛ t⎞         ⎛       ⎞  ⎛                        ⎞
                      e               te            0          0
                   ⎜ 0 ⎟           ⎜ et ⎟       ⎜ e−t ⎟    ⎜ −te−t                  ⎟
            = a1 ⎜        ⎟        ⎜     ⎟      ⎜       ⎟  ⎜
                   ⎝ 0 ⎠ + a2 ⎝ 0 ⎠ + b3 ⎝ −e−t ⎠ + k ⎝ (t − 1)e−t
                                                                                    ⎟
                                                                                    ⎠
                      0                0            0         e−t
                ⎛ t                              ⎞ ⎛     ⎞
                   e tet         0         0          a1
                ⎜ 0 et         e −t
                                         −te −t  ⎟ ⎜ a2 ⎟
            = ⎜ ⎝ 0 0 −e−t (t − 1)e−t ⎠ ⎝ b3 ⎠ ,
                                                 ⎟⎜      ⎟
0 0 0 e−t k
                                                             28
Calculus 4c-3                                                         Homogeneous systems of linear differential equations
                                                                                          r
                                                                                         ke
   (1 − λ, 1)
                                                                                 oc
[first row in the matrix A − λI].
                                               l
                                         it. n
If λ1 = −1, then e.g. v1 = (1, −2)T .
                                        e U
If λ3 = 3, then e.g. v2 = (1, 2)T .
The complete solution is
                                      ov F
                                    m PD
                                              −t                            
       x1               1      −t        1   3t        e           e3t          c1
              = c1            e + c2        e =
                                                      −2e−t        2e3t
                                  re h
       x2              −2                2                                      c2
                                       
                                to atc
                       c1 e−t + c2 e3t
              =                           ,    t ∈ R,
                     −2c1 e−t + 3c2 e3t
                             se e B
where c1 and c2 are arbitrary constants, and where we have indicated three equivalent results.
                           en W
                                                             T
                        lic y
                                         dx         dx1 dx2
Example 1.15 Given x = (x1 , x2 )T ,        =          ,           , and
                      a b
                                         dt          dt dt
                     y ed
                       
             −7     2
                  Buess
   A=                       .
             −36   10
                  oc
    dx
       = A x,       t ∈ R,
    dt
for which x(0) = (1, 5)T .
                                                          29
Calculus 4c-3                                                    Homogeneous systems of linear differential equations
We get for t = 0,
                                  
     1            1       2     c1 + 2c2
          = c1      + c2    =              ,
     5            4       9    4c1 + 9c2
hence c1 = −1 and c2 = 1.
The particular solution is then given by
                             
     x1 (t)        −et + 2e2t
             =                    ,    t ∈ R.
                                                                                       r
     x2 (t)        −4et + 9e2t
                                                                                  ke
                                               l                           oc
                                         it. n
Example 1.16 Find the complete solution of the homogeneous system
                                        e U
                          
   d   x1      −3 1         x1
                                      ov F
           =                     ,     t ∈ R.
  dt x2        −1 −3        x2      m PD
                                  re h
                      
    −3 − λ       1    
                       = (λ + 3)2 + 1
    −1       −3 − λ 
                             se e B
                                                      
                      a b
              1        1         0               1              0
   α + iβ =       =        +i        ,    α=          , β=          .
                     y ed
              i        0         1               0              1
                  Buess
   Φ(t)    = eat cos ωt(α β) + eat sin ωt(−β α) = e−3t cos t                   + e−3t sin t
                                                                     0 1                          −1 0
                                  
                Pr
                      cos t sin t
           = e−3t                    .
                     − sin t cos t
The complete solution is then
                                        −3t                        
     x1 (t)             cos t sin t     c1     e (c1 cos t + c2 sin t)
              = e−3t                        =                               ,
     x2 (t)            − sin t cos t    c2    e−3t (−c1 sin t + c2 cos t)
                                                         30
Calculus 4c-3                                                   Homogeneous systems of linear differential equations
Once the characteristic polynomial has been found, there are several ways to continue. We shall here
give some variants.
                                                                                       r
First variant. The eigenvalue method. The eigenvector corresponding to an eigenvalue λ is a
                                                                                  ke
cross vector to (1 − λ, 3).
                                                                              oc
If λ1 = −1, then we e.g. get v1 = (3, −2)T .
If λ2 = 7, then we e.g. get v2 = (1, 2)T .
                                               l
                                         it. n
                                        e U
The complete solution is
                                                                 
                                      ov F
     x1           3               1           3e−t       e7t         c1
                        e−t + c2     e7t =
     x2
          = c1
                 −2               2
                                    m PD     −2e−t       2e7t        c2
                                                                              ,   t ∈ R,
                                  re h
Second variant. Discussion of the structure of the solution. The solution must necessarily
have the structure
          −t             
      x1        ae + be7t
           =                  ,
      x2        ce−t + de7t
and
                                                                     
       1 3        ae−t + be7t                (a + 3c)e−t + (b + 3d)e7t
                                    =                                         .
       4 5        ce−t + de7t               (4a + 5c)e−t + (4b + 5b)e7t
Now, e−t and e7t are linearly independent, so we get by an identification of the coefficients that
                                                                                           r
                                                                                       ke
                            
     −a = a + 3c,               7b = b + 3d,
                                                                                   oc
                        og
     −c = 4a + 3c,              7d = 4b + 5b,
                                               l
                                         it. n
hence 2a + 3c = 0 and 2b = d.
                                        e U
It follows that we may choose a = 3, c = −2, and b = 1, d = 2, and then we obtain the complete
                                      ov F
solution
                                    m PD
                                                      
       x1               3             1      3e−t   e7t     c1
            = c1 e−t        + c2 e7t    =                        , t ∈ R,
                                  re h
       x2              −2             2     −2e−t 2e7t      c2
                                to atc
  ⎪
  ⎨ dx1 = x1 + 3x2 ,             1 dx1  1
                       dvs. x2 =       − x1 ,
                        lic y
      dt                         3 dt   3
  ⎪  dx2
                      a b
  ⎩      = 4x1 + 5x2 .
      dt
                     y ed
Here we eliminate x2 ,
                  Buess
                                                    
    dx2   1 d2 x1   1 dx1               5 dx1      5
        =         −       = 4x1 + 5x2 =       + 4−     x1 ,
                  oc
     dt   3 dt2     3 dt                3 dt       3
                Pr
hence by a reduction,
    d2 x1    dx1
        2
          −6     − 7x1 = 0.
     dt       dt
The characteristic equation R2 − 6R − 7 = 0 has the roots R = −1 and R = 7, so
x1 = ae−t + be7t ,
                                                               32
Calculus 4c-3                                                       Homogeneous systems of linear differential equations
            a
If we write c1 =and c2 = b, the complete solution is
            3
                                                      
     x1        ae−t + be7t             −t    3          7t  1
         =                      = c 1 e          + c 2 e       .
     x2     − 23 ae−t + 2be7t               −2              2
                                                                                         r
                                                                                  ke
     1
Here   can be built into the arbitrary constants, so the complete solution is
                                                                              oc
     8
                                                
                                               l
                                         it. n
     x1         6e−t + 2e7t −3e−t + 3e7t          c1
                                        e U
          =                                            .
     x2        −4e−t + 4e7t 2e−t + 6e7t           c2
                                      ov F
                                    m PD
Fifth variant. (Sketch). It is also to find the exponential matrix by using its structure
                                  re h
    d
       exp(At) = A exp(At)
                           en W
    dt
                        lic y
   A2 − 6A − 7I = 0,          dvs. A2 = 6A + 7I.
                     y ed
                  Buess
However, if one does not use some clever calculational tricks, one may easily end up in a mess of
formulæ, so this variant is not given here in all its details.
                  oc
                Pr
thus λ = 5 or λ = −1.
                                                           33
Calculus 4c-3                                                  Homogeneous systems of linear differential equations
                                                                                  r
                                                                                 ke
First we find the   eigenvalues of the matrix:
                  
                                                                             oc
    1−λ     3     
                   = (λ−1)(λ−2)−12 = λ2 −3λ−10 = 0,
    4             
                                               l
            2−λ
                                         it. n
                                        e U
hence the eigenvalues are λ = −2 and λ = 5.
                                      ov F
If λ = −2, then v1 = (1, 1) is an eigenvector.
                                    m PD
If λ = 5, then v2 = (3, 4) is an eigenvector.
The complete solution is
                                  re h
                                       −2t                      
                                to atc
      x1          −2t    1           5t  3      e       3e5t        c1
            = c1 e             + c2 e        =                               .
      x2                −1               4     −e−2t    4e5t        c2
                             se e B
                           en W
   d
                      a b
       x1      1 5        x1
           =                    .
  dt x2        1 −3       x2
                     y ed
                  Buess
                  
       1−λ        
                Pr
                                                       34
Calculus 4c-3                                                  Homogeneous systems of linear differential equations
                                                                                         r
                                                                                      ke
      ⎪
      ⎩
         dx2
             = x1 − 3x2 .
          dt
                                               l                          oc
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
                  oc
                Pr
                                                                                    r
                                                                               ke
          dx2
       x1 =   + 3x2 = (2c1 e2t − 4c2 e−4t ) + (3c1 e2t + 3c2 e−4t ) = 5c1 e2t − c2 e−4t .
           dt
                                                                           oc
   Summing up we get
                                               l
                                 2t                       
                                         it. n
       x1       5c1 e2t − c2 e−4t        5e     −e−4t         c1
                                        e U
            =                      =                                .
       x2        c1 e2t + c2 e−4t         e2t    e−4t         c2
                                      ov F
                                    m PD
3) The exponential matrix. The characteristic polynomial is
       (λ + 1)2 − 9.
                                  re h
                                to atc
                                                        1
               = e−t               B2n t2n +                   B2n+1 t2n+1
                      a b
                        n=0
                            (2n)!               n=0
                                                    (2n + 1)!
                     y ed
                      ∞                     ∞
                                                             
                         (3t)2n         1  (3t)2n+1
                   −t
                  Buess
               = e                  I+                     B
                        n=0
                             (2n)!       3 n=0 (2n + 1)!
                                                   
                                      1
                  oc
                   −t
               = e      cosh(3t)I + sinh(3t)B
                                      3
                                                                   
                Pr
                   −t               1   0        1             2 5
               = e      cosh(3t)              + sinh(3t)
                                    0 1          3             1 −2
                                                                         
                 1 −t 3 cosh 3t + 2 sinh 3t               5 sinh 3t
               =    e
                 3               sinh 3t            3 cosh 3t − 2 sinh 3t
                         3t                                                       
                 1 −t 3e +3e +2e −2e−3t
                                    −3t       3t
                                                                  5e3t − 5e−3t
               =    e
                 6                 e3t −e−3t              3e3t +3e−3t −2e3t +2e−3t
                         3t −3t                        
                 1 −t 5e +e               5e3t −5e−3t
               =    e       3t    −3t
                 6         e −e            e3t +5e−3t
                     2t −4t                        
                 1 5e +e             5e2t −5e−4t
               =                                      .
                 6     e2t −e−4t      e2t +5e−4t
                                                         36
Calculus 4c-3                                                    Homogeneous systems of linear differential equations
We shall here only apply the eigenvalue method, even if other methods may also be applied.
                                                                                  r
The characteristic polynomial
                                                                              ke
                    
    4−λ             
                                                                          oc
              3      = λ2 − 25
    3      −4 − λ 
                                               l
                                         it. n
                                        e U
has the roots λ = ±5.
                                      ov F
If λ = 5, then                      m PD
                                                 
                4−5       3                  −1 3
    A − λI =                         =                  ,
                 3      −4 − 5               3 −9
                                  re h
                                to atc
                                         
                 4+5       3           9 3
                           en W
    A − λI =                       =          ,
                   3     −4 + 5        3 1
                        lic y
                                     5t                 
                                                    e−5t
                  Buess
                   3                1        3e             c1
   x(t) = c1 e5t       + c2 e−5t        =                        ,
                   1               −3        e5t −3e−5t     c2
                  oc
It follows from
                  
     1−λ      2   
                   = (1−λ)(8−λ)+6 = λ2 −9λ+14 = (λ−7)(λ−2),
     −3 8−λ       
                                                            37
Calculus 4c-3                                                  Homogeneous systems of linear differential equations
                                                                                 r
           =                  .
                                                                             ke
  dt x2        8 2      x2
                                                                        oc
The characteristic equation is
                                               l
                                         it. n
                 
    4−λ     6 
                                        e U
                   = (λ−4)(λ−2)−48 = λ2 −6λ−40 = (λ−3)2 − 72 = 0.
    8     2−λ 
                                      ov F
                                    m PD
We get the two eigenvalues
               
                                  re h
                   10,
  λ=3±7=
                                to atc
                  −4.
                             se e B
An eigenvector corresponding to λ = 10 is a cross vector to (4 − 10, 6)T = (−6, 6)T , e.g. (1, 1).
An eigenvector corresponding to λ = −4 is a cross vector to (4 − (−4), 6) T = (8, 6)T , e.g. (3, −4).
                           en W
     x1 (t)         1                 3
              = c1       e10t + c2        e−4t =                        ,
     x2 (t)         1                −4            c1 e10t − 4c2 e−4t
                     y ed
                  Buess
        1 2
  A=            .
        3 −4
has the simple roots λ = 2 and λ = −5. Then we have two methods:
                                                       38
Calculus 4c-3                                                          Homogeneous systems of linear differential equations
   where
                                     
                              −1  2
       B = A − 2I =
                               3 −6
   and
                                                            
                    −1  2          −1  2                 7 −14
       B2 =                                    =                     = −7B.
                     3 −6           3 −6               −21  42
                                                                                        r
                                                ∞                        ∞
                                                                              (−7)n−1 n
                                                                                    ke
                         2t               2t        1 n n         2t
       exp(At)       = e exp(Bt) = e         I+        B t     =e      I+            t ·B
                                                    n!                           n!
                                                                                oc
                                                n=1                       n=1
                                    ∞
                                                                             
                                  1 1                          1 −7t
                                               l
                         2t                     n       2t
                              I−                             I − (e     − 1)B
                                         it. n
                     = e                   (−7t) B = e
                                  7 n=1 n!                      7
                                        e U
                                                        
                              6e2t + e−5t 2e2t − 2e−5t
                                      ov F
                       1
                     =                                     .
                             3e2t − 3e−5t e2t + 6e−5t
                       7
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
                  oc
                Pr
2) The eigenvalue method. We have previously found the eigenvalues λ = 2 and λ = −5. We
   choose an eigenvector as a cross vector to
(1 − λ, 2) or to (3, −4 − λ).
   Now,
                                                                   
                                                                                                     r
                                                                                                 ke
                     2  1                   −1      1       3     1
       Φ(0) =                     og Φ(0)         =                       ,
                     1 −3                           7       1    −2
                                               l                                              oc
   so the exponential matrix is
                                         it. n
                                2t                                                                                     
                                        e U
                                2e              e−5t             3  1             1   1        6e2t + e−5t   2e2t − 2e−5t
     exp(At) = Φ(t)Φ(0)−1 =                                                         =                                           .
                                      ov F
                                 e2tm PD      −3e−5t             1 −2             7   7       3e2t − 3e−5t   e2t + 6e−5t
                                  re h
     ⎛    ⎞ ⎛                  ⎞⎛       ⎞
       x1       1          1 1      x1
                             se e B
   d ⎝
       x2 ⎠ = ⎝ 1          1 1 ⎠ ⎝ x2 ⎠ .
  dt
       x3       1          1 1      x3
                           en W
                        lic y
1) The fumbling method. In the actual case this is the simplest variant. It follows immediately
   from the system of equations that
                  Buess
          dt    dt    dt
                Pr
x2 = x1 + 3c2 , x3 = x1 + 3c3 ,
   and
         d
            (x1 + x2 + x3 ) = 3(x1 + x2 + x3 ).
         dt
   We obtain from these equations that
                                                                  40
Calculus 4c-3                                                   Homogeneous systems of linear differential equations
   hence
      ⎧
      ⎨ x1 = c1 e3t −c2 −c3 ,
         x2 = c1 e3t +2c2 −c3 ,
      ⎩
         x3 = c1 e3t −c2 +2c3 ,
   and thus
      ⎛     ⎞          ⎛ ⎞        ⎛    ⎞     ⎛    ⎞
         x1              1          −1         −1
      ⎝ x2 ⎠ = c1 e−3t ⎝ 1 ⎠ + c2 ⎝ 2 ⎠ + c3 ⎝ −1 ⎠ .
         x3              1          −1         2
2) The standard method. The        eigenvalues of the matrix are the solutions of the equation
                                  
            1−λ  1     1          
                                  
      0 =  1   1−λ    1           = (1 − λ)3 + 2 − 3(1 − λ) = −λ3 + 3λ2 = −λ2 (λ − 3).
                                   
            1    1   1−λ          
                                                                                 r
   It follows that λ = 3 is a simple root and that λ = 0 is a double root. Since the matrix A is
                                                                             ke
   symmetric, its algebraic multiplicity is equal to its geometric multiplicity for λ = 0.
                                                                         oc
   Let y = (y1 , y2 , y3 ) be an eigenvector corresponding to the eigenvalue λ = 3, thus
                                               l
        ⎛    ⎞ ⎛                         ⎞
                                         it. n
                                        e U
          y1              y1 + y 2 + y 3
      3 ⎝ y2 ⎠ = ⎝ y1 + y 2 + y 2 ⎠ .
                                      ov F
          y3              y1 + y 2 + y 3
                                    m PD
   It follows immediately that y1 = y2 = y3 , so we may choose (1, 1, 1) as an eigenvector.
                                  re h
       y1 + y2 + y3 = 0,
                             se e B
   which describes a plane in space. We shall only choose two linearly independent vectors, the
   coordinates of which satisfy this condition. This may be done in several ways. If we e.g. choose
                           en W
   (1, −1, 0) and (1, 0, −1), then we get the complete solution
                     ⎛ ⎞         ⎛     ⎞      ⎛ ⎞
                        lic y
                       1            1           1
                      a b
       x(t) = c1 e3t ⎝ 1 ⎠ + c2 ⎝ −1 ⎠ + c3 ⎝ 0 ⎠ .
                     y ed
                       1            0           1
                  Buess
             1     1 1
     A=⎝1          1 1 ⎠ , A2 = 3A, . . . , An = 3n−1 A,
                Pr
             1     1 1
   so by insertion into the exponential series,
                   ∞
                                      ∞              
                      1 n n             1
                                                n−1 n
   exp(At) =             A t =I+               3   t    A
                  n=0
                      n!                n=1
                                            n!
                              ∞
                                               
                      1          1                      1
              = I+        1+         (3t) − 1 A = I + (e3t − 1)A
                                         n
                      3       n=1
                                  n!                     3
                  ⎛           ⎞      ⎛ 3t                     ⎞    ⎛ 3t                     ⎞
                     1 0 0              e − 1 e − 1 e3t − 1
                                                  3t
                                                                    e + 2 e3t − 1 e3t − 1
                                   1                             1
              = ⎝ 0 1 0 ⎠ + ⎝ e3t − 1 e3t − 1 e3t − 1 ⎠ = ⎝ e3t − 1 e3t + 2 e3t − 1 ⎠ .
                                   3     3t       3t       3t    3
                     0 0 1              e −1 e −1 e −1              e3t − 1 e3t − 1 e3t + 2
                                                        41
Calculus 4c-3                                                Homogeneous systems of linear differential equations
   The complete solution is all linear combinations of the columns of the exponential matrix,
                ⎛ 3t      ⎞       ⎛ 3t       ⎞     ⎛ 3t       ⎞
                  e +2               e −1             e −1
      x(t) = c1 ⎝ e3t − 1 ⎠ + c2 ⎝ e3t + 2 ⎠ + c3 ⎝ e3t − 1 ⎠ .
                  e3t − 1            e3t − 1          e3t + 2
   Remark 1.1 The three solutions are of course equivalent, even though the constants do not
   correspond here.
                                                                              r
                                                                          ke
       d3 x   d2 x
            −3 2 =0
                                                                      oc
       dt 3   dt
                                               l
                                         it. n
   has the complete solution x(t), where
                                        e U
        x(t) =  c1 + c2 t + c3 e3t ,
                                      ov F
         
        x (t) =     c2 + 3c3 e3t ,  m PD
         
        x (t) =            9c3 e3t .
                                  re h
        (j)
       xi (0) = δij        for i, j = 0, 1, 2.
                             se e B
   If i = 0, then
        ⎧                              ⎧
                           en W
        ⎨ c1 + c3 = 1,                 ⎨ c1 = 1,
          c2 + 3c3 = 0,       thus       c2 = 0,
                        lic y
        ⎩                              ⎩
                      a b
                9c3 = 0,                 c3 = 0,
                     y ed
   hence x0 (t) = 1.
                  Buess
   If i = 1, then
        ⎧                              ⎧
        ⎨ c1 + c3 = 0,                 ⎨ c1 = 0,
                  oc
          c2 + 3c3 = 1,       thus       c2 = 1,
        ⎩                              ⎩
                Pr
9c3 = 0, c3 = 0,
   hence x1 (t) = t.
   If i = 2, then
        ⎧                              ⎧
        ⎨ c1 + c3 = 0,                 ⎨ c1 = −1/9,
          c2 + 3c3 = 0,       thus       c2 = −1/3,
        ⎩                              ⎩
                9c3 = 1,                 c3 = 1/9,
   hence
                 1 1   1
       x2 (t) = − − t + e3t .
                 9 3   9
                                                      42
Calculus 4c-3                                               Homogeneous systems of linear differential equations
Then by Caley-Hamilton’s theorem A2 = 3A, and we get from the above that the exponential
matrix is
                                                                   
                                        2             1 1      1 3t
   exp(At) = x0 (t)I + x1 (t)A + x2 (t)A = I + tA + − − t + e         3A
                                                      9 3      9
                                                       ⎛ 3t                     ⎞
                                                        e + 2 e3t − 1 e3t − 1
                  1 3t            1                  1
            = I + (e − 1)A = {3I + (e3t − 1)A} = ⎝ e3t − 1 e3t + 2 e3t − 1 ⎠ .
                  3               3                  3
                                                        e3t − 1 e3t − 1 e3t + 2
The complete solution of the differential equation is composed of all linear combinations of the
columns, i.e.
              ⎛ 3t      ⎞      ⎛ 3t      ⎞      ⎛ 3t      ⎞
                e +2             e −1             e −1
    x(t) = c1 ⎝ e3t − 1 ⎠ + c2 ⎝ e3t + 2 ⎠ + c3 ⎝ e3t − 1 ⎠ ,
                e3t − 1          e3t − 1          e3t + 2
                                                                             r
                                                                         ke
where c1 , c2 , c3 are arbitrary constants.
                                               l                     oc
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                                                                                          r
         2      2
                                                                                     ke
                                            √
                                                                                 oc
                                     1        3
1) Complex eigenvectors. If λ = − + i           , then we get the matrix equation
                                     2       2
                                               l
                                         it. n
                               ⎛         √                 ⎞
                                        e U
                              1
                                    −  i
                                           3
                                                    −1              
         −λ    −1       w1     ⎜                       √ ⎟      w1       0
                              =⎝ 2        2
                                      ov F
          1 −1−λ        w2                                 ⎠ w      =
                                                                         0
                                                                             .
                                    m PD          1      3       2
                                      1        − −i
                                                  2     2
                                  re h
    A solution is a cross vector of e.g. the first row,
                                to atc
                   √ 
             1        3     1               √
         +1, − i          = {(2, 1) − i(0, 3)},
                             se e B
             2       2      2
                           en W
                    2                √0                  1      3
                      a b
       v1 =                 −i                 for λ1 = − + i     .
                    1                  3                 2     2
                     y ed
    Analogously we get
                  Buess
                                                          √
              2        0
                       √                                 1      3
                                               for λ2 = − − i
                  oc
      v2 =        +i                                              .
              1          3                               2     2
                Pr
                                                                 44
Calculus 4c-3                                                          Inhomogeneous systems of linear differential equations
We obtain the real complete solution by choosing c̃2 = c̃1 , hence with new (real) arbitrary constants
                                                                                          r
                                                                                      ke
   we get the complete real solution of the homogeneous equation
                         ⎛               √           ⎞             ⎛                √           ⎞
                                                                                 oc
                                 2 cos
                                          3
                                            t                                 2 sin
                                                                                      3
                                                                                        t
        x1               ⎜                     √ ⎟            −t/2 ⎜                      √ ⎟
                                               l
              = c1 e−t/2 ⎝     √         2                                √          2
                                         it. n
        x2                             √             ⎠ + c2 e      ⎝              √             ⎠.
                                 3               3                          3               3
                                        e U
                           cos     t + 3 · sin     t                  sin     t − 3 · cos     t
                                2               2                          2               2
                                      ov F                                    √
                                    m PD
                                                                         1      3
2) Alternatively one may only use real calculations. In fact, since λ = − ± i     , the complete
                                                                         2     2
                                  re h
                       ⎛        √               √ ⎞
                       a  cos
                                  3
                                    t + a   sin
                                                   3
                                                     t⎟
                             se e B
                  −t/2 ⎜
         x1               1               2
               =e      ⎝        √2              √2     ⎠.
         x2                       3               3
                         b1 cos     t + b2 sin       t
                           en W
                                 2               2
   We know that we have two arbitrary constants in the final solution, and here we have got four
                        lic y
                      a b
   equation. Now,
                           ⎛            √          √      √                √ ⎞
                  Buess
                                   1       3           3         3      1        3
                         ⎜ − a1 +          a2 cos      t+ −      a1 − a2 sin      t⎟
       d   x1              ⎜
                     −t/2 ⎜ 
                                   2      2           2        2        2       2    ⎟
                                          √         √       √              √      ⎟
                  oc
                =e         ⎜
      dt x2                ⎝        1       3           3       3      1        3 ⎟  ⎠
                                  − b1 +      b2 cos      + −     b1 − b2 sin     t
                Pr
2 2 2 2 2 2
   and
                                          ⎛               √                √         ⎞
                                               −b1 cos
                                                             3
                                                               t − b   sin
                                                                            3
                                                                              t
           0 −1          x1               ⎜               √2
                                                                     2
                                                                           2 √ ⎟
                                  = e−t/2 ⎝                                          ⎠,
           1 −1          x2                                 3                    3
                                            (a1 −b1 ) cos     t+(a2 −b2 ) sin      t
                                                           2                    2
   so it follows by an identification of the coefficients of the first row that
                √                                 √
          1       3                          1      3
       − a1 +       a2 = −b1 , thus b1 = a1 −         a2 ,
          2      2                           2     2
                                                                45
Calculus 4c-3                                                       Inhomogeneous systems of linear differential equations
        √                                 √
          3     1                           3      1
       −    a1 − a2 = −b2 , thus b2 =         a1 + a2 .
         2      2                          2       2
   We shall not calculate the latter two equations from the second row. One may if necessary use
   them as a control.
   Since b1 and b2 are uniquely determined by a1 and a2 , the complete solution of the homogeneous
   equation with a1 and a2 as the arbitrary constants becomes
                         ⎛              √               ⎞            ⎛              √             ⎞
                                  cos
                                         3
                                            t                                   sin
                                                                                      3
                                                                                        t
         x1              ⎜       √      2√        √ ⎟           −t/2 ⎜                      √ ⎟
         x2
              = a1 e−t/2 ⎝                              ⎠ + a2 e     ⎝ √        √ 2               ⎠.
                           1       3       3        3                     3       3      1    3
                             cos     t+       sin     t                −    cos     t + sin     t
                           2      2       2        2                     2       2       2   2
Remark 2.1 When we compare with the solution of (1), it follows that a1 = 2c1 og a2 = 2c2 .
                                                                                       r
                                                                                   ke
   Remark 2.2 Since
           √     √      √           √                         √   √           √          √        
                                                                              oc
     1      3     3       3            3    π                 3       3    1     3            3    π
       cos    t+    sin     t = cos      t−     ,          −    cos     t + sin    t = sin      t−     ,
                                               l
                                         it. n
     2     2     2       2            2     3                2       2     2    2            2     3
                                        e U
   the complete solution can be written
                         ⎛          √
                                      ov F   ⎞            ⎛          √        ⎞
                                    m PD
                                      3                                3
                             cos      t                       sin      t
         x1              ⎜     √ 2         ⎟            ⎜     √ 2         ⎟
              = a1 e−t/2 ⎜                   ⎟ + a2 e−t/2 ⎜                   ⎟
                                                                           π ⎠.
                                  re h
         x2              ⎝         3      π  ⎠            ⎝         3
                                     t−                               t−
                                to atc
                           cos                              sin
                                 2        3                       2        3
                             se e B
3) Alternatively we may use the “fumbling method”. Expanding the homogeneous system of
   equations we get
                        lic y
      ⎧
                      a b
      ⎪
      ⎪   dx1                       dx1
      ⎨ dt = −x2 ,
      ⎪                 thus x2 = −     ,
                     y ed
                                     dt
       ⎪
                  Buess
       ⎪
       ⎪ dx2
       ⎩     = x1 − x2 .
          dt
                  oc
           d2 x1        dx1
       −         = x1 +     ,
            dt2          dt
   thus
       d2 x1   dx1                                 dx1
           2
             +     + x1 = 0      og       x2 = −       .
        dt      dt                                  dt
                                                               √
                                      2                    1     3
   The characteristic polynomial R +R+1 has the roots R = − ±i     (the same as the eigenvalues),
                                                           2    2
   so the complete solution is
                             √                    √
                    −t/2       3         −t/2       3
       x1 (t) = a1 e     cos     t + a2 e     sin     t.
                              2                    2
                                                           46
Calculus 4c-3                                               Inhomogeneous systems of linear differential equations
The inhomogeneous equation. Even if one should know a fundamental matrix, it cannot be rec-
ommended to apply the formal solution formula. This would give us the following difficult expression,
               ⎛              √                            √             ⎞
                               3                             3
               ⎜          cos    t                     sin     t
  Φ(t) = e−t/2 ⎝       √      √
                              2        √       √       √ 2         √ ⎟   ⎠.
                 1       3      3        3       3        3     1    3
                   cos     t+      sin     t −     cos      t+ sin     t
                 2      2      2        2       2        2      2   2
                                                                               r
                                                                           ke
Instead we guess a particular solution of the form
                                
                                                                       oc
      x1       a1 cos t + a2 sin t
           =                         .
      x2       b1 cos t + b2 sin t
                                               l
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
                  oc
                Pr
Now
                                                 
    d        x1               a2 cos t − a1 sin t
                      =
    dt       x2               b2 cos t − b1 sin t
and
                                                                            
         0    −1          x1                     −b1 cos t − b2 sin t
                                   =                                                 ,
         1    −1          x2               (a1 − b1 ) cos t + (a2 − b2 ) sin t
hence by insertion,
                                                                          
    d   x1       0 −1    x1          (a2 +b1 ) cos t+(−a1 +b2 ) sin t        cos t
                             =                                            =          .
   dt x2         1 −1    x2     (b2 −a1 +b1 ) cos t+(−b1 −a2 +b2 ) sin t     sin t
                                                                                                        r
                                                                                                    ke
      a2 + b1 = 1,                            −a1 + b2 = 0,
                                                                                               oc
      b2 − a1 + b1 = 0,                       −b1 − a2 + b2 = 1,
                                                  l
                                            it. n
                                           e U
hence b1 = 0, a2 = 1 and b2 = a1 = 2.
                                         ov F
We get the particular solution         m PD
   0                        
     x1        2 cos t + sin t
          =                      .
     x02           2 sin t
                                     re h
                                   to atc
Finally, the complete solution is obtained by adding all solutions of the homogeneous equation found
previously. Since this will give us a mess of formulæ, we shall not produce it here).
                                se e B
                              en W
   d   x1      −3 4       x1         2t
                         a b
           =                    +         .
  dt x2        −2 1       x2          t
                        y ed
                     Buess
                      = (λ + 3)(λ − 1) + 8 = λ2 + 2λ + 5 = (λ + 1)2 + 4,
      −2      1−λ 
                   Pr
It follows from the first row, (−2 ∓ 2i, 4) = 2(−{1 ± i}, 2) that
                                                                          48
Calculus 4c-3                                                   Inhomogeneous systems of linear differential equations
                                                                                   r
                                                                               ke
4) This fundamental matrix looks very complicated, so it does not invite one to apply the solution
                                                                            oc
   formula.
                                               l
                                         it. n
                                        e U
   Instead we guess a particular solution of the form
                                            
                                      ov F
         x1       at + b               d
                                    m PD   x1         a
              =               med                =      .
         x2       ct + d               dt x2          c
                                  re h
                                                                     
           2t         d   x1      −3 4        x1       a       −3 4        at + b
                              −                            −
                             se e B
                    =                              =
            t         dt x2       −2 1        x2       c       −2 1        ct + d
                                                                                   
                        a     (−3a + 4c)t + (−3b + 4d)       (3a − 4c)t + (a + 3b − 4d)
                           en W
                    =      −                             =                                .
                        c       (−2a + c)t + (−2b + d)        (2a − c)t + (2b + c − d)
                        lic y
                      a b
       3a − 4c = 2,      a + 3b − 4d = 0,   2a − c = 1,   2b + c − d = 0.
                  Buess
        3a − 4c = 2,                  a = 2/5
                          that
                Pr
2a − c = 1, c = −1/5.
   Then by a rearrangement and insertion into the second and the fourth equation,
                                               
        3b − 4d = −a = −2/5,                       b = 6/25,
                              ,      hence
        2b − d = −c = 1/5,                         d = 7/25.
                                                          49
Calculus 4c-3                                                                Inhomogeneous systems of linear differential equations
5) It follows from the linearity that the complete solution is given by a particular solution to which
   we add all the solutions of the corresponding homogeneous system,
                                                             
           x1           1      10t + 6                       c1
                    =                          + Φ(t)
           x2           25     −5t + 7                       c2
                                                                                                          
                        1      10t + 6             −t            2 cos t             −t          2 sin 2t
                    =                          +c1 e                             +c2 e                             ,
                        25     −5t + 7                       cos 2t−sin 2t                    cos 2t+ sin 2t
6) Alternatives
   a) Real calculations of the solutions of the homogeneous equation. The eigenvalues
      λ = −1 ± 2i are complex conjugated, so the structure of the solution of the homogeneous
      equation is given by
                                                                                                      r
                                              
                                                                                                ke
            x1            a1 cos 2t + a2 sin 2t
                  = e−t                            .
                                                                                          oc
            x2             b1 cos 2t + b2 sin 2t
                                               l
                                         it. n
       We get by a calculation,
                                        e U
                                                                 
          d    x1       −t   (−a1 +2a2 ) cos 2t+(−2a1 −a2 ) sin 2t
                                      ov F
                    =e                                                ,
          dt x2               (−b1 +2b2 ) cos 2t+(−2b1 −b2 ) sin 2t
                                    m PD
       and
                                  re h
                                                                                             
                −3 4
                                to atc
                                                  dvs.   a 2 = b1 + b2 .
                  Buess
       We see that the four equations are consistent, and that the homogeneous equation has the
       complete solution
                                                            
                  oc
                                                                        
                               cos 2t+sin 2t                −cos 2t+sin 2t
                   = b1 e−t                     +b2 e−t                      ,
                                   cos 2t                        sin 2t
       corresponding to the fundamental matrix
                                                      
                     −t   cos 2t+sin 2t −cos 2t+sin 2t
          Φ1 (t) = e                                     .
                              cos 2t        sin 2t
       Notice that Φ1 (t) = Φ(t) found previously. However, the two different fundamental matrices
       are of course equivalent.
                                                                      50
Calculus 4c-3                                                   Inhomogeneous systems of linear differential equations
b) Direct calculation of the exponential matrix. Since λ = −1 ± 2i, the trick is to put
                                           
                           −2 4          −1 2
      B = A − Re λ · I =           =2            ,
                           −2 2          −1 1
   and as Im λ = ±2i, to aim at the cosine and the sine series. We first calculate
                                                 
                 −1 2       −1 2             −1 0
      B 2 = 22                       = 22               = −22 I,
                 −1 1       −1 1              0 −1
                                                                                   r
                                                                               ke
                     ∞
                         1 n n
               = e−t
                                                                          oc
                            B t .
                     n=0
                         n!
                                               l
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
                  oc
                RUN FASTER.
                  RUN LONGER..                                          READ MORE & PRE-ORDER TODAY
                     RUN EASIER…                                             WWW.GAITEYE.COM
We now divide the investigation into the cases of even and odd indices, and use that
   so
                          ∞
                                                 ∞
                                1                        1
        exp(At)   = e−t             B2n t2n + e−t             B2n t2n+1 B
                          n=0
                              (2n)!               n=0
                                                      (2n+1)!
                          ∞                     ∞
                              (−1)n 2n 2n             (−1)n 2n 2n+1
                  = e−t              2 t I + e−t             2 t    B
                          n=0
                               (2n)!             n=0
                                                     (2n+1)!
                        ∞                          ∞
                             (−1)n                        (−1)n            1
                  = e−t             (2t)2n I + e−t               (2t)2n+1 · B
                        n=0
                              (2n)!                 n=0
                                                         (2n+1)!           2
                                                        
                                                −1 2
                  = e−t cos 2tI + e−t sin 2t
                                                −1 1
                                                                                 r
                                                                                ke
                                                            
                     −t   cos 2t − sin 2t        2 sin 2t
                  = e                                          .
                                                                        oc
                               − sin 2t      cos 2t + sin 2t
                                               l
                                         it. n
   We note again that the fundamental matrix is different from both Φ(t) and Φ1 (t) found pre-
                                        e U
   viously.
                                      ov F
c) The fumbling method. We first expand the system,
                                    m PD
     
        dx1 /dt = −3x1 + 4x2 + 2t,
        dx2 /dt = −2x1 + x2 + t.
                                  re h
                                to atc
        d(4x2 )
                = −8x1 + 4x2 + 4t,
                     y ed
          dt
                  Buess
Then by a rearrangement,
        d2 x1    dx1
              +2     + 5x1 = 2t + 2.
         dt2      dt
   The characteristic equation R2 + 2R + 5 = 0 has the roots R = −1 ± 2i (the same as the
   eigenvalues in the other variants).
                                dx1         d2 x1
        x1 = at + b,     thus       = a and       = 0.
                                 dt          dt2
                                                         52
Calculus 4c-3                                                   Inhomogeneous systems of linear differential equations
Then by insertion,
Hence,
          2     6
   x1 =     t+    + c1 e−t cos 2t + c2 e−t sin 2t.
          5    25
Now,
    dx1  2
                                                                                    r
        = + (−c1 + 2c2 )e−t cos 2t + (−2c1 − c2 )e−t sin 2t,
                                                                               ke
     dt  5
                                                                           oc
so if we put this into (6), then
                                               l
                                         it. n
            dx1
   4x2    =     + 3x1 − 2t
                                        e U
             dt
            2
                                      ov F
          =   + (−c1 +2c2 )e−t cos 2t+(−2c1 −c2 )e−t sin 2t
                                    m PD
            5
                  6    18
                + t+       + 3c1 e−t cos 2t + 3c2 e−t sin 2t − 2t
                  5    25
                                  re h
              4    28
                                to atc
whence
         1     7    1    1                   1    1
                 + ( c1 + c2 )e−t cos 2t + (− c1 + c2 )e−t sin 2t.
                           en W
   x2 = − t +
         5    25    2    2                   2    2
                        lic y
             2        6
                                                                                              
                     y ed
    x1            5 t + 25           −t          cos 2t                −t            sin 2t
          =                    + c1 e     1                      + c2 e
    x2           − 15 t + 25
                          7
                                            cos 2t − 12 sin 2t                1           1
                                                                              2 cos 2t + 2 sin 2t
                                         2
                  Buess
                                                                                          
               1      10t + 6        −t         cos 2t                 sin 2t              c1
          =                     +e        1           1         1           1                   ,
              25 −5t + 7                  2 cos 2t − 2 sin 2t   2 cos 2t + 2 sin 2t        c2
                  oc
                                                          53
Calculus 4c-3                                                                    Inhomogeneous systems of linear differential equations
First solution. The eigenvalue method. The eigenvalues are the roots of the polynomial
                  
    1−λ      −1                                            √
                    = (λ − 1)(λ + 1) − 1 = λ2 − 2. dvs. λ = ± 2.
    −1     −1 − λ 
                                                        √          √
We may e.g. choose an eigenvector corresponding to λ = 2 as (1, 1 − 2).
                                                                                                        r
                                                                                                       ke
                                      √                √
An eigenvector corresponding to λ = − 2 is e.g. (1, 1 + 2).
                                                                                           oc
The complete solution of the homogeneous system of equation is
                                                   l
                                             it. n
                                              
                                            e U
                √        1√            √       1√
     x1           2t                  − 2t
          = c1 e                + c2 e               .
                       1− 2
                                          ov F
     x2                                      1+ 2
                                        m PD
Then we guess a particular solution of the form
                                
                                      re h
     x1        a cos 2t + b sin 2t
                                    to atc
          =                          .
     x2        c cos 2t + d sin 2t
                                 se e B
Now,
                                                       
    d                           2b cos 2t − 2a sin 2t
                               en W
              x1
                        =
    dt        x2                2d cos 2t − 2c sin 2t
                            lic y
                          a b
and
                                                                                          
                         y ed
c cos 2t + d sin 2t
   
      2b cos 2t − 2a sin 2t = (a − c + 2) cos 2t + (b − d) sin 2t,
                    Pr
     2b = a − c + 2,                   thus    − a + 2b + c = 2,
     −2a = b − d,                      thus   2a + b − d = 0,
     2d = −a − c,                      thus   a + c + 2d = 0,
     −2c = −b − d + 1,                 thus   b − 2c + d = 1.
b + c + d = 1,
                                                                            54
Calculus 4c-3                                               Inhomogeneous systems of linear differential equations
which together with the fourth equation implies c = 0. This reduces the equations to
   ⎧                              ⎧
   ⎨ −a + 2b = 2,                 ⎨ −a + 2b = 2,
      2a + b − d = 0,      hence      2a + 2b = 1,
   ⎩                              ⎩
           b + d = 1,                   b + d = 1,
thus
      1                5                    1
   a=− ,          b=     ,   c = 0,    d=     .
      3                6                    6
The complete solution is
         1                                                               
     x1        − 3 cos 2t + 56 sin 2t          √
                                                 2t     1√           √
                                                                    − 2t     1√
          =          1                  + c 1 e              + c 2 e              .
     x2              6 sin 2t                         1− 2                 1+ 2
                                                                               r
                                                                           ke
                                               l                      oc
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
                  oc
                Pr
Second solution. The “fumbling method”. We shall actually only find x 2 (t), so it would be
                                                                                       r
                                                                                   ke
reasonable to eliminate x1 (t). First we get from
                                                                              oc
      dx1                                dx2
          = x1 − x2 + 2 cos 2t,              = −x1 − x2 + sin 2t,
                                                 l
       dt                                 dt
                                           it. n
                                          e U
that
                                        ov F
                 dx1
      x1 = −         − x2 + sin 2t,   m PD
                  dt
which when put into the first equation gives
                                    re h
                                  to atc
          d2 x2   dx2              dx2
      −       2
                −     + 2 cos 2t =     − x2 + 2 cos 2t − x2 + sin 2t,
           dt      dt               dt
                               se e B
hence by a rearrangement,
                             en W
       d2 x2                                                dx2      1
(7)          − 2x2 = − sin 2t,         x2 (0) = 0    og         (0) = .
        dt2                                                  dt      3
                          lic y
                        a b
                 1
      x2 (t) =     sin 2t.
                  Pr
                 6
It is seen by inspection that it fulfils the initial conditions, and since the solution is unique, we have
solved the problem.
                                                            56
Calculus 4c-3                                                                Inhomogeneous systems of linear differential equations
Remark 2.3 In both cases the “fumbling method” is much easy to apply than the eigenvalue method.
                                                                                                  r
We first guess on a particular solution of the structure
                                                                                              ke
                                   
                                                                                             oc
     x1      −t   a cos 2t + b sin 2t
          =e                            .
     x2           c cos 2t + d sin 2t
                                                 l
                                           it. n
                                          e U
Since
                                                                    
                                        ov F
    d        x1        −t       (−a + 2b) cos 2t − (2a + b) sin 2t
                                      m PD
                      =e
    dt       x2                 (−c + 2d) cos 2t − (2c + d) sin 2t
                                    re h
and
                                                                                
                                  to atc
          0  1             x1                          c cos 2t + d sin 2t
                                    = e−t                                                ,
         −2 −2             x2                   −2(a + c) cos 2t − 2(b + d) sin 2t
                               se e B
we get from the system of differential equations and a multiplication with e t that
                             en W
   
      (−a+2b) cos 2t−(2a+b) sin 2t = c cos 2t+(d+1) sin 2t,
                          lic y
     −a + b = c,                                  thus   a − b + c = 0,
     −(2a + b) = d + 1,                           thus   − 2a − b − d = 1,
                    oc
−2a + b − 2c = 0,
     a + c = 0,                 thus c = −a,
     2a + d = −1,               thus 2a + d = −1,
     2a + c + 2d = 0,           thus a + 2d = 0,
                                                                      57
Calculus 4c-3                                                                Inhomogeneous systems of linear differential equations
hence
       1             2             2
   d=    ,     a=− ,          c= ,         b = 0,
       3             3             3
and a particular solution is
                                     
     x1       1          −2 cos 2t
           = e−t                          .
     x2       3       2 cos 2t + sin 2t
We still miss the complete solution of the corresponding homogeneous system of differential equations,
                                
   d     x1          0   1        x1
               =                       .
   dt x2            −2 −2         x2
This can of course be found in many ways.
1) The eigenvalue method. We have already found the eigenvalues λ = a ± iω = −1 ± i where
                                                                                                        r
                                                                                                   ke
   a = −1 and ω = 1. An eigenvector corresponding to λ = −1 + i is a cross vector to (1 − i, 1), e.g.
                                         
                                                                                             oc
              1                      1        0
      v=             = α + iβ =          +i       .
            −1 + i                 −1
                                               l
                                              1
                                         it. n
                                        e U
   A fundamental matrix is then given by
                                       
                                      ov F
                 Re e(a+iω)t (α + iβ) Im e(a+iω)t (α + iβ)
      Φ(t) =                        m PD
                = eat cos ωt(α β) + eat sin ωt(−β α)
                                                           
                                  re h
                               1 0                      0   1
                                to atc
                              cos t          sin t
                = e−t                                     .
                         − cos t − sin t cos t − sin t
                           en W
                                                 −t                           −t
             = e                           + c1 e                       + c2 e                     ,
        x2      3      2 cos 2t + sin 2t              − cos t − sin t              cos t − sin t
                     y ed
2) The exponential matrix. This is given by the formula (where we from the above have a = −1
   and ω = 1)
                  oc
                    
                Pr
                                 a               1
      exp(At) = eat cos ωt − sin ωt I + eat sin ωt · A
                                ω              ω           
              −t                   1 0          −t       0  1
          = e {cos t + sin t}               + e sin t
                                   0 1                  −2 −2
                                                
                   cos t + sin t       sin t
          = e−t                                    ,
                     −2 sin t      cos t − sin t
   hence
                                                                                                                 
           x1        1             −2 cos 2t                          cos t + sin t                         sin t
                    = e−t                                    −t
                                                        + c1 e                                 −t
                                                                                          + c2 e                            ,
           x2        3          2 cos 2t + sin 2t                       −2 sin t                        cos t − sin t
   where c1 and c2 are arbitrary constants.
                                                                      58
                                                   Calculus 4c-3                                                                                                  Inhomogeneous systems of linear differential equations
                                                   3) Real structure of the solution. Since λ = −1 ± i, the solution must necessarily have the
                                                      following structure
                                                                                           
                                                            x1            a1 cos t + a2 sin t
                                                                  = e−t                         .
                                                            x2            b1 cos t + b2 sin t
                                                      Then by a calculation,
                                                                                                                
                                                         d    x1             (−a1 + a2 ) cos t − (a1 + a2 ) sin t
                                                                   = e−t
                                                         dt x2                (−b1 + b2 ) cos t − (b1 + b2 ) sin t
                                                      and
                                                                                                                                                                            
                                                                  0  1                                  x1                                      b1 cos t + b2 sin t
                                                                                                                            = e−t                                                    .
                                                                 −2 −2                                  x2                              −2(a1 + b1 ) cos t − 2(a2 + b2 ) sin t
                                                                                                                                                                                              r
                                                      When we identify the coefficients we get
                                                                                                                                                                                         ke
                                                                                                                                                                                 oc
                                                            b1 = −a1 + a2 ,                                         b2 = −a1 − a2 ,
                                                                                                                                                360°
                                                                                                         l
                                                                                                   it. n
                                                      and (a little superfluous)
                                                                                                  e U                                                                                    .
                                                            −b1 + b2 = −2(a1 + b1 ),                                                2(a2 + b2 ) = b1 + b2 .
                                                                                                ov F
                                                                                              m PD
                                                                                                                                                thinking
                                                      We have thus eliminated b1 and b2 , hence the complete solution is
                                                                                                                                             
                                                                                            re h
                                                                   360°
                                                                                                                              .
                                                                            oc
                                                                   thinking
                                                                          Pr
                                                                                                                                            360°
                                                                                                                                            thinking                .
                                                                                                                                    Discover the truth at www.deloitte.ca/careers                                                               D
Discover the truth at www.deloitte.ca/careers © Deloitte & Touche LLP and affiliated entities.
   and
                dx1
       x2 =         = c1 e−t (− cos t − sin t) + c2 e−t (cos t − sin t),
                                                                                                     r
                 dt
                                                                                                 ke
   thus
                                                                                                oc
                                                                                   
          x1                           cos t                                sin t
                    = c1 e−t                             + c2 e−t                           .
                                               l
                                   − cos t − sin t                      cos t − sin t
                                         it. n
          x2
                                        e U
   The complete solution of the inhomogeneous system is
                                      ov F
                                 m PD                                                     
        x1      1          −2 cos 2t                      cos t                        sin t
             = e−t                         + c1 e−t                     + c2 e−t                   ,
        x2      3      2 cos 2t + sin 2t              − cos t − sin t              cos t − sin t
                                  re h
  dx      1  1               1
      =          x(t) +          ,                       t ≥ 0.
   dt     0 −2             −4
                        lic y
                      a b
       1−λ        1    
                        = (λ − 1)(λ + 2) = 0.
       0       −2 − λ 
                                                                          60
Calculus 4c-3                                                                         Inhomogeneous systems of linear differential equations
                                                                                                         r
                                                                                                     ke
   Alternatively we may apply the “fumbling method”. We expand the system,
      ⎧
      ⎨ dx1 /dt = x1 + x2 + 1, thus dx1 /dt − x1 = x2 + 1,
                                               l                                                oc
       ⎩
                                         it. n
           dx2 /dt = −2x1 − 4,                     thus dx2 /dt + 2x2 = −4.
                                        e U
   Clearly, the solution of the latter equation is
       x2 = −2 + c2 e−2t .
                                      ov F
                                    m PD
   When this is put into the first equation, we get
                                  re h
      dx1
          − x1 = −1 + c2 e−2t ,
                                to atc
       dt
   hence
                             se e B
                                                                1
       x1 = 1 + c2 et          e−t e−2t dt + c1 et = 1 + c1 et − c2 e−2t ,
                                                                3
                           en W
                                           − 31 e−2t
                      a b
                1    e                                           c1
      x(t) =       +                                                      .
               −2     0                     e−2t                 c2
                     y ed
                  Buess
       −2         −3c2       0
   thus c2 = − 32 and c1 = − 13 , so
                Pr
                                      −2t 
                   1      1 et         2   e
      x0 (t) =         −             −           .
                  −2      3     0      3 −3e−3t
   Then finally,
                                                                                  ⎛              ⎞
                                                                               2   1 3 2
                                                                                    e  −   e −
                       1           1       e           2        e−2             1 ⎜      3     3 ⎟.
       x0 (1) =                −                   −                          = 2⎝               ⎠
                      −2           3       0           3       −3e−2           e
                                                                                          2
                                                                                       −2e + 2
                                                                                61
Calculus 4c-3                                                                        Examples of applications in Physics
                                                                                     r
    x2 (0) = 3 · 10−2 ,      x2 (0) = 0.
                                                                                    ke
                                                                               oc
Find x1 (t) and x2 (t) as solutions of a differential equation of fourth order.
                                               l
                                         it. n
By using the selected values of m1 , m2 k, k1 and k2 , we get
                                        e U
    d2 x1
                                      ov F
             k1 + k      k        19    3
          =−        x1 +    x2 = − x1 + x2 ,
                                    m PD
     dt2      m1         m1       10   10
   d2 x2   k       k + k2       3     11
                                  re h
         =    x1 −        x2 =    x1 − x2 .
    dt2
                                to atc
           m2        m2        10     10
We immediately get three different methods of solution.
                             se e B
                           dx1                              dx2
       y1 = x 1 ,   y2 =       ,   y3 = x 2     og   y4 =       ,
                            dt                               dt
                        lic y
                      a b
          ⎛     ⎞ ⎛                   ⎞ ⎛                             ⎞⎛       ⎞
             y1              y2               0 1                 0 0    y1
                  Buess
        d ⎜     ⎟   ⎜ − 19       3    ⎟
          ⎜ 2 ⎟ = ⎜ 10 1 10 3 ⎟ = ⎜ 10 0
             y             y  +     y   ⎜ − 19                   3
                                                                 10 0 ⎟⎜ y 2
                                                                      ⎟⎜
                                                                               ⎟
                                                                               ⎟.
       dt ⎝ y3 ⎠ ⎝           y4       ⎠ ⎝     0 0                 0 1 ⎠⎝ y 3   ⎠
                  oc
                        3       11           3
             y4           y
                       10 1  −     y
                                10 3        10  0              − 11
                                                                 10 0    y4
                Pr
                                                                62
Calculus 4c-3                                                                                        Examples of applications in Physics
                                         √
thus the eigenvalues are λ = ±i and λ = ± 2i.
It is here fairly difficult to find the complex eigenvectors, so we note instead that the structure of
the solution must be of the form
                                              √           √
    y1 = x1 (t) = a1 cos t + a2 sin t + a3 cos 2t + a4 sin 2t,
        dx1                             √        √      √     √
   y2 =       = −a1 sin t + a2 cos t − 2a3 sin 2t + 2a4 cos 2t,
         dt
                                             √           √
   y3 = x2 (t) = b1 cos t + b2 sin t + b3 cos 2t + b4 sin 2t,
        dx2                             √       √       √     √
   y4 =       = −b1 sin t + b2 cos t − 2b3 sin 2t + 2b4 cos 2t.
         dt
                                                                                                     r
                                                                                               ke
                                               l                                          oc
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
       For almost 60 years Maastricht School of Management has been enhancing the management capacity
       of professionals and organizations around the world through state-of-the-art management education.
       Our broad range of Open Enrollment Executive Programs offers you a unique interactive, stimulating and
       multicultural learning experience.
For more information, visit www.msm.nl or contact us at +31 43 38 70 808 or via admissions@msm.nl
Since
      d2 x1                                 √            √
          2
            = −a1 cos t − a2 sin t − 2a3 cos 2t − 2a4 sin 2t,
       dt
      d2 x2                                 √            √
          2
            = −b1 cos t − b2 sin t − 2b3 cos 2t − 2b4 sin 2t,
       dt
and
                                                           
        19     3                    19   3           19    3
   −       x1 + x2      =        − a1 + b1 cos t+ − a2 + b2 sin t
        10     10                   10   10          10    10
                                                              
                                      19    3     √     19     3      √
                                + − a3 + b3 cos 2t+ − a4 +         sin 2t,
                                      10   10           10    10
and
                                                                               r
                                                             
                                                                              ke
       3      11               3       11           3       11
         x 1 − x2     =           a1 − b1 cos t+      a2 − b2 sin t
                                                                         oc
      10      10              10       10          10       10
                                                                
                                  3      11     √         3     11     √
                                               l
                                         it. n
                            +       a3 − b3 cos 2t+         a4 − b4 sin 2t,
                                 10      10              10     10
                                        e U
                                      ov F
we get by an identification of the coefficients that
                                    m PD
                19      3
   −a1 = −         a1 + b1 ,         thus b1 = 3a1 ,
                10     10
                                  re h
                                to atc
              19       3
   −a2 = −       a2 + b2 ,      thus b2 = 3a2 ,
              10      10
                             se e B
               19       3                    1
   −2a3 = − a3 + b3 ,             thus b3 = − a3 ,
               10      10                    3
                           en W
               19       3                    1
   −2a4 = − a4 + b4 ,             thus b4 = − a4 .
                        lic y
               10      10                    3
                      a b
                                    √           √
   x1 (t) = a1 cos t+a2 sin t+a3 cos 2t+a4 sin 2t,
                  Buess
                                  1          √   1      √
    x2 (t) = 3a1 cos t+3a2 sin t− a3 cos cos 2t− a4 sin 2t.
                  oc
                                  3              3
                Pr
Since
                                   √      √     √      √
    x1 (t) = −a1 sin t+a2 cos t−a3 2 sin 2t+a4 2 cos 2t,
                                     √              √
                                       2    √       2    √
    x2 (t) = −3a1 sin t+3a2 cos t+a3      sin 2t−a4    cos 2t,
                                       3            3
it follows from the initial conditions that
                 3                               3           1
   x1 (0) =         = a1 + a3 ,       x2 (0) =      = 3a1 − a3 ,
                100                             100          3
                                                             √
                        √                                      2
   x1 (0) = 0 = a2 + a4 2,           x2 (0) = 0 = 3a2 − a4     .
                                                              3
                                                             64
Calculus 4c-3                                                                  Examples of applications in Physics
                                                                               r
      ⎪
      ⎪
      ⎨ x1 = 250 cos t + 500 cos( 2t),
                                                                           ke
                                                                      oc
       ⎪
       ⎩ x = 9 cos t − 3 cos(√2t).
       ⎪
          2
                                               l
            250       500
                                         it. n
                                        e U
2) Alternatively the system can be written
                                      ov F
               19                 
                                    m PD
      d2   x1        − 10     3
                             10     x1
                =       3    11          .
      dt2 x2           10  − 10     x2
                                  re h
       19                                     
       − −λ           3             19        11      9
       103                  
                             se e B
                   11
                      10
                              = λ + 10     λ+       −     = λ2 + 3λ + 2 = (λ + 1)(λ + 2),
           10     − 10   − λ                    10     100
                           en W
   An eigenvector of the eigenvalue λ = −1 is e.g. (1, 3), corresponding to the differential equation
                      a b
                     y ed
         d2
             (x1 + 3x2 ) = −(x1 + 3x2 ),
         dt2
                  Buess
                                                        
                                                       1
   An eigenvector of the eigenvalue λ = −2 is e.g. 1, − , corresponding to the differential equation
                                                       3
                                       
       d2         1                   1
            x 1 −   x2   = −2   x 1 −   x2 ,
      dt2         3                   3
   the complete solution of which is
           1            √             √
   (9) x1 − x2 = b1 cos( 2t) + b2 sin( 2t).
           3
                                                           65
Calculus 4c-3                                                                 Examples of applications in Physics
                                                                              r
                         √                                 √
                                                                          ke
                1      9 2                       3      3 2
       x1 (0) =    a2 +     b2 = 0 and x2 (0) =      a2 −     b2 = 0,
                                                                        oc
                10       10                       10       10
                                               l
   that a2 = b2 = 0.
                                         it. n
                                        e U
   The wanted solution is
      ⎧
                                      ov F
               3          9      √
      ⎪
      ⎪
                                    m PD
      ⎨ x1 = 250 cos t + 500 cos( 2t),
       ⎪
       ⎩ x = 9 cos t − 3 cos(√2t).
       ⎪
                                  re h
          2
                                to atc
            250       500
                             se e B
                m1 d2 x1   k1 + k
                           en W
       x2 =              +        x1 ,
                k dt2         k
                        lic y
   then
                      a b
                                                                 k
               +           +              +                 x1 =    x1 ,
       k dt4      k    dt2    k m2 dt2          km2              m2
                  Buess
   hence by a rearrangement,
                  oc
                      k                    km2
   When we multiply by k and insert the chosen values of k, mi and kj , we get
                                                  
         d4 x1     3 8 4 d2 x1            3 12 32            d4 x1     d2 x1
     0=        +    +   +           +      ·    +      x 1 =       + 3       + 2x1 .
          dt4      5 5 5 dt2             10 5     25          dt4       dt2
                                                                                           √
   The characteristic polynomial R4 +3R2 +2 = (R2 +1)(R2 +2) has the roots R = ±i and R = ± 2i,
   thus
                                        √             √
      x1 = c1 cos t + c2 sin t + c3 cos( 2t) + c4 sin( 2t),
                                                       66
Calculus 4c-3                                                                                                         Examples of applications in Physics
and whence
                                        
                 10 d2 x1   10 3    8        10 d2 x1  19
   x2     =               +       +     x1 =          + x1
                  3 dt2      310 5            3 dt2     3
                                    1       √       1     √
          = 3c1 cos t + 3c2 sin t − c3 cos( 2t) − c4 sin( 2t).
                                    3               3
It follows from the initial conditions that
                                   3                               1        3
   x1 (0) = c1 + c3 =                 ,            x2 (0) = 3c1 − c3 =          ,
                                  100                              3       100
                                                                   √
                         √                                            2
   x1 (0) = c2 +            2c4 = 0,              x1 (0) = 3c2 −      c4 = 0.
                                                                     2
                                                                                                                      r
                                                                                                                  ke
                                                 l                                                               oc
                                           it. n
                                          e U
                                        ov F
                                      m PD
                                    re h
                                  to atc
                               se e B
                             en W
                          lic y
                        a b
                       y ed
                    Buess
                    oc
                  Pr
        GOT-THE-ENERGY-TO-LEAD.COM
        We believe that energy suppliers should be renewable, too. We are therefore looking for enthusiastic
        new colleagues with plenty of ideas who want to join RWE in changing the world. Visit us online to find
        out what we are offering and how we are working together to ensure the energy of the future.
   We immediately get
                                      3           9
        c2 = c4 = 0,    and c1 =         og c3 =     .
                                     250         500
   The wanted solution is
      ⎧        3          9      √
      ⎪
      ⎪
      ⎨ x1 = 250 cos t + 500 cos( 2t),
        ⎪
        ⎩ x = 9 cos t − 3 cos(√2t).
        ⎪
           2
             250       500
Example 3.2 For small oscillations (small swings Θ and ϕ) it is possible to show that the model of
the double pendulum can be described by the equations
                                                                                                  r
                                                                                              ke
        d2 Θ   d2 ϕ
                                                                                             oc
   2       2
             +      + 2gΘ = 0,
        dt     dt2
                                               l
                                         it. n
    d2 Θ     d2 ϕ
                                        e U
        2
          +       + gϕ = 0.
     dt      dt2
                                      ov F
Find the eigenfrequencies and the complete solution.
                                    m PD
If we solve with respect to (Θ, ϕ), we get the system
                                  re h
                               2                  
                                to atc
      Θ         − /g − /(2g)        d    Θ          d2  Θ
           =                                  =A 2         .
      ϕ         − /g     − /g      dt 2  ϕ         dt   ϕ
                             se e B
                                        2      2
    −( /g) − λ     − /(2g)                   1
                               = λ+          −         = 0,
                        lic y
       − /g      −( /g) − λ            g      2 g
                      a b
                √ 
                     y ed
                   2                                                   √
thus λ = −1 ±             and a corresponding eigenvector is e.g. (1, ∓ 2).
                  Buess
2 g
                                                             1
                  oc
Since A−1 has the same eigenvectors as A, and the eigenvalues , we derive the two differential
                                                             λ
                Pr
    d2       √           √       √
       2
         (Θ − 2ϕ) = −(2 + 2) (Θ − 2ϕ),
    dt                      g
    d2       √           √       √
       2
         (Θ + 2ϕ) = −(2 − 2) (Θ + 2ϕ),
    dt                      g
hence
                       !            "                          !            "       
      √                          √                                         √
   Θ − 2ϕ = 2a1 cos         2+ 2             t       + 2a2 sin    2+ 2                 t ,
                                         g                                         g
                                                                      68
Calculus 4c-3                                                                                    Examples of applications in Physics
                       !          "                           !            "       
      √                        √                                          √
   Θ + 2ϕ = 2b1 cos         2− 2            t       + 2b2 sin        2− 2             t .
                                        g                                         g
Finally, we get
                  ⎛"               ⎞                  ⎛"                  ⎞
                           √                                     √
                      (2+ 2) ⎠              (2+ 2) ⎠
   Θ = a1 cos ⎝               t + a2 sin ⎝         t
                          g                    g
                    ⎛"          ⎞         ⎛"          ⎞
                            √                    √
                        (2− 2) ⎠             (2− 2) ⎠
            +b1 cos ⎝          t + b2 sin ⎝          t ,
                            g                    g
and
                    ⎛"                  ⎞          ⎛"                             ⎞
                          √                              √
            a1         (2+ 2)              a          (2+ 2)
                                                                                                 r
                    ⎝                   ⎠    2     ⎝
        = − √ cos                      t − √ sin                              t⎠
                                                                                             ke
   ϕ
              2           g                  2           g
                    ⎛"                  ⎞          ⎛"                             ⎞
                                                                                            oc
                          √                              √
            b1      ⎝  (2− 2)           ⎠  b 2     ⎝  (2− 2)
                                                                              t⎠ .
                                               l
            √                              √
                                         it. n
          +     cos                    t +     sin
              2           g                  2           g
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
Example 3.3 Two electric conductors are coupled inductively. If i 1 and i2 denote the current inten-
                                                    di2       di1
sities of the conductors, then the induced forces M     and M     , (where M is a constant) in each of
                                                    dt        dt
the conductors, resp.. Then the differential equations of i1 and i2 are given by
        d2 i1       di1   1         d2 i2
   L1         + R 1     +    i1 + M       = 0,
        dt2         dt    C1        dt2
      d2 i1     d2 i2    di2    1
   M     2
            + L2 2 + R 2     +    i2 = 0,
      dt        dt       dt    C2
where L, R and C are the induction coefficient, the resistance and the capacity, resp..
1) Find the complete solution
2) Check the cases
    a) M = 0,
                                                                               r
                               1             1
                                                                           ke
    b) R1 = R2 = 0, and n1 = √      = n2 = √      .
                              L1 C1         L2 C2
                                               l                      oc
                                         it. n
                                    di1          di2
                                        e U
1) If we put x1 = i1 , x2 = i2 , x3 =   and x4 =     , then
                                    dt           dt
                                      ov F
           dx3           1         dx4
                                    m PD
        L1     + R1 x3 +    x1 + M      = 0,
            dt           C1         dt
         dx3       dx4           1
                                  re h
        M    + L2      + R2 x4 +    x2 = 0,
                                to atc
          dt        dt           C2
   thus by a rearrangement,
                             se e B
             dx3    dx4    1
        L1       +M     = − x1 − R1 x3 ,
              dt     dt    C1
                           en W
          dx3        dx4     1
                          = − x2 − R2 x4 .
                        lic y
        M      + L2
                      a b
           dt         dt     C2
   If L1 L2 = M 2 , then
                     y ed
        dx3         L2 x1         M x2      R1 L2 x3      M R2 x4
                  Buess
            =−            2
                            +          2
                                          −          2
                                                       +            ,
         dt    (L1 L2 −M )C1 (L1 L2 −M )C2 L1 L2 −M      L1 L2 −M 2
                  oc
      dx4          M x1           L1 x2       R 1 M x3   L1 R2 x4
           =                −               +          −           .
       dt    (L1 L2 −M 2 )C1 (L1 L2 −M 2 )C2 L1 L2 −M 2 L1 L2 −M 2
                Pr
                                                           70
Calculus 4c-3                                                                     Examples of applications in Physics
In principle it is possible to find the eigenvalues and the eigenfunctions of this system. In practice,
however, it is very difficult, so we stop here.
                                                                                  r
                                                                             ke
                                               l                         oc
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
                  oc
                Pr
www.job.oticon.dk
4     Stability
Example 4.1 Check the stability of the following system
                    
  δx      1  7      x1
      =                  + u(t).
   dt     3 −2      x2
                                                                                   r
                                                                              ke
         −1    1       0      x1
  dx ⎝
      = −5 −1          1 ⎠ ⎝ x2 ⎠ + u(t).
                                                                          oc
   dt
         −7    0       1      x3
                                               l
                                         it. n
                                        e U
The eigenvalues are the roots   of the polynomial
                               
    −1 − λ                     
                                      ov F
                1        0     
    −5       −1 −  λ     1      = (λ + 1)2 (1 − λ) − 7 + 5(1 − λ)
                                    m PD
                               
    −7          0      1−λ     
                                  re h
                                   = λ3 + λ2 + 4λ + 1.
                                to atc
    a1 a3   1 1 
           =         
    1 a2   1 4  = 3 > 0,
                           en W
so all roots have a negative real part, and the system is asymptotically stable.
                        lic y
                      a b
                     y ed
           0   0     0    1        x1
  dx ⎜     0 −1 −1 −1 ⎟         ⎜     ⎟
                             ⎟ ⎜ x2 ⎟ + u(t).
      =⎜
       ⎝ −1        −1   −1   ⎠  ⎝   3 ⎠
                  oc
   dt          0                   x
           0   0     1    0        x4
                Pr
                                                       72
Calculus 4c-3                                                                                                Stability
It follows from Cayley-Hamilton’s theorem (cf. Linear Algebra) that A2 = 0, hence the series of
the exponential matrix is reduced to
                                                       
                           1 0       t −t       1 + t −t
                                                                                  r
    exp(At) = I + tA =            +        =                  .
                                                                              ke
                           0 1       t −t         t    1−t
                                                                         oc
The complete solution of the homogeneous equation is
                                                      
                                               l
                                         it. n
     x1          1+t              −t       c1          c1 − c2
                                        e U
          = c1            + c2         =        +t               .
     x2             t            1−t       c2          c1 − c2
                                      ov F
If c1 = c2 , then the absolute value of this solution tends to infinity, so we conclude that the system is
                                    m PD
unstable.
                                  re h
                                to atc
      =                    .
   dt     −2   2      x2
                           en W
    1−λ     −1 
   
                      a b
       ⎛               ⎞⎛       ⎞ ⎛            ⎞
         −2 −1
                Pr
                     0       x1          cos t
  dx ⎝
      = −1 −1        0 ⎠ ⎝ x2 ⎠ + ⎝ cos 2t ⎠ .
   dt
           0   0 −1          x3          sin t
                                                        73
Calculus 4c-3                                                                                  Stability
Example 4.8 Find all numbers          a, for which the linear system
       ⎛                              ⎞⎛       ⎞
                                                                                      r
                                                                                  ke
          0    0 0        1                 x1
  dx ⎜    0   −1   a   1 +  a2        ⎟ ⎜ x2 ⎟
      =⎜                              ⎟⎜       ⎟
                                                                           oc
   dt  ⎝ 0 −a 0          a            ⎠ ⎝ x3 ⎠ + u(t)
                                               l
         −a 1 0          −1                 x4
                                         it. n
                                        e U
is asymptotically stable.
                                      ov F
The eigenvalues are the roots of the polynomial
                                    m PD
                                  
    −λ      0       0      1                                     
                                          −1 − λ a       1 + a2                      
    0 −1 − λ a           1 +  a 2                                       −1 − λ      a 
                                  re h
                                   = −λ  −a         −λ      a         
    0      −a      −λ                                             + a  −a         −λ 
                                to atc
                           a                                     
    −a                                         1       0 −1 − λ
             1       0 −1 − λ 
                                       
                             se e B
               −1 − λ a a2 − λ 
                                       
        = −λ  −a       −λ        0     + a{λ2 + λ + a2 }
                                        
                           en W
                 1       0       −λ 
                                                  
               a a2 − λ            
                                   2  −1 − λ     a 
                        lic y
        = −λ                                        + a{λ2 + λ + a2 }
                              + λ  −a         −λ 
                      a b
                −λ     0
                     y ed
hence
                                      a 4 = a3 ,
                  oc
   a1 = 2,      a2 = a,   a3 = a,                  and n = 4.
                Pr
                                                            74
Calculus 4c-3                                                                                              Stability
Example 4.9 Let (x, h)T denote a state vector (where h denotes the velocity of M , defined below). A
servo system, which is used to keep the (right hand side of M ) in a constant position x 0 independently
of the external force f (t) on M , can then be described by the state equations,
                 ⎛                          ⎞
                        0            1                      0
                                                                          
     d   x                                       x
             = ⎝ Ke0          k        K2 ⎠          + f (t) Ke0 x0 .
    dt h                   −      − 2            h             −
                    M rR M           r RM                  M       RrM
Here the spring has the equilibrium length 0, and the error of the position governs the dependent
generator.
1) Find the characteristic polynomial of the system, and the values of e0 , for which the system is
   stable.
2) Assume that f (t) = F is constant and that the system is stable. Find x1 = limt→∞ x(t). Is
   x1 = x0 ?
                                                                                    r
3) Assume that f (t) is arbitrary for t ∈ [0, t0 [, while f (t) is 0 for t > t0 . Find limt→∞ x(t).
                                                                                ke
                                                                           oc
1) The characteristic polynomial is
                                               
                                               l
                                               
                                         it. n
                    −λ             1                     2
                                        e U
      P (λ) =  Ke0      k           K2         = λ2 + K λ + k − Ke0 .
                                                        2
                M rR − M −λ − r2 RM                   r RM   M   M rR
                                      ov F
                                    m PD
   The system is asymptotically stable, when
                                         
           k     Ke0      K      krR
                                  re h
      0<     −       =                − e0 ,
                                to atc
          M     M rR    M rR      K
   hence when
                             se e B
                  krR
       0 < e0 <       .
                   K
                           en W
      dx1
           = 0 = 0 · x1 + h1 + 0,      dvs. h1 = 0.
       dt
                  Buess
   thus
        1                   1
           {Ke0 − krR}x1 =     {Ke0 x0 − F Rr},
      M rR                 RrM
   and hence
           Ke0 x0 − F Rr
      x1 =               .
             Ke0 − krR
                                                                 krR
   The solutions of the homogeneous equation die out when e <        , so the expression is equal to
                                                                  K
   limt→∞ x(t). (Note that the denominator is < 0). It follows that this expression is only equal to
   x0 , if F = kx0 .
                                                          75
Calculus 4c-3                                                                                                                   Stability
3) If the process is initiated after t0 , it follows that we can choose F = 0. By insertion of this into
                                                         krR
   the result of (3), we get by the assumption e0 <           that
                                                          K
                       Ke0 x0
        lim x(t) =              < 0.
       t→∞            Ke0 − krR
y + 4y + 4y = 0
are stable.
                                                                                               r
The characteristic polynomial is
                                                                                          ke
   P (λ) = λ3 + 4λ2 + 4 = λ3 + 4λ2 + 0 · λ + 4.
                                               l                                      oc
The coefficient of λ is 0, hence the system is not asymptotically stable.
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
      Choose Accenture for a career where the variety of opportunities and challenges allows you to make a
      difference every day. A place where you can develop your potential and grow professionally, working
      alongside talented colleagues. The only place where you can learn from our unrivalled experience, while
      helping our global clients achieve high performance. If this is your idea of a typical working day, then
      Accenture is the place to be.
      It all starts at Boot Camp. It’s 48 hours   packed with intellectual challenges     and intense learning experience.
      that will stimulate your mind and           and activities designed to let you      It could be your toughest test yet,
      enhance your career prospects. You’ll       discover what it really means to be a   which is exactly what will make it
      spend time with other students, top         high performer in business. We can’t    your biggest opportunity.
      Accenture Consultants and special           tell you everything about Boot Camp,
      guests. An inspirational two days           but expect a fast-paced, exhilarating   Find out more and apply online.
Visit accenture.com/bootcamp
Since there are roots with a positive real part, the system is unstable.
Pε (λ) = λ3 + 4λ2 + ελ + 4.
Then all roots have a negative real part, if and only if ε > 0 and
          
    4 4 
          
    1 ε  = 4(ε − 1) > 0      (Routh-Hurwitz’s criterion),
thus if and only if ε > 1. Since we here let ε → 0, we again conclude that the system is unstable.
                                                                                r
Alternatively the equation has a real root < 0 and two complex conjugated roots x ± iy. When we
                                                                            ke
put λ = x + iy, y = 0, then
                                                                           oc
   0 = (x + iy)3 + 4(x + iy)2 + 4 = {x3 − 3xy 2 + 4x2 − 4y 2 + 4} + i · y(3x2 − y 2 + 8x).
                                               l
                                         it. n
Since in particular the imaginary part is 0, we must necessarily have that y 2 = 3x2 + 8x, which when
                                        e U
put into the real part gives the necessary condition
                                      ov F
   0 = −8x3 − 32x2 − 32x + 4.
                                    m PD
Since we have both positive and negative coefficients, we must have a real and positive root, so the
                                  re h
system is unstable.
                                to atc
                             se e B
Example 4.11 It is well-known that a rigid body can be in a permanent rotation around any of
its principal axes (through a fixed point of the body). However, the rotation around the axis of the
                           en W
“middle” moment of inertia is not stable. Apply Euler’s equations and small variations of the velocity
of the angle to prove this.
                        lic y
        dω1
   I1       + (I3 − I2 )ω2 ω3 = M1 ,
         dt
                  Buess
       dω2
   I2      + (I1 − I3 )ω1 ω3 = M2 ,
                  oc
        dt
       dω3
                Pr
    I3     + (I2 − I1 )ω1 ω2 = M3 .
        dt
Assume that M1 = M2 = M3 = 0 and ω1 = ω0 + ξ1 , ω2 = ξ2 , ω3 = ξ3 , where ξν are small
variations and ω0 is a constant (hence one consider a rotation around the first principal axis and
small disturbances). By insertion into Euler’s equations, follows by a linearization we obtain a system
of first order for ξν , the stability of which should be checked.
                                                         77
Calculus 4c-3                                                                                               Stability
          dξ2                               dξ2
   0 = I2     + (I1 − I3 )(ω0 + ξ1 )ξ3 ≈ I2     + (I1 − I3 )ω0 ξ3 ,
           dt                                dt
          dξ3                               dξ3
   0 = I3     + (I2 − I1 )(ω0 + ξ1 )ξ2 ≈ I3     + (I2 − I1 )ω0 ξ2 .
           dt                                dt
This linearization is written in matrix form
                  ⎛                                   ⎞
       ⎛    ⎞        0         0              0         ⎛    ⎞
    d ⎝ 1⎠ ⎜
         ξ                                I1 − I3     ⎟ ξ1
                  ⎜0           0        −         ω   ⎟
         ξ2    =⎜                            I2
                                                    0
                                                      ⎟ ⎝ ξ2 ⎠ .
   dt
         ξ3       ⎝        I2 −  I 3
                                                      ⎠ ξ
                                                           3
                     0 −             ω0       0
                              I3
The characteristic polynomial is
                                          
                        I1 − I3                                           
           −λ         −         ω0                  (I1 − I3 )(I2 − I1 ) 2
                                          
                                                                                           r
   −λ  I − I               I2                     2
                                            = −λ λ −
                                                                                      ke
                                                                          ω0 .
       − 2      3
                           −λ                               I2 I3
                  ω0                      
                                                                                  oc
            I3
                                               l
Since ξ1 is a constant, we obtain stability (though not asymptotically stability), when
                                         it. n
                                        e U
    (I1 − I3 )(I2 − I1 )
                                      ov F
                         < 0,
           I2 I3                    m PD
thus when
                                  re h
For fixed I2 and I3 this is only possible when I1 does not lie between I2 and I3 . Therefore, if I1 is the
                             se e B
                                       is a constant.
                     y ed
In fact,
                  Buess
                                                               78
Calculus 4c-3                                                                                                 Stability
1) Find the complete solution of (10) by first finding a solution of the inhomogeneous equation, and
   then find the complete solution of the homogeneous equation.
2) Then prove that (10) has periodical solutions which unlike the external force cos 2t does not have
   the period π.
3) Is it possible for a stable and linear system for a given external periodical force to have a periodical
   solution of a different period than the external force?
                                                                                     r
                                      
                                                                                 ke
        x1        a1 cos 2t + a2 sin 2t
             =                             .
        x2         b1 cos 2t + b2 sin 2t
                                               l                                oc
   Then
                                         it. n
                                                         
                                        e U
       d        x1               2a2 cos 2t − 2a1 sin 2t
                         =
                                 2b2 cos 2t − 2b1 sin 2t
                                      ov F
       dt       x2
                                    m PD
   and
                                                                  
            0 −1                              −b1 cos 2t − b2 sin 2t
                                  re h
                             x1
                                      =                                    .
                                to atc
            1  0             x2                a1 cos 2t + a2 sin 2t
                             se e B
      ⎨                             ⎨ a1 = b2 = 0,
         2a1 = b2 ,
                             hvoraf    a2 = 23 ,
      ⎪  2b2 = a1 ,                 ⎩
                        lic y
      ⎪
      ⎩                                b1 = − 13 .
                      a b
         2b1 = −a2 ,
                     y ed
   A particular solution is
                  Buess
                            
        x1       1    2 sin 2t
              =                  .
        x2       3 − cos 2t
                  oc
                Pr
   It follows immediately that the eigenvalues are λ = ±i and that (cos t, sin t) and (sin t, − cos t) are
   linearly independent solutions of the homogeneous equation. Hence the complete solution is
                                                        
          x1     1   2 sin 2t          cos t             sin t
               =                + c1            + c2             ,
          x2     3 − cos 2t             sin t          − cos t
                                                                           79
Calculus 4c-3                                                                         Stability
     dx1
         = x1 − 8x2 ,
      dt
     dx2
         = −x1 + 3x2 .
      dt
1) Find a fundamental matrix of the system.
3) Find the solution x(t) of the system, for which x(0) = (6, 0)T .
                                                                             r
   a) The eigenvalue method. The system is on matrix form,
                                                                           ke
                              
                       1 −8
                                                                      oc
         d   x1                 x1
                  =                   .
        dt x2         −1 3      x2
                                               l
                                         it. n
                                        e U
       The eigenvalues are the solutions of the equation
                       
                                      ov F
           1−λ −8 
                                  m PD         2
           −1 3−λ  = (λ−1)(λ−3)−8 = λ −4λ−5 = (λ−5)(λ+1) = 0,
                                  re h
       hence λ1 = 5 and λ2 = −1. The eigenvectors are cross vectors of (−1, 3 − λ).
                                to atc
             x1          5t    2         −t  4     2e     4e−t      c1
                   = c1 e          + c2 e      =                          ,
                              −1                   −e5t e−t
                        lic y
             x2                              1                      c2
                      a b
                   5t        
                         4e−t
                  Buess
                    2e
          Φ(t) =                 .
                    −e5t e−t
                  oc
                    x2
           x1 = −      + 3x2 .
                    dt
       Then
           dx1   d2 x2 dx2                dx2                 dx2
               =− 2 +3     = x1 − 8x2 = −     + 3x2 − 8x2 = −     − 5x2 ,
            dt    dt    dt                 dt                  dt
       hence by a rearrangement,
           d2 x2    x2
               2
                 − 4 − 5x2 = 0 med R2 −4R−5 = (R−5)(R+1).
            dt      dt
                                                       80
Calculus 4c-3                                                                                                                  Stability
                                                                                                            r
                     −2e5t 4e−t
                                                                                                       ke
          Φ1 (t) =                 .
                      e5t   e−t
                                               l                                                   oc
2) The system has a positive eigenvalue, hence the system is unstable.
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
        The Wake
                     y ed
                  Buess
.QYURGGF'PIKPGU/GFKWOURGGF'PIKPGU6WTDQEJCTIGTU2TQRGNNGTU2TQRWNUKQP2CEMCIGU2TKOG5GTX
        6JGFGUKIPQHGEQHTKGPFN[OCTKPGRQYGTCPFRTQRWNUKQPUQNWVKQPUKUETWEKCNHQT/#0&KGUGN6WTDQ
        2QYGTEQORGVGPEKGUCTGQHHGTGFYKVJVJGYQTNFoUNCTIGUVGPIKPGRTQITCOOGsJCXKPIQWVRWVUURCPPKPI
        HTQOVQM9RGTGPIKPG)GVWRHTQPV
        (KPFQWVOQTGCVYYYOCPFKGUGNVWTDQEQO
                                                                                                              r
  ⎪
  ⎨ dx1 = 5x1 + ax2 ,
                                                                                                          ke
     dt                    a, b ∈ R.
                                                                                                         oc
  ⎪
  ⎩
    dx2
        = 2x1 + bx2 ,
     dt
                                               l
                                         it. n
1) Find a relation, which a and b must satisfy, if the system is asymptotically stable.
                                        e U
2) Find for a = −4 and b = −1 a fundamental matrix for the system.
                            
                                      ov F
                      5 −4
                                    m PD
3) Find eAt for A =            .
                      2 −1
                                  re h
                                to atc
       5−λ      a           
                             = (λ − b)(λ − 5) − 2a = λ2 − (5 + b)λ + (5b − 2a).
       2      b−λ           
                           en W
   It follows from Routh-Hurwitz’s criterion that the system is asymptotically stable, if and only
                        lic y
   if
                      a b
                    2
                      a < b < −5.
   hence if and only if
                  Buess
                    5
2) When a = −4 and b = −1 the characteristic polynomial becomes
                  oc
                                                                         82
Calculus 4c-3                                                                                                         Stability
                                                        a
                            –25   –20             –15       –10           –5
–2
                                                                                       –4
                                                                                             b
                                                                                       –6
–8
–10
                                                                                                   r
                                                                                             ke
                                               l                                      oc
3) If we instead use the fundamental matrix Φ(t), found in (2), we get
                                         it. n
                                        e U
                                                                  
                 1 2                 −1         1 −2            −1 2
       Φ(0) =                med Φ(0) = −                  =             .
                                      ov F
                 1 1                m PD       −1 1              1 −1
   Then
                                                                                                         
                                  re h
                                                                      =                                           .
                                      et   e3t          1 1                    −et + e3t          2et − e3t
                             se e B
   Alternatively,
                           en W
                         λ1 − λ 2            λ1 − λ 2          2               2
                                                                        
                    1 3et −e3t                     1 −5et +5e3t 4et −4e3t
                     y ed
                                         0
                  =                              +
                    2        0      3et −e3t       2 −2et +2e3t   et −e3t
                  Buess
                                                
                      −et + 2e3t 2et − 2e3t
                  =                                .
                       −et + e3t     2et − e3t
                  oc
                Pr
Example 4.15 Find a relationship between the real parameters a, b, such that the linear system
                        
   d   x1      1 a        x1
           =
  dt x2        1 b        x2
is asymptotically stable.
                                                              83
Calculus 4c-3                                                                                              Stability
It follows from Routh-Hurwitz’s criterion that the system is asymptotically stable, if and only if
                                                            2
                                                       y
                                                            1
                                            –3   –2   –1    0   1       2   3
                                                                    x
                                                           –1
–2
                                                                                     r
                                                                                 ke
                                                           –3
                                               l                                oc
                                         it. n
                                        e U
Example 4.16 Let
                                      ov F
                                       ⎛        ⎞
                                  m PD
                                       −3 −1 −2
              6   4
   A=                      and    B = ⎝ 0 −1 0 ⎠ .
             −11 −7
                                        4  0 −3
                                  re h
                                to atc
       dx
          = Ax
       dt
                           en W
   is asymptotically stable.
                        lic y
                      a b
       dy
          = By
                  Buess
       dt
   is asymptotically stable.
                  oc
                Pr
                                                                84
Calculus 4c-3                                                                                                                Stability
2) If we expand the determinant after the second row, we get the characteristic polynomial for B,
                                         
        −3 − λ       −1          −2                                       
                                                         −3 − λ     −2 
          0         −1 − λ        0         = −(λ + 1) 
                                                            4       −3 − λ 
          4           0         −3 − λ   
   (11)                                            = −(λ + 1){(λ + 3)2 + 8} = (λ + 1){λ2 + 6λ + 17}
                                                                                           r
                          √                √
                                                                                      ke
          −1,      −3 + i2 2,      −3 − i2 2.
                                                                                oc
       They have all a negative real part, hence the system is asymptotically stable.
                                               l
                                         it. n
                                        e U
                                      ov F
                                    m PD
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                                                                              r
       x         0     1     0         x1
   d ⎝ 1⎠ ⎝
                                                                          ke
       x2   =    0     0     1 ⎠ = ⎝ x2 ⎠
  dt
                −1 −1 −2
                                                                      oc
       x3                              x3
                                               l
                                         it. n
is asymptotically stable.
                                        e U
                                      ov F
The characteristic polynomial is    m PD
                                  
             −λ 1         0       
                                  
   −p(λ) =  0 −λ                  = −λ2 (λ + 2) − 1 − λ = −{λ3 + 2λ2 + λ + 1},
                                  re h
                           1       
             −1 −1 −2 − λ         
                                to atc
                             se e B
thus
   p(λ) = λ3 + 2λ2 + λ + 1 = λ3 + a1 λ2 + a2 λ + a3 .
                           en W
                     
   a1 a3   2 1 
           =         
                     y ed
   1 a2   1 1  = 1 > 0,
                  Buess
Remark 4.2 By using a pocket calculator it is seen that the roots are approximatively
                Pr
                                                        86
Calculus 4c-3                                                                                      Stability
is asymptotically stable?
                                                                               r
                   −1.
                                                                           ke
                                                                       oc
We see that there exists a positive eigenvalue, hence the system is not asymptotically stable.
                                               l
                                         it. n
                                        e U
Remark 4.3 We mention for completeness that the complete solution is
                               
                                      ov F
             5t  1        −t    1   m PD
  x(t) = c1 e       + c2 e          .
                 1             −1
                                  re h
                                to atc
                             se e B
                           en W
                        lic y
                      a b
                     y ed
                  Buess
                  oc
                Pr
5     Transfer functions
Example 5.1 Let A denote the matrix
       3      1
                  
        −2     2
  A=                .
        − 12 − 21
    a)
                                        
            dx                       1
               = Ax(t) +                     u(t),       t ∈ R,           y(t) = (1, 1)x(t),
            dt                       0
b)
                                                                                                             r
                                            
                                                                                                            ke
            dx                       − 12
               = Ax(t) +                 1       u(t),      t ∈ R,        y(t) = (1, 1)x(t).
                                                                                                     oc
            dt                           2
                                                l
                                          it. n
2) Find the stationary solution of the system
                                         e U
                                           
      dx                2 cos t − 12 cos 2t
                                       ov F
          = Ax(t) +          1                , t ∈ R,                                 y(t) = (1, 1)x(t),
      dt                     2 cos 2t
                                     m PD
    where we first prove that the system is stable.
                                   re h
                                 to atc
                                             
            −λ − 3      1            3        1    1
           
   P (λ) =      1
                    2    2
                            1 
                                = λ +      λ +     + = λ2 + 2λ + 1 = (λ + 1)2 ,
               −2      −λ − 2          2        2    4
                            en W
                                     
                      s + 32   − 12
         sI − A =       1           1     where det(sI − A) = (s + 1)2 ,
                             s  +
                   oc
                        2           2
                 Pr
         Then
                                                                         
                       −1        1                 s + 12         1
            (sI − A)        =                                     2           ,        s = −1,
                              (s + 1)2              − 12      s+      3
                                                                      2
         hence
                                                                             
                             T                   −1  1        s + 12     1
                                                                               1
            H1 (s)   = c (sI − A) b = (1, 1)                     1
                                                                         2
                                                                           3
                                                  (s + 1) 2    − 2    s  + 2   0
                                              1
                                                 
                          1               s+ 2            s
                     =           (1, 1)      1     =           ,     s = −1.
                       (s + 1) 2           − 2        (s + 1)2
                                                                                  88
Calculus 4c-3                                                                                 Transfer functions
   b) Since cT = (1, 1) and b = (− 12 , 12 )T and d = 0, and since (sI − A)−1 was computed in (a), we
      get
                                                         1 
                         1               s + 12     1
                                                    2         −2
          H2 (s) =             (1, 1)
                      (s + 1)2             − 12   s + 32        1
                                                                2
                                                  
                          1                     −1          1
                 =              (s, s + 2)            =           .
                      2(s + 1)2                  1       (s + 1)2
2) We have already in the beginning proved that the system is stable. Now,
                                            1 
        2 cos t − 12 cos 2t    1                −2
             1               =     · 2 cos t +   1   cos 2t,
             2  cos 2t         0                 2
   and
                                                    
       2 cos t = 2 Re eit       and       cos 2t = Re e2it ,
                                                                                 r
                                                                            ke
   so it follows by applying (1a), (1b) and the linearity that the stationary solution is
                                               l                        oc
       y(t) = 2 Re{H1 (i)eit } + Re{H2 (2i)e2it }
                                         it. n
                                                            
                                        e U
                           i     it                 1      2it
            = 2 Re              e     + Re                e
                      (1 + i)2                  (1 + 2i)2
                                      ov F
                                    
                                    m PD               
                       i it             (1 − 2i)2 2it
            = 2 Re       e     + Re                e
                      2i                    25
                                  re h
                        1
                           Re{(−3 − 4i)(cos 2t + i sin 2t)}
                                to atc
            = cos t +
                       25
                        3             4
                             se e B
                              
                     y ed
  dx      −1 −1              −1
      =            x(t) +          u(t),           y(t) = (1, 1)x(t).
   dt      2 −1                1
                  Buess
                                                          89
Calculus 4c-3                                                                                    Transfer functions
                                                                                  r
                                        =−
                                                                                 ke
            =                                           .
              (s + 1)2 + 2      s−1        (s + 1)2 + 2
                                                                           oc
   Since 4 cos t = Re{4eit }, the stationary solution is
                                               l
                                                                        
                                         it. n
                                              3                      −6 it
                                        e U
                              it                        it
      y(t) = Re H(i)4e = Re −                      · 4e      = Re       e
                                            2 + 2i                  1+i
                =
                                      ov F
                  Re{−3(1 − i)eit } = Re{(−3 + 3i)(cos t + i sin t)}
                                    m PD √         π
                = −3 cos t − 3 sin t = −3 2 sin t +   ,
                                                    4
                                  re h
                                to atc
Example 5.3 Consider the linear system of differential equations of first order
                           en W
     dx
(13)    = ax(t) + u(t),       t ∈ R.
     dt
                        lic y
                      a b
1) Find the values of the constant a, for which there for every periodical exterior force u(t) of period
   T exists precisely one periodical solution of (13) with period T .
                     y ed
2) Find a value of the constant a and a periodical exterior force u(t) of period T , such that
                  Buess
                                                                   90
Calculus 4c-3                                                                                         Transfer functions
                            
                2πn
1) If a ∈
        /           i | x ∈ Z , then there is precisely one periodical solution for every periodical exterior
                 T
   force.
                                                                                     r
                                                                                 ke
       is periodic.
                                                l                            oc
                                          it. n
                                         e U
                                       ov F
                                     m PD
                                   re h
                                 to atc
                              se e B
                            en W
                         lic y
                       a b
                      y ed
                   Buess
                   oc
                 Pr
Example 5.4 Given a stable linear system with the external force u(t) and the given transfer function
               s+2
   H(s) =               .
            s2 + 2s + 4
Find the stationary solution, when
                         π
   (1) u(t) = 2 cos 2t +      ,    (2) u(t) = − sin 4t.
                           4
1) Since
                 π                     π           √
       2 cos 2t +       = 2Re e2it · exp i        =    2 Re{(1 + i)e2it },
                  4                        4
   and
                                                                                  r
                                                                                ke
                    2i + 2      1+i
       H(2i) =                =     ,
                  −4 + 4i + 4
                                                                             oc
                                 2i
                                               l
   we obtain the real stationary solution
                                         it. n
                                        e U
                                       
             √        1+i           2it
                                           √             √
      y(t) = 2 Re          (1 + i)e       = 2 Re{e2it } = 2 cos 2t.
                                      ov F
                       2i           m PD
2) Since
                                  re h
                                to atc
       − sin 4t = − Im{e4it },
                             se e B
   and
                    4i + 2        2(1 + 2i) 3 + 2i     1
                           en W
                 1                                     1
       y(t) =      Im{(−1 + 8i)(cos 4t + i sin 4t)} =    {8 cos 4t − sin 4t}.
                  Buess
                26                                    26
                  oc
                Pr
                                                           92
Calculus 4c-3                                                                                        Transfer functions
Example 5.5 A linear system of first order with one external force u(t) and the response y(t) has
the given transfer function
             1
   H(s) =       .
            1+s
1) Prove that the system is stable.
2) Find the amplitude and phase for the stationary solution, when
                                                                                    r
       H(s) = cT (sI − A)−1 b + d.
                                                                               ke
                                                                           oc
   This expression is not defined, if and only if s is an eigenvalue for A. In the given case we see
   that H(s) is not defined for s = −1 < 0, which lies in the left hand half plane, so the system is
                                               l
                                         it. n
   asymptotical stable.
                                        e U
                                                     1   1
2) a) Since u(t) = cos t = Re eit , and H(i) =          = (1 − i), we get the real stationary solution
                                      ov F
                                    m PD            1+i  2
       with a phase shift
                                     1                   1
                       Re{H(i)eit } = Re{(1 − i)eit } = (cos t + sin t)
                                  re h
           y(t)   =
                                     2                   2
                                to atc
                       1          π    1          π
                  =    √ sin t +     = √ cos t −       .
                                   4                4
                             se e B
                        2                2
    b) Since u(t) = 2 cos 2t = 2 Re e2it , and
                           en W
                        1     1
           H(2i) =           = (1 − 2i),
                        lic y
                      1 + 2i  5
                      a b
                                          1          1
          y(t) = = Re{H(2i)e2it } = {(1 − 2i)e2it } = {cos 2t + 2 sin 2t}
                  Buess
                                         5       5
                      1                      2
                = √ cos 2t − Arcsin √
                  oc
                                                   .
                       5                      5
                Pr
                                                     1
    d) Since u(t) = sin 2t = Im e2it and H(2i) =        (1 − 2i) by (b), the real stationary solution is
                                                     5
                                                                                                
                       1                    1                         1     1            2
           y(t)   =      Im{(1 − 2i)e2it } = {sin 2t − 2 cos 2t} = √       √ sin 2t − √ cos 2t
                       5                    5                          5     5            5
                                               
                        1                     2
                  =    √ sin 2t − Arcsin √            .
                         5                     5
                                                          93
Calculus 4c-3                                                                                                     Transfer functions
                                                                                                    r
has the two to negative roots λ1 = −1 and λ2 = −5. We conclude that the linear system is asymp-
                                                                                               ke
totically stable.
                                                                                          oc
The transfer function is given by
                                               l
                                         it. n
   H(s) = c(sI − A)−1 b + d,
                                        e U
                                      ov F
where we in the given case have
                                m PD
          −3 1                  0
   A=                , b=         ,                 c = (0, 1),    d = 0,
           4 −3                 1
                                  re h
thus
                                to atc
                                           
                           −1           0
   H(s) = (0, 1)(sI − A)                        .
                             se e B
                                        1
Since
                               
                           en W
                    s+3    −1
   sI − A =                         ,           det(sI − A) = (s+1)(s+5),
                     −4   s+3
                        lic y
                      a b
                                                         
                         1                  s+3      1
   (sI − A)−1 =                                               .
                  Buess
                     (s+1)(s+5)              4      s+3
Then we find the transfer function
                                                                                                             
                  oc
                1                 s+3                 1            0               s+3          1        1   1
   H(s) =                (0, 1)                                            =                  =            +          .
                Pr
94