Docsity

Epidemiological Methods - Problems with Solutions | SOCA 107, Assignments of Introduction to Sociology

Toggle sidebar
bg1
PROBLEM SOLUTIONS
1 Determinants
1. Ais a 2 ×2 matrix. Therefore |A|=1×(−2) −4×(−1) = 2.
2. Bis upper triangular. Its determinant is the product of its diagonal coefficients:
|B|=1×1×(−3) = −3.
3. The definition of the determinant in terms of submatrices must be used here. Since the first column
has a zero coefficient, it is advantageous to develop the determinant along this column (set α=1
in the definition of the determinant (1)).
|C|=4×!
!
!
!
−2−1
45
!
!
!
!
−(−3) ×!
!
!
!
−12
45
!
!
!
!
+0×!
!
!
!
−12
−2−1!
!
!
!
= 4(−10 + 4) + 3(−5−8)
=−63
2 Matrix inverse
This result is a direct application of the formula using ˜
A11 =d,˜
A12 =b,˜
A21 =cand ˜
A22 =a.
3 Eigenvalues and eigenvectors
1. First we need to find the eigenvalues of A1.λis an eigenvalue of A1if and only if λsatisfies
|A1−λI|= 0. This equation rewrites:
!
!
!
!
−λ1
1−λ!
!
!
!
=λ2−1=0
Therefore λ=±1 and D="10
0−1#.
To find an associated eigenvector with λ1= 1, we need to find a vector x="x
y#such that
A.x=x. After substitution this leads to two equations that are equivalent to x=y. Therefore
v1="1
1#is an eigenvector associated with λ1= 1.
Repeating this operation with λ2=−1, we find that v2="1
−1#is an eigenvector of Aassociated
with λ2. Therefore a possible choice of Vis V="11
1−1#.
After computing the inverse of Vusing (3), we obtain
A1=1
2"11
1−1#"10
0−1#"11
1−1#.
5
pf3

Partial preview of the text

Download Epidemiological Methods - Problems with Solutions | SOCA 107 and more Assignments Introduction to Sociology in PDF only on Docsity!

PROBLEM SOLUTIONS

1 Determinants

  1. A is a 2 × 2 matrix. Therefore |A| = 1 × (−2) − 4 × (−1) = 2.
  2. B is upper triangular. Its determinant is the product of its diagonal coefficients:

|B| = 1 × 1 × (−3) = − 3.

  1. The definition of the determinant in terms of submatrices must be used here. Since the first column

has a zero coefficient, it is advantageous to develop the determinant along this column (set α = 1

in the definition of the determinant (1)).

|C| = 4 ×

− (−3) ×

+ 0 ×

2 Matrix inverse

This result is a direct application of the formula using A˜ 11 = d, A˜ 12 = b, A˜ 21 = c and A˜ 22 = a.

3 Eigenvalues and eigenvectors

  1. First we need to find the eigenvalues of A 1. λ is an eigenvalue of A 1 if and only if λ satisfies

|A 1 − λI| = 0. This equation rewrites:

∣ ∣ ∣ ∣

−λ 1

1 −λ

= λ

2 − 1 = 0

Therefore λ = ±1 and D =

To find an associated eigenvector with λ 1 = 1, we need to find a vector x =

x

y

such that

A.x = x. After substitution this leads to two equations that are equivalent to x = y. Therefore

v 1 =

is an eigenvector associated with λ 1 = 1.

Repeating this operation with λ 2 = −1, we find that v 2 =

is an eigenvector of A associated

with λ 2. Therefore a possible choice of V is V =

After computing the inverse of V using (3), we obtain

A 1 =

  1. First, let’s compute the eigenvalues of A 2 using |A 2 − λI| = 0. Decomposing the determinant over

the second row (that has only one non-zero coefficient),

1 − λ 1 − 2

0 − 2 − λ 0

0 − 1 / 2 −λ − 1

= −(2 + λ)

1 − λ − 2

0 − 1 − λ

= (2 + λ)(1 − λ)(1 + λ)

We therefore obtain immediately the eigenvalues λ 1 = 1, λ 2 = −1 and λ 3 = −2.

If v 1 =

x 1

y (^1)

z (^1)

 (^) is an eigenvector associated with λ 1 = 1, then the coordinates^ x 1 ,^ y^1 and^ z^1 satisfy

the following system:  

y 1 − 2 z 1 = 0

− 3 y 1 = 0

−y 1 / 2 − 2 z 1 = 0

whose solution is y 1 = z 1 = 0 and x 1 arbitrary. Therefore v 1 =

 (^) is a solution.

If v 2 =

x 2

y (^2)

z (^2)

 (^) is an eigenvector associated with λ 2 =^ −1, then the coordinates^ x 2 ,^ y^2 and^ z^2

satisfy the following system:  

2 x 2 + y 2 − 2 z 2 = 0

−y 2 = 0

−y 2 /2 = 0

whose solution is y 2 = 0 and x 2 = z 2 with x 2 arbitrary. Therefore v 2 =

 (^) is a solution.

Finally, if v 3 =

x 3

y (^3)

z (^3)

 (^) is an eigenvector associated with λ 3 = −2, then the coordinates x 3 , y 3 and

z 3 satisfy the following system:  

−x 3 + y 3 − 2 z 3 = 0

0 = 0

−y 3 /2 + z 3 = 0

whose solution is y 3 = 2z 3 and x 3 = 0, with z 3 arbitrary. Therefore v 3 =

 (^) is a solution.