⚛️
Linear Algebra
  • Basic Operations
  • Norms
  • Vector Properties
  • Matrix Properties
  • Special Matrices & Vectors
  • Eigen Decomposition
  • Quadratic Forms & Positive Definiteness
  • Singular Value Decomposition
Powered by GitBook
On this page
  • Diagonal Matrix
  • ​Symmetric Matrix
  • Unit Vector
  • Unit Basis Vector
  • Orthogonal Vectors​
  • Orthogonal Matrix

Special Matrices & Vectors

Diagonal Matrix

For such matrices, only diagonal entries are non-zero.

Aij=0ifi≠jA_{ij} = 0 \hspace{0.2cm} if \hspace{0.1cm} i\neq jAij​=0ifi=j

​Symmetric Matrix

Symmetric matrices are equal to their transpose.

A=ATA = A^TA=AT

Unit Vector

Vector with unit "length".

∣∣v∣∣2=1||v||_2 = 1∣∣v∣∣2​=1

For example, both (001)\begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix}​001​​​and (12120)\begin{pmatrix} \frac{1}{\sqrt2} \\ \frac{1}{\sqrt2} \\ 0 \end{pmatrix}​2​1​2​1​0​​​are unit vectors.

Unit Basis Vector

An important set of vectors is the set of unit basis vectors given by:

ej=(0000...100...0)e_j = \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \\ ... \\ 1 \\ 0 \\ 0 \\ ...\\ 0 \\ \end{pmatrix}ej​=​0000...100...0​​

Here, the “1” appears as the component indexed by j. Thus, we get the set {e0,e1,...,en−1}⊂Rn\{e_0, e_1, ..., e_{n-1}\} \subset \mathbb{R}^{n}{e0​,e1​,...,en−1​}⊂Rngiven by:

e0=(10...00),e1=(01...00),en−1=(00...01)e_0 = \begin{pmatrix} 1 \\ 0 \\ ... \\ 0 \\ 0 \\ \end{pmatrix}, e_1 = \begin{pmatrix} 0 \\ 1 \\ ... \\ 0 \\ 0 \\ \end{pmatrix}, e_{n-1} = \begin{pmatrix} 0 \\ 0 \\ ... \\ 0 \\ 1 \\ \end{pmatrix}e0​=​10...00​​,e1​=​01...00​​,en−1​=​00...01​​

These vectors are also referred to as the standard basis vectors.

Orthogonal Vectors​

Two vectors are called orthogonal to each other if they are mutually prependicual vectors.

xTy=0(DotProduct)x^Ty = 0 \hspace{0.3cm} (Dot \hspace{0.1cm} Product)xTy=0(DotProduct)

​Also, orthonormal vectors are unit vectors prependicular to each other.

Orthogonal Matrix

A matrix is orthogonal if its transpose is equal to its inverse.

AT=A−1A^T = A^{-1}AT=A−1

​Identity matrix is a orthogonal matrix. Also, all columns are orthonormal.

Further, orthogonal matrices represent rotational operations which preserve volume.

PreviousMatrix PropertiesNextEigen Decomposition

Last updated 2 years ago

Page cover image