Calculus Cheat Sheet
Calculus Cheat Sheet
Definition:
A matrix is a rectangular array of numbers arranged in rows and columns.
Example of a matrix:
A = [a_11 a_12 a_13]
[a_21 a_22 a_23]
[a_31 a_32 a_33]
---------------------------------------------------------------
3. **Square Matrix**: A matrix with the same number of rows and columns.
Example: C = [a_11 a_12]
[a_21 a_22]
5. **Diagonal Matrix**: A square matrix where all off-diagonal elements are zero.
Example: E = [a_11 0 0]
[0 a_22 0]
[0 0 a_33]
---------------------------------------------------------------
1. **Addition of Matrices**:
- Matrices can only be added if they have the same dimensions.
Example:
A = [1 2]
[3 4]
B = [5 6]
[7 8]
A + B = [6 8]
[10 12]
2. **Subtraction of Matrices**:
- Matrices can only be subtracted if they have the same dimensions.
Example:
A = [3 4]
[5 6]
B = [1 2]
[3 4]
A - B = [2 2]
[2 2]
3. **Scalar Multiplication**:
- Multiply every element of the matrix by a scalar (a constant).
Example:
2 * A = 2 * [1 2]
[3 4]
= [2 4]
[6 8]
4. **Multiplication of Matrices**:
- Matrix multiplication is only possible if the number of columns in the first
matrix equals the number of rows in the second matrix.
Example:
A = [1 2] B = [5 6]
[3 4] [7 8]
5. **Transpose of a Matrix**:
- The transpose of a matrix is obtained by swapping rows and columns.
Example:
A = [1 2 3]
[4 5 6]
A^T = [1 4]
[2 5]
[3 6]
---------------------------------------------------------------
1. **Symmetric Matrix**:
- A square matrix that is equal to its transpose.
Example:
A = [1 2 3]
[2 4 5]
[3 5 6]
A^T = [1 2 3]
[2 4 5]
[3 5 6]
2. **Skew-Symmetric Matrix**:
- A square matrix where the transpose is equal to the negative of the matrix.
Example:
B = [0 2 -1]
[-2 0 3]
[1 -3 0]
B^T = [0 -2 1]
[2 0 -3]
[-1 3 0]
---------------------------------------------------------------
Example:
A = [1 2]
[3 4]
Example:
A = [a b c]
[d e f]
[g h i]
---------------------------------------------------------------
1. **Minor of a Matrix**:
- The minor of an element is the determinant of the matrix obtained by deleting
the row and column containing that element.
2. **Cofactor of a Matrix**:
- The cofactor is the minor with a sign depending on its position (positive or
negative).
---------------------------------------------------------------
1. **Inverse of a Matrix**:
- A matrix A has an inverse denoted by A^(-1) if and only if det(A) ≠ 0.
- A * A^(-1) = I (the identity matrix).
2. **Inverse of a 2x2 Matrix**:
If A = [a b]
[c d]
---------------------------------------------------------------
---------------------------------------------------------------