Solution of Linear Equations
Systems of linear equations are fundamental in mathematics and have wide applications. A system consists of one or more linear equations involving the same set of variables.
Homogeneous System of Linear Equations
A system of linear equations is called homogeneous if all the constant terms are zero. It can be written in matrix form as Ax = 0.
Definition: A homogeneous system of linear equations is a set of equations where each equation equals zero.
Properties:
- A homogeneous system always has at least one solution, known as the trivial solution, where all variables are zero (x1 = 0, x2 = 0, ..., xn = 0).
- A homogeneous system can have non-trivial solutions (solutions where at least one variable is non-zero) if and only if the determinant of the coefficient matrix A is zero (det(A) = 0), or equivalently, if the rank of A is less than the number of variables.
- If det(A) ≠ 0, then the only solution is the trivial solution.
Non-Homogeneous System of Linear Equations
A system of linear equations is called non-homogeneous if at least one of the constant terms is non-zero. It can be written in matrix form as Ax = b, where b is a non-zero column vector.
Definition: A non-homogeneous system of linear equations is a set of equations where at least one equation has a non-zero constant term.
Consistency of a non-homogeneous system:
- A non-homogeneous system Ax = b is consistent (i.e., has at least one solution) if and only if the rank of the coefficient matrix A is equal to the rank of the augmented matrix [A|b]. (rank(A) = rank([A|b]))
- If rank(A) ≠ rank([A|b]), the system is inconsistent and has no solution.
Number of solutions for a consistent non-homogeneous system (Ax = b):
- If rank(A) = rank([A|b]) = n (number of variables), then the system has a unique solution.
- If rank(A) = rank([A|b]) < n (number of variables), then the system has infinitely many solutions. The number of free variables will be n - rank(A).
Partitioning of Matrices
Matrix partitioning involves dividing a matrix into smaller submatrices, called blocks or partitions. This can simplify operations or highlight certain structures within the matrix.
Definition and Examples
Definition: Matrix partitioning is the process of subdividing a matrix into smaller rectangular matrices called blocks or submatrices.
Example: Consider a 4×4 matrix A:
A = [[a11 a12 a13 a14],
[a21 a22 a23 a24],
[a31 a32 a33 a34],
[a41 a42 a43 a44]]
This matrix can be partitioned into 2×2 blocks:
A = [[A11 A12],
[A21 A22]]
Where:
A11 = [[a11 a12], [a21 a22]]
A12 = [[a13 a14], [a23 a24]]
A21 = [[a31 a32], [a41 a42]]
A22 = [[a33 a34], [a43 a44]]
Simple Properties of Partitioned Matrices
Operations with partitioned matrices generally follow the same rules as regular matrices, provided the blocks are conformable for the respective operations.
1. Addition of Partitioned Matrices:
- If A and B are two matrices partitioned identically, their sum C = A + B can be found by adding corresponding blocks:
Cij = Aij + Bij
2. Multiplication of Partitioned Matrices:
- If A and B are conformably partitioned for multiplication, their product C = AB can be found by treating the blocks as elements and performing matrix multiplication. For example, if A is partitioned into m×p blocks and B into p×n blocks:
Cij = ∑k (Aik Bkj)
- The inner dimensions of the blocks must be conformable for multiplication. For example, if Aik is r×s and Bkj is s×t, then their product Aik Bkj is r×t.
Characteristic Roots and Characteristic Vectors
Characteristic roots (eigenvalues) and characteristic vectors (eigenvectors) are fundamental concepts in linear algebra, revealing intrinsic properties of linear transformations and matrices.
Characteristic Roots (Eigenvalues)
Definition: A scalar λ (lambda) is called a characteristic root or eigenvalue of a square matrix A if there exists a non-zero vector x such that Ax = λx.
To find eigenvalues:
- Form the characteristic equation: det(A - λI) = 0, where I is the identity matrix of the same dimension as A.
- Solve the polynomial equation for λ. The roots of this equation are the eigenvalues.
Characteristic Vectors (Eigenvectors)
Definition: A non-zero vector x is called a characteristic vector or eigenvector corresponding to an eigenvalue λ of a square matrix A if Ax = λx.
To find eigenvectors:
- For each eigenvalue λ found, substitute it back into the equation (A - λI)x = 0.
- Solve the resulting system of linear equations for x. The non-trivial solutions are the eigenvectors corresponding to λ.
Properties of Characteristic Roots and Vectors
For a square matrix A of order n:
- The sum of the eigenvalues is equal to the trace of the matrix (sum of diagonal elements): ∑ λi = Tr(A).
- The product of the eigenvalues is equal to the determinant of the matrix: Π λi = det(A).
- If λ is an eigenvalue of A, then λk is an eigenvalue of Ak for any positive integer k.
- If λ is an eigenvalue of a non-singular matrix A, then 1/λ is an eigenvalue of A-1.
- A square matrix A and its transpose AT have the same eigenvalues.
- The eigenvalues of a symmetric matrix are always real.
- Eigenvectors corresponding to distinct eigenvalues are linearly independent.
- If a matrix A is triangular (upper or lower), its eigenvalues are its diagonal entries.
Applications of Characteristic Roots and Vectors
- Diagonalization of Matrices: Eigenvalues and eigenvectors are crucial for diagonalizing a matrix, which simplifies many matrix computations (e.g., A = PDP-1, where D is a diagonal matrix of eigenvalues and P is a matrix whose columns are eigenvectors).
- Solving Systems of Differential Equations: Eigenvalues and eigenvectors provide solutions to linear systems of ordinary differential equations.
- Principal Component Analysis (PCA): Used in statistics and data analysis for dimensionality reduction.
- Stability Analysis: In dynamic systems, eigenvalues determine the stability of equilibria.
Cayley-Hamilton Theorem
Statement of the Theorem: Every square matrix satisfies its own characteristic equation.
If the characteristic equation of an n×n matrix A is given by p(λ) = cnλn + cn-1λn-1 + ... + c1λ + c0 = 0, then according to the Cayley-Hamilton theorem, substituting A for λ gives:
cnAn + cn-1An-1 + ... + c1A + c0I = 0
where I is the identity matrix of the same order as A, and 0 is the null matrix.
Applications of Cayley-Hamilton Theorem
1. Finding the Inverse of a Matrix:
- From the characteristic equation p(A) = 0, if c0 ≠ 0 (i.e., det(A) ≠ 0), we can write:
cnAn + ... + c1A = -c0I
- Multiply by A-1:
cnAn-1 + ... + c1I = -c0A-1
A-1 = (-1/c0)(cnAn-1 + ... + c1I)
2. Calculating Higher Powers of a Matrix:
- The theorem allows expressing higher powers of A (An, An+1, etc.) as a linear combination of lower powers of A (A0, A1, ..., An-1). This can simplify computations significantly.
Quadratic Forms
Quadratic forms are a specific type of mathematical expression that arises in various fields, including optimization, statistics, and geometry.
Definition of Quadratic Form
Definition: A quadratic form in n variables x1, x2, ..., xn is a homogeneous polynomial of degree two of the form:
Q(x1, x2, ..., xn) = ∑i=1n ∑j=1n aijxixj
For example, a quadratic form in two variables x1, x2 is: Q(x1, x2) = a11x12 + 2a12x1x2 + a22x22.
Matrix Representation of a Quadratic Form
Every quadratic form Q(x) can be uniquely represented in matrix form as xTAx, where x is a column vector of variables and A is a symmetric matrix called the matrix of the quadratic form.
If x = [x1, x2, ..., xn]T, then A is an n×n symmetric matrix where:
- Diagonal elements: aii corresponds to the coefficient of xi2.
- Off-diagonal elements: aij = aji, and each equals half the coefficient of xixj.
Example: For Q(x1, x2) = 3x12 + 4x1x2 + 5x22,
x = [[x1],
[x2]]
A = [[3 2],
[2 5]]
Then Q(x) = xTAx.
Canonical Form of a Quadratic Form
A quadratic form is said to be in canonical form if it contains only square terms, i.e., no cross-product terms (xixj for i ≠ j). This can be achieved by an orthogonal transformation of variables, which is related to diagonalizing the matrix A of the quadratic form.
- If A is orthogonally diagonalizable (which it always is if A is symmetric), then there exists an orthogonal matrix P such that PTAP = D, where D is a diagonal matrix of eigenvalues.
- By making the substitution x = Py, where y are new variables, the quadratic form xTAx transforms to yT(PTAP)y = yTDy.
yTDy = λ1y12 + λ2y22 + ... + λnyn2
This is the canonical form, where λi are the eigenvalues of A.
Nature of Quadratic Forms
The nature of a quadratic form (positive definite, negative definite, etc.) is determined by the signs of the eigenvalues of its associated symmetric matrix A.
| Nature of Quadratic Form | Eigenvalues (λi) of A |
|---|---|
| Positive Definite | All λi > 0 |
| Positive Semi-definite | All λi ≥ 0, and at least one λi = 0 |
| Negative Definite | All λi < 0 |
| Negative Semi-definite | All λi ≤ 0, and at least one λi = 0 |
| Indefinite | Some λi > 0 and some λi < 0 |