x+2y−3z+4w+10h=5: Linear equation with 5 variables.
Definition of a Linear System (L.S):
A linear system (L.S) is a set of linear equations grouped together, each containing the same number of variables.
Solving a linear system means finding a specific value or set of values assigned to the variables that simultaneously satisfy all equations of the system when substituted.
Worked Example 1: Solving via the Elimination Method (Unique Solution):
Consider the system:
{2x+3y=2x+4y=1(1)(2)
Multiply equation (2) by −2 to produce equation (3):
−2x−8y=−2(3)
Add equations (1) and (3) together:
(2x+3y)+(−2x−8y)=2+(−2)⟹−5y=0⟹y=0
Substitute y=0 back into equation (1):
2x+3(0)=2⟹2x=2⟹x=1
The set of solutions is:
S={(x,y)=(1,0)}
This represents a unique solution.
Worked Example 2: Inconsistent System (No Solution):
Consider the system:
{2x+3y=22x+3y=5(1)(2)
Subtract equation (2) from equation (1):
(1)−(2)⟹0=−3
This is impossible (a contradiction), meaning no solution exists.
Classification of Linear Systems by Solution Count:
A linear system can have:
No solution (inconsistent system).
A unique solution (consistent system).
Infinitely many solutions (consistent system).
Definition of Consistency:
A consistent system is a linear system that admits at least one solution (either unique or infinitely many).
An inconsistent system is a linear system that admits no solution.
Example 1 is consistent; Example 2 is inconsistent.
Worked Example 3: Consistent System with Infinitely Many Solutions:
Solve the system:
{x1+2x2−3x3=−42x1+x2−3x3=−4(1)(2)
Subtract equation (2) from equation (1):
(1)−(2)⟹−x1+x2=0⟹x2=x1
Substitute x2=x1 into equation (1):
x1+2x1−3x3=−4⟹3x1−3x3=−4⟹3x3=3x1+4⟹x3=x1+34
Substitute into equation (2) to verify consistency:
2x1+x1−3(x1+34)=−4⟹3x1−(3x1+4)=−4⟹0x1−4=−4⟹−4=−4
The identity holds for all values; thus x1 is free to vary.
Setting x1=t∈R, the full set of solutions is:
S={(x1,x2,x3)=(t,t,t+34),t∈R}
The system is consistent with infinitely many solutions.
Sample particular solutions:
For t=0⟹(0,0,34)
For t=1⟹(1,1,37)
Homogeneous Systems:
A homogeneous system is a linear system in which all equations have a second member (constant term on the right-hand side) equal to zero.
Trivial Solution:
The vector (0,0,…,0) is always a solution to any homogeneous system, termed the trivial solution.
A homogeneous system can also admit non-trivial solutions (solutions where at least one variable is non-zero).
Every homogeneous system is consistent because it always admits at least the trivial solution.
Worked Example 4 (Homogeneous System with Infinitely Many Solutions):
⎩⎨⎧x+2y+z=0x−2y+z=02x+2z=0(1)(2)(3)
Add equations (1) and (2):
(1)+(2)⟹2x+2z=0(4)
Subtract equation (3) from equation (4):
(4)−(3)⟹0x=0 or 0z=0
This indicates infinitely many solutions.
Let x=t. Then from equation (3), 2z=−2x⟹z=−t.
Substitute x=t and z=−t into equation (1):
t+2y−t=0⟹2y=0⟹y=0
Solution set:
S={(x,y,z)=(t,0,−t),t∈R}
Particular instances:
t=0⟹(0,0,0) (trivial solution).
t=1⟹(1,0,−1) (non-trivial solution).
t=−2⟹(−2,0,2) (non-trivial solution).
Worked Example 5 (Homogeneous System with a Unique Trivial Solution):
⎩⎨⎧x+y+z=0x+2y−z=02x+y+z=0(1)(2)(3)
Adding equations (1) and (2):
2x+3y=0⟹x=−23y
Substitute x=−23y into equation (3):
2(−23y)+y+z=0⟹−3y+y+z=0⟹z=2y
Substitute x=−23y and z=2y into equation (1):
−23y+y+2y=0⟹23y=0⟹y=0
Substituting y=0 back yields x=0 and z=0.
The system admits only the unique trivial solution (0,0,0).
Supplementary System for Practice:
⎩⎨⎧2x+3y−z=5−2x−3y+z=−54x+6y−2z=10
Equivalent Linear Systems:
Two linear systems are said to be equivalent if and only if they possess the exact same set of solutions.
Matrices and Matrix Operations
Definition and Notation of a Matrix:
A matrix A is an array of data listed in rows and columns:
A=a11a21⋮am1a12a22⋮am2……⋱…a1na2n⋮amn=[aij]1≤i≤m1≤j≤n
A matrix having m rows and n columns has dimension m×n.
The entry aij represents the coefficient or entry of A located at the i-th row and j-th column.
Example Matrix:
A=120210301422
Dimension: 3×4.
Entries: a22=1, a31=0, a14=4.
The entry a41 does not exist because there are only 3 rows.
Space Notation: Mm,n(R) denotes the set of all matrices of dimension m×n with entries belonging to R.
Square Matrix: When m=n (number of rows equals number of columns), the matrix is termed a square matrix of dimension m.
Main Diagonal: In any square matrix, the main diagonal is composed of the entries where the row index equals the column index:
{a11,a22,…,amm}
For example, in the 4×4 square matrix:
A=1151204031725363
The main diagonal consists of the entries: 1,0,7,3.
Row and Column Vectors:
Let A∈Mm,n(R):
If m=1, A is called a row vector. Example: A=(1205)∈M1,4(R).
If n=1, A is called a column vector. Example: A=225∈M3,1(R).
Overview of Fundamental Matrix Operations:
Equality: Defined between two matrices if and only if they share identical dimensions and all corresponding entries are equal.
Addition: Defined between two matrices if and only if they have the exact same dimension.
Scalar Multiplication: Can be performed for any scalar on any matrix regardless of dimension.
Transpose: Can be performed on any matrix of any dimension.
Multiplication: Constrained by dimension; the number of columns in the first matrix must match the number of rows in the second matrix.
Example Practice Problem:
Given A=(102−151) and B=21−1010217.
Determine (2A−3B)T and (A+2B)T (noting dimension constraints).
Definition and Examples of Matrix Trace:
Let A be a square matrix of dimension n. The trace of A, denoted Tr(A), is the sum of all entries residing on the main diagonal:
Tr(A)=∑i=1naii=a11+a22+⋯+ann
Examples:
For A=(1−123), Tr(A)=1+3=4.
For A=13−124501−2, Tr(A)=1+4+(−2)=3.
Algebraic Properties of Matrix Operations
Properties of Matrix Addition:
Let A,B,C∈Mm,n(R):
Commutativity: A+B=B+A
Associativity: (A+B)+C=A+(B+C)
Identity Element: There exists an m×n zero matrix 0m,n such that:
A+0m,n=0m,n+A=A
Additive Inverse: There exists an m×n matrix D=−A (called the negative of A) such that:
A+D=D+A=0m,n
Properties of Scalar Multiplication:
Let r,s∈R and A,B be matrices of appropriate dimensions:
Associativity of Scalars: r⋅(s⋅A)=(r⋅s)⋅A
Distributivity over Scalar Addition: (r+s)⋅A=r⋅A+s⋅A
Distributivity over Matrix Addition: r⋅(A+B)=r⋅A+r⋅B
Compatibility with Matrix Multiplication: (rA)⋅B=A⋅(rB)=r⋅(AB)
Worked Example Demonstrating Scalar Associativity:
Let A=(1324):
2⋅(3⋅A)=2⋅(39612)=(6181224)(2⋅3)⋅A=6⋅A=(6181224)
Both calculations produce identical results.
Properties of Matrix Multiplication:
Associativity: A⋅(B⋅C)=(A⋅B)⋅C
Right Distributivity: (A+B)⋅C=AC+BC=CA+CB (the order of factors must be respected).
Left Distributivity: A⋅(B+C)=AB+AC
Non-Commutativity: In general, matrix multiplication is not commutative:
AB=BA(in general)
Properties of the Transpose Operation:
Let r∈R and A,B be matrices of compatible sizes:
Involution: (AT)T=A
Transpose of a Sum: (A+B)T=AT+BT
Transpose of Scalar Multiplication: (r⋅A)T=r⋅AT
Transpose of a Product: (A⋅B)T=BT⋅AT
Properties of the Trace:
Let λ∈R and A,B∈Mn(R):
Scalar Linearity: Tr(λA)=λTr(A)
Additive Linearity: Tr(A+B)=Tr(A)+Tr(B)
Commutative Tracing of Products: Tr(A⋅B)=Tr(B⋅A)
Invariance under Transpose: Tr(AT)=Tr(A)
Non-Negativity of Gram Trace: Tr(A⋅AT)≥0
Powers and Exponents of Square Matrices:
Let A,B∈Mn(R) and p,q∈N:
Definition: Ap=p timesA×A×⋯×A
Index Law 1: Ap⋅Aq=Ap+q
Index Law 2: (Ap)q=Ap⋅q
Power of a Commuting Product: If AB=BA, then (AB)p=ApBp.
Derivation for p=3 assuming AB=BA:
(AB)3=(AB)(AB)(AB)=A(BA)(BA)B=A(AB)(AB)B=A⋅A⋅(AB)⋅B⋅B=A3B3
Special Matrix Types and Matrix Inversion
The Identity Matrix:
The identity matrix of dimension n, denoted In, is the square matrix defined by:
aij={01if i=jif i=j∀1≤i,j≤n
For rectangular matrix A∈Mm,n(R): A⋅In=A and Im⋅A=A.
The Inverse of a Matrix:
Definition: A square matrix A of dimension n is invertible (or non-singular) if and only if there exists a matrix B∈Mn(R) such that:
A⋅B=B⋅A=In
The matrix B is denoted by A−1, known as the inverse of A.
Verification Example:
Show that B=(−1123−1) is the inverse of A=(2232).
Compute the product A⋅B:
A⋅B=(2232)(−1123−1)=(2(−1)+3(1)2(−1)+2(1)2(23)+3(−1)2(23)+2(−1))=(1001)=I2
Thus, B=A−1.
Fundamental consequence: (A−1)−1=B−1=A (the inverse of the inverse is the original matrix).
Constructive Inversion Example using Systems of Equations:
Find the inverse of A=(2133).
Let A−1=(xzyt). The requirement is A⋅A−1=I2:
(2133)(xzyt)=(2x+3zx+3z2y+3ty+3t)=(1001)
This creates two independent systems of linear equations:
{2x+3z=1x+3z=0(1)(2)and{2y+3t=0y+3t=1(3)(4)
Solve the first pair:
(1)−(2)⟹x=1
From (2), 3z=−x=−1⟹z=−31
Solve the second pair:
(3)−(4)⟹y=−1
From (3), 2(−1)+3t=0⟹3t=2⟹t=32
Therefore, the inverse is:
A−1=(1−31−132)
Properties of Matrix Inverses:
Involution: (A−1)−1=A
Uniqueness: If the inverse of a matrix exists, it is unique.
Product Inversion (Reversal of Order): If A and B are invertible matrices of dimension n, then AB is invertible and:
(A⋅B)−1=B−1⋅A−1
Transpose Inversion: If A is invertible, then AT is invertible and:
(AT)−1=(A−1)T
One-Sided Inverse Equivalence: Let A∈Mn(R). If there exists a matrix D∈Mn(R) such that A⋅D=In, then there exists C∈Mn(R) such that C⋅A=In, and C=D=A−1.
Common Algebraic Pitfalls:
General Non-Commutativity: A⋅B=B⋅A
Zero-Divisors Exist: A \cdot B = 0 \centernot\implies A = 0 \text{ or } B = 0
Invalidation of General Cancellation: A B = A C \centernot\implies B = C
Cancellation is valid if and only if A is invertible: If A is invertible and AB=AC, then multiplying both sides by A−1 yields B=C.
Upper Triangular Matrix: aij=0 whenever i>j (all entries strictly below the main diagonal are zero; entries on or above the diagonal are not necessarily zero).
Lower Triangular Matrix: aij=0 whenever i<j (all entries strictly above the main diagonal are zero).
Symmetric Matrix: A matrix equal to its transpose:
A=AT⟺aij=aji∀i,j
The upper triangle mirrors the lower triangle; the main diagonal entries can be any values.
Example: 135320501.
Skew-Symmetric Matrix: A matrix equal to the negative of its transpose:
A=−AT⟺aij=−aji∀i,j
For diagonal entries, aii=−aii⟹2aii=0⟹aii=0. Thus, all main diagonal entries of a skew-symmetric matrix must be zero.
Example: (0−220).
Matrix Classification Examples:
100000321: Upper triangular matrix.
12320−13−10: Symmetric matrix.
100200311423: Rectangular 3×4 matrix (neither triangular nor symmetric).
(1−221): Neither symmetric nor skew-symmetric (main diagonal is non-zero).
1000010000100000: Diagonal matrix of dimension 4.
Theoretical Matrix Algebra Exercises:
Exercise 1: Let A be a square matrix of dimension n. Prove that A⋅AT is a symmetric matrix.
Proof: Using the transpose property of products, (A⋅AT)T=(AT)T⋅AT=A⋅AT. Because the matrix equals its own transpose, it is symmetric.
Exercise 2: Prove or disprove each statement:
a) If A⋅B=B⋅A, then A2B=BA2.
b) For any n×n matrix A, AT⋅A=A⋅AT.
c) If A is invertible, then there exists B=0 such that A⋅B=0.
Row Echelon Forms and Elementary Operations
Definition of Row Echelon Form (R.E.F):
An m×n matrix is in Row Echelon Form (R.E.F) if it meets the following criteria:
a) All rows consisting entirely of zeros (zero rows), if any exist, are grouped at the very bottom of the matrix.
b) The first non-zero entry of any non-zero row (reading from left to right) is equal to 1. This entry is termed the leading one (or pivot) of the row.
c) For any two successive non-zero rows i and i+1, the leading one of row i+1 appears strictly to the right of the leading one of row i.
As a necessary consequence, in any matrix in R.E.F, all entries lying directly below each leading one are zero.
Definition of Reduced Row Echelon Form (R.R.E.F):
An m×n matrix is in Reduced Row Echelon Form (R.R.E.F) if it satisfies conditions (a), (b), and (c) of R.E.F, plus the following additional condition:
d) All entries appearing both directly below and directly above each leading one are zero (each leading one is the only non-zero entry in its entire column).
Examples of Form Classifications:
Matrix a:
10020000140−3
Not in R.E.F because a zero row is situated above a non-zero row.
2) Multiply a row by a non-zero scalar: Ri←kRi where k=0.
3) Add a scalar multiple of one row to another row: Ri←Ri+kRj.
Systematic Reduction Algorithm to R.E.F and R.R.E.F:
Step 1: Search for the pivot column, which is the first column from the left that does not consist entirely of zeros.
Step 2: Identify the first non-zero entry in the pivot column. If this entry is not at the top of the current working block, swap rows to place it at the top. This entry serves as the pivot. Scale the row by pivot1 to turn it into a leading one.
Step 3: Apply row addition operations using the leading one row to clear all entries directly beneath the pivot to zero. Repeat Steps 1 through 3 on the remaining submatrix below and to the right until the matrix achieves R.E.F.
Step 4 (To reach R.R.E.F): Starting with the rightmost leading one and moving backwards, use elementary row additions to eliminate all non-zero entries lying above the leading ones.
Row Equivalence and Matrix Rank:
Row Equivalence: An m×n matrix B is row equivalent to an m×n matrix A if B can be obtained from A by applying a finite sequence of elementary row operations.
Matrix Rank: Given an m×n matrix A, the rank of A, denoted rank(A), is the total number of leading ones present in the matrix after it has been fully transformed into R.E.F.
Practice Transformation Matrix:
A=050012300211001121013010070301
Transform this matrix into R.E.F and R.R.E.F to determine rank(A).
Matrix Representation of Systems and Solving Methods
Formulating Linear Systems as Matrix Equations:
Consider a general system (S) of m equations and n unknowns with coefficients in R (or C), where m,n≥1:
(S):⎩⎨⎧a11x1+a12x2+⋯+a1nxn=b1a21x1+a22x2+⋯+a2nxn=b2⋮am1x1+am2x2+⋯+amnxn=bm
Second Member / Right-Hand Side Vector (m×1):
B=b1b2⋮bm
Compact Matrix Equation:
A⋅X=B
The product A⋅X is well-defined and has dimension m×1.
Example System:
⎩⎨⎧2x1+3x2−4x3+x4=5−2x1+x3=73x1+2x2−4x4=3
Coefficient matrix A of dimension 3×4:
A=2−23302−41010−4
Unknown vector X of dimension 4×1:
X=x1x2x3x4
Constant vector B of dimension 3×1:
B=573
The Augmented Matrix:
The augmented matrix associated with system (S) is denoted (A∣B), combining coefficients and constants:
(A∣B)=a11a21⋮am1a12a22⋮am2……⋱…a1na2n⋮amnb1b2⋮bm
Critical Rule: Only elementary row operations are permitted on augmented matrices; column operations alter the system relationships and are strictly forbidden.
Matrix-Based Methods for Solving Linear Systems:
1) Gaussian Elimination: Transform the augmented matrix (A∣B) into R.E.F, followed by back-substitution to solve for each variable.
2) Gauss-Jordan Reduction: Transform the augmented matrix (A∣B) directly into R.R.E.F, from which solution values can be read immediately without back-substitution.
3) Matrix Inversion (A−1): Applicable exclusively when A is square and invertible:
AX=B⟹A−1(AX)=A−1B⟹(A−1A)X=A−1B⟹X=A−1B
This directly computes the unique solution via a single matrix product.
4) Cramer's Rule: Applicable when A is square and invertible, utilizing determinants of coefficient replacement matrices (studied after determinants).
The Rouché-Capelli Theorem:
A linear system AX=B is consistent if and only if the rank of the coefficient matrix equals the rank of the augmented matrix:
A linear system AX=B is consistent⟺rank(A)=rank(A∣B)
Invertibility Theorems and Algorithms
Equivalence Theorem for Invertible Matrices:
Let A be a square matrix of dimension n×n. The following statements are mathematically equivalent:
A is non-singular (invertible).
A is row equivalent to the identity matrix In (A∼In).
rank(A)=n.
The linear system AX=B admits a unique solution for every vector B, given by X=A−1B.
Methods to Compute A−1:
Method 1: Gauss-Jordan Elimination on Augmented Block Matrix:
Form the block matrix of size n×2n:
(A∣In)
Apply elementary row operations to reduce the left block into R.R.E.F:
If A reduces to In:
(A∣In)R.R.E.F(In∣B)⟹B=A−1
If the left side reduces to a matrix C=In (possessing a zero row):
(A∣In)R.R.E.F(C∣B)⟹A is not invertible
Method 2: Determinants and Adjoint Matrices:
Involves the formula A−1=det(A)1adj(A), evaluated after Chapter 2.
Problem Sets and Exercises
Exercise Set I: Solvability and Parameterized Linear Systems:
1) Solve the following systems of equations:
System a:
⎩⎨⎧x1+x2+2x3=−1x1−2x2+x3=−53x1+x2+x3=3
System b:
⎩⎨⎧x+y+z+w=0x+w=0x+2y+z=0
2) Determine all values of the real parameter a for which each system has (i) no solution, (ii) a unique solution, or (iii) infinitely many solutions:
System a (Ex 1.24):
⎩⎨⎧x+y+z=22x+3y+2z=52x+3y+(a2−1)z=a+1
System b:
⎩⎨⎧x+2y−3z=43x−y+5z=24x+y+(a2−14)z=a+2
3) Determine the values of a and the relation between b and c such that the system admits (i) no solution, (ii) a unique solution, or (iii) infinitely many solutions:
⎩⎨⎧x+y−z=ax−y+2z=b3x+y+az=c