hw5_solns

# hw5_solns - Mathematics of Engineering ME17 Spring 2007...

This preview shows pages 1–4. Sign up to view the full content.

Mathematics of Engineering - ME17 Spring 2007 Homework #5 Solutions Problem 1 [6pts] For matrices, prove that tr( AB ) = tr( BA ) . Given the formula (for nxn matrices A and B with elements A ik and B kj ): tr( AB ) = n i =1 ( AB ) ii (1) and the fact: ( AB ) ij = n k =1 A ik B kj (2) Answer: tr( AB ) = n i =1 ( AB ) ii = n i =1 n j =1 ( A ij B ji ) = n j =1 n i =1 ( B ji A ij ) = n j =1 ( BA ) jj = tr( BA ) Explanation: This is true by the definition of the trace of a matrix: tr( AB ) = n i =1 ( AB ) ii Apply equation (2) to expand ( AB ) ii : n i =1 ( AB ) ii = n i =1 n j =1 A ij B ji Since A ij and B ji are individual entries of the matrices A and B , they commute. (Note: Generally, matrix multiplication does not commute, but scalar multiplication 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
does.) Therefore, we can switch the order of multiplication: n i =1 n j =1 A ij B ji = n i =1 n j =1 B ji A ij Since we are essentially dealing with a series of individual terms at this step, we can also switch the order of summation: n i =1 n j =1 B ji A ij = n j =1 n i =1 B ji A ij Now apply the fact given by (2) again (this time in the reverse direction) to get rid of the summation over i : n j =1 n i =1 B ji A ij = n j =1 ( BA ) jj Given the definition of the trace of a matrix (1), notice that the above is equivalent to tr( BA ). Therefore, we have tr( AB ) = tr( BA ) . Problem 2 [10pts] For the matrix A = 3 0 0 2 1 2 0 6 2 Calculate the eigenvalues and eigenvectors for A Answer: Eigenvalues of A: λ 1 = 5 , λ 2 = - 2 , λ 3 = 3 Corresponding eigenvectors of A (respectively): v 1 = 0 1 2 , v 2 = 0 2 - 3 , v 3 = - 5 1 6 2
Explanation: First, find the eigenvalues of A To find the eigenvalues, solve the equation det( A - ) = 0

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern