Sunteți pe pagina 1din 2

9/20/2004, USE OF LINEAR ALGEBRA I Math 21b, O. Knill USE OF LINEAR ALGEBRA II Math 21b, O.

Knill
This is not a list of topics covered in the course. It is rather a lose selection of subjects for which linear algebra
is useful or relevant. The aim is to convince you that it is worth learning this subject. Most of this handout CODING, ERROR CORRECTION
does not make much sense yet to you because the objects are not defined yet. You can look at this page at the Coding theory is used for encryp-
end of the course again, when some of the content will become more interesting. tion or error correction. For encryp-
tion, data x are maped by a map Linear algebra enters in different
GRAPHS, NETWORKS. Linear al- T into code y=Tx. T usually is a ways, often directly because the ob-
gebra can be used to understand ”trapdoor function”: it is hard to jects are vectors but also indirectly
networks. A network is a collec- How does the array of numbers help get x back when y is known. In the like for example in algorithms which
tion of nodes connected by edges to understand the network. One ap- second case, a code is a linear sub- aim at cracking encryption schemes.
and are also called graphs. The ad- plication is that one can read off the space X of a vector space and T is
4 jacency matrix of a graph is de- number of n-step walks in the graph a map describing the transmission
fined by an array of numbers. One which start at the vertex i and end with errors. The projection onto the
defines Aij = 1 if there is an edge at the vertex j. It is given by Anij , subspace X corrects the error.
1 2 3 from node i to node j in the graph. where An is the n-th power of the
Otherwise the entry is zero. A prob- matrix A. You will learn to compute Typically, a picture, a sound or
DATA COMPRESSION Image-
lem using such matrices appeared on with matrices as with numbers. a movie is cut into smaller junks.
(i.e. JPG), video- (MPG4) and
a blackboard at MIT in the movie sound compression algorithms These parts are represented by vec-
”Good will hunting”. (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
CHEMISTRY, MECHANICS transform. In all cases, the com- y = P U x is transferred or stored on
Complicated objects like a The solution x(t) = exp(At) of the pression makes use of the fact that a CD or DVD. The receiver obtains
bridge (the picture shows Storrow differential equation ẋ = Ax can be in the Fourier space, information back U T y which is close to x in the
Drive connection bridge which is understood and computed by find- can be cut away without disturbing sense that the human eye or ear does
part of the ”big dig”), or a molecule ing the eigenvalues of the matrix A. the main information. not notice a big difference.
(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- SOLVING SYSTEMS OR EQUA- Solving systems of nonlinear equa-
or atoms) coupled with attractive cal object because the engineer can TIONS When extremizing a func- tions can be tricky. Already for sys-
and repelling forces. The vibrations damp dangerous frequencies. In tion f on data which satisfy a con- tems of polynomial equations, one
of the system are described by a chemistry or medicine, the knowl- straint g(x) = 0, the method of has to work with linear spaces of
differential equation ẋ = Ax, where edge of the vibration resonances al- Lagrange multipliers asks to solve polynomials. Even if the Lagrange
x(t) is a vector which depends on lows to determine the shape of a a nonlinear system of equations system is a linear system, the task
time. Differential equations are an molecule. ∇f (x) = λ∇g(x), g(x) = 0 for the of solving it can be done more ef-
important part of this course. (n + 1) unknowns (x, l), where ∇f ficiently using a solid foundation of
is the gradient of f . linear algebra.
QUANTUM COMPUTING A
quantum computer is a quantum Rotations are represented by matri-
Theoretically, quantum computa-
mechanical system which is used to ces which are called orthogonal.
tions could speed up conventional GAMES Moving around in a world
perform computations. The state x For example, if an object located at
computations significantly. They described in a computer game re-
of a machine is no more a sequence (0, 0, 0), turning around the y-axes
could be used for example for cryp- quires rotations and translations to
of bits like in a classical computer by an angle φ, every point in the ob-
tological purposes. Freely available be implemented efficiently. Hard-
but a sequence of qubits, where ject
quantum computer language (QCL) ware acceleration can help to handle  gets transformed bythe matrix
each qubit is a vector. The memory cos(φ) 0 sin(φ)
interpreters can simulate quantum this.
of the computer can be represented 0 1 0
computers with an arbitrary num-
 
as a vector. Each computation step − sin(φ) 0 cos(φ)
ber of qubits.
is a multiplication x 7→ Ax with a
suitable matrix A.
Some of the best factorization
CRYPTOLOGY. Much of current algorithms use Gaussian elimina-
CHAOS THEORY. Dynamical cryptological security is based on tion. One is the quadratic sieve.
systems theory deals with the the difficulty to factor large integers The ongoing factorization chal-
iteration of maps or the analysis of n. One of the basic ideas going back
Examples of dynamical systems are lenge ”RSA Challenge Numbers”.
solutions of differential equations. to Fermat is to find integers x such
our solar system or the stars in a The smallest nonfactored problem
At each time t, one has a map that x2 mod n is a small square y 2 .
galaxy, electrons in a plasma or par- is currently the 193 digit num-
T (t) on the vector space. The Then x2 − y 2 = 0mod n which pro-
ticles in a fluid. The theoretical ber 310741824049004372135075003588856
linear approximation DT (t) is vides a factor x − y of n. There are
study is intrinsically linked to linear 793003734602284272754572016194882
called Jacobean is a matrix. If the different methods to find x such that
algebra because stability properties 320644051808150455634682967172328
largest eigenvalue of DT (t) grows x2 mod n is small but since we need
often depends on linear approxima- 678243791627283803341547107310850
exponentially in t, then the system squares people use sieving methods.
tions. 191954852900733772482278352574238
shows ”sensitive dependence on Linear algebra plays an important 6454014691736602477652346609 called
initial conditions” which is also role there. RSA-640. If you factor this number
called ”chaos”.
you win 20’000 dollars.
USE OF LINEAR ALGEBRA (III) Math 21b, Oliver Knill USE OF LINEAR ALGEBRA (IV) Math 21b, Oliver Knill

STATISTICS When analyzing data MARKOV. Suppose we have three The problem defines a Markov
statistically, one often is interested bags with 10 balls each. Every time chain described  by a matrix

in the correlation matrix Aij = For example, if the random variables we throw a dice and a 5 shows up, 5/6 1/6 0
we move a ball from bag 1 to bag 2,  0 2/3 1/3 .
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- if the dice shows 1 or 2, we move a 1/6 1/6 2/3
This matrix is derived from the data gether with the expectation E[Xi ] ball from bag 2 to bag 3, if 3 or 4 From this matrix, the equilibrium
and determines often the random determines the random variables. turns up, we move a ball from bag 3 distribution can be read off as an
variables when the type of the dis- to bag 1 and a ball from bag 3 to bag eigenvector of a matrix. Eigenvec-
tribution is fixed. 2. What distribution of balls will we tors will play an important role
see in average? throughout the course.
DATA FITTING. Given a bunch of
data points, we often want to see, SPLINES In computer aided de-
whether there are any trends which sign (CAD) used for example to
If we write down the conditions, we
allow predictions. Linear algebra al- construct cars, one wants to inter-
We will see explicit examples in this will have to solve a system of 4 equa-
lows to solve this problem elegantly polate points with smooth curves.
course. The most used datafitting tions for four unknowns. Graphic
6 and very generally. For example, to One example: assume you want to
10
problem is probably the linear fit- artists (i.e. at the company ”Pixar”)
5
approximate some data points using find a curve connecting two points
4
7.5
ting, where one wants to see how need to have linear algebra skills also
certain type of functions, we can do P and Q and the direction is given
0 5
certain data depend on others. at many other topics in computer
2.5
that. It even would work in higher at each point. Find a cubic function
5 2.5 graphics.
7.5 dimensions, where we wanted to see f (x, y) = ax3 + bx2 y + cxy 2 + dy 3
10
0
how a certain datapoint depends on which interpolates.
two data sets.
SYMBOLIC DYNAMICS Assume
A famous example is the prisoner that a system can be in three dif-
The dynamics of the system is
dilemma. Each player has the ferent states a, b, c and that tran-
coded with a symbolic dynamical
choice to corporate or to cheat.. The sitions a 7→ b, b 7→ a, b 7→ c,
system. The  transition matrix is
game is described by a 2x2 c 7→ c, c 7→ a are allowed. A
 matrix

0 1 0
like for example
3 0
5 1
. If a 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
GAME THEORY Abstract Games player cooperates and his partner calls this a description of the system
Information theoretical quantities
are often represented by pay-off ma- also, both get 3 points. If his partner with symbolic dynamics. This
like the ”entropy” can be read off
trices. These matrices tell the out- cheats and he cooperates, he gets 5 language is used in information the-
come when the decisions of each points. If both cheat, both get 1 b ory or in dynamical systems theory.
from this matrix.
player are known. point. More generally, in a game
with two players where each player
can chose from n strategies, the pay- INVERSE PROBLEMS The recon-
off matrix is a n times n matrix struction of a density function from Toy problem: We have 4 containers
A. A NashPequilibrium is a vector projections along lines reduces to with density a, b, c, d arranged in a
p ∈ S = { i pi = 1, pi ≥ 0 } for the solution of the Radon trans- square. We are able and measure
which qAp ≤ pAp for all q ∈ S. 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
NEURAL NETWORK In part of a b medical diagnosis, tokamak moni- o = a + b,p = c + d,q = a + c and
o
neural network theory, for exam- toring, in plasma physics or for as- r = b + d. The problem is to re-
ple Hopfield networks, the state trophysical applications. The re- cover a, b, c, d. The system of equa-
c d construction is also called tomogra-
space is a 2n-dimensional vector p tions is equivalent to Ax = b, with
space. Every state of the network phy. Mathematical tools developed x = (a,
 b, c, d) and b =
 (o, p, q, r) and
is given by a vector x, where each for the solution of this problem lead 1 1 0 0
For example, if Wij = xi yj , then x to the construction of sophisticated
component takes the values −1 or  0 0 1 1 
is a fixed point of the learning map. A=  1 0 1 0 .

1. If W is a symmetric nxn matrix, scanners. It is important that the
one can define a ”learning map” inversion h = R(f ) 7→ f is fast, ac- 0 1 0 1
T : x 7→ signW x, where the sign curate, robust and requires as few
is taken component wise. The en- datas as possible.
ergy of the state is the dot prod-
uct −(x, W x)/2. One is interested
in fixed points of the map.

S-ar putea să vă placă și