Chapter 1 Linear Equations
Chapter 1 Linear Equations
is a straight line (if and are not both zero), so such an equation is called a
linear equation in the variables and .
2
• An equation of the form
3
Given a linear equation ,
4
EXAMPLE 1
Show that, for arbitrary values of and
6
If the system has two equations, there are three possibilities for the
corresponding straight lines:
1. The lines intersect at a single point. Then the system has a unique solution
corresponding to that point.
2. The lines are parallel (and distinct) and so do not intersect. Then the system has
no solution.
3. The lines are identical. Then the system has infinitely many solutions - one for
each point on the (common) line.
7
The case of three variables:
• can be shown to be a plane
• …
8
Consider the following system
9
Elementary Operations
• Two systems are said to be equivalent if they have the same set of solutions.
• A system is solved by writing a series of systems, one after the other, each
equivalent to the previous system.
10
Definition 1.1
The following operations, called elementary operations, can routinely be
performed on systems of linear equations to produce equivalent systems.
(I) Interchange two equations.
(II) Multiply one equation by a nonzero number.
(III) Add a multiple of one equation to a different equation.
Theorem 1
Suppose that a sequence of elementary operations is performed on a system of
linear equations. Then the resulting system has the same set of solutions as the
original, so the two systems are equivalent.
11
Definition 1.2
The following are called elementary row operations on a matrix.
(I) Interchange two rows.
(II) Multiply one row by a nonzero number.
(III) Add a multiple of one row to a different row
EXAMPLE 3
Find all solutions to the following system of equations.
12
Definition 1.3
A matrix is said to be in row-echelon form (row-echelonmatrix) if it satisfies
the following three conditions:
1) All zero rows (consisting entirely of zeros) are at the bottom.
2) The first nonzero entry from the left in each nonzero row is a 1, called the
leading 1 for that row.
3) Each leading 1 is to the right of all leading 1s in the rows above it.
A row-echelon matrix is said to be in reduced row-echelon form (reduced
row-echelon matrix) if, in addition, it satisfies the following condition:
4) Each leading 1 is the only nonzero entry in its column.
13
• The row-echelon matrices have a “staircase” form, as
indicated by the following example (the asterisks
indicate arbitrary numbers).
EXAMPLE 1
The row-echelon form (for any choice of numbers in *-positions).
14
Theorem 1
Every matrix can be brought to (reduced) row-echelon form by a sequence of
elementary row operations.
Gaussian Algorithm
15
Gaussian Algorithm
16
EXAMPLE 2
Solve the following system of equations.
EXAMPLE 3
Solve the following system of equations.
17
To solve a linear system, the augmented matrix is carried to reduced row-
echelon form
• The variables corresponding to the leading ones are called leading
variables.
• The nonleading variables “free” variables, and to label them by new
variables called parameters.
18
Gaussian Elimination
To solve a system of linear equations proceed as follows
3. Otherwise, assign the nonleading variables (if any) as parameters, and use
the equations corresponding to the reduced row-echelon matrix to solve for
the leading variables in terms of the parameters
19
EXAMPLE 4
Find a condition on the numbers , and such that the following system of
equations is consistent. When that condition is satisfied, find all solutions (in
terms of , and ).
20
Rank
Definition 1.4
The rank of matrix A is the number of leading 1s in any row-echelon matrix to
which A can be carried by row operations.
EXAMPLE 5
Compute the rank of .
21
Theorem 2
Suppose a system of m equations in n variables is consistent, and that the rank
of the augmented matrix is r.
(1) The set of solutions involves exactly n - r parameters.
(2) If r < n, the system has infinitely many solutions.
(3) If r = n, the system has a unique solution
22
• A system of equations in the variables is called homogeneous if all the
constant terms are zero — that is, if each equation of the system has the
form
23
EXAMPLE 1
Show that the following homogeneous system has nontrivial solutions.
Theorem 1
If a homogeneous system of linear equations has more variables than
equations, then it has a nontrivial solution (in fact, infinitely many).
24
EXAMPLE 2
We call the graph of an equation a conic if the numbers a, b, and c are not all
zero. Show that there is at least one conic through any five points in the plane
that are not all on a line.
25
Their sum: and the scalar product:
• A sum of scalar multiples of several columns is called a linear combination
of these columns. For example, is a linear combination of x and y.
EXAMPLE 3
If and then .
26
EXAMPLE 4
Let and If and determine whether and are linear combinations of ,y and .
27
Definition 1.5
The gaussian algorithm systematically produces solutions to any homogeneous
linear system, called basic solutions, one for every parameter.
28
Theorem 2
Let A be an matrix of rank , and consider the homogeneous system in
variables with as coefficient matrix. Then:
1. The system has exactly basic solutions, one for each parameter.
2. Every solution is a linear combination of these basic solutions.
EXAMPLE 6
Find basic solutions of the homogeneous system with coefficient matrix , and
express every solution as a linear combination of the basic solutions, where
29
There are many types of problems that concern a network of conductors along
which some sort of flow is observed. Examples of these include an irrigation
network and a network of streets or freeways. There are often points in the
system at which a net flow either enters or leaves the system. The basic
principle behind the analysis of such systems is that the total flow into the
system must equal the total flow out. In fact, we apply this principle at every
junction in the system.
Junction Rule
At each of the junctions in the network, the total flow into that junction must
equal the total flow out.
30
31