SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Downloaden Sie, um offline zu lesen
Adv. Engg. Mathematics
MTH-812 Orthogonal Subspaces
Dr. Yasir Ali (yali@ceme.nust.edu.pk)
DBS&H, CEME-NUST
November 20, 2017
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Geometric concepts of length, distance and perpendicularity
Vectors in Rn
Let u and v be vectors in Rn then they must be of the matrices of
order n × 1.
Transpose of u and v is of order 1 × n
The product of uT v is of order 1 × 1, which is a scalar.
Let
u =





u1
u2
...
un





and v =





v1
v2
...
vn





uT
.v = u1 u2 · · · un .





v1
v2
...
vn





= u1v1 + u2v2 + · · · + unvn
scalar
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Inner Product of u and v
Inner Product of u and v is written as u, v and is defined as follows
uT
.v = u1 u2 · · · un .





v1
v2
...
vn





= u1v1 + u2v2 + · · · + unvn
scalar
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Inner Product of u and v
Inner Product of u and v is written as u, v and is defined as follows
uT
.v = u1 u2 · · · un .





v1
v2
...
vn





= u1v1 + u2v2 + · · · + unvn
scalar
Similarly
v, u = vT
.u = v1u1 + v2u2 + · · · + vnun
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Inner Product of u and v
Inner Product of u and v is written as u, v and is defined as follows
uT
.v = u1 u2 · · · un .





v1
v2
...
vn





