Helpful Tools for Calculus, Chapter 2: Helpful Tools for the Mathematics of Calculus
Previous Section: 2.2 Proof
Systems of Equations
Once again, this topic is one that is deserving of its own text. We will focus on the use of matrices to solve a system of equations. We should start by introducing the context in which this is useful.
When we have a system of two or more equations there are multiple ways we can solve them to find the solution(s) that satisfy all of the equations at the same time. In middle school Algebra, the methods of substitution and graphing are often emphasized.
When solving a system with many equations it gets much more complicated and it is easy to organize with a matrix. A matrix is a structure that organizes the equations into rows and columns where each slot represents the coefficients of certain parts of each equation. Rows represent the equations while columns represent the terms:
x+2y+z=3
3x-y-3z=-1
2x+3y-z=4
This is a system of equations with three variables. That can be represented as:
(■(1& 2& 1 @3&-1&-3 @2& 3&-1 )│■( 3@ -1@ 4))
The following notation is not often used, but is helpful when learning to understand what each part is:
■( x& y& z)= #
■(f_1@f_2@f_3 )(■(1& 2& 1 @3&-1&-3 @2& 3&-1 )│■( 3@ -1@ 4))
The f’s are the functions in order and the columns represent the x,y, and z values as well as the constant. The vertical bar is most similar to the equal sign in the equations.
Example 1: Convert the following system into a matrix:
2x+3y+z=4
-x+5y+2z=-3
x+z=2
Solution:
(■(2&3&1@-1&5&2@1&0&1)│■(4@-3@2))
Example 2: Convert the following system into a matrix:
x_1-x_2+x_3=5
x_1-x_3=0
〖3x〗_1-2x_2=9
Solution:
(■(1&-1&1@1&0&-1@3&-2&0)│■(5@0@9))
Solving a Matrix
In order to solve a system of equations represented by a matrix, there are three main operations we can follow. These are called Elementary Row Operations and the process of using them is called Gaussian Elimination, named after the mathematician Carl Friedrich Gauss.
The Elementary Row Operations are as follows:
I. Any two rows can be interchanged
II. Any row can be multiplied by a nonzero real number
III. Any row can be added to another row
The goal is to make the matrix look like the following:
(■(1& 0& 0 @0& 1&0@0& 0&1)│■( A@ B@ C))
Example 3: Solve the following matrix:
(■(&&@&&@&&)│■(@@))
Solution:
Example 4: Solve the following matrix:
(■(&&@&&@&&)│■(@@))
Solution:
Review
A matrix is used to represent a system of equations
Elementary Row Operations are used to solve a matrix:
Any two rows can be interchanged
Any row can be multiplied by a nonzero real number
Any row can be added to another row