































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A review of pivots and Echelon form in the context of matrix calculations and data fitting. It covers topics such as homogeneous and non-homogeneous systems, vectors and solutions, and the relationship between homogeneous and non-homogeneous systems. The document also includes examples and theorems to illustrate the concepts.
Typology: Cheat Sheet
1 / 39
This page cannot be seen from the preview
Don't miss anything!
































Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
A. Kissinger (and H. Geuvers)
Institute for Computing and Information Sciences – Intelligent Systems Radboud University Nijmegen
Version: spring 2016
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
Review: pivots and Echelon form
Application: Data fitting
Vectors and solutions
Homogeneous systems
Non-homogeneous systems
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
A matrix is in Echelon form if:
1 All of the rows with pivots occur before zero rows, and
2 Pivots always occur to the right of previous pivots
3 2 5 − 5 1 0 0 2 1 − 2 0 0 0 0 0 0 0 0 -2 2
3 2 5 − 5 1 0 0 4 − 2 2
0 2 0 1 − 2 0 0 0 0 0
3 2 5 − 5 1 0 0 4 − 2 2
0 0 2 1 − 2 0 0 0 0 0
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
Here’s a really useful thing about polynomials:
For any n points in a plane, there exists a unique polynomial of
degree n − 1 which hits them all.
That is: given points (x 1 , y 1 ),... , (xn, yn), there is precisely one
‘polynomial’ function of the form:
f (x) = a 0 + a 1 x + a 2 x
2
3
n− 1
with f (xi ) = yi for all i ≤ n.
NB. No two points should be on the same vertical line!
from some experiment, find the a 0 ,... , an− 1
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
From the first lecture:
A system of equations in n variables has a unique solution if and
only if its Echelon form has n pivots.
x 1 + x 2 = 3
x 1 − x 2 = 1
gives
and
(using transformations R 2 := R 2 − R 1 and R 2 := −
1 2
Question: What if there are more solutions? Can we describe them
in a generic way?
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
few are actually ‘different enough’ to matter. These are called
basic solutions.
gives us any solution: the general solution.
2 x 1 − x 2 = 3 gives x 2 = 2x 1 − 3
So a general solution (for any c) is:
x 1 := c x 2 := 2c − 3
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
them to hold solutions.
x 1 := 2 x 2 := − 1 x 3 := 0
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
c ·
x 1
x 2
. . .
xn
cx 1
cx 2
. . .
cxn
This is called scalar multiplication.
x 1
x 2
. . .
xn
y 1
y 2
. . .
yn
x 1 + y 1
x 2 + y 2
. . .
xn + yn
as long as the are the same length.
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
Equivalently:
Vectors V 1 ,... , Vn are called linearly independent if for all scalars
a 1 ,... , an ∈ R one has:
a 1 · V 1 + · · · + an · Vn = 0 implies a 1 = a 2 = · · · = an = 0
The 3 vectors (1, 0 , 0), (0, 1 , 0), (0, 0 , 1) are linearly independent,
since if
a 1 · (1, 0 , 0) + a 2 · (0, 1 , 0) + a 3 · (0, 0 , 1) = (0, 0 , 0)
then, using the computation from the previous slide,
(a 1 , a 2 , a 3 ) = (0, 0 , 0), so that a 1 = a 2 = a 3 = 0
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
, and
a 1
(^) + a 2
(^) + a 3
if a 1 = a 2 = a 3 = 0 is the only solution, they are independent
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
(^) reducing to
independent!
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
solutions give solutions. For example, consider: {
x 1 + 2x 2 + x 3 = 0
x 2 + x 4 = 2
but not V 1 +V 2 =
because the the 2 on the right-hand-side (RHS) of the second
equation.
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
A non-homogeneous system:
x 1 + x 2 = 3
x 1 − x 2 = 0
can be made homogeneous, namely as:
x 1 + x 2 = 0
x 1 − x 2 = 0
In terms of matrices, this means going from:
to
i.e. to
Application: Data fitting Vectors and solutions Homogeneous systems Non-homogeneous systems
Radboud University Nijmegen
Each homogeneous equation has (0,... , 0) as solution.
Proof: A homogeneous system looks like this
a 11 x 1 + · · · + a 1 nxn = 0
. . .
am 1 x 1 + · · · + amnxn = 0
Consider the equation at row i:
ai 1 x 1 + · · · + ainxn = 0
Clearly it has as solution x 1 = x 2 = · · · = xn = 0.
This holds for each row i. -