Вы находитесь на странице: 1из 4

USE OF LINEAR ALGEBRA I Math 21b, O.

Knill
This is not a list of topics covered in the course. It is rather a lose selection of subjects, in which linear algebra is
useful or relevant. The aim is to convince you that it is worth learning this subject. Most likely, some of this
handout does not make much sense yet to you. Look at this page at the end of the course again, some of the
content will become more interesting then.

GRAPHS, NETWORKS. Linear al-


gebra can be used to understand
networks which is a collection of
nodes connected by edges. Networks
4 are also called graphs. The adja- Application: Anij is the number of n-
step walks in the graph which start
cency matrix of a graph is defined
by Aij = 1 if there is an edge from at the vertex i and end at the vertex
1 2 3 node i to node j in the graph. Oth- j.
erwise the entry is zero. A prob-
lem using such matrices appeared on
a blackboard at MIT in the movie
”Good will hunting”.

CHEMISTRY, MECHANICS
Complicated objects like a The solution x(t) = exp(At) of the
bridge (the picture shows Storrow differential equation ẋ = Ax can be
Drive connection bridge which is understood and computed by find-
part of the ”big dig”), or a molecule ing the eigenvalues of the matrix A.
(i.e. a protein) can be modeled by Knowing these frequencies is impor-
finitely many parts (bridge elements tant for the design of a mechani-
or atoms) coupled with attractive cal object because the engineer can
and repelling forces. The vibrations damp dangerous frequencies. In
of the system are described by a chemistry or medicine, the knowl-
differential equation ẋ = Ax, where edge of the vibration resonances al-
x(t) is a vector which depends on lows to determine the shape of a
time. Differential equations are an molecule.
important part of this course.

QUANTUM COMPUTING A
quantum computer is a quantum
Theoretically, quantum computa-
mechanical system which is used to
tions could speed up conventional
perform computations. The state x
computations significantly. They
of a machine is no more a sequence
could be used for example for cryp-
of bits like in a classical computer
tological purposes. Freely available
but a sequence of qubits, where
quantum computer language (QCL)
each qubit is a vector. The memory
interpreters can simulate quantum
of the computer can be represented
computers with an arbitrary num-
as a vector. Each computation step
ber of qubits.
is a multiplication x 7→ Ax with a
suitable matrix A.

CHAOS THEORY. Dynamical


systems theory deals with the
iteration of maps or the analysis of
Examples of dynamical systems are
solutions of differential equations.
our solar system or the stars in a
At each time t, one has a map
galaxy, electrons in a plasma or par-
T (t) on the vector space. The
ticles in a fluid. The theoretical
linear approximation DT (t) is
study is intrinsically linked to linear
called Jacobean is a matrix. If the
algebra because stability properties
largest eigenvalue of DT (t) grows
often depends on linear approxima-
exponentially in t, then the system
tions.
shows ”sensitive dependence on
initial conditions” which is also
called ”chaos”.
USE OF LINEAR ALGEBRA II Math 21b, O. Knill

CODING, ERROR CORRECTION


Coding theory is used for encryp-
tion or error correction. In the first
case, the data x are maped by a
map T into code y=Tx. For a good Linear algebra enters in different
code, T is a ”trapdoor function” in ways, often directly because the ob-
the sense that it is hard to get x jects are vectors but also indirectly
back when y is known. In the sec- like for example in algorithms which
ond case, a code is a linear subspace aim at cracking encryption schemes.
X of a vector space and T is a map
describing the transmission with er-
rors. The projection of T x onto the
subspace X corrects the error.

DATA COMPRESSION Image- Typically, a picture, a sound or


(i.e. JPG), video- (MPG4) and a movie is cut into smaller junks.
sound compression algorithms These parts are represented by vec-
(i.e. MP3) make use of linear tors. If U denotes the Fourier trans-
transformations like the Fourier form and P is a cutoff function, then
transform. In all cases, the com- y = P U x is transferred or stored on
pression makes use of the fact that a CD or DVD. The receiver obtains
in the Fourier space, information back U T y which is close to x in the
can be cut away without disturbing sense that the human eye or ear does
the main information. not notice a big difference.

SOLVING SYSTEMS OR EQUA- Solving systems of nonlinear equa-


TIONS When extremizing a func- tions can be tricky. Already for sys-
tion f on data which satisfy a con- tems of polynomial equations, one
straint g(x) = 0, the method of has to work with linear spaces of
Lagrange multipliers asks to solve polynomials. Even if the Lagrange
a nonlinear system of equations system is a linear system, the task
∇f (x) = λ∇g(x), g(x) = 0 for the of solving it can be done more ef-
(n + 1) unknowns (x, l), where ∇f ficiently using a solid foundation of
is the gradient of f . linear algebra.

Rotations are represented by or-


