Top Banner
Orthogonal Basis Hung-yi Lee
16

Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Jan 25, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Orthogonal BasisHung-yi Lee

Page 2: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Outline

Reference: Textbook Chapter 7.2, 7.3

Orthogonal/Orthonormal Basis

Orthogonal Decomposition Theory

How to find Orthonormal Basis

Page 3: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Orthogonal Set

• A set of vectors is called an orthogonal set if every pair of distinct vectors in the set is orthogonal.

An orthogonal set?

By definition, a set with only one vector is an orthogonal set.

Is orthogonal set independent?

Page 4: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Independent?

• Any orthogonal set of nonzero vectors is linearly independent.

Assume c1, c2, , ck make c1v1 + c2v2 + + ckvk = 0

ci = 0

Let S = {v1, v2, , vk} be an orthogonal set vi 0 for i = 1, 2, , k.

≠ 0𝑐1 = 𝑐2 = ⋯ = 𝑐𝑘 = 0

Page 5: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Orthonormal Set

• A set of vectors is called an orthonormal set if it is an orthogonal set, and the norm of all the vectors is 1

Is orthonormal set independent?

Yes1

14

123

1

3

11−1

1

42

5−41

A vector that has norm equal to 1 is called a unit vector.

Page 6: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Orthogonal Basis

• A basis that is an orthogonal (orthonormal) set is called an orthogonal (orthonormal) basis

1 0 00 1 00 0 1

Orthogonal basis of R3

Orthonormal basis of R3

Page 7: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Outline

Orthogonal/Orthonormal Basis

Orthogonal Decomposition Theory

How to find Orthonormal Basis

Page 8: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Orthogonal Basis

• Let 𝑆 = 𝑣1, 𝑣2, ⋯ , 𝑣𝑘 be an orthogonal basis for a subspace W, and let u be a vector in W.

Proof

𝑢 = 𝑐1𝑣1 + 𝑐2𝑣2 +⋯+ 𝑐𝑘𝑣𝑘

𝑢 ∙ 𝑣1𝑣1

2

𝑢 ∙ 𝑣2𝑣2

2

𝑢 ∙ 𝑣𝑘𝑣𝑘

2

To find 𝑐𝑖

𝑢 ∙ 𝑣𝑖 = 𝑐1𝑣1 + 𝑐2𝑣2 +⋯+ 𝑐𝑖𝑣𝑖 +⋯+ 𝑐𝑘𝑣𝑘 ∙ 𝑣𝑖

= 𝑐1𝑣1 ∙ 𝑣𝑖 + 𝑐2𝑣2 ∙ 𝑣𝑖 +⋯+ 𝑐𝑖𝑣𝑖 ∙ 𝑣𝑖 +⋯+ 𝑐𝑘𝑣𝑘 ∙ 𝑣𝑖

= 𝑐𝑖 𝑣𝑖 ∙ 𝑣𝑖 = 𝑐𝑖 𝑣𝑖2 𝑐𝑖 =

𝑢 ∙ 𝑣𝑖𝑣𝑖

2

How about orthonormal basis?

Page 9: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Example

• Example: S = {v1, v2, v3} is an orthogonal basis for R3

Page 10: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Orthogonal Projection

• Let 𝑆 = 𝑣1, 𝑣2, ⋯ , 𝑣𝑘 be an orthogonal basis for a subspace W, and let u be a vector in W.

• Let u be any vector, and w is the orthogonal projection of u on W.

𝑢 = 𝑐1𝑣1 + 𝑐2𝑣2 +⋯+ 𝑐𝑘𝑣𝑘

𝑢 ∙ 𝑣1𝑣1

2

𝑢 ∙ 𝑣2𝑣2

2

𝑢 ∙ 𝑣𝑘𝑣𝑘

2

𝑤 = 𝑐1𝑣1 + 𝑐2𝑣2 +⋯+ 𝑐𝑘𝑣𝑘

𝑢 ∙ 𝑣1𝑣1

2

𝑢 ∙ 𝑣2𝑣2

2

𝑢 ∙ 𝑣𝑘𝑣𝑘

2

Page 11: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Orthogonal Projection

• Let 𝑆 = 𝑣1, 𝑣2, ⋯ , 𝑣𝑘 be an orthogonal basis for a subspace W. Let u be any vector, and w is the orthogonal projection of u on W.

𝑤 = 𝑐1𝑣1 + 𝑐2𝑣2 +⋯+ 𝑐𝑘𝑣𝑘

𝑢 ∙ 𝑣1𝑣1

2

𝑢 ∙ 𝑣2𝑣2

2

𝑢 ∙ 𝑣𝑘𝑣𝑘

2𝑃𝑊 = 𝐶 𝐶𝑇𝐶 −1𝐶𝑇

𝐶 = 𝑣1 ⋯ 𝑣𝑛𝐶𝑇 =

𝑣1𝑇

𝑣2𝑇

⋮𝑣𝑛𝑇

𝑃𝑊 = 𝐶𝐷𝐶𝑇

𝑤 = 𝐶𝐷𝐶𝑇𝑢

Projected:

Page 12: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Outline

Orthogonal/Orthonormal Basis

Orthogonal Decomposition Theory

How to find Orthonormal Basis

Page 13: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Orthogonal BasisLet 𝑢1, 𝑢2, ⋯ , 𝑢𝑘 be a basis of a subspace V. How to transform 𝑢1, 𝑢2, ⋯ , 𝑢𝑘 into an orthogonal basis 𝑣1, 𝑣2, ⋯ , 𝑣𝑘 ?

Then 𝑣1, 𝑣2, ⋯ , 𝑣𝑘 is an orthogonal basis for W

orthogonal

Non-zero L.I.

Gram-Schmidt Process

Page 14: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Visualization

https://www.youtube.com/watch?v=Ys28-Yq21B8

Page 15: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Assume the theorem holds for k=n, and consider the case for n+1.

The theorem holds for k = 1. obviously

orthogonal

𝑢1, 𝑢2, ⋯ , 𝑢𝑘 be a basis of a subspace V

𝑣𝑛+1 ∙ 𝑣𝑖 = 0 (i < n + 1)

Intuitive explanation

Page 16: Orthogonal Basis - 國立臺灣大學speech.ee.ntu.edu.tw/~tlkagk/courses/LA_2018/Lecture/orthogonal basis (v2).pdf · Orthogonal/Orthonormal Basis Orthogonal Decomposition Theory

Example

S = {u1, u2, u3} Is a basis for subspace W

(L.I. vectors)𝑢1 =

1111

𝑢2 =

2101

𝑢3 =

1121

Then S = {v1, v2, v3} is an orthogonal basis for W .

S = {v1, v2, 4v3} is also an orthogonal basis.