• Tidak ada hasil yang ditemukan

PDF Linear Algebra for Computer Science Span, Independence, Basis ... - KNTU

N/A
N/A
Protected

Academic year: 2024

Membagikan "PDF Linear Algebra for Computer Science Span, Independence, Basis ... - KNTU"

Copied!
13
0
0

Teks penuh

(1)

Linear Algebra for Computer Science

Lecture 4

Span, Independence, Basis, Coordinates

(2)

Span

span(x,y) = { a x + b y | a,b ∈ R}

span(x

1

, x

2

, …. ,x

n

) = {a

1

x

1

+ a

2

x

2

+ …. + a

n

x

n

| a

i

∈ R }

(3)

Span

We say that x

1

, x

2

, …. ,x

n

span S if S = span(x

1

, x

2

, …. ,x

n

).

(4)

Linear dependence

x,y,z are dependent if

● x ∈ span(y,z), OR

● y ∈ span(z,x), OR

● z ∈ span(x,y) that is

● x = a y + b z, for some a, b, OR

● y = a z + b x, for some a,b, OR

● z = a x + b y, for some a,b.

(5)

Linear dependence

x

1

, x

2

, …. ,x

n

∈ V are linearly dependent if one of them

can be written as a linear combination of the others.

(6)

Linear independence

x,y,z are independent if

● x ∉ span(y,z), AND

● y ∉ span(z,x), AND

● z ∉ span(x,y)

(7)

Linear independence

x

1

, x

2

, …. ,x

n

∈ V are linearly independent if none of them

can be written as a linear combination of the others.

(8)

Linear independence

x

1

, x

2

, …. ,x

n

∈ V are linearly independent if none of them can be written as a linear combination of the others.

Equivalently:

a

1

x

1

+ a

2

x

2

+ …. + a

n

x

n

= 0 ⇒ a

1

= a

2

= …. = a

n

= 0

(9)

Basis

v1, v2, …, vn ∈ V such that

● v1, v2, …, vn are linearly independent

● v1, v2, …, vn span V

(10)

Basis

v1, v2, …, vn ∈ V such that

● v1, v2, …, vn are linearly independent

● v1, v2, …, vn span V

* n is the same for any choice of the basis vectors

* n is called the dimension of V

* V is a finite dimensional vector space

(11)

* Basis (general definition)

{vi}iI ⊆ V such that

● vi'sare linearly independent

● for any v ∈ V there is a finite set of vectors v1, v2, …, vd ∈ {vi}iI such that v span(v1, v2, …, vd)

* Any vector space has a basis

* cardinality of {vi}iI is the same for any choice of the basis vectors

* cardinality of {vi}iI is called the dimension of V

(12)

Bases and Coordinate Representation

Why is independence needed? => uniqueness

every x ∈ V can be written uniquely as a linear combination of the basis vectors v1, v2, …, vn.

(13)

Example: The Euclidean space

Referensi

Dokumen terkait