Download as pdf or txt
Download as pdf or txt
You are on page 1of 37

ELL701: MATHEMATICAL METHODS IN

CONTROL Online Lecture 5

M. Nabi

Control & Automation Group


Electrical Engineering Department,
Indian Institute of Technology Delhi

Oct 12, 2020

1 / 37
Topics for today

1 Linear Dependence
2 Basis & Span
3 Coordinates
4 Dimensions
5 Direct Sum

2 / 37
Examples: Ex. 1
Ex 1: Express the polynomial p(x) = (3x2 + 2x + 5) under the
following basis.
a) B1 : {1, x, x2 } b) B2 : {1, (1 − x), (x + x2 )}

3 / 37
Examples: Ex. 1
Ex 1: Express the polynomial p(x) = (3x2 + 2x + 5) under the
following basis.
a) B1 : {1, x, x2 } b) B2 : {1, (1 − x), (x + x2 )}
Soln:
p(x) = 5(1) + 2(x) + 3(x2 ) = [5 2 3]TB1 (1)

4 / 37
Examples: Ex. 1
Ex 1: Express the polynomial p(x) = (3x2 + 2x + 5) under the
following basis.
a) B1 : {1, x, x2 } b) B2 : {1, (1 − x), (x + x2 )}
Soln:
p(x) = 5(1) + 2(x) + 3(x2 ) = [5 2 3]TB1 (1)

p(x) = α1 (1) + α2 (1 − x) + α3 (x + x2 ) = [α1 α2 α3 ]TB2

5 / 37
Examples: Ex. 1
Ex 1: Express the polynomial p(x) = (3x2 + 2x + 5) under the
following basis.
a) B1 : {1, x, x2 } b) B2 : {1, (1 − x), (x + x2 )}
Soln:
p(x) = 5(1) + 2(x) + 3(x2 ) = [5 2 3]TB1 (1)

p(x) = α1 (1) + α2 (1 − x) + α3 (x + x2 ) = [α1 α2 α3 ]TB2 (2)


= (α1 + α2 ) + (α3 − α2 )x + (α3 )x2 (3)

6 / 37
Examples: Ex. 1
Ex 1: Express the polynomial p(x) = (3x2 + 2x + 5) under the
following basis.
a) B1 : {1, x, x2 } b) B2 : {1, (1 − x), (x + x2 )}
Soln:
p(x) = 5(1) + 2(x) + 3(x2 ) = [5 2 3]TB1 (1)

p(x) = α1 (1) + α2 (1 − x) + α3 (x + x2 ) = [α1 α2 α3 ]TB2 (2)


= (α1 + α2 ) + (α3 − α2 )x + (α3 )x2 (3)
(4)

or     
5 1 1 0 α1
 2  =  0 −1 1   α2  (5)
3 B 0 0 1 α3 B
1 2

7 / 37
Ex. 2

Ex 2: A point (a, b, c, d) ∈ R4 would be represented, under standard


basis as simply
 
a
 b 
 
 c 
d

8 / 37
Ex. 2

Ex 2: A point (a, b, c, d) ∈ R4 would be represented, under standard


basis as simply
         
a 1 0 0 0
 b   0   1   0   0 
  = a  + b  + c  + d  (6)
 c   0   0   1   0 
d 0 0 0 1

9 / 37
Ex. 3

Ex 3: All 2 × 2 upper-triangular matrices

10 / 37
Ex. 3

Ex 3: All 2 × 2 upper-triangular matrices


Soln: Let us take a/two vectors in the vector space
 
a b
;
0 d

11 / 37
Ex. 3

Ex 3: All 2 × 2 upper-triangular matrices


Soln: Let us take a/two vectors in the vector space
   
a b d e
;
0 d 0 f

12 / 37
Ex. 3

Ex 3: All 2 × 2 upper-triangular matrices


Soln: Let us take a/two vectors in the vector space
     
a b d e a+d b+e
; Adding ⇒
0 d 0 f 0 d+f

13 / 37
Ex. 3

Ex 3: All 2 × 2 upper-triangular matrices


Soln: Let us take a/two vectors in the vector space
     
a b d e a+d b+e
; Adding ⇒
0 d 0 f 0 d+f

Dimension = ?

14 / 37
Ex. 3

Ex 3: All 2 × 2 upper-triangular matrices


Soln: Let us take a/two vectors in the vector space
     
a b d e a+d b+e
; Adding ⇒
0 d 0 f 0 d+f

Dimension = ? 3

15 / 37
Ex. 3

Ex 3: All 2 × 2 upper-triangular matrices


Soln: Let us take a/two vectors in the vector space
     
a b d e a+d b+e
; Adding ⇒
0 d 0 f 0 d+f

Dimension = ? 3 And basis = ?

16 / 37
Ex. 3

Ex 3: All 2 × 2 upper-triangular matrices


Soln: Let us take a/two vectors in the vector space
     
a b d e a+d b+e
; Adding ⇒
0 d 0 f 0 d+f

Dimension = ? 3 And basis = ? The common choice:


     
1 0 0 1 0 0
; ;
0 0 0 0 0 1

17 / 37
Ex. 3

Ex 3: All 2 × 2 upper-triangular matrices


Soln: Let us take a/two vectors in the vector space
     
