Section 1 Introduction to Systems of Linear Equations
Focus Questions
By the end of this section, you should be able to give precise and thorough answers to the questions listed below. You may want to keep these questions in mind to focus your thoughts as you complete the section.
What is a linear equation?
What is a system of linear equations?
What is a solution set of a system of linear equations?
What are equivalent systems of linear equations?
What operations can we use to solve a system of linear equations?
Subsection Application: Electrical Circuits
Linear algebra is concerned with the study of systems of linear equations. There are two important aspects to linear systems. One is to use given information to set up a system of equations that represents the information (this is called modeling), and the other is to solve the system. As an example of modeling, we consider the application to the very simple electrical circuit. An electrical circuit consists ofone or more electrical sources, denoted by
one or more resistors, denoted by
.
Subsection Introduction
Systems of linear equations arise in almost every field of study: mathematics, statistics, physics, chemistry, biology, economics, sociology, computer science, engineering, and many, many others. We will study the theory behind solving systems of linear equations, implications of this theory, and applications of linear algebra as we proceed throughout this text.Preview Activity 1.1.
(a)
Consider the following system of two linear equations in two unknowns,
One way to solve such a system of linear equations is the method of substitution (where one equation is solved for one variable and then the resulting expression is substituted into the remaining equations). This method works well for simple systems of two equations in two unknowns, but becomes complicated if the number or complexity of the equations is increased.
Another method is elimination β the method that we will adopt in this book. Recall that the elimination method works by multiplying each equation by a suitable constant so that the coefficients of one of the variables in each equation is the same. Then we subtract corresponding sides of these equations to eliminate that variable.
Use the method of elimination to show that this system has the unique solution
(b)
Recall that a linear equation in two variables can be represented as a line in
(c)
The previous example should be familiar to you as a system of two equations in two unknowns. Now we consider a system of three equations in three unknowns
that arises from our electrical circuit in Figure 1.2, with currents
In the remainder of this preview activity we will apply the method of elimination to solve the system of linear equations (1.1), (1.2), and (1.3).
(i)
Replace equation (1.2) with the new equation obtained by multiplying both sides of equation (1.1) by 5 and then subtracting corresponding sides of this equation from the appropriate sides of equation (1.2). Show that the resulting system is
(ii)
Now eliminate the variable
(iii)
Once you know the value for
Subsection Notation and Terminology
To study linear algebra, we will need to agree on some general notation and terminology to represent our systems. An equation likeDefinition 1.3.
A linear equation in the variables
where
Definition 1.4.
A system of linear equations is a collection of one or more linear equations in the same variables.
Definition 1.5.
A solution to a system of linear equations is an ordered
Subsection Solving Systems of Linear Equations
In Preview Activity 1.1, we were introduced to linear systems and the method of elimination for a system of two or three variables. Our goal now is to come up with a systematic method that will reduce any linear system to one that is easy to solve without changing the solution set of the system. Two linear systems will be called equivalent if they have the same solution set. The operations we used in Preview Activity 1.1 to systematically eliminate variables so that we can solve a linear system are called elementary operations on a system of linear equations or just elementary operations. In the exercises you will argue that elementary operations do not change the solution set to a system of linear equations, a fact that is summarized in the following theorem.Theorem 1.6.
The elementary operations on a system of linear equations:
replacing one equation by the sum of that equation and a scalar multiple of another equation;
interchanging two equations;
replacing an equation by a nonzero scalar multiple of itself;
do not change the solution set to the system of equations.
Activity 1.2.
For systems of linear equations with a small number of variables, many different methods could be used to find a solution. However, when a system gets large, ad-hoc methods become unwieldy. One of our goals is to develop an algorithmic approach to solving systems of linear equations that can be programmed and applied to any linear system, so we want to work in a very prescribed method as indicated in this activity. Ultimately, once we understand how the algorithm works, we will use calculators/computers to do the work. Apply the elimination method as described to show that the solution set of the following system is
(a)
Use the first equation to eliminate the variable
(b)
Use the new second equation to eliminate the variable
(c)
Find values of
Important Note.
Technically, we don't really add two equations or multiply an equation by a scalar. When we refer to a scalar multiple of an equation, we mean the equation obtained by equating the scalar multiple of the expression on the left side of the equation and the same scalar multiple of the expression on the right side of the equation. Similarly, when we refer to a sum of two equations, we don't really add the equations themselves. Instead, we mean the equation obtained by equating the sum of the expressions on the left sides of the equations to the sum of the expressions on the right sides of the equations. We will use the terminology βscalar multiple of an equationβ and βsum of two equationsβ as shorthand to mean what is described here.Another Important Note.
There is an important and subtle point to consider here. When we use these operations to find a solution to a system of equations, we are assuming that the system has a solution. The application of these operations then tells us what a solution must look like. However, there is no guarantee that the outcome is actually a solution β to be safe we should check to make sure that our result is a solution to the system. In the case of linear systems, though, every one of our operations on equations is reversible (if applied correctly), so the result will always be a solution (but this is not true in general for non-linear systems).Terminology.
A system of equations is called consistent if the system has at least one solution. If a system has no solutions, then it is said to be inconsistent.Subsection The Geometry of Solution Sets of Linear Systems
We are familiar with linear equations in two variables from basic algebra and calculus (through linear approximations). The set of solutions to a system of linear equations in two variables has some geometry connected to it.Activity 1.3.
Recall that we examined the geometry of the system
in Preview Activity 1.1 to show that the resulting solution set consists of a single point in the plane.
In this activity we examine the geometry of the system
(a)
Consider the linear equation
(b)
How can we represent the solution set of the system (1.6) of two equations graphically? How is this solution set related to the solution set of the single equation
(c)
There are exactly three possibilities for the number of solutions to a general system of two linear equations in two unknowns. Describe the geometric representations of solution sets for each of the possibilities. Illustrate each with a specific example (of your own) using a system of equations and sketching its geometric representation.
Activity 1.4.
In this activity we examine the geometry of linear systems of three equations in three unknowns. Recall that each linear equation in three variables has a plane as its solution set. Use a piece of paper to represent each plane.
(a)
Is it possible for a general system of three linear equations in three unknowns to have no solutions? If so, geometrically describe this situation and then illustrate each with a specific example using a system of equations. If not, explain why not.
(b)
Is it possible for a general system of three linear equations in three unknowns to have exactly one solution? If so, geometrically describe this situation and then illustrate each with a specific example using a system of equations. If not, explain why not.
(c)
Is it possible for a general system of three linear equations in three unknowns to have infinitely many solutions? If so, geometrically describe this situation and then illustrate each with a specific example using a system of equations. If not, explain why not.
Subsection Examples
What follows are worked examples that use the concepts from this section.Example 1.8.
Apply the allowable operations on equations to solve the system
Solution.
We begin by eliminating the variable
Then we replace the fourth equation with the fourth equation minus 2 times the first to obtain the equivalent system
To continue the elimination process, we want to eliminate the
Then we replace equation four with equation four minus 7 times equation 2, giving us the equivalent system
With one more step we can determine the value of
The last equation tells us that
The second equation shows that
Finally, the first equation tells us that
So the solution to our system is
Example 1.9.
A mining company has three mines. One day of operation at the mines produces the following output.
Mine 1 produces 25 tons of copper, 600 kilograms of silver and 15 tons of manganese.
Mine 2 produces 30 tons of copper, 500 kilograms of silver and 10 tons of manganese.
Mine 3 produces 20 tons of copper, 550 kilograms of silver and 12 tons of manganese.
Suppose the company has orders for 550 tons of copper, 11350 kilograms of silver and 250 tons of manganese.
Write a system of equations to answer the question: how many days should the company operate each mine to exactly fill the orders? State clearly what the variables in your system represent. Then find the general solution of your system.
Solution.
For our system, let
To solve the system, we eliminate the variable
We are fortunate now that we can determine the value of
Substituting into the first equation allows us to determine the value for
So the company should run mine 1 for 6 days, mine 2 for 10 days, and mine 3 for 5 days to meet this demand.
Subsection Summary
In this section we introduced linear equations and systems of linear equations.-
Informally, a linear equation is an equation in which each term is either a constant or a constant times a variable. More formally, a linear equation in the variables
is an equation of the formwhere
is a positive integer and and are constants. A system of linear equations is a collection of one or more linear equations in the same variables.
Informally, a solution to a system of linear equations is a point that satisfies all of the equations in the system. More formally, a solution to a system of linear equation in
variables is an ordered -tuple of numbers so that we obtain all true statements in the system when we replace with with and withTwo linear systems are equivalent if they have the same solution set.
-
The following operations on a system of equations do not change the solution set:
Replace one equation by the sum of that equation and a scalar multiple of another equation.
Interchange two equations.
Replace an equation by a nonzero scalar multiple of itself.
Exercises Exercises
1.
In the method of elimination there are three operations we can apply to solve a system of linear equations. For this exercise we focus on a system of equations in three unknowns
The goal of this exercise is to understand why the three operations on a system do not change the solutions to the system. Recall that a solution to a system with unknowns
(a)
Explain why, if we have a solution to this system, then that solution is also a solution to any constant
(b)
Explain why, if we have a solution to this system, then that solution is also a solution to the sum of the first equation and
2.
Alice stopped by a coffee shop two days in a row at a conference to buy drinks and pastries. On the first day, she bought a cup of coffee and two muffins for which she paid $6.87. The next day she bought two cups of coffee and three muffins (for herself and a friend). Her bill was $11.25. Use the method of elimination to determine the price of a cup of coffee, and the price of a muffin. Clearly explain your set-up for the problem. (Assume you are explaining your solution to someone who has not solved the problem herself/himself).
3.
Alice stopped by a coffee shop three days in a row at a conference to buy drinks and pastries. On the first day, she bought a cup of coffee, a muffin and a scone for which she paid $6.15. The next day she bought two cups of coffee, three muffins and a scone (for herself and friends). Her bill was $12.20. The last day she bought a cup of coffee, two muffins and two scones, and paid $10.35. Determine the price of a cup of coffee, the price of a muffin and the price of a scone. Clearly explain your set-up for the problem. (Assume you are explaining your solution to someone who has not solved the problem herself/himself).
4.
(a)
Find an example of a system of two linear equations in variables
(i)
where the equations correspond to two non-parallel lines,
(ii)
two parallel distinct lines,
(iii)
two identical lines (represented with different equations).
(b)
Describe how the relationship between the coefficients of the variables of the two equations in parts (ii) and (iii) are different than the relationship between those coefficients in part (i) (Note: Please make sure your system examples are different than the examples in the activities, and that they are your own examples.)
5.
In a grid of wires in thermal equilibrium, the temperature at interior nodes is the average of the temperatures at adjacent nodes. Consider the grid as shown in Figure 1.10, with
(a)
Determine equations for the temperatures
(b)
Use the method of elimination to find a specific solution to the system that makes sense in context.
6.
We have seen that a linear system of two equations in two unknowns can have no solutions, one solution, or infinitely many solutions. Find, if possible, a specific example of each of the following. If not possible, explain why.
(a)
A linear system of three equations in two unknowns with no solutions.
(b)
A linear system of three equations in two unknowns with exactly one solution.
(c)
A linear system of three equations in two unknowns with exactly two solutions.
(d)
A linear system of three equations in two unknowns with infinitely many solutions.
7.
We have seen that a linear system of three equations in three unknowns can have no solutions, one solution, or infinitely many solutions. Find, if possible, a specific example of each of the following. If not possible, explain why.
(a)
A linear system of two equations in three unknowns with no solutions.
(b)
A linear system of two equations in three unknowns with exactly one solution.
(c)
A linear system of two equations in three unknowns with exactly two solutions.
(d)
A linear system of two equations in three unknowns with infinitely many solutions.
8.
Find a system of three linear equations in two variables
9.
Consider the system of linear equations
where
(a)
Determine the solution(s) of this system for all possible
(b)
How do your answers change if the second equation in the system above is changed to
10.
Suppose we are given a system of two linear equations
Find another system of two linear equations
11. True/False Questions.
In many sections you will be given True/False questions. In each of the True/False questions, you will be given a statement, such as βif we add corresponding sides of two linear equations, then the resulting equation is a linear equationβ and βone can find a system of two equations in two unknowns that has infinitely many solutions.β Your task will be to determine the truth value of the statement and to give a brief justification for your choice.
Note that a general statement is considered true only when it is always true. For example, the first of the above statements β βif we add corresponding sides of two linear equations, then the resulting equation is a linear equationβ β is a general statement. For this statement to be true, the equation we obtain by adding corresponding sides of any two linear equations has to be linear. If we can find two equations that do not give a linear equation when combined in this way, then this statement is false.
Note that an existential statement is considered true if there is at least one example which makes is true. For example, the latter of the above statements β βone can find a system of two equations in two unknowns that has infinitely many solutionsβ β is an existential statement. For this statement to be true, existence of a system of two equations in two unknowns with infinitely many solutions should suffice. If it is impossible to find two such equations, then this statement is false.
To justify that something always happens or never happens, one would need to refer to other statements whose truth is known, such as theorems, definitions. In particular, giving an example of two linear equations that produce a linear equation when we add corresponding sides does not justify why the sum of any two linear equations is also linear. Using the definition of linear equations, however, we can justify why this new equation will always be linear: each side of a linear equation is linear, and adding linear expressions always produces a linear sum.
To justify that there are examples of something happening or not happening, one would need to give a specific example. For example, in justifying the claim that there is a system of two equations in two unknowns with infinitely many solutions, it is not enough to say βAn equation in two unknowns is a line in the
Each response to a True/False statement should be more than just True or False. It is important that you provide justification for your responses.
(a) True/False.
The set of all solutions of a linear equation can be represented graphically as a line.
(b) True/False.
The set of all solutions of a linear equation in two variables can be represented graphically as a line.
(c) True/False.
The set of all solutions of an equation in two variables can be represented graphically as a line.
(d) True/False.
A system of three linear equations in two unknowns cannot have a unique solution.
(e) True/False.
A system of three linear equations in three unknowns has a unique solution.
Subsection Project: Modeling an Electrical Circuit and the Wheatstone Bridge Circuit
Mathematical modeling, or the act of creating equations to model given information, is an important part of problem solving. In this section we will see how we derived the system of equationsone or more electrical sources (like a battery), denoted by
one or more resistors (like any appliance that you plug into a wall outlet), denoted by
.
-
Resistance
in ohms ( ) can be thought of as a measure of how difficult it is to move a charge along a circuit. When a current flows through a resistor, it must expend some energy, called a voltage drop. Ohm's Law states that the voltage drop across a resistor is the product of the current passing through the resistor and the resistance That is, Kirchoff's Current Law states that at any point in an electrical circuit, the sum of currents flowing into that point is equal to the sum of currents flowing out of that point.
Kirchoff's Voltage Law says that around any closed loop the sum of the voltage drops is equal to the sum of the voltage rises.
Project Activity 1.5.
Apply Kirchoff's Current Law to the point
A current passing through a resistor produces a voltage drop if it flows in the direction of loop (and a voltage rise if the current passes in the opposite direction of the loop).
A current passing through a source in the direction of the loop produces a voltage drop if it flows from
to and a voltage rise if it flows from to while a current passing through a source in the opposite direction of the loop produces a voltage rise if it flows from to and a voltage drop if it flows from to
Project Activity 1.6.
Apply Kirchoff's Voltage Law to the bottom loop in the circuit in Figure 1.1 to obtain an equation in
Project Activity 1.7.
Consider the circuit as shown in Figure 1.11, with a single source and five resistors with resistances
(a)
(i)
Use Kirchoff's Current Law to show that
(ii)
Apply Kirchoff's Voltage Law to three loops to show that the currents must satisfy the linear system
(iii)
Solve the system to find the unknown currents.
(b)
The circuit pictured in Figure 1.11 is called a Wheatstone bridge (invented by Samuel Hunter Christie in 1833 and popularized by Sir Charles Wheatstone in 1843). The Wheatstone bridge is a circuit designed to determine an unknown resistance by balancing two paths in a circuit. It is set up so that the resistances of resistors