thogonal matrices. For example,
GAMES Moving around in a world if an object located at (0, 0, 0),
described in a computer game re- turning around the y-axes by an
quires rotations and translations to angle φ, every point in the ob-
be implemented efficiently. Hard- ject
ware acceleration can help to handle  gets transformed by the matrix
cos(φ) 0 sin(φ)
this.  0 1 0 
− sin(φ) 0 cos(φ)
USE OF LINEAR ALGEBRA (III) Math 21b, Oliver Knill

STATISTICS When analyzing data


statistically, one often is interested
in the correlation matrix Aij = For example, if the random variables
E[Yi Yj ] of a random vector X = have a Gaussian (=Bell shaped) dis-
(X1 , . . . , Xn ) with Yi = Xi − E[Xi ]. tribution, the correlation matrix to-
This matrix is derived from the data gether with the expectation E[Xi ]
and determines often the random determines the random variables.
variables when the type of the dis-
tribution is fixed.

A famous example is the prisoner


dilemma. Each player has the
choice to corporate or to cheat.. The
game is described by a 2x2  matrix
3 0
like for example . If a
5 1
GAME THEORY Abstract Games player cooperates and his partner
are often represented by pay-off ma- also, both get 3 points. If his partner
trices. These matrices tell the out- cheats and he cooperates, he gets 5
come when the decisions of each points. If both cheat, both get 1
player are known. point. More generally, in a game
with two players where each player
can chose from n strategies, the pay-
off matrix is a n times n matrix
A. A NashPequilibrium is a vector
p ∈ S = { i pi = 1, pi ≥ 0 } for
which qAp ≤ pAp for all q ∈ S.

NEURAL NETWORK In part of


neural network theory, for exam-
ple Hopfield networks, the state
space is a 2n-dimensional vector
space. Every state of the network
is given by a vector x, where each
For example, if Wij = xi yj , then x
component takes the values −1 or
is a fixed point of the learning map.
1. If W is a symmetric nxn matrix,
one can define a ”learning map”
T : x 7→ signW x, where the sign
is taken component wise. The en-
ergy of the state is the dot prod-
uct −(x, W x)/2. One is interested
in fixed points of the map.
USE OF LINEAR ALGEBRA (IV) Math 21b, Oliver Knill

MARKOV. Suppose we have three


bags with 10 balls each. Every time The problem defines a Markov
we throw a dice and a 5 shows up, chain
 described by a matrix
we move a ball from bag 1 to bag 2, 5/6 1/6 0
if the dice shows 1 or 2, we move a  0 2/3 1/3 .
ball from bag 2 to bag 3, if 3 or 4 1/6 1/6 2/3
turns up, we move a ball from bag 3 From this matrix, the equilibrium
to bag 1 and a ball from bag 3 to bag distribution can be read off as an
2. What distribution of balls will we eigenvector of a matrix.
see in average?

SPLINES In computer aided de-


sign (CAD) used for example to
If we write down the conditions, we
construct cars, one wants to inter-
will have to solve a system of 4 equa-
polate points with smooth curves.
tions for four unknowns. Graphic
One example: assume you want to
artists (i.e. at the company ”Pixar”)
find a curve connecting two points
need to have linear algebra skills also
P and Q and the direction is given
at many other topics in computer
at each point. Find a cubic function
graphics.
f (x, y) = ax3 + bx2 y + cxy 2 + dy 3
which interpolates.

SYMBOLIC DYNAMICS Assume


that a system can be in three dif-
The dynamics of the system is
ferent states a, b, c and that tran-
coded with a symbolic dynamical
sitions a 7→ b, b 7→ a, b 7→ c,
system.
 The
 transition matrix is
c 7→ c, c 7→ a are allowed. A
0 1 0
a c possible evolution of the system is
then a, b, a, b, a, c, c, c, a, b, c, a... One
 1 0 1 .
1 0 1
calls this a description of the system
Information theoretical quantities
with symbolic dynamics. This
like the ”entropy” can be read off
language is used in information the-
b ory or in dynamical systems theory.
from this matrix.

INVERSE PROBLEMS The recon-


struction of a density function from Toy problem: We have 4 containers
projections along lines reduces to with density a, b, c, d arranged in a
the solution of the Radon trans- square. We are able and measure
q r form. Studied first in 1917, it is to- the light absorption by by sending
day a basic tool in applications like light through it. Like this, we get
a b medical diagnosis, tokamak moni- o = a + b,p = c + d,q = a + c and
o
toring, in plasma physics or for as- r = b + d. The problem is to re-
trophysical applications. The re- cover a, b, c, d. The system of equa-
c d construction is also called tomogra-
p tions is equivalent to Ax = b, with
phy. Mathematical tools developed x = (a,
 b, c, d) and b =
 (o, p, q, r) and
for the solution of this problem lead 1 1 0 0
to the construction of sophisticated  0 0 1 1 
A=  1 0 1 0 .

scanners. It is important that the
inversion h = R(f ) 7→ f is fast, ac- 0 1 0 1
curate, robust and requires as few
datas as possible.

Вам также может понравиться