Linear Algebra Reviewer
Linear Algebra Reviewer
---
- **Vector**: A quantity with both magnitude and direction, usually written as \(\mathbf{v}
= \begin{pmatrix} v_1 \\ v_2 \\ \vdots \\ v_n \end{pmatrix}\).
- **Vector Addition**:
\[
\]
- **Scalar Multiplication**:
\[
\]
\[
\mathbf{u} \cdot \mathbf{v} = u_1 v_1 + u_2 v_2 + \dots + u_n v_n
\]
The dot product results in a scalar and measures the angle between vectors.
\[
\mathbf{u} \times \mathbf{v} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ u_1 &
u_2 & u_3 \\ v_1 & v_2 & v_3 \end{vmatrix}
\]
The cross product results in a vector orthogonal to both \(\mathbf{u}\) and \(\mathbf{v}\).
## **2. Matrices**
- **Matrix**: A rectangular array of numbers arranged in rows and columns. For example:
\[
\]
- **Matrix Addition**:
Two matrices of the same dimension can be added by adding their corresponding
elements.
\[
\]
- **Scalar Multiplication**:
\[
cA = c \begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix} = \begin{pmatrix} c
a_{11} & c a_{12} \\ c a_{21} & c a_{22} \end{pmatrix}
\]
- **Matrix Multiplication**:
The product of an \(m \times n\) matrix \(A\) and an \(n \times p\) matrix \(B\) results in an
\(m \times p\) matrix \(C\).
\[
\]
Multiply each row of \(A\) by each column of \(B\), summing the products.
\[
\]
## **3. Determinants**
\[
\]
\[
\text{det}(A) = \begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix} = a(ei - fh) - b(di
- fg) + c(dh - eg)
\]
- A square matrix \(A\) has an inverse \(A^{-1}\) if and only if \(\text{det}(A) \neq 0\).
\[
\]
The inverse satisfies \(A A^{-1} = I\), where \(I\) is the identity matrix.
\[
A \mathbf{x} = \mathbf{b}
\]
where \(A\) is the coefficient matrix, \(\mathbf{x}\) is the vector of variables, and
\(\mathbf{b}\) is the vector of constants.
- **Cramer's Rule**: For a system of \(n\) linear equations with \(n\) variables, the solution
can be found using determinants:
\[
x_i = \frac{\text{det}(A_i)}{\text{det}(A)}
\]
where \(A_i\) is the matrix formed by replacing the \(i\)-th column of \(A\) with
\(\mathbf{b}\).
- **Definition**: A vector space \(V\) is a set of vectors that is closed under addition and
scalar multiplication.
\[
\]
- **Basis**: A set of vectors that is linearly independent and spans the vector space. Every
vector in the space can be written as a linear combination of basis vectors.
- **Dimension**: The number of vectors in a basis for the vector space.
\[
\]
- **Eigenvector**: The vector \(\mathbf{v}\) that satisfies the equation above is called an
eigenvector corresponding to the eigenvalue \(\lambda\).
\[
\text{det}(A - \lambda I) = 0
\]
## **8. Diagonalization**
\[
A = PDP^{-1}
\]
---
This reviewer outlines the foundational concepts of linear algebra, which are essential for
solving systems of equations, matrix operations, and understanding vector spaces and
transformations.