MATH 323 Lecture 3

From Notes
Jump to navigation Jump to search

« previous | Tuesday, September 4, 2012 | next »


Homogeneous System

A system of equations is said to be homogeneous if all constants on the right-hand side of the equations are 0.

Homogeneous systems are always consistent usually with the trivial solution (x1,x2,,xn)=(0,0,,0)

Theorem. An m×n homogeneous system of linear equations has a nontrivial solution iff n>m.

Proof. With fewer equations than unknowns, there will be at least

nm

free variables. Any free variable has an infinite number of possible values, therefore the system has infinitely many solutions.

Q.E.D.


Matrix Notation

Matrices use CAPITAL LETTERS (A, B, etc.)

Entries use lowercase letters (a, b, etc.)

With m rows and n columns, a matrix is said to be of size m×n

A=[a11a1nam1amn]=(aij)

A single element may be referenced with subscript row i, column j: aij

A row i may be extracted with the following notation:

a(i,:)=(ai1,,ain)

A column j may be extracted with the following notation:

a(:,j)=aj=[a1jamj]

Matrix constructor form:

Mm×n()=set (ring) of m×n matrices over 

Vectors

2 forms:

  1. Row vector (1×n): v=(a11,,a1n)
  2. Column vector (n×1): [a11an1]

Vectors of either type constitute m-dimensional vector space (represented by m) in Euclidean space

If a1,,an are vectors in m and c1,,cn are scalars, then their sum is of the form c1a1++cnan and is said to be a linear combination of the vectors a1,,an

Theorem 1.3.1. A system of equations is consistent iff b is a linear combination of column vectors ai of the coefficient matrix A.

x1a1++xnan=b


Operations

Addition

Two matrices may be added only if they have the same size:

A+B=Ccij=aij+bij

Just add the corresponding cells of each matrix

Example

[213121]+[101022]=[114143]

Multiplication

Matrix A may multiply into matrix B only if A has size m×n and B has size n×k. The resulting matrix will have size m×k

Take row i, multiply each of its n cells by the corresponding cells of column j. The resulting matrix cell will be the sum of the components' products:

cij=t=1naitbtj
where 1im and 1jk

It's just a dot product!

Warning: ABBA
Application

Consider the following equation: 2x13x2+x3=1

Write the coefficient matrix:

[231]


... and vector of unknowns:

x=[x1x2x3]

Multiplying the coefficients by the unknowns yields the same equation:

[231][x1x2x3]=[2x13x2+x3]
Example

<math>\begin{bmatrix}2 & -1 & 1 \\ -1 & 0 & 1\end{bmatrix} \, \begin{bmatrix} 1 & -1 \\ 0 & 2 \\ 1 & -1 \end{bmatrix} = \begin{bmatrix} 2 \cdot 1 + (-1) \cdot 0 + 1 \cdot 1 & 2 \cdot (-1) + (-1) \cdot 2 + 1 \cdot (-1) \\ (-1) \cdot 1 + 0 \cdot 0 + 1 \cdot 1 & (-1) \cdot (-1) + 0 \cdot 2 + 1 \cdot (-1) \end{bmatrix} = \begin{bmatrix} 3 & -5 \\ 0 & 0 \end{bmatrix}