a b d e a+d b+e
; Adding ⇒
0 d 0 f 0 d+f

Dimension = ? 3 And basis = ? The common choice:


     
1 0 0 1 0 0
; ;
0 0 0 0 0 1

Seems easy ! But may not be intuitive always. See next example.

18 / 37
Ex. 4

All 2 × 2 matrices with trace = 0. Soln: Let us take a/two vectors in


the vector space
 
a b
;
c −a

19 / 37
Ex. 4

All 2 × 2 matrices with trace = 0. Soln: Let us take a/two vectors in


the vector space
   
a b d e
;
c −a f −d

20 / 37
Ex. 4

All 2 × 2 matrices with trace = 0. Soln: Let us take a/two vectors in


the vector space
     
a b d e a+d b+e
; Adding ⇒
c −a f −d c + f −(a + d)

21 / 37
Ex. 4

All 2 × 2 matrices with trace = 0. Soln: Let us take a/two vectors in


the vector space
     
a b d e a+d b+e
; Adding ⇒
c −a f −d c + f −(a + d)
Dimension = ?

22 / 37
Ex. 4

All 2 × 2 matrices with trace = 0. Soln: Let us take a/two vectors in


the vector space
     
a b d e a+d b+e
; Adding ⇒
c −a f −d c + f −(a + d)
Dimension = ? Basis = ? Exercise !

23 / 37
Dimension & ‘Degree of Freedom’

Things in an object can vary in how many ways ?


Example:

24 / 37
Inner Product spaces

‘Multiplication’ of vectors : V × V → R
Dot(Scalar) -product of physical vectors

u · v = |u||v| cos θ

25 / 37
Inner Product spaces

‘Multiplication’ of vectors : V × V → R
Dot(Scalar) -product of physical vectors

u · v = |u||v| cos θ (7)


= u1 v2 + u2 v2 + u3 v3

26 / 37
Inner Product spaces

‘Multiplication’ of vectors : V × V → R
Dot(Scalar) -product of physical vectors

u · v = |u||v| cos θ (7)


= u1 v2 + u2 v2 + u3 v3 (8)
= < u, v > (9)

27 / 37
Inner Product spaces

‘Multiplication’ of vectors : V × V → R
Dot(Scalar) -product of physical vectors

u · v = |u||v| cos θ (7)


= u1 v2 + u2 v2 + u3 v3 (8)
= < u, v > (9)

Abstraction:
A function V × V → R is an inner-product if
Symmetry: < u, v > = < v, u >
Homogeneity: < αu, v > = α < u, v >
Bi-linearity: < u + v, w > = < u, w > + < v, w >
Positive definiteness: < u, u >≥ 0, with equality iff u = 0.

28 / 37
Examples: Few common inner products

Euclidean Inner Product in Euclidean Space: For u, v ∈ Rn


X
< u, v >= u1 v2 + u2 v2 + . . . un vn = uT v

29 / 37
Examples: Few common inner products

Euclidean Inner Product in Euclidean Space: For u, v ∈ Rn


X
< u, v >= u1 v2 + u2 v2 + . . . un vn = uT v

A symmetric matrix A ∈ Rn×n is defined as Positive Definite if


xT Ax ≥ 0 with ‘ =0 iff x = 0. Then

< u, v >= uT Av

is an inner product.

30 / 37
Few more inner products

If Pn is the space of all polynomials, and p(x), q(x) be two


polynomials, then

31 / 37
Few more inner products

If Pn is the space of all polynomials, and p(x), q(x) be two


polynomials, then
Z b
< p, q >= p(x)q(x)dx
a

with a < b, is a (real) inner product.

32 / 37
Few more inner products

If Pn is the space of all polynomials, and p(x), q(x) be two


polynomials, then
Z b
< p, q >= p(x)q(x)dx
a

with a < b, is a (real) inner product.


If f (t) & g(t) are from the space of continuous functions, then
Z ∞
< f, g >= f (t)g(t)dx

33 / 37
Orthogonality

In an inner-product (vector) space, any two vectors u, v are said to be


orthogonal, if
< u, v >= 0
.
Euclidean Space : Obvious
Continuous Functions :
Z ∞
< f, g >= f (t)g(t)dx = 0

34 / 37
Generalization to Complex Scalars

Abstraction:
A function V × V → R is an inner-product if
Symmetry: < u, v > = < v, u >∗
Homogeneity: < αu, v > = α < u, v >
Bi-linearity: < u + v, w > = < u, w > + < v, w >
Positive definiteness: < u, u >≥ 0, with equality iff u = 0.

Inner Product in Unitary Space: For u, v ∈ Rn


X
< u, v >= u1 v2 + u2 v2 + . . . un vn = u∗ v

35 / 37
Generalization to Complex Scalars

Abstraction:
A function V × V → R is an inner-product if
Symmetry: < u, v > = < v, u >∗
Homogeneity: < αu, v > = α < u, v >
Bi-linearity: < u + v, w > = < u, w > + < v, w >
Positive definiteness: < u, u >≥ 0, with equality iff u = 0.

Inner Product in Unitary Space: For u, v ∈ Rn


X
< u, v >= u1 v2 + u2 v2 + . . . un vn = u∗ v

Z ∞
< f, g >= f (t)g ∗ (t)dx

36 / 37
-

Next day ...

37 / 37

You might also like