
























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























































Introduction iv
Introduction
In this course you will learn about linear algebra by solving a carefully designed sequence of problems. It is important that you understand every problem and proof. As hard as it is to imagine, you will occasionally want to have more questions to work on in order to fully understand the ideas in this class. Feel free to ask me about additional problems to consider when you are stuck. The notes and problems will refer back to previous parts, so I suggest you keep a binder with the notes and your work together and bring all of these materials to class and any office hours. I also suggest having several colored pens or pencils to help you draw and label your work so it will be easily understood. Your written work needs to be legible and large enough so that someone else can easily read and understand what you are doing.
Unlike mathematics courses you have had in the past, solving a problem in this course will always have two components:
This will help prepare you to use mathematics in the future, when there will not be someone to tell you if your solution is correct or not. That is also why it will be primarily up to you (the students) to assess the correctness of work done and presented in class. This means that using the proper lan- guage (both written and spoken) and specificity are keys to effective com- munication. This class will teach you about the specificity and precision of mathematical language, so it is important that you practice and work on this. In order for you to understand the ideas in this class you will need to evaluate other people’s ideas as well as your own for correctness. The work in this class is not about getting an answer but rather making sense of the process and ideas involved in the problems. For this reason, justification in your work and ideas is very important. Why you did or tried something is just as important as what you did or what result you got. In fact, clearly articulating your thought process will make you a more efficient thinker.
iv
Introduction v
You are not alone in this course. The role of the instructor is to guide the discussion and make sure you have the resources to be successful. While this new learning environment can be a bit unsettling for students at first, you will get comfortable as you do more problems and get feedback from other students and the instructor. I am also here to help you outside of class time and expect you to find a way to get the help you need, whether face to face or over email. You will find that once you have thought about a problem for a little while, it will only take a little push to get unstuck.
Some Notation:
Definitions will be bolded for some terms and others will have their own heading and number. Many definitions and comments will be numbered so that everyone will be able to refer to them in work.
You will need to make some plots in this class and it will be advanta- geous to use a computer algebra system in some problems. For this rea- son, I suggest that if you have not already, you should make an account on the Sage MathCloud at https://cloud.sagemath.com. Additionally, the Sage Math Cloud will allow you to easily write your work in LaTex, a wonderful typsetting program. A homework bonus will be given to students who write their work in LaTex.
Throughout this course we will be doing many of the same things you did in the previous questions, but we will do them in a more general setting that will allow us to solve many new and old problems.
Our first chapter will cover the ideas of efficiently solving a system of linear equations and matrix operations.
A system of m linear equations in n variables can be written:
a 11 x 1 + a 12 x 2 + ... + a 1 nxn = b 1 a 21 x 1 + a 22 x 2 + ... + a 2 nxn = b 2 .. .
am 1 x 1 + am 2 x 2 + ... + amnxn = bm
The term ai j is the coefficient of the j-th variable (denoted x (^) j) in the i-th equation. A solution is choice of variable values that satisfy all equations in the system. A solution is not a particular variable value but must include a choice for all variables in the system. The solution set for a system of equations is the set of all possible solutions. We will have many ways to describe solutions to a system this semester but they all specify the values of x 1 , x 2 , ..., and xn, sometimes as an ordered n-tuple (x 1 , x 2 , ..., xn).
Question 9. Is ( 1 , 2 , 3 ) a solution to the following system?
1 x 1 + 2 x 2 + 3 x 3 = 14 2 x 1 − 3 x 2 + 2 x 3 = 0 x 1 + 7 x 3 = 0
The previous problem shows how easy it is to check if a set of variable values is a solution, but finding a solution or the set of all solutions is harder but very important to many problems. Generally speaking, the process of finding the solution set for a system of equations is to trade the system of equations you have for an equivalent system (a system with the same solu- tion set). Hopefully it will be easier to explicitly write the solution set of the new equivalent system. An elementary operation on a system of equations is an operation of the form:
a) multiplying an equation by a non-zero scalar b) switching two equations c) adding a multiple of one equation to another equation
Question 10. Given a set of equations in three variables show that elemen- tary operations give an equivalent system of equations. In other words, you need to show that (c 1 , c 2 , c 3 ) is a solution of the equations
a 1 x 1 + a 2 x 2 + a 3 x 3 = a 4
In order to distinguish vectors (as being more than just n by 1 matrices), we will use the arrow notation and lower case symbols like ~u and~v to denote vectors. Unless otherwise stated, we will use column vectors. For instance,
if ~v =
v 1 v 2 .. . vm
, then the second^ component^ of^ ~v^ is the scalar^ v^2. The size of
a vector in Rn^ is the number of components the vector has. In Chapter 2, we will deal with a much more general notion of vectors that will not have components like vectors in Rn.
The coefficient matrix of a linear system of m equations in n variables is a m by n matrix whose (i, j) entry is the coefficient of the j-th variable, x (^) j, in the i-th equation of the system. The augmented matrix of a linear system of m equations in n variables is a m by (n + 1 ) matrix whose first n columns are the coefficient matrix of the system and the last column is the constant terms from the right side of each equation.
The system
a 11 x 1 + a 12 x 2 + ... + a 1 nxn = b 1 a 21 x 1 + a 22 x 2 + ... + a 2 nxn = b 2 .. .
am 1 x 1 + am 2 x 2 + ... + amnxn = bm
has a coefficient matrix
a 11 a 12 ... a 1 n a 21 a 22 ... a 2 n .. .
am 1 am 2 ... amn
and an augmented matrix of
[A|b] =
a 11 a 12 ... a 1 n | b 1 a 21 a 22 ... a 2 n | b 2 .. .
am 1 am 2 ... amn | bm
For some properties of the system of equations, we need only look at the coefficient matrix but others will need the augmented matrix. It is important to know the difference and be able to state which corresponding matrix you are using in your work.
Question 13. What is the coefficient matrix for the previous systems? Give the coefficient matrix for Question i as Ai. (Hint: You should have 8 answers to this question.)
Question 14. What is the augmented matrix for the previous systems? Give the augmented matrix for Question i as Ai. (Hint: You should have 8 an- swers to this question.)
The elementary operations on equations outlined above will correspond to elementary row operations on matrices as well. Specifically, an elemen- tary row operation on a matrix is an operation of the form:
We now have operations to trade our system of equations for an equivalent system, but we have not stated a way to make sure that the solution set will be easy to explicitly state from our new equivalent system. The following matrix forms will be useful for determining solution sets and various other properties of the corresponding system of equations.
A rectangular matrix is in row echelon form if it has the following three properties:
a) All nonzero rows are above any rows of all zeros. b) Each leading entry of a row is in a column to the right of the leading entry of the row above it. c) All entries in a column below a leading entry are zeros. If a matrix in row echelon form satisfies the following additional prop- erties, then we say the matrix is in reduced row echelon form: d) The leading entry in each nonzero row is 1.
e) Each leading 1 is the only nonzero entry in its column.
The leading entry in a nonzero row of the row echelon form is called a pivot. The column in which a pivot occurs is called a pivot column and the corresponding variable is a basic variable or pivot variable. A variable corresponding to a column in which the coefficient or augmented matrix does not have a pivot are called free variables. While the echelon form is needed to find where pivots will occur, we will sometimes refer to pivot positions of a matrix even when the matrix is not in echelon form.
c) 4 x − y + 3 z = 5 3 x − y + 2 z = 7
d) 7 x − 11 y − 2 z = 3 8 x − 2 y + 3 z = 1
e) 3 r − 5 s + t = 2 − 6 r + 10 s − 2 t = 3
Question 20. Given an augmented matrix [A|b] and its row reduced echelon form [A′|b′], write a procedure (set of steps) to give the solution set to the corresponding systems of equations. Make sure you are clear in writing out your steps.
Are there any ways in which your procedure will fail to work? Are there any systems with augmented matrices which will not have a reduced row echelon form?
Two of the most important questions we will consider this semester are:
Question 21. Look back at your results so far and try to figure out what properties of the system (or corresponding matrices) will help us answer question 1 and which properties of the system will help us answer question
The space below is for you to write a statement of the theorem that the class decides is the best for determining consistency and uniqueness.
Theorem 22. Classwide statement of consistency theorem:
Theorem 23. Classwide statement of uniqueness theorem:
The following two proofs are difficult and one of the reasons we will be resubmitting proofs.
Question 24. Prove the classwide statement of the consistency theorem.
Question 25. Prove the classwide statement of the uniqueness theorem.
Question 26. Using the statement of the classwide uniqueness and consis- tency theorems, treat each of your answers to Question 17 as a coefficient matrix of a linear system of equations and state:
a) whether each corresponding system of equations will be consistent, inconsistent, or you can’t tell. b) whether each corresponding system of equations will have a unique solution, multiple solutions, no solutions, or you can’t tell.
Question 27. Using the statement of the classwide uniqueness and consis- tency theorems, treat each of your answers to Question 17 as an augmented matrix of a linear system of equations and state:
a) whether each corresponding system of equations will be consistent, inconsistent, or you can’t tell. b) whether each corresponding system of equations will have a unique solution, multiple solutions, no solutions, or you can’t tell.
1.2.1 Geometric Interpretation of a Solution Set
Recall from Question 2-8, that the solution set of a linear equation in two variables was a line in R^2 (the plane) and that the solution set of a system
Question 31. For each of the systems in Question 19, use Sage to draw a plot of each of the equations in the system and write a sentence for each system about why the plot and your answer to Question 19 make sense.
If you remember parametric equations of lines and planes in space from multivariable calculus, then we will return to those ideas in Section 1.4.
Recall that two vectors in Rn^ are equal if and only if all of their components are equal.
Question 32. Prove that the system of equations given by
a 11 x 1 + a 12 x 2 + ... + a 1 nxn = b 1 a 21 x 1 + a 22 x 2 + ... + a 2 nxn = b 2 .. .
am 1 x 1 + am 2 x 2 + ... + amnxn = bm
has the same set of solutions as the vector equation
x 1
a 11 a 21 .. . am 1
+^ x^2
a 12 a 22 .. . am 2
+^ · · ·^ xn
a 1 n a 2 n .. . amn
b 1 b 2 .. . bm
In other words, show that (c 1 , c 2 , ..., cn) is a solution to the vector equation iff (c 1 , c 2 , ..., cn) is a solution to the system of linear equations. Make sure you clearly connect the ideas in your proof and do not make an argument that these equations look similar.
Question 33. Solve the following vector equation directly:
x 1
Question 34. Give an example of a vector
a b c
(^) such that the equation
x 1
(^) + x 2
a b c
has no solution, or explain why no such vector exists.
Question 35. Give an example of a vector
a b c
(^) such that the equation
x 1
(^) + x 2
a b c
has exactly 1 solution, or explain why no such vector exists.
Question 36. Give an example of a vector
a b c
(^) such that the equation
x 1
(^) + x 2
(^) + x 3
a b c
has exactly 1 solution, or explain why no such vector exists.
Question 37. Give an example of a vector
a b c
(^) such that the equation
x 1
(^) + x 2
(^) + x 3
a b c
has no solutions, or explain why no such vector exists.
Question 38. Give an example of a vector
a b c
(^) such that the equation
x 1
(^) + x 2
(^) + x 3
a b c
has exactly 1 solution, or explain why no such vector exists.
A linear combination of a set S is a vector of the form n ∑ i= 1
ci~vi = c 1 ~v 1 + c 2 ~v 2 + ... + ck~vk
where ~vi ∈ S. Note that n ∑ i= 1
ci~vi
will not usually be in S even though ~vi ∈ S.
and~b =
b 1 b 2 .. . bm
, then by Question 32,^ A~x^ =
~b has the same solution set as the
system a 11 x 1 + a 12 x 2 + ... + a 1 nxn = b 1 a 21 x 1 + a 22 x 2 + ... + a 2 nxn = b 2 .. .
am 1 x 1 + am 2 x 2 + ... + amnxn = bm
Question 44. a) Write out the k-th component of the resulting vector of the product (^)
a 11 a 12 ... a 1 n a 21 a 22 ... a 2 n .. .
am 1 am 2 ... amn
x 1 x 2 .. . xn
b) How can you express the result of the matrix-vector product in terms of ~x and the rows of A?
c) How can you express the result of the matrix-vector product in terms of ~x and the column of A?
Question 45. Write each of the following as a matrix equation, a vector equation, and system of equations. You need to write out the exact cor- responding vector equation, matrix equation, and system of equations, not some equivalent form.
a)
x 1 x 2 x 3
a b c
b) a 1
(^) + a 2
c) 2 x 1 + 3 x 2 = 7 −x 1 + x 2 + 4 x 3 = 0 5 x 1 − 6 x 2 − x 3 = 2
In this section, we will talk about efficient and clear ways to express the set of solutions to a linear system of equations.
Question 46. Prove that if a system of linear equations has two distinct solutions, then the system has infinitely many solutions.
Question 47. For each of the systems in Question 19, use the reduced row echelon form to solve for each pivot (basic) variable in terms of the free variables and constant terms. By substituting in your new expresssions for
the pivot variables into the vector
x 1 x 2 .. . xn
, you will get a vector solely in
terms of the free variables. You can now write the solution set as a linear combination of vectors with each free variable as a coefficent. For instance, if a system had free variables x (^) j and xk, then the parametric form would look like ~u + x (^) j~v 1 + xk~v 2. This is called the parametric form of the solution set for the system.
Question 48. Solve each of the following systems and present your solution set in parametric form.
a) 3 x 1 − 2 x 2 = 0 2 x 1 − 2 x 2 = 0 −x 1 + x 2 = 0
b) 3 x 1 − 2 x 2 = 0 2 x 1 − 2 x 2 = 0 −x 1 + x 2 = 0
c) 4 x − y + 3 z = 0 3 x − y + 2 z = 0
d) 7 x − 11 y − 2 z = 0 8 x − 2 y + 3 z = 0