Introduction
MATH1012 Chapter 1 Goals:
- Identify linear equations
- Solve systems of linear equations
- Determine how many solutions a system has
A linear equation is an equation whose terms are numbers and variables to the first power.
A solution to a linear equation is a choice of values (numbers) for the variables that satisfies the equation.
Systems of Linear Equations
A system of linear equations (SLE) is a collection of linear equations.
A solution to an SLE must satisfy all the equations.
-
We can visualise solutions to SLEs with 2 or 3 variables
- e.g. using 2D and 3D geometry to plot a line/plane
-
Solutions written as:
- Variables and set are an example
-
An SLE can have:
- No solutions
- Unique solution
- Infinite solutions
Theorem 1.7. (Unit Reader)
Elementary row operations change the system of linear equations but do not alter the solution set.
Keep changing an SLE into a simpler SLE
Read about leading entries in Wk1 lecture slides (page 25)
Summary of Gaussian Elimination Method
- Write system of equations in augmented matrix
- Use Gaussian elimination to convert into row echelon form
- Identify leading entries and basic and non-basic variables
Matrix Notation
When showing working during Gaussian Elimination, show that you have changed the row by writing the way you reduced it ‘overwriting’ the original row.
e.g. R ← R - kR
For the next overwrite, R will represent what it equalled in the recent matrix and this will simplify your working.
e.g. write R ← R instead of R ← (R - 3R)
Using Matrix Form to Solve Simultaneous Equations
-
We can use matrix form to solve simultaneous equations with any number of unknown variables (given we have enough information)
-
We can write a series of equations as an augmented matrix:
-
We define each equation as a row, e.g. for the first equation, for the second equation, etc.
- are the coefficients for for the equation
- The final value in each row is the answer for the given row
- They can be separated from the coefficients by a dashed line, however I didn’t know how to do that in LaTeX
-
Using this form, we can convert it to echelon form to solve for
-
Lets look at converting 3 simultaneous equations into a matrix:
- Becomes:
- Becomes:
It is ideal to try make the coefficient for equal to in the first row, this makes it much easier to convert the matrix into echelon form later on.
Row Echelon Form
- Now that we have a matrix, to solve for , we can use echelon form:
- We must convert the numbers below the leading diagonal of our augmented matrix into
- This gives us a solution for and an expression in terms of and
- Thus it becomes very easy to solve for
- We can do this by manipulating the rows with arithmetic:
- This rearranged form gives us:
- →
- →
- →
- Thus our solution is: and
A matrix in row-echelon form will have all rows of zero at the bottom
Reduced Row-Echelon Form
A matrix is in reduced row echelon form if:
- It is in row echelon form
- Each leading entry is equal to 1
- Each leading entry is the only non-zero entry in its column.
Simultaneous Equations with Zero or Infinite Solutions
-
You will need to be able to geometrically represent what it means for a series of simultaneous equations to have zero and infinite solutions
-
When a series of simultaneous equations have 0 solutions:
Transclude of simulatenousnosolutions
- Typically it means that we can reduce an equation into the form where
- This equation has no solution
- Geometrically, it means that the three planes do not intersect all at once at any point
- Typically it means that we can reduce an equation into the form where
-
When a series of simultaneous equations have infinite solutions:
Transclude of simulatenousinfinitesolutions
- Typically it means one or more equations do not give us any information, i.e.
- Thus with only two or less simultaneous equations and three unknowns, there are infinite solutions
- Geometrically it means that the three equations all define the same plane, or the intersection between all three planes is a line
- Typically it means one or more equations do not give us any information, i.e.
-
You may be given a matrix with two undefined values and must state for what values does the matrix have one, infinite or zero solutions
- You may also have to geometrically represent this information
A row of zeros in an augmented matrix means that row has an identical equation as another row, thus they are geometrically the same plane
Vital Point
- All non-basic variables are free variables
- All basic variables are linear combinations of constants and free variables
- e.g. is a basic variable defined as
- Leading entries will become basic variables
Always want to achieve row-echelon form and then we can systematically solve the matrix