Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Linear Algebra Cheat Sheet: Key Concepts and Properties, Cheat Sheet of Linear Algebra

rectangular, square, invertible and symmetric matrices system

Typology: Cheat Sheet

2020/2021

Uploaded on 04/26/2021

ekaling
ekaling 🇺🇸

4.7

(39)

266 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
18.085 :: Linear algebra cheat sheet :: Spring 2014
1. Rectangular m-by-nmatrices
Rule for transposes:
(AB)T=BTAT
The matrix ATAis always square, symmetric, and positive semi-definite. If in addition Ahas
linearly independent columns, then ATAis positive definite.
Take Ca diagonal matrix with positive elements. Then ATCA is always square, symmetric, and
positive semi-definite. If in addition Ahas linearly independent columns, then ATC A is positive
definite.
2. Square n-by-nmatrices
Eigenvalues and eigenvectors are defined only for square matrices:
Av =λv
The eigenvalues may be complex. There may be fewer than neigenvectors (in that case we say
the matrix is defective).
In matrix form, we can always write
AS =SΛ,
where Shas the eigenvectors in the columns (Scould be a rectangular matrix), and Λis diagonal
with the eigenvalues on the diagonal.
If Ahas neigenvectors (a full set), then Sis square and invertible, and
A=SΛS1.
If eigenvalues are counted with their multiplicity, then
tr(A) = A11 +. . . +Ann =λ1+. . . +λn.
If eigenvalues are counted with their multiplicity, then
det(A) = λ1×. . . ×λn.
Addition of a multiple of the identity shifts the eigenvalues:
λj(A+cI) = λj(A) + c.
No such rule exists in general when adding A+B.
Gaussian elimination gives
A=LU.
Lis lower triangular with ones on the diagonal, and with the elimination multipliers below the
diagonal. Uis upper triangular with the pivots on the diagonal.
Ais invertible if either of the following criteria is satisfied: there are nnonzero pivots; the deter-
minant is not zero; the eigenvalues are all nonzero; the columns are linearly independent; the
only way to have Au = 0 is if u= 0.
Conversely, if either of these criteria is violated, then the matrix is singular (not invertible).
pf2

Partial preview of the text

Download Linear Algebra Cheat Sheet: Key Concepts and Properties and more Cheat Sheet Linear Algebra in PDF only on Docsity!

18.085 :: Linear algebra cheat sheet :: Spring 2014

  1. Rectangular m-by-n matrices
    • Rule for transposes: (AB)T^ = BT^ AT
    • The matrix AT^ A is always square, symmetric, and positive semi-definite. If in addition A has linearly independent columns, then AT^ A is positive definite.
    • Take C a diagonal matrix with positive elements. Then AT^ CA is always square, symmetric, and positive semi-definite. If in addition A has linearly independent columns, then AT^ CA is positive definite.
  2. Square n-by-n matrices
    • Eigenvalues and eigenvectors are defined only for square matrices:

Av = λv

The eigenvalues may be complex. There may be fewer than n eigenvectors (in that case we say the matrix is defective).

  • In matrix form, we can always write AS = SΛ, where S has the eigenvectors in the columns (S could be a rectangular matrix), and Λ is diagonal with the eigenvalues on the diagonal.
  • If A has n eigenvectors (a full set), then S is square and invertible, and

A = SΛS−^1.

  • If eigenvalues are counted with their multiplicity, then

tr(A) = A 11 +... + Ann = λ 1 +... + λn.

  • If eigenvalues are counted with their multiplicity, then

det(A) = λ 1 ×... × λn.

  • Addition of a multiple of the identity shifts the eigenvalues:

λj (A + cI) = λj (A) + c.

No such rule exists in general when adding A + B.

  • Gaussian elimination gives A = LU. L is lower triangular with ones on the diagonal, and with the elimination multipliers below the diagonal. U is upper triangular with the pivots on the diagonal.
  • A is invertible if either of the following criteria is satisfied: there are n nonzero pivots; the deter- minant is not zero; the eigenvalues are all nonzero; the columns are linearly independent; the only way to have Au = 0 is if u = 0.
  • Conversely, if either of these criteria is violated, then the matrix is singular (not invertible).
  1. Invertible matrices.
    • The system Au = f has a unique solution u = A−^1 f.
    • (AB)−^1 = B−^1 A−^1.
    • (AT^ )−^1 = (A−^1 )T^.
    • If A = SΛS−^1 , then A−^1 = SΛ−^1 S−^1 (same eigenvectors, inverse eigenvalues).
  2. Symmetric matrices (AT^ = A.)
    • Eigenvalues are real, eigenvectors are orthogonal, and there are always n eigenvectors (full set). (Precision concerning eigenvectors: accidentally, they may not come as orthogonal. But that case always corresponds to a multiple eigenvalue. There exists another choice of eigenvectors such that they are orthogonal.)
    • Can write A = QΛQT^ , where Q−^1 = QT^ (orthonormal matrix).
    • Can modify A = LU into A = LDLT^ with diagonal D, and the pivots on the diagonal of D.
    • Can define positive definite matrices only in the symmetric case. A symmetric matrix is positive definite if either of the following criteria holds: all the pivots are positive; all the eigenvalues are positive; all the upper-left determinants are positive; or xT^ Ax > 0 unless x = 0.
    • Similar definition for positive semi-definite. The creiteria are: all the pivots are nonnegative; all the eigenvalues are nonnegative; all the upper-left determinants are nonnegative; or xT^ Ax ≥ 0.
    • If A is positive definite, we have the Cholesky decomposition

A = RT^ R,

which corresponds to the choice R =

DLT^.

  1. Skew-symmetric matrices (AT^ = −A.)
    • Eigenvalues are purely imaginary, eigenvectors are orthogonal, and there are always n eigen- vectors (full set).