Académique Documents
Professionnel Documents
Culture Documents
Linear Algebra
Reference: Gilbert Strang, Introduction to Linear Algebra, Wellesley Cambdrige Press, third Edition. Chapters 1-7.
1.1
1.1.1
x1
y1
x 1 + y1
x y x + y
2
2 2 2
v + u = .. + .. = .. .
. . .
xn
yn
xn + yn
and the multiplication of a vector by a scalar R:
x1
x1
x x
2 2
v = .. = .. .
. .
xn
xn
1
Subspaces of Rn
Example: Consider the vector space R3 and a plane through 0. This plane
is also a vector space. We say that it is a subspace of R3 .
Definition: A subspace V of a vector space is a set of vectors that satisfies
the following two conditions:
1. If u, v V then u + v V .
2. If v V and R then v V .
Remark: Observe that these two conditions are equivalent to say that all
linear combinations stay in the subspace.
Remark: Observe that the zero vector is always in the subspace. Therefore
a plane in R3 that does not contain the 0 is never a subspace.
1.1.3
Remark: A subspace that contains u and v must contain all linear combinations.
2
1 , ..., k R}
1.1.4
Basis of a subspace
1.2
1.2.1
Matrices (read Sections 7.1, 7.2, 7.3, 2.4, 2.5, 2.7, 3.2, 3.3, 3.4 of Strangs
book)
Linear transformations in Rn
and
T (u) = T (u).
Matrices
Example:
A=
3 2 3
0 1 0
1 0 0
0 1 0
In = .. ..
.. .
. . .
0 0 1
Properties: If A is a m n matrix then AIn = A and if B is a n m
matrix then In B = B. Therefore, if A is an n n matrix, AIn = In A = A.
Definition: If A is a m n matrix with entries ai,j then its transpose AT
is the n m matrix with entries aj,i .
Definition: A square matrix is symmetric if AT = A.
6
Geometric interpretation: det(A) is the volume of the parallelepiped determined by the column vectors of A.
Properties:
If one of the columns of A is 0, then the determinant of A is 0.
If we swap two columns of A then we change the sign of the determinant.
If we add to a column the multiple of another column, this does not
change the value of the determinant.
If A is triangular then the determinant equals the product of the diagonal
terms. Therefore,
a b
a
b
det
= det
= ad bc.
c d
0 d (bc)/a
det(A)=det(AT ). Therefore, every property involving columns remains
valid for rows.
det(AB)= det(A)det(B).
det(A1 )=
1
det(A) .
n
X
i=1
1
C T.
det(A)
d1
dn
, , xn =
,
det(A)
det(A)
kvk = v v.
Geometric interpretation: The norm of a vector corresponds to the distance to 0.
Properties:
1. kvk = || kvk for all R.
2. ku + vk kuk + kvk.
3. kvk 0 and kvk = 0 if and only if v = 0.
1.4.2
Orthogonality
for all x.
12
1.5
1.5.1
Diagonalization of a matrix
14
1.5.3
Quadratic forms
for all
x 6= 0.
Q(x1 , ..., xn ) = x Ax =
n
X
ai,j xi xj ,
i,j=1
15
Criteria of convergence:
Theorem: If limn xn = limn yn = x, and for all n N, xn an yn ,
then limn an = x.
Remark: This result is also true if x = + or .
Theorem: Every bounded and monotone sequence is convergent.
Remark: Observe that every convergent sequence is bounded.
Definition: A sequence is Cauchy if for all > 0 there exists N () > 0
such that for all n, m > N , |xn xm | < .
Theorem: A sequence is convergent if and only if it is a Cauchy sequence.
Subsequences:
Definition: Let n1 < n2 < n3 < be a strictly monotone increasing
sequence of positive integers. Then the sequence {xnk }kN = {xn1 , xn2 , ...} is
called a subsequence of {xn }.
Property: If limn xn = x, then limk xnk = x for any subsequence.
Theorem (Bolzano-Weierstrass): Every bounded sequence has a convergent subsequence.
Infimum and supremum:
Definition: Let A R be a subset of real numbers. Then the infimum of
A is the number a in R satisfying:
a x for all x A .
for any > 0 there exists x A such that a + > x.
Notation: inf A = a and if no such a exists then inf A = .
The supremum of A is the number a in R satisfying:
a x for all x A .
for any > 0 there exists x A such that a < x.
Notation: sup A = a and if no such a exists then sup A = +.
Definition: inf xn = inf{xn } and sup xn = sup{xn }.
Remark: If a sequence xn is monotone decreasing and bounded below then
limn xn = inf xn .
Subsequential limit:
Definition: A number a is called a subsequential limit of a sequence xn if
there exists a subsequence convergent to a.
17
Observe also that the limit superior and limit inferior are both subsequential
limits.
2.2
2.2.1
xx0
lim f (x)g(x) = y1 y2 ,
xx0
f (x) y1
= ,
xx0 g(x)
y2
lim
2.2.2
2.2.3
f 0 (x) = lim
provided that the limit exists. If the limit exists and is finite, we say that f
is differentiable at x.
Theorem: If f is differentiable at x then f is continuous at x.
Example: The function f (x) = |x| is continuous at 0 but not differentiable
at 0.
Remark: There exist functions which are continuous everywhere but are
not differentiable at any point.
Geometric intepretation: If f is differentiable at x0 , then the equation of
the tangent line to the function f at the point x0 is
y = f (x0 ) + f 0 (x0 )(x x0 ).
That is, the derivative of f at x0 is the slope of this tangent line.
Properties: If f and g are differentiable at x [a, b], then so are f + g, f g
and f /g (the last one provided that g(x) 6= 0), and the derivatives are given
by
(f + g)0 (x) = f 0 (x) + g 0 (x),
(f g)0 (x) = f 0 (x)g(x) + g 0 (x)f (x),
0
0
0
(x)f (x)
fg (x) = f (x)g(x)g
.
2
g (x)
Examples:
1. f (x) = c, then f 0 (x) = 0, where c is a real constant.
2. f (x) = x, then f 0 (x) = 1.
3. f (x) = xn , then f 0 (x) = nxn1 , where n is a positive integer.
4. f (x) = log(x), then f 0 (x) = x1 .
5. f (x) = sin(x), then f 0 (x) = cos(x).
20
1
f 0 (g(y))
f (b) f (a)
.
ba
In particular, if f (b) = f (a), then there exists x (a, b) such that f 0 (x) = 0
(Rolles theorem).
(a)
Geometric interpretation: f (b)f
is the slope of the secant line connecting
ba
the points (a, f (a)) and (b, f (b)). Thus, the mean value theorem says that
there exists x (a, b), such that the tangent line to f at x is parallel to the
secant line.
Theorem: Consider f differentiable in (a, b). Then f is monotone increasing in (a, b) if and only if f 0 0 in (a, b), and monotone decreasing in (a, b)
if and only if f 0 0 in (a, b). Moreover, f is constant in (a, b) if and only if
f 0 = 0 in (a, b).
21
f (x)
f 0 (x)
lim
= lim 0 .
xa g(x)
xa g (x)
0
(x)
Remark: a can be + or and limxa fg0 (x)
can be + or .
Derivatives of higher order:
Definition: If f has a derivative f 0 and f 0 is differentiable, we denote its
derivative by f 00 and we call it the second derivative of f . In the same way,
when they exist, we can define higher order derivatives, and f (n) is called the
nth order derivative of f .
Taylors theorem: Let f be defined on [a, b] such that f (n1) is continuous
in [a, b] and differentiable in (a, b) (that is, f (n) exists in (a, b)). Then, there
exists x (a, b) such that
f 00 (a)
f (3) (a)
f (n) (x)
(ba)2 +
(ba)3 + +
(ba)n .
2!
3!
n!
This is called the nth order Taylor expansion of f around a.
Remark: This theorem says that differentiable functions may be locally
(n)
approximated by a polynomial and f n!(a) (b a)n is called the error of order
n of this approximation. For example, if n = 2 and f 00 is bounded, then the
error is of order (b a)2 .
Theorem Let x0 such that f 0 (x0 ) = 0 and assume that f 00 is continuous at
x0 . Then if f 00 (x0 ) < 0, f has a local maximum at x0 and if f 00 (x0 ) > 0, it is
a local minimum.
Definition: A function is called convex if for all a, b and (0, 1)
f (b) = f (a)+f 0 (a)(ba)+
2.2.4
n
X
Mi (xi xi1 ),
L(f ) =
n
X
mi (xi xi1 ).
i=1
i=1
23
Rb
Rc
Rb
4. If c [a, b] then a f (x)dx = a f (x)dx + c f (x)dx.
Ra
Rb
Notation: b f (x)dx = a f (x)dx.
Theorem: If f is continuous in [a, b] then f is integrable in [a, b]. In fact,
if f is continuous in all but finitely many points of [a, b] then f is integrable
in [a, b].
Fundamental theorem
of calculus: If f is continuous in [a, b], then the
Rx
function F (x) = a f (t)dt is differentiable in [a, b] and F 0 (x) = f (x). F is
called the primitive of f and we have that
Z b
f (x)dx = F (b) F (a).
a
Mean value theorem for integrals: Let f be continuous in [a, b]. Then
there exists z (a, b) such that
Z b
1
f (z) =
f (x)dx.
ba a
Proof: Apply the mean value theorem to the primitive function F .
Remark: If F is a primitive of f then F (x) = F (x) + c is also a primitive
of f .
Terminology:
A primitive is also called the indefinite integral and is deR
noted by f (x)dx = F (x) + x.
Basic primitives:
R
1. 1dx = x + c.
R
n+1
2. xn dx = xn+1 + c, n N.
R
3. x1 dx = ln |x| + c.
R
4. ex dx = ex + c.
R
5. sin(x)dx = cos(x) + c.
R
R
R
6. (f (x) + g(x))dx = f (x)dx + g(x)dx.
R
R
7. cf (x)dx = c f (x)dx.
24
Methods of integration:
Integration by substitution: Assume that f is continuous and let F be
its primitive. Recall that if (t) is a differentiable function, then F is
differentiable and
dF ((t))
= F 0 ((t))0 (t).
dt
But since F 0 = f , we get
dF ((t))
= f ((t))0 (t).
dt
Therefore, if x = (t),
Z
F (x) = F ((t)) =
f ((t)) (t)dt =
Z
f (x)dx.
In many cases, the first integral can be computed much easier that
Formally, we substitute x by (t) and dx by 0 (t)dt.
Integration by parts: Since (f g)0 = f 0 g + g 0 f , we have that
Z
Z
0
f (x)g (x)dx = f (x)g(x) f 0 (x)g(x)dx.
3
f (x)dx.