= u1v1 + u2v2 + · · · + unvn
scalar
Similarly
v, u = vT
.u = v1u1 + v2u2 + · · · + vnun
Compute u.v and v.u, where
u = 2 −5 −1
T
and v = 3 2 −3
T
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Theorem
Let u, v and w be vectors in Rn and c be any scalar then
1 u, v = v, u
2 u, v , w = u, < v, w
3 cu, v = c u, v = u, cv
4 u, u ≥ 0, and u, u = 0 if and only if u = 0
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Length of a vector in Rn
If v ∈ Rn with entries v1, v2, · · · , vn, then
The length of v is a nonnegative scalar ||v|| defined by
||v|| = v2
1 + v2
2 + · · · + v2
n =
n
i=1
v2
i
1
2
||v||2
= v, v also ||cv|| = c||v||
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
If ||v|| = 1 or, equivalently, if v, v = 1, then v is called a unit vector
and it is said to be normalized.
Every nonzero vector v in V can be multiplied by the reciprocal of its
length to obtain the unit vector
ˆv =
1
||v||
v
which is a positive multiple of v. This process is called normalizing v.
Example
Let v = (1, −2, 2, 0). Find a unit vector in the direction of v.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Distance between u and v
For u and v in Rn, the distance between u and v, written as dist(u.v), is
the length of vector u − v. That is
dist(u, v) = ||u − v||
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Distance between u and v
For u and v in Rn, the distance between u and v, written as dist(u.v), is
the length of vector u − v. That is
dist(u, v) = ||u − v||
In R2 and R3 the definition of distance coincides with usual formulae
of Euclidean distance between two points.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Distance between u and v
For u and v in Rn, the distance between u and v, written as dist(u.v), is
the length of vector u − v. That is
dist(u, v) = ||u − v||
In R2 and R3 the definition of distance coincides with usual formulae
of Euclidean distance between two points.
Example
Compute the distance between u = (7, 1) and v = (3, 2).
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Perpendicular Lines
Consider two lines through origin determined by the vectors u and v.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Perpendicular Lines
Consider two lines through origin determined by the vectors u and v.
Two lines are geometri-
cally perpendicular if dis-
tance between u and v is
same as distance between
u and −v. That is
dist(u, v) = dist(u, −v) ⇒ ||u − v|| = ||u − (−v)||
||u − v|| = ||u + v|| ⇒ u − v, u − v = u + v, u + v
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Perpendicular Lines
Consider two lines through origin determined by the vectors u and v.
Two lines are geometri-
cally perpendicular if dis-
tance between u and v is
same as distance between
u and −v. That is
dist(u, v) = dist(u, −v) ⇒ ||u − v|| = ||u − (−v)||
||u − v|| = ||u + v|| ⇒ u − v, u − v = u + v, u + v
Simplification gives us
||u||2
+ ||v||2
− 2 u, v = ||u||2
+ ||v||2
+ 2 u, v
u, v = 0
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Two vectors u and v in Rn
are orthogonal(to each other) if
u, v = 0.
The Pythagorean Theorem
Two vectors u and v in Rn are orthogonal if and only if
||u + v||2
= ||u||2
+ ||v||2
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Orthogonal Complements
If a vector z is orthogonal to every vector in a subspace W then z is said to
be Orthogonal to W
The set of all vectors z orthogonal to W is said to be Orthogonal
Complement of W and is denoted by W⊥
W⊥
= z z, w = 0, ∀w ∈ W
Two important features of W⊥
A vector x is in W⊥ if x is orthogonal to every vector in a set that
span W
W⊥ is a subspace of Rn.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Orthogonal and Orthonormal
Consider a set S = {u1, u2, · · · , ur} of nonzero vectors in an inner product
space V .
S is called orthogonal if each pair of vectors in S are orthogonal
S is called orthonormal if S is orthogonal and each vector in S
has unit length.
That is,
Orthogonal: ui, uj = 0 for i = j
Orthonormal: ui, uj =
0, i = j;
1, otherwise.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Orthogonal and Orthonormal
Consider a set S = {u1, u2, · · · , ur} of nonzero vectors in an inner product
space V .
S is called orthogonal if each pair of vectors in S are orthogonal
S is called orthonormal if S is orthogonal and each vector in S
has unit length.
That is,
Orthogonal: ui, uj = 0 for i = j
Orthonormal: ui, uj =
0, i = j;
1, otherwise.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Important Results
Theorem
Suppose S is an orthogonal set of nonzero vectors. Then S is linearly
independent.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Important Results
Theorem
Suppose S is an orthogonal set of nonzero vectors. Then S is linearly
independent.
Theorem (Pythagoras)
Suppose {u1, u2, · · · , ur} is a set of orthogonal vectors then
||u1 + u2 + · · · + ur||2
= ||u1||2
+ ||u2||2
+ · · · + ||ur||2
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Orthogonal Basis
An orthogonal basis for W is basis for W that is also an orthogonal set.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Orthogonal Basis
An orthogonal basis for W is basis for W that is also an orthogonal set.
Example
Check whether or not following vectors, of R3, are orthogonal basis
u1 = (1, 2, 1), u2 = (2, 1, −4), u3 = (3, −2, 1).
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Orthogonal Basis
An orthogonal basis for W is basis for W that is also an orthogonal set.
Example
Check whether or not following vectors, of R3, are orthogonal basis
u1 = (1, 2, 1), u2 = (2, 1, −4), u3 = (3, −2, 1).
We have to check following three conditions that given vectors are:
1 Linearly independent
2 Spans R3
3 Orthogonal set
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Theorem
Let {u1, u2, · · · , ur} be an orthogonal basis of V . Then, for any v ∈ V ,
v =
v, u1
u1, u1
u1 +
v, u2
u2, u2
u2 + · · · +
v, ur
ur, ur
ur.
The scalar ki = v,ui
ui,ui
is called the Fourier coefficient of v with respect
to ui, because it is analogous to a coefficient in the Fourier series of a
function.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Projection
Let V be an inner product space. Suppose w is a given nonzero vector in
V , and suppose v is another vector.
We seek the “projection of v along w”, which, as indicated in Fig,
will be the multiple cw of w such that
v = v − cw is orthogonal to w.
This means
v , w = 0
v − cw, w = 0
v, w − c w, w = 0
c =
v, w
w, w
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Projection
Let V be an inner product space. Suppose w is a given nonzero vector in
V , and suppose v is another vector.
We seek the “projection of v along w”, which, as indicated in Fig,
will be the multiple cw of w such that
v = v − cw is orthogonal to w.
This means
v , w = 0
v − cw, w = 0
v, w − c w, w = 0
c =
v, w
w, w
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Accordingly, the projection of v along w is denoted and defined by
proj(v, w) = cw =
v, w
w, w
w
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Theorem (Gram-Schmidt Orthogonalization Process)
Suppose Suppose {u1, u2, · · · , un} is a basis of an inner product space
V . One can use this basis to construct an orthogonal basis
{w1, w2, · · · , wn} of V as follows. Set
w1 = u1
w2 = u2 −
u2, w1
w1, w1
w1
w3 = u3 −
u3, w1
w1, w1
w1 −
u3, w2
w2, w2
w2
. . .
wn = un −
un, w1
w1, w1
w1 −
un, w2
w2, w2
w2 − · · · −
un, wn−1
wn−1, wn−1
wn−1
In other words, for k = 2, 3, · · · n, we define
wk = uk − ck1w1 − ck2w2 − · · · − ckk−1wk−1, where cki =
uk, wi
wi, wi
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Inner Product Spaces
Function Space C[a, b] and Polynomial Space P(t)
The notation C[a, b] is used to denote the vector space of all continuous
functions on the closed interval [a, b], that is, where a ≤ t ≤ b. The
following defines an inner product on C[a, b], where f(t) and g(t) are
functions in C[a, b]
f, g =
b
a
f(t)g(t)dt.
It is called the usual inner product on C[a, b].
Example (Consider f(t) = 3t − 5 and g(t) = t2 in P(t) with the inner
product
f, g =
1
0
f(t)g(t)dt.
Find f, g and ||f||.)
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Inner Product Spaces
Function Space C[a, b] and Polynomial Space P(t)
The notation C[a, b] is used to denote the vector space of all continuous
functions on the closed interval [a, b], that is, where a ≤ t ≤ b. The
following defines an inner product on C[a, b], where f(t) and g(t) are
functions in C[a, b]
f, g =
b
a
f(t)g(t)dt.
It is called the usual inner product on C[a, b].
Example (Consider f(t) = 3t − 5 and g(t) = t2 in P(t) with the inner
product
f, g =
1
0
f(t)g(t)dt.
Find f, g and ||f||.)
f, g is given whereas ||f||2 = f, f
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Inner Product Spaces
Matrix Space M = Mm×n
Let M = Mm×n, the vector space of all real m × n matrices. An inner
product is defined on M by
A, B = tr(BT
A)
where, as usual, tr() is the trace ⇒ the sum of the diagonal elements.
Hilbert Space
Let V be the vector space of all infinite sequences of real numbers
(a1, a2, a3, · · · ) satisfying
∞
i=1
a2
i = a2
1 + a2
2 + a2
3 + · · · < ∞
that is, the sum converges. This inner product space is called l2-space
or Hilbert space.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Orthogonal and Positive Definite Matrices
Orthogonal Matrices
A real matrix P is orthogonal if P is nonsingular and
P−1
= PT
, or, in other words, if PPT
= PT
P = I.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Orthogonal and Positive Definite Matrices
Orthogonal Matrices
A real matrix P is orthogonal if P is nonsingular and
P−1
= PT
, or, in other words, if PPT
= PT
P = I.
Let P be a real matrix. Then the following are equivalent:
(a) P is orthogonal
(b) the rows of P form an orthonormal set
(c) the columns of P form an orthonormal set.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Positive Definite Matrices
Let A be a real symmetric matrix; that is, AT A. Then A is said to be
positive definite if, for every nonzero vector u in Rn,
u, Au = uT
Au > 0.
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Norms on Rn
and Cn
The following define three important norms on Rn and Cn
:
||(a1, · · · , an)||∞ = max (|ai|)
||(a1, · · · , an)||1 = |a1| + |a2| + · · · + |an|
||(a1, · · · , an)||2 = |a1|2 + |a2|2 + · · · + |an|2
The norms ||.||∞, ||.||1, and ||.||2 are called the infinity-norm, one-norm,
and two-norm, respectively.
The distance between two vectors u and v in V is denoted and defined
by d(u, v) = ||u − v||
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Norms on Rn
and Cn
The following define three important norms on Rn and Cn
:
||(a1, · · · , an)||∞ = max (|ai|)
||(a1, · · · , an)||1 = |a1| + |a2| + · · · + |an|
||(a1, · · · , an)||2 = |a1|2 + |a2|2 + · · · + |an|2
The norms ||.||∞, ||.||1, and ||.||2 are called the infinity-norm, one-norm,
and two-norm, respectively.
The distance between two vectors u and v in V is denoted and defined
by d(u, v) = ||u − v||
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
Consider the Cartesian plane R2 shown
in Fig
Let D1 be the set of points
u = (x, y) in R2 such that
||u||2 = 1, that is,
x2 + y2 = 1(unit circle).
Let D2 be the set of points
u = (x, y) in R2 such that
||u||1 = 1, that is, |x| + |y| = 1.
Thus, D2 is the diamond inside
the unit circle
Let D3 be the set of points
u = (x, y) in R2 such that
||u||∞ = 1, that is,
max (|x|, |y|) = 1. Thus, D3 is the
square circumscribing the unit
circle
Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics

