




























































































Besser lernen dank der zahlreichen Ressourcen auf Docsity
Heimse Punkte ein, indem du anderen Studierenden hilfst oder erwirb Punkte mit einem Premium-Abo
Prüfungen vorbereiten
Besser lernen dank der zahlreichen Ressourcen auf Docsity
Download-Punkte bekommen.
Heimse Punkte ein, indem du anderen Studierenden hilfst oder erwirb Punkte mit einem Premium-Abo
Script for Linear Algebra Detrmimants, Odes, complex Numbers
Art: Skripte
1 / 130
Diese Seite wird in der Vorschau nicht angezeigt
Lass dir nichts Wichtiges entgehen!





























































































At the core of linear algebra is the solving of systems of linear equations. A linear system
(S) with n unknowns and m equations has the form
a 11 x 1
a 21 x 1 + a 22 x 2 + · · · + a 2 nxn = b 2 (Eq 2 )
a m 1 x 1
The numbers a 11 ,... , a 1 n , a 21 ,... , a 2 n ,.. ., a m 1 ,... , a mn are called the coe cients of the
system. The system is said to be real if all coe cients a ij , i = 1,... , n, j = 1,... , m
as well as the numbers b 1 ,... , bm are real. In this chapter we will only consider real
systems of linear equations, but the techniques we develop to solve them also apply to
complex systems, i.e., systems where aij and bi are complex numbers which will only be
introduced in a later chapter. Given the real system (S), a solution of (S) is a set of n
real numbers x 1 ,... , x n so that equations (Eq 1 ) (Eq m ) are satisfied simultaneously. The
basic questions with regard to linear systems of the form (S) are the following ones:
(1) Does (S) have a solution? (Existence)
(2) Does (S) have at most 1 solution? (Uniqueness)
Or formulated in more general terms:
(3) What are the properties of the set of solutions
n
(x 1 ,... , xn) : x 1 2 R,... , xn 2 R; (x 1 ,... , xn) satisfies (S 1 ) (Sm)
o
Here and in the sequel, R denotes the set of real numbers. Note that in this terminology
questions (1) and (2) can be reformulated as follows:
(1’) Is L a nonempty set?
(2’) Does L have at most one element?
In practical applications, systems of linear equations can be very large. One therefore
needs theoretical concepts and numerical algorithms to investigate respectively solve such
systems.
Now let us go back to the linear system of two equations with two unknowns,
ax + by = e (1.1.3)
cx + dy = f (1.1.4)
The set of solutions L of (1.1.3), (1.1.4) is then given by the intersection of the set of
solutions of (1.1.3) with the set of solutions of (1.1.3), L = L 1
2 , where
1
n
(x, y) 2 R
2 : ax + by = e
o
2
n
(x, y) 2 R
2 : cx + dy = f
o
In case (a, b) 6 = (0, 0) and (c, d) 6 = (0, 0), L 1 and L 2 are lines in R
2 and L is the intersection
of them. Thus L can be a one point set (L 1 and L 2 are not parallel), or a line (L 1
2
or the emptyset (L 1 and L 2 are parallel but do not coincide).
Let us now describe an algorithm how to determine the set of solutions of (1.1.3), (1.1.4)
in a systematic way. You know this algorithm already from high school. To simplify the
algorithm we assume that
a 6 = 0. (1.1.5)
Step 1: eliminate x from equation (1.1.4) by replacing (1.1.4) by (1.1.4)
c
a
(1.1.3) It
means that the left hand side of (1.1.4) is replaced by
cx + dy
c
a
ax + by
(use that a 6 = 0!)
whereas the right hand side of (1.1.4) is replaced by
f
c
a
e.
The new system of equations then reads as follows
ax + by = e (1.1.6)
d
c
a
b
y = f
c
a
e. (1.1.7)
It is straightforward to see that under the assumption (1.1.5), the set solutions of (1.1.3),
(1.1.4) coincides with the set of solutions of (1.1.6), (1.1.7). In such a case we say that
the two systems are equivalent.
Step 2: The system (1.1.6), (1.1.7) is solved by first solving (1.1.7) for y and then use
(1.1.6) to determine x:
Case d
c
a
b 6 = 0: then (1.1.7) has the unique solution
y =
f
c
a
e
d
c
a
b
af ce
ad bc
and when substituted into (1.1.6) one obtains
ax = e b
af ce
ad bc
or
x =
de bf
ad bc
Hence the set of solutions L consists of one element
n⇣ de bf
ad bc
af ce
ad bc
⌘o
Case d
c
a
b = 0 , f
c
a
e 6 = 0: equation (1.1.7) has no solutions and hence L = ;.
Case d
c
a
b = 0 , f
c
a
e = 0: then any y 2 R is a solution of (1.1.7) and solutions of
(1.1.6) are given by x =
e
a
b
a
y. Hence the set of solutions L is given by
n⇣ e
a
b
a
y, y
: y 2 R
o
Motivated by formula (1.1.8) for the solutions of (1.1.6), (1.1.7) in the case where d
c
a
b 6 =
0 we make the following definitions:
Definition 1.1.1. (i) A real 2 ⇥ 2 matrix (plural: matrices) is an array A of real numbers
of the form
a b
c d
, a, b, c, d 2 R ;
(ii) the determinant of a 2 ⇥ 2 matrix A is defined as
det(A) := ad bc.
The notion of the determinant can be used to characterize the solvability of the system
(1.1.6), (1.1.7) and to obtain formulas for its solutions. We state without proof the
following
Theorem 1.1.1. (i) The system of linear equations (1.1.6), (1.1.7) has a unique solution
if and only if
det
a b
c d
(ii) If det
a b
c d
6 = 0, then the unique solution of (1.1.6), (1.1.7) is given by the following
formulas (Cramer’s rule)
x =
det
e b
f d
det
a b
c d
◆ (^) , y =
det
a e
c f
det
a b
c d
Definition 1.2.1. We say that two systems of linear equations
n X
j=
a ij x j = b i for any 1 i m
and
n X
j=
c kj x j = d k for any 1 k p
are equivalent if their sets of solutions coincide.
An example of two equivalent systems with three unknowns is the following one:
4 x 1
x 1
and 8
4 x 1
x 1
2 x 1
since the latter equation is obtained from the equation x 1
left and right hand side by the factor 2.
The idea of Gaussian elimination is to replace a given system of linear equations in a
systematic way by an equivalent one which is easy to solve. In Subsection 1.1 we have
demonstrated this method in the case of two equations (m = 2) and two unknowns
(n = 2). Gaussian elimination uses the following basic operations, referred to as row
operations, which leave the set of solutions of a given system of linear equations invariant:
(R1) Exchange of two equations (rows) of a system of linear equations.
Example:
5 x 2 + 15x 3 = 10
4 x 1
4 x 1 + 3x 2 + x 3 = 1
5 x 2
It means that the equations get listed in a di↵erent order.
(R2) Multiplication of an equation (row) by a real number ↵ 6 = 0.
Example:
4 x 1
5 x 2 + 15x 3 = 10
4 x 1
x 2 + 3x 3 = 2
We have multiplied the left and right hand side of the second equation by the factor
(R3) An equation (row) gets replaced by the equation obtained by adding to it the mul-
tiple of another equation. More formally, this can be expressed as follows: the kth
equation
n
j=
akj xj = bk is replaced by the equation
n X
j=
akj xj + ↵
n X
j=
aj xj = bk + ↵b
for some where 1 m with 6 = k – or more explicitly,
(a k 1
Example:
x 1 + x 2 = 5 (Eq1)
4 x 1
(Eq2) (Eq2) 4(Eq1)
x 1 + x 2 = 5