Skip to content

Math Review Week 11

Highlights of what I (re)learned in week #11 of my math studies.

  • Video Lecture 1 - Geometry of Linear Equations
  • 1.1 Vector and Linear Combinations
  • 1.2 Lengths and Dot Products
  • 1.3 Matrices

Strang Linear Algebra - Video Lecture 1 "The Geometry of Linear Equations"

  • Row Picture
  • Column Picture
  • Matrix Form

Example:

\[ \substack{ \displaystyle 2x - y = 0 \\ \displaystyle -x + 2y = 3 } \Rightarrow \begin{bmatrix} 2 & -1 \\ -1 & 2 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 0 \\ 3 \end{bmatrix} \]

Row Picture solutions to \(2x - y = 0\) is a line, and solutions to \(-x + 2y = 3\) is a line. Their intersection at \((1, 2)\) solves both equations.

Column Picture

\[ x\begin{bmatrix}2 \\ -1\end{bmatrix} + y\begin{bmatrix}-1 \\ 2\end{bmatrix} = \begin{bmatrix}0 \\ 3\end{bmatrix} \]

Linear combination of columns. From above, we know \(x=1, y=2\), so:

\[ 1\begin{bmatrix}2 \\ -1\end{bmatrix} + 2\begin{bmatrix}-1 \\ 2\end{bmatrix} = \begin{bmatrix}0 \\ 3\end{bmatrix} \]

Can I solve \(A \vec x = \vec b\) for every \(b\)?

Do the linear combinations of the columns fill 3d space?

1.1 Vector and Linear Combinations

Four special linear combinations:

  • Sum
  • Difference
  • Zero
  • Scalar Multiple

If \(Ax = b\), \(x = A^{-1}b\)

If a linear combination of \(u, v \text{ \& } w\) give the zero vector, they are in the same plane.

1.2 Lengths and Dot Products

The dot product, or inner product, of:

\[ v = \begin{bmatrix}v_1 \\ v_2\end{bmatrix}, w = \begin{bmatrix}w_1 \\ w_2\end{bmatrix} \]

is the number \(v\cdot w = v_1\cdot w_1 + v_2\cdot w_2\)

A dot product of zero implies the vectors are perpendicular.

The length squared of \(v = \begin{bmatrix}1 \\ 3 \\ 2\end{bmatrix}\) is \(v\cdot v = 14\)

The length is \(\|v\| = \sqrt{14}\)

Then:

\[ u=\frac{v}{\|v\|} = \frac{v}{\sqrt{14}} = \frac{1}{\sqrt{14}}\cdot \begin{bmatrix}1 \\ 3 \\ 2\end{bmatrix} \text{ has length } \|u\| = 1 \]

The angle \(\theta\) between \(\vec{v}\) & \(\vec{w}\) has:

\[ cos(\theta) = \frac{\vec{v}\cdot \vec{w}}{\|\vec{v}\| \; \|\vec{w}\|} \]

Cauchy-Schwarz-Buniakowski Inequality - the most important inequality in mathematics!

\[ \boxed{|\vec{v}\cdot \vec{w}| \le \|\vec{v}\| \; \|\vec{w}\|} \]

Triangle Inequality

\[ \boxed{\|\vec{v} + \vec{w}\| \le \|\vec{v}\| + \|\vec{w}\|} \]

1.3 Matrices

Solution to \(Ax = b\) can be written as \(x=A^{-1}b\), but some matrices don't allow \(A^{-1}\)

The numbers \(x_1, x_2, x_3\) are the components of vector \(\vec{x}\)