Weitere ähnliche Inhalte

Was ist angesagt?

First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equationNofal Umair
 
Mathematics and History of Complex Variables
Mathematics and History of Complex VariablesMathematics and History of Complex Variables
Mathematics and History of Complex VariablesSolo Hermelin
 
Vector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,BasisVector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,BasisRavi Gelani
 
Inner product spaces
Inner product spacesInner product spaces
Inner product spacesEasyStudy3
 
Integration in the complex plane
Integration in the complex planeIntegration in the complex plane
Integration in the complex planeAmit Amola
 
Gram-Schmidt process linear algbera
Gram-Schmidt process linear algberaGram-Schmidt process linear algbera
Gram-Schmidt process linear algberaPulakKundu1
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & DimensionManikanta satyala
 
application of complex numbers
application of complex numbersapplication of complex numbers
application of complex numbersKaustubh Garud
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Viraj Patel
 
Application of vector integration
Application of vector integration Application of vector integration
Application of vector integration Varuna Kapuge
 
Gauss Divergence Therom
Gauss Divergence TheromGauss Divergence Therom
Gauss Divergence TheromVC Infotech
 
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TESTINTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TESTJAYDEV PATEL
 
Inner Product Space
Inner Product SpaceInner Product Space
Inner Product SpacePatel Raj
 

Was ist angesagt? (20)

First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
 
