1.MATH347 Homework 4

Topic: Eigenvalue problem basics
Post date: May 29, 2024
Due date: May 30, 2024

1.1.Background

The final linear algebra problem investigated in the course is finding invariant directions for a homogeneous linear mapping 𝒇:mm, 𝒇(𝒙)=𝑨𝒙, known as the eigenproblem

𝑨𝒙=λ𝒙.

It is known that m eigenvalues and associated eigenvectors exist to satisfy the above relation 𝑨𝒙i=λi𝒙i, i=1,,m, and the eigenproblem can be stated in matrix form as

𝑨𝑿=𝑿𝚲,𝑿=[ 𝒙1 𝒙2 𝒙m ],𝚲=diag(λ1,λ2,,λm).

1.2.Theoretical questions

  1. Write the rotation matrix 𝑹θ of angle θ around axis 𝒆33. Find the eigenvalues and eigenvectors of Rθ. (1 point)

  2. Find a matrix 𝑨𝟎 for which 𝑨3=0. What are the eigenvalues of 𝑨?(2 points)

  3. If 𝑩3×3 has eigenvalues 0,1,2 give values (or state that there is not enough information to specify a value) for:

    1. rank(B)

    2. eigenvalues of BTB

    3. eigenvalues of (B2+I)-1

    (3 points)

  4. Determine the singular value decomposition and pseudo-inverse of a matrix 𝑨1×n (i.e., a row vector). (2 points)

1.3.Molecular Eigenmodes

1.3.1.Introduction

Molecules are composed from atoms interacting through electromagnetic forces generated by their electron orbital shells. The methane molecule CH4 contains a carbon atom and four hydrogen atoms

Figure 1. Methane molecule

The positions of the methane atoms are given in Table 1.

Atom x1 x2 x3
C 0 0 0
H -0.13066 -1.02319 0.359047
H -0.713551 0.656267 0.503049
H 1.01707 0.334488 0.215849
H -0.172858 0.032433 -1.07795

Table 1. Methane atom positions in Angstroms.

Molecular properties are largely determined by the vibration of the atoms around equilibrium positions. The equilibrium configuration of the methane molecule can be expressed through a single vector 𝒛15

𝒛T=[ 𝒙CT 𝒙H1T 𝒙H2T 𝒙H3T 𝒙H4T ],

with 𝒙 vectors from Table 1 for the carbon and four hydrogen atoms.

Z=[0 0 0; -0.13066  -1.02319 0.359047; -0.713551 0.656267 0.503049; 1.01707   0.334488 0.215849; -0.172858 0.032433 -1.07795];
fig=figure();
ax = fig.add_subplot(projection="3d");
ax.scatter(Z[1,1],Z[1,2],Z[1,3],color="black");
ax.scatter(Z[2:5,1],Z[2:5,2],Z[2:5,3],color="red");
ax.plot(Z[1:2,1],Z[1:2,2],Z[1:2,3],color="blue");
ax.plot(Z[1:2:3,1],Z[1:2:3,2],Z[1:2:3,3],color="blue");
ax.plot(Z[1:3:4,1],Z[1:3:4,2],Z[1:3:4,3],color="blue");
ax.plot(Z[1:4:5,1],Z[1:4:5,2],Z[1:4:5,3],color="blue");

Vibration around this equilibrium position is described by a displacement vector 𝒖15 such that the position of the atoms is 𝒚=𝒛+𝒖. The displacement vectors are known as vibrational eigenmodes and are determined by the eigenproblem

𝑨𝒖=λ𝑴𝒖,𝑨15×15

The matrix 𝑨 is symmetric 𝑨=𝑨T, captures chemical bond strengths between the atoms and has a block structure

𝑨=[𝑨ij],1i,j5,𝑨ij3×3

with diagonal blocks 𝑨ii=𝑰 for i=1,,5, and off-diagonal blocks 𝑨ij=-𝑰 if there is a bond between atoms i,j, and 𝑨ij=𝟎 if there is no bond. The inertia matrix 𝑴 is block diagonal

𝑴=[ mC𝑰 mH𝑰 mH𝑰 mH𝑰 mH𝑰 ],

with mC=12, mH=1.

1.3.2.Tasks

  1. Form the 𝑨,𝑴 matrices in Julia. Compute 𝑩=𝑴-1𝑨. Note that

    𝑴-1=[ mC-1𝑰 mH-1𝑰 mH-1𝑰 mH-1𝑰 mH-1𝑰 ]
  2. Compute the eigenvalues of 𝑩.

  3. Compute the eigenvectors 𝒖 of 𝑩.

  4. Plot the vibrational modes by plotting the equilibrium positions 𝒛 and the vibration mode 𝒛+α𝒖 with α arbitrarily chosen to ensure visibility.