Difference between revisions of "Linear algebra"

From Bitnami MediaWiki
Jump to navigation Jump to search
Line 31: Line 31:
 
;Norms
 
;Norms
 
A function <math>\parallel\cdot\parallel</math> from a set of objects <math>S</math> to <math>\R</math> satisfying 3 conditions
 
A function <math>\parallel\cdot\parallel</math> from a set of objects <math>S</math> to <math>\R</math> satisfying 3 conditions
−
# Nonnegativity and identity mapping
+
# Nonnegativity and identity mapping: <math>x\neq 0 \implies \parallel x\parallel \gt 0 & \parallel 0 \parallel = 0</math>
 
# Relation of scalar multiplication to real multiplication: <math>\parallel ax\parallel = |a|\parallel x\parallel</math> for real <math>a</math>
 
# Relation of scalar multiplication to real multiplication: <math>\parallel ax\parallel = |a|\parallel x\parallel</math> for real <math>a</math>
 
# Triangle inequality: <math>\parallel x+y\parallel \leq\parallel x\parallel + \parallel y\parallel </math>
 
# Triangle inequality: <math>\parallel x+y\parallel \leq\parallel x\parallel + \parallel y\parallel </math>

Revision as of 00:16, 14 March 2021

Some Notes on Linear Algebra

[math]\displaystyle{ \begin{align} f(x) & = (a+b)^2 \\ & = a^2+2ab+b^2 \\ \end{align} }[/math]

  • Unit vector:
[math]\displaystyle{ e_i = (0,\dots,0,1,0,\dots,0) }[/math]
  • Order relations: Several ways to rank order vectors but no complete ordering works (vectors are only partially ordered). If for all corresponding elements [math]\displaystyle{ x_i }[/math] and [math]\displaystyle{ y_i }[/math] belonging to vectors [math]\displaystyle{ x, y }[/math], then: [math]\displaystyle{ x\gt y }[/math]
  • Partial ordering: if [math]\displaystyle{ x_i\geq y_i }[/math] then [math]\displaystyle{ x }[/math] is greater than or equal to [math]\displaystyle{ y }[/math]
  • W is a subset of V and operations in the 2 objects are the same: [math]\displaystyle{ \mathcal{W}\subseteq\mathcal{V} }[/math]
  • Intersection of 2 vector spaces of same order is a vector space; however, the union of 2 vector spaces is not necessarily a vector space (e.g., [math]\displaystyle{ v_1 + v_2 }[/math] may not be in [math]\displaystyle{ \mathcal{V}_1\cup\mathcal{V}_2) }[/math].
  • "Spaces of vectors" = a set of vectors of the same order together with the addition operator
  • For [math]\displaystyle{ \mathcal{V}_1, \mathcal{V}_2 }[/math] are disjoint vector spaces, their sum is the direct sum: [math]\displaystyle{ \mathcal{V}=\mathcal{V}_1\oplus\mathcal{V}_2 }[/math].
Cones
  • Set of vectors that contains all positive scalar multiples of any vector in the set is a cone
  • Set of vectors [math]\displaystyle{ V }[/math] is a convex cone if [math]\displaystyle{ \forall v_1, v_2 \in V }[/math] and [math]\displaystyle{ \forall a, b\geq 0 \implies av_1 + bv_2 \in V }[/math]
Inner Products

The dot product is actually a special case of the inner product (i.e., the inner product not restricted to vectors in [math]\displaystyle{ \R^3 }[/math])

[math]\displaystyle{ \langle x, y\rangle \equiv x\cdot y\equiv x^Ty = \sum_i x_i y_i }[/math]

The mapping from a vector space [math]\displaystyle{ \mathcal{V} }[/math] to [math]\displaystyle{ \R }[/math] has the following properties:

  1. Nonnegativity and identity mapping: if [math]\displaystyle{ x\neq 0 }[/math], then [math]\displaystyle{ \langle x,x\rangle \gt 0 }[/math] and [math]\displaystyle{ \langle 0,x \rangle = \langle x,0 \rangle = \langle 0,0 \rangle = 0 }[/math]
  2. Commutativity: [math]\displaystyle{ \langle x,y\rangle = \langle y,x\rangle }[/math]
  3. Factoring of scalar multiplication in dot products: [math]\displaystyle{ \langle ax, y\rangle = a\langle x,y\rangle }[/math] for real [math]\displaystyle{ a }[/math]
  4. Relation of vector addition to dot product addition: [math]\displaystyle{ \langle x+y,z \rangle = \langle x,z\rangle + \langle x,z\rangle }[/math]
The Cauchy-Schwarz Inequality
[math]\displaystyle{ \langle x,y\rangle \leq \langle x,x\rangle^{\frac{1}{2}} \langle y,y\rangle^{\frac{1}{2}} }[/math]
Norms

A function [math]\displaystyle{ \parallel\cdot\parallel }[/math] from a set of objects [math]\displaystyle{ S }[/math] to [math]\displaystyle{ \R }[/math] satisfying 3 conditions

  1. Nonnegativity and identity mapping: [math]\displaystyle{ x\neq 0 \implies \parallel x\parallel \gt 0 & \parallel 0 \parallel = 0 }[/math]
  2. Relation of scalar multiplication to real multiplication: [math]\displaystyle{ \parallel ax\parallel = |a|\parallel x\parallel }[/math] for real [math]\displaystyle{ a }[/math]
  3. Triangle inequality: [math]\displaystyle{ \parallel x+y\parallel \leq\parallel x\parallel + \parallel y\parallel }[/math]