Mathematics and History of Complex Variables
Mathematics and History of Complex VariablesMathematics and History of Complex Variables
Mathematics and History of Complex Variables
 
Introduction of Partial Differential Equations
Introduction of Partial Differential EquationsIntroduction of Partial Differential Equations
Introduction of Partial Differential Equations
 
Vector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,BasisVector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,Basis
 
Vector spaces
Vector spaces Vector spaces
Vector spaces
 
Inner product spaces
Inner product spacesInner product spaces
Inner product spaces
 
Integration in the complex plane
Integration in the complex planeIntegration in the complex plane
Integration in the complex plane
 
Linear differential equation of second order
Linear differential equation of second orderLinear differential equation of second order
Linear differential equation of second order
 
Vector space
Vector spaceVector space
Vector space
 
Euler’s Theorem Homogeneous Function Of Two Variables
Euler’s Theorem Homogeneous Function Of  Two VariablesEuler’s Theorem Homogeneous Function Of  Two Variables
Euler’s Theorem Homogeneous Function Of Two Variables
 
Gram-Schmidt process linear algbera
Gram-Schmidt process linear algberaGram-Schmidt process linear algbera
Gram-Schmidt process linear algbera
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & Dimension
 
Complex analysis
Complex analysisComplex analysis
Complex analysis
 
application of complex numbers
application of complex numbersapplication of complex numbers
application of complex numbers
 
Fuzzy sets
Fuzzy setsFuzzy sets
Fuzzy sets
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations
 
Application of vector integration
Application of vector integration Application of vector integration
Application of vector integration
 
Gauss Divergence Therom
Gauss Divergence TheromGauss Divergence Therom
Gauss Divergence Therom
 
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TESTINTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
 
Inner Product Space
Inner Product SpaceInner Product Space
Inner Product Space
 

Ähnlich wie Adv Engg Math Orthogonal Subspaces

Lecture 12 orhogonality - 6.1 6.2 6.3
Lecture 12   orhogonality - 6.1 6.2 6.3Lecture 12   orhogonality - 6.1 6.2 6.3
Lecture 12 orhogonality - 6.1 6.2 6.3njit-ronbrown
 
Properties of fuzzy inner product spaces
Properties of fuzzy inner product spacesProperties of fuzzy inner product spaces
Properties of fuzzy inner product spacesijfls
 
Linear Transformation Vector Matrices and Spaces
Linear Transformation Vector Matrices and SpacesLinear Transformation Vector Matrices and Spaces
Linear Transformation Vector Matrices and SpacesSohaib H. Khan
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and DimensionCeni Babaoglu, PhD
 
A new axisymmetric finite element
A new axisymmetric finite elementA new axisymmetric finite element
A new axisymmetric finite elementStefan Duprey
 
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
Chapter 12 Section 12.1  Three-Dimensional Coordinate SysChapter 12 Section 12.1  Three-Dimensional Coordinate Sys
Chapter 12 Section 12.1 Three-Dimensional Coordinate SysEstelaJeffery653
 
Vectorspace in 2,3and n space
Vectorspace in 2,3and n spaceVectorspace in 2,3and n space
Vectorspace in 2,3and n spaceAhmad Saifullah
 
On uniformly continuous uniform space
On uniformly continuous uniform spaceOn uniformly continuous uniform space
On uniformly continuous uniform spacetheijes
 
Vectors space definition with axiom classification
Vectors space definition with axiom classificationVectors space definition with axiom classification
Vectors space definition with axiom classificationkishor pokar
 
Some_Properties_for_the_Commutators_of_Special_Linear_Quantum_Groups (12).pdf
Some_Properties_for_the_Commutators_of_Special_Linear_Quantum_Groups (12).pdfSome_Properties_for_the_Commutators_of_Special_Linear_Quantum_Groups (12).pdf
Some_Properties_for_the_Commutators_of_Special_Linear_Quantum_Groups (12).pdfmehsinatteya88
 

Ähnlich wie Adv Engg Math Orthogonal Subspaces (20)

Lecture 12 orhogonality - 6.1 6.2 6.3
Lecture 12   orhogonality - 6.1 6.2 6.3Lecture 12   orhogonality - 6.1 6.2 6.3
Lecture 12 orhogonality - 6.1 6.2 6.3
 
lec1.ppt
lec1.pptlec1.ppt
lec1.ppt
 
lec12.ppt
lec12.pptlec12.ppt
lec12.ppt
 
Properties of fuzzy inner product spaces
Properties of fuzzy inner product spacesProperties of fuzzy inner product spaces
Properties of fuzzy inner product spaces
 
Linear Transformation Vector Matrices and Spaces
Linear Transformation Vector Matrices and SpacesLinear Transformation Vector Matrices and Spaces
Linear Transformation Vector Matrices and Spaces
 
ANALISIS VECTORIAL.pdf
ANALISIS VECTORIAL.pdfANALISIS VECTORIAL.pdf
ANALISIS VECTORIAL.pdf
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension
 
Vectors 1.pdf
Vectors 1.pdfVectors 1.pdf
Vectors 1.pdf
 
Spherical interval-valued fuzzy bi-ideals of gamma near-rings
Spherical interval-valued fuzzy bi-ideals of gamma near-ringsSpherical interval-valued fuzzy bi-ideals of gamma near-rings
Spherical interval-valued fuzzy bi-ideals of gamma near-rings
 
A new axisymmetric finite element
A new axisymmetric finite elementA new axisymmetric finite element
A new axisymmetric finite element
 
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
Chapter 12 Section 12.1  Three-Dimensional Coordinate SysChapter 12 Section 12.1  Three-Dimensional Coordinate Sys
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
 
Vectorspace in 2,3and n space
Vectorspace in 2,3and n spaceVectorspace in 2,3and n space
Vectorspace in 2,3and n space
 
Inner product
Inner productInner product
Inner product
 
lec10.ppt
lec10.pptlec10.ppt
lec10.ppt
 
On uniformly continuous uniform space
On uniformly continuous uniform spaceOn uniformly continuous uniform space
On uniformly continuous uniform space
 
Vectors space definition with axiom classification
Vectors space definition with axiom classificationVectors space definition with axiom classification
Vectors space definition with axiom classification
 
lec9.ppt
lec9.pptlec9.ppt
lec9.ppt
 
Some_Properties_for_the_Commutators_of_Special_Linear_Quantum_Groups (12).pdf
Some_Properties_for_the_Commutators_of_Special_Linear_Quantum_Groups (12).pdfSome_Properties_for_the_Commutators_of_Special_Linear_Quantum_Groups (12).pdf
Some_Properties_for_the_Commutators_of_Special_Linear_Quantum_Groups (12).pdf
 
Vectors 2.pdf
Vectors 2.pdfVectors 2.pdf
Vectors 2.pdf
 
lec7.ppt
lec7.pptlec7.ppt
lec7.ppt
 

Mehr von Sohaib H. Khan

Langrange Interpolation Polynomials
Langrange Interpolation PolynomialsLangrange Interpolation Polynomials
Langrange Interpolation PolynomialsSohaib H. Khan
 
Newtons Divided Difference Formulation
Newtons Divided Difference FormulationNewtons Divided Difference Formulation
Newtons Divided Difference FormulationSohaib H. Khan
 
Interpolation of Cubic Splines
Interpolation of Cubic SplinesInterpolation of Cubic Splines
Interpolation of Cubic SplinesSohaib H. Khan
 
Production Planning, Scheduling and Control
Production Planning, Scheduling and ControlProduction Planning, Scheduling and Control
Production Planning, Scheduling and ControlSohaib H. Khan
 
Cfd ch08 continuity equations
Cfd ch08  continuity equationsCfd ch08  continuity equations
Cfd ch08 continuity equationsSohaib H. Khan
 
Cfd ch07 hyperbolic_implicit
Cfd ch07 hyperbolic_implicitCfd ch07 hyperbolic_implicit
Cfd ch07 hyperbolic_implicitSohaib H. Khan
 
Cfd ch06 hyperbolic-explicit_2d
Cfd ch06 hyperbolic-explicit_2dCfd ch06 hyperbolic-explicit_2d
Cfd ch06 hyperbolic-explicit_2dSohaib H. Khan
 
Cfd ch05 hyperbolic-explicit_1d
Cfd ch05 hyperbolic-explicit_1dCfd ch05 hyperbolic-explicit_1d
Cfd ch05 hyperbolic-explicit_1dSohaib H. Khan
 
Cfd ch03 c_linear-algebra
Cfd ch03 c_linear-algebraCfd ch03 c_linear-algebra
Cfd ch03 c_linear-algebraSohaib H. Khan
 
Cfd ch02 b_parabolic-implicit
Cfd ch02 b_parabolic-implicitCfd ch02 b_parabolic-implicit
Cfd ch02 b_parabolic-implicitSohaib H. Khan
 
Cfd ch01 a_parabolic_explicit
Cfd ch01 a_parabolic_explicitCfd ch01 a_parabolic_explicit
Cfd ch01 a_parabolic_explicitSohaib H. Khan
 

Mehr von Sohaib H. Khan (12)

Langrange Interpolation Polynomials
Langrange Interpolation PolynomialsLangrange Interpolation Polynomials
Langrange Interpolation Polynomials
 
Newtons Divided Difference Formulation
Newtons Divided Difference FormulationNewtons Divided Difference Formulation
Newtons Divided Difference Formulation
 
Interpolation of Cubic Splines
Interpolation of Cubic SplinesInterpolation of Cubic Splines
Interpolation of Cubic Splines
 
