This is a beta course, so its structure, chapters, and examples may continue to change.
Comprehensive Exercises on Systems of Linear Equations
Exercises
Exercise 1
Analyse the structure of the solutions of the system {x+y=22x+2y=4.
system of linear equationsGaussian eliminationfundamental system of solutionsrank
Approach:
Use Gaussian elimination to analyse the structure of the solutions.
Steps:
- The augmented matrix: (1212∣∣24)
- Reduce to row echelon form: (1010∣∣20)
- The rank of the coefficient matrix is 1, the rank of the augmented matrix is 1, and the number of unknowns is 2
- The rank of the coefficient matrix equals the rank of the augmented matrix, and is less than the number of unknowns
Answer: there are infinitely many solutions
Exercise 2
Solve {x+2y=53x−y=4 by Cramer’s rule.
system of linear equationsGaussian eliminationfundamental system of solutionsCramer's rule
Approach:
Follow the steps of Cramer’s rule.
Steps:
- The coefficient matrix: A=(132−1)
- ∣A∣=1×(−1)−2×3=−1−6=−7=0
- ∣A1∣=542−1=5×(−1)−2×4=−5−8=−13
- ∣A2∣=1354=1×4−5×3=4−15=−11
- x=−7−13=713, y=−7−11=711
Answer: x=713, y=711
Exercise 3
Write down the fundamental system of solutions of {x+y+z=02x+2y+2z=0.
system of linear equationsGaussian eliminationfundamental system of solutionsaugmented matrix
Approach:
Follow the steps for finding a fundamental system of solutions.
Steps:
- The augmented matrix: (121212∣∣00)
- Reduce to row echelon form: (101010∣∣00)
- Pivot: x; free variables: y,z
- Setting y=1,z=0 gives v1=(−1,1,0)
- Setting y=0,z=1 gives v2=(−1,0,1)
Answer: the fundamental system of solutions is {(−1,1,0),(−1,0,1)}
Exercise 4
Solve ⎩⎨⎧x+y+z=62x+3y+z=13x−y+2z=4 by Gaussian elimination.
system of linear equationsGaussian eliminationfundamental system of solutionsaugmented matrix
Approach:
Follow the steps of Gaussian elimination.
Steps:
- The augmented matrix: 12113−1112∣∣∣6134
- Forward elimination:
- R2−2R1: 10111−11−12∣∣∣614
- R3−R1: 10011−21−11∣∣∣61−2
- R3+2R2: 1001101−1−1∣∣∣610
- Back substitution:
- From the third row: −z=0, so z=0
- From the second row: y−z=1, so y=1
- From the first row: x+y+z=6, so x=5
Answer: x=5, y=1, z=0
Exercise 5
Decide whether {x+y=1x+y=2 has a solution.
system of linear equationsGaussian eliminationfundamental system of solutionsrank
Approach:
Use Gaussian elimination to work out which case you are in.
Steps:
- The augmented matrix: (1111∣∣12)
- Reduce to row echelon form: (1010∣∣11)
- The rank of the coefficient matrix is 1, the rank of the augmented matrix is 2
- The rank of the coefficient matrix is less than the rank of the augmented matrix
Answer: there is no solution
Exercise 6
Find the parametric solution of the system {x+y+z=12x+2y+2z=2.
system of linear equationsGaussian eliminationfundamental system of solutionsaugmented matrix
Approach:
Reduce to row echelon form by Gaussian elimination, then express the solution in terms of parameters.
Steps:
- The augmented matrix: (121212∣∣12)
- Reduce to row echelon form: (101010∣∣10)
- Pivot: x; free variables: y,z
- Let y=t and z=s, then x=1−t−s
Answer: x=1−t−s, y=t, z=s (where t,s are arbitrary constants)
Exercise 7
Solve the system {2x+y=7x−3y=−4 by Cramer’s rule.
system of linear equationsGaussian eliminationfundamental system of solutionsCramer's rule
Approach:
Follow the steps of Cramer’s rule.
Steps:
- The coefficient matrix: A=(211−3)
- ∣A∣=2×(−3)−1×1=−6−1=−7=0
- ∣A1∣=7−41−3=7×(−3)−1×(−4)=−21+4=−17
- ∣A2∣=217−4=2×(−4)−7×1=−8−7=−15
- x=−7−17=717, y=−7−15=715
Answer: x=717, y=715
Exercise 8
Decide whether the system {x+y=12x+2y=2 can be solved by Cramer’s rule.
system of linear equationsGaussian eliminationfundamental system of solutionscoefficient matrix
Approach:
Check the determinant of the coefficient matrix.
Steps:
- The coefficient matrix: A=(1212)
- ∣A∣=1×2−1×2=2−2=0
- The determinant is zero, so Cramer’s rule does not apply
Answer: it cannot be solved by Cramer’s rule
Exercise 9
Solve the system ⎩⎨⎧x+y+z=62x+3y+z=13x−y+2z=4 by Gauss-Jordan elimination.
system of linear equationsGaussian eliminationfundamental system of solutionsaugmented matrix
Approach:
First reduce to row echelon form by Gaussian elimination, then reduce to reduced row echelon form by Gauss-Jordan elimination.
Steps:
- The augmented matrix: 12113−1112∣∣∣6134
- Gaussian elimination:
- R2−2R1: 10111−11−12∣∣∣614
- R3−R1: 10011−21−11∣∣∣61−2
- R3+2R2: 1001101−1−1∣∣∣610
- Gauss-Jordan elimination:
- R3×(−1): 1001101−11∣∣∣610
- R2+R3: 100110101∣∣∣610
- R1−R2−R3: 100010001∣∣∣510
- Read off the solution directly: x=5, y=1, z=0
Answer: x=5, y=1, z=0
Exercise 10
Find the dimension of the solution space of the system {x+y+z=02x+3y+z=0.
system of linear equationsGaussian eliminationfundamental system of solutionscoefficient matrix
Approach:
Compute the rank of the coefficient matrix, then use the formula to get the dimension of the solution space.
Steps:
- The coefficient matrix: A=(121311)
- Reduce to row echelon form: (10111−1)
- r(A)=2, n=3
- The dimension of the solution space: n−r(A)=3−2=1
Answer: the dimension of the solution space is 1
Exercise 11
Prove that: the solution space of the homogeneous linear system Ax=0 is a vector space.
system of linear equationsGaussian eliminationfundamental system of solutionsvector space
Approach:
Verify the three conditions of a vector space.
Steps:
- Zero element: 0 is a solution, since A0=0
- Closure under addition: if x1,x2 are solutions, then A(x1+x2)=Ax1+Ax2=0+0=0
- Closure under scalar multiplication: if x is a solution and k is a constant, then A(kx)=k(Ax)=k0=0
Answer: the proof is complete
Exercise 12
Decide which case the system {x+2y=52x+4y=10 falls into.
system of linear equationsGaussian eliminationfundamental system of solutionsdeterminant
Approach:
First check the determinant, then work out which case you are in.
Steps:
- The coefficient matrix: A=(1224)
- ∣A∣=1×4−2×2=4−4=0
- Cramer’s rule does not apply
- Look at the two equations: the second equation is twice the first
- The two equations are equivalent, so there are infinitely many solutions
Answer: there are infinitely many solutions
Exercise 13
Find the fundamental system of solutions of the system ⎩⎨⎧x+y+z=12x+2y+2z=23x+3y+3z=3.
system of linear equationsGaussian eliminationfundamental system of solutionsaugmented matrix
Approach:
Reduce to row echelon form by Gaussian elimination, then find the fundamental system of solutions.
Steps:
- The augmented matrix: 123123123∣∣∣123
- Reduce to row echelon form: 100100100∣∣∣100
- Pivot: x; free variables: y,z
- Setting y=1,z=0 gives v1=(−1,1,0)
- Setting y=0,z=1 gives v2=(−1,0,1)
Answer: the fundamental system of solutions is {(−1,1,0),(−1,0,1)}
Exercise 14
Prove that: if the homogeneous linear system Ax=0 has a nonzero solution, then ∣A∣=0.
system of linear equationsGaussian eliminationfundamental system of solutionsCramer's rule
Approach:
Use Cramer’s rule together with a proof by contradiction.
Steps:
- Assume ∣A∣=0
- By Cramer’s rule, the system has a unique solution
- Since the system is homogeneous, the unique solution is the zero solution
- This contradicts the assumption that a nonzero solution exists
- Therefore ∣A∣=0
Answer: the proof is complete
Exercise 15
Find the parametric solution of the system {x+y+z=02x+3y+z=0.
system of linear equationsGaussian eliminationfundamental system of solutionsaugmented matrix
Approach:
Reduce to row echelon form by Gaussian elimination, then express the solution in terms of parameters.
Steps:
- The augmented matrix: (121311∣∣00)
- Reduce to row echelon form: (10111−1∣∣00)
- Pivots: x,y; free variable: z
- Let z=t, then y=t and x=−2t
Answer: x=−2t, y=t, z=t (where t is an arbitrary constant)