Production Planning, Scheduling and Control
Production Planning, Scheduling and ControlProduction Planning, Scheduling and Control
Production Planning, Scheduling and Control
 
Cfd ch08 continuity equations
Cfd ch08  continuity equationsCfd ch08  continuity equations
Cfd ch08 continuity equations
 
Cfd ch07 hyperbolic_implicit
Cfd ch07 hyperbolic_implicitCfd ch07 hyperbolic_implicit
Cfd ch07 hyperbolic_implicit
 
Cfd ch06 hyperbolic-explicit_2d
Cfd ch06 hyperbolic-explicit_2dCfd ch06 hyperbolic-explicit_2d
Cfd ch06 hyperbolic-explicit_2d
 
Cfd ch05 hyperbolic-explicit_1d
Cfd ch05 hyperbolic-explicit_1dCfd ch05 hyperbolic-explicit_1d
Cfd ch05 hyperbolic-explicit_1d
 
Cfd ch04 d_elliptic
Cfd ch04 d_ellipticCfd ch04 d_elliptic
Cfd ch04 d_elliptic
 
Cfd ch03 c_linear-algebra
Cfd ch03 c_linear-algebraCfd ch03 c_linear-algebra
Cfd ch03 c_linear-algebra
 
Cfd ch02 b_parabolic-implicit
Cfd ch02 b_parabolic-implicitCfd ch02 b_parabolic-implicit
Cfd ch02 b_parabolic-implicit
 
Cfd ch01 a_parabolic_explicit
Cfd ch01 a_parabolic_explicitCfd ch01 a_parabolic_explicit
Cfd ch01 a_parabolic_explicit
 

Kürzlich hochgeladen

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Kürzlich hochgeladen (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

Adv Engg Math Orthogonal Subspaces

  • 1. Adv. Engg. Mathematics MTH-812 Orthogonal Subspaces Dr. Yasir Ali (yali@ceme.nust.edu.pk) DBS&H, CEME-NUST November 20, 2017 Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 2. Geometric concepts of length, distance and perpendicularity Vectors in Rn Let u and v be vectors in Rn then they must be of the matrices of order n × 1. Transpose of u and v is of order 1 × n The product of uT v is of order 1 × 1, which is a scalar. Let u =      u1 u2 ... un      and v =      v1 v2 ... vn      uT .v = u1 u2 · · · un .      v1 v2 ... vn      = u1v1 + u2v2 + · · · + unvn scalar Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 3. Inner Product of u and v Inner Product of u and v is written as u, v and is defined as follows uT .v = u1 u2 · · · un .      v1 v2 ... vn      = u1v1 + u2v2 + · · · + unvn scalar Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 4. Inner Product of u and v Inner Product of u and v is written as u, v and is defined as follows uT .v = u1 u2 · · · un .      v1 v2 ... vn      = u1v1 + u2v2 + · · · + unvn scalar Similarly v, u = vT .u = v1u1 + v2u2 + · · · + vnun Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 5. Inner Product of u and v Inner Product of u and v is written as u, v and is defined as follows uT .v = u1 u2 · · · un .      v1 v2 ... vn      = u1v1 + u2v2 + · · · + unvn scalar Similarly v, u = vT .u = v1u1 + v2u2 + · · · + vnun Compute u.v and v.u, where u = 2 −5 −1 T and v = 3 2 −3 T Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 6. Theorem Let u, v and w be vectors in Rn and c be any scalar then 1 u, v = v, u 2 u, v , w = u, < v, w 3 cu, v = c u, v = u, cv 4 u, u ≥ 0, and u, u = 0 if and only if u = 0 Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 7. Length of a vector in Rn If v ∈ Rn with entries v1, v2, · · · , vn, then The length of v is a nonnegative scalar ||v|| defined by ||v|| = v2 1 + v2 2 + · · · + v2 n = n i=1 v2 i 1 2 ||v||2 = v, v also ||cv|| = c||v|| Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 8. If ||v|| = 1 or, equivalently, if v, v = 1, then v is called a unit vector and it is said to be normalized. Every nonzero vector v in V can be multiplied by the reciprocal of its length to obtain the unit vector ˆv = 1 ||v|| v which is a positive multiple of v. This process is called normalizing v. Example Let v = (1, −2, 2, 0). Find a unit vector in the direction of v. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 9. Distance between u and v For u and v in Rn, the distance between u and v, written as dist(u.v), is the length of vector u − v. That is dist(u, v) = ||u − v|| Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 10. Distance between u and v For u and v in Rn, the distance between u and v, written as dist(u.v), is the length of vector u − v. That is dist(u, v) = ||u − v|| In R2 and R3 the definition of distance coincides with usual formulae of Euclidean distance between two points. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 11. Distance between u and v For u and v in Rn, the distance between u and v, written as dist(u.v), is the length of vector u − v. That is dist(u, v) = ||u − v|| In R2 and R3 the definition of distance coincides with usual formulae of Euclidean distance between two points. Example Compute the distance between u = (7, 1) and v = (3, 2). Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 12. Perpendicular Lines Consider two lines through origin determined by the vectors u and v. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 13. Perpendicular Lines Consider two lines through origin determined by the vectors u and v. Two lines are geometri- cally perpendicular if dis- tance between u and v is same as distance between u and −v. That is dist(u, v) = dist(u, −v) ⇒ ||u − v|| = ||u − (−v)|| ||u − v|| = ||u + v|| ⇒ u − v, u − v = u + v, u + v Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 14. Perpendicular Lines Consider two lines through origin determined by the vectors u and v. Two lines are geometri- cally perpendicular if dis- tance between u and v is same as distance between u and −v. That is dist(u, v) = dist(u, −v) ⇒ ||u − v|| = ||u − (−v)|| ||u − v|| = ||u + v|| ⇒ u − v, u − v = u + v, u + v Simplification gives us ||u||2 + ||v||2 − 2 u, v = ||u||2 + ||v||2 + 2 u, v u, v = 0 Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 15. Two vectors u and v in Rn are orthogonal(to each other) if u, v = 0. The Pythagorean Theorem Two vectors u and v in Rn are orthogonal if and only if ||u + v||2 = ||u||2 + ||v||2 Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 16. Orthogonal Complements If a vector z is orthogonal to every vector in a subspace W then z is said to be Orthogonal to W The set of all vectors z orthogonal to W is said to be Orthogonal Complement of W and is denoted by W⊥ W⊥ = z z, w = 0, ∀w ∈ W Two important features of W⊥ A vector x is in W⊥ if x is orthogonal to every vector in a set that span W W⊥ is a subspace of Rn. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 17. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 18. Orthogonal and Orthonormal Consider a set S = {u1, u2, · · · , ur} of nonzero vectors in an inner product space V . S is called orthogonal if each pair of vectors in S are orthogonal S is called orthonormal if S is orthogonal and each vector in S has unit length. That is, Orthogonal: ui, uj = 0 for i = j Orthonormal: ui, uj = 0, i = j; 1, otherwise. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 19. Orthogonal and Orthonormal Consider a set S = {u1, u2, · · · , ur} of nonzero vectors in an inner product space V . S is called orthogonal if each pair of vectors in S are orthogonal S is called orthonormal if S is orthogonal and each vector in S has unit length. That is, Orthogonal: ui, uj = 0 for i = j Orthonormal: ui, uj = 0, i = j; 1, otherwise. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 20. Important Results Theorem Suppose S is an orthogonal set of nonzero vectors. Then S is linearly independent. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 21. Important Results Theorem Suppose S is an orthogonal set of nonzero vectors. Then S is linearly independent. Theorem (Pythagoras) Suppose {u1, u2, · · · , ur} is a set of orthogonal vectors then ||u1 + u2 + · · · + ur||2 = ||u1||2 + ||u2||2 + · · · + ||ur||2 Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 22. Orthogonal Basis An orthogonal basis for W is basis for W that is also an orthogonal set. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 23. Orthogonal Basis An orthogonal basis for W is basis for W that is also an orthogonal set. Example Check whether or not following vectors, of R3, are orthogonal basis u1 = (1, 2, 1), u2 = (2, 1, −4), u3 = (3, −2, 1). Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 24. Orthogonal Basis An orthogonal basis for W is basis for W that is also an orthogonal set. Example Check whether or not following vectors, of R3, are orthogonal basis u1 = (1, 2, 1), u2 = (2, 1, −4), u3 = (3, −2, 1). We have to check following three conditions that given vectors are: 1 Linearly independent 2 Spans R3 3 Orthogonal set Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 25. Theorem Let {u1, u2, · · · , ur} be an orthogonal basis of V . Then, for any v ∈ V , v = v, u1 u1, u1 u1 + v, u2 u2, u2 u2 + · · · + v, ur ur, ur ur. The scalar ki = v,ui ui,ui is called the Fourier coefficient of v with respect to ui, because it is analogous to a coefficient in the Fourier series of a function. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 26. Projection Let V be an inner product space. Suppose w is a given nonzero vector in V , and suppose v is another vector. We seek the “projection of v along w”, which, as indicated in Fig, will be the multiple cw of w such that v = v − cw is orthogonal to w. This means v , w = 0 v − cw, w = 0 v, w − c w, w = 0 c = v, w w, w Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 27. Projection Let V be an inner product space. Suppose w is a given nonzero vector in V , and suppose v is another vector. We seek the “projection of v along w”, which, as indicated in Fig, will be the multiple cw of w such that v = v − cw is orthogonal to w. This means v , w = 0 v − cw, w = 0 v, w − c w, w = 0 c = v, w w, w Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 28. Accordingly, the projection of v along w is denoted and defined by proj(v, w) = cw = v, w w, w w Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 29. Theorem (Gram-Schmidt Orthogonalization Process) Suppose Suppose {u1, u2, · · · , un} is a basis of an inner product space V . One can use this basis to construct an orthogonal basis {w1, w2, · · · , wn} of V as follows. Set w1 = u1 w2 = u2 − u2, w1 w1, w1 w1 w3 = u3 − u3, w1 w1, w1 w1 − u3, w2 w2, w2 w2 . . . wn = un − un, w1 w1, w1 w1 − un, w2 w2, w2 w2 − · · · − un, wn−1 wn−1, wn−1 wn−1 In other words, for k = 2, 3, · · · n, we define wk = uk − ck1w1 − ck2w2 − · · · − ckk−1wk−1, where cki = uk, wi wi, wi Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 30. Inner Product Spaces Function Space C[a, b] and Polynomial Space P(t) The notation C[a, b] is used to denote the vector space of all continuous functions on the closed interval [a, b], that is, where a ≤ t ≤ b. The following defines an inner product on C[a, b], where f(t) and g(t) are functions in C[a, b] f, g = b a f(t)g(t)dt. It is called the usual inner product on C[a, b]. Example (Consider f(t) = 3t − 5 and g(t) = t2 in P(t) with the inner product f, g = 1 0 f(t)g(t)dt. Find f, g and ||f||.) Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 31. Inner Product Spaces Function Space C[a, b] and Polynomial Space P(t) The notation C[a, b] is used to denote the vector space of all continuous functions on the closed interval [a, b], that is, where a ≤ t ≤ b. The following defines an inner product on C[a, b], where f(t) and g(t) are functions in C[a, b] f, g = b a f(t)g(t)dt. It is called the usual inner product on C[a, b]. Example (Consider f(t) = 3t − 5 and g(t) = t2 in P(t) with the inner product f, g = 1 0 f(t)g(t)dt. Find f, g and ||f||.) f, g is given whereas ||f||2 = f, f Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 32. Inner Product Spaces Matrix Space M = Mm×n Let M = Mm×n, the vector space of all real m × n matrices. An inner product is defined on M by A, B = tr(BT A) where, as usual, tr() is the trace ⇒ the sum of the diagonal elements. Hilbert Space Let V be the vector space of all infinite sequences of real numbers (a1, a2, a3, · · · ) satisfying ∞ i=1 a2 i = a2 1 + a2 2 + a2 3 + · · · < ∞ that is, the sum converges. This inner product space is called l2-space or Hilbert space. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 33. Orthogonal and Positive Definite Matrices Orthogonal Matrices A real matrix P is orthogonal if P is nonsingular and P−1 = PT , or, in other words, if PPT = PT P = I. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 34. Orthogonal and Positive Definite Matrices Orthogonal Matrices A real matrix P is orthogonal if P is nonsingular and P−1 = PT , or, in other words, if PPT = PT P = I. Let P be a real matrix. Then the following are equivalent: (a) P is orthogonal (b) the rows of P form an orthonormal set (c) the columns of P form an orthonormal set. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 35. Positive Definite Matrices Let A be a real symmetric matrix; that is, AT A. Then A is said to be positive definite if, for every nonzero vector u in Rn, u, Au = uT Au > 0. Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 36. Norms on Rn and Cn The following define three important norms on Rn and Cn : ||(a1, · · · , an)||∞ = max (|ai|) ||(a1, · · · , an)||1 = |a1| + |a2| + · · · + |an| ||(a1, · · · , an)||2 = |a1|2 + |a2|2 + · · · + |an|2 The norms ||.||∞, ||.||1, and ||.||2 are called the infinity-norm, one-norm, and two-norm, respectively. The distance between two vectors u and v in V is denoted and defined by d(u, v) = ||u − v|| Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 37. Norms on Rn and Cn The following define three important norms on Rn and Cn : ||(a1, · · · , an)||∞ = max (|ai|) ||(a1, · · · , an)||1 = |a1| + |a2| + · · · + |an| ||(a1, · · · , an)||2 = |a1|2 + |a2|2 + · · · + |an|2 The norms ||.||∞, ||.||1, and ||.||2 are called the infinity-norm, one-norm, and two-norm, respectively. The distance between two vectors u and v in V is denoted and defined by d(u, v) = ||u − v|| Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics
  • 38. Consider the Cartesian plane R2 shown in Fig Let D1 be the set of points u = (x, y) in R2 such that ||u||2 = 1, that is, x2 + y2 = 1(unit circle). Let D2 be the set of points u = (x, y) in R2 such that ||u||1 = 1, that is, |x| + |y| = 1. Thus, D2 is the diamond inside the unit circle Let D3 be the set of points u = (x, y) in R2 such that ||u||∞ = 1, that is, max (|x|, |y|) = 1. Thus, D3 is the square circumscribing the unit circle Dr. Yasir Ali (yali@ceme.nust.edu.pk) Adv. Engg. Mathematics