Lecture 05 : Basis and Dimension

IIT Roorkee July 2018
10 Jul 202129:19

Summary

TLDRThis lecture delves into the fundamental concepts of basis and dimension in vector spaces, crucial for machine learning algorithms and applications like dimension reduction and dictionary learning. It explains the criteria for a set of vectors to form a basis, emphasizing linear independence and the ability to span the space. The lecture also distinguishes between finite and infinite dimensional spaces, provides examples of bases in various spaces, and introduces the concept of dimension as the number of vectors in a basis. Important results related to basis and dimension, including the implications for linear dependence and the extension of linearly independent sets, are highlighted.

Takeaways

  • πŸ“š The lecture discusses the concept of basis and dimension in vector spaces, which are fundamental to machine learning algorithms.
  • πŸ” A basis for a vector space is a set of linearly independent vectors that span the entire space, allowing any vector to be expressed as a linear combination of these basis vectors.
  • πŸ“ There are two types of vector spaces: finite-dimensional and infinite-dimensional, differentiated by the number of vectors in their basis.
  • 🧩 The dimension of a vector space is the number of vectors in its basis, which is a key characteristic of the space.
  • πŸ“‰ In machine learning, basis and dimension concepts are crucial for algorithms such as dimension reduction and dictionary learning.
  • 🌐 The standard basis for R2, R3, and RN are sets of vectors with elements that are zero except for a single one, representing the standard orientation in space.
  • πŸ”’ The dimension of spaces like R2, RN, and the space of all 2x2 real matrices are given by simple formulas related to the number of elements in the basis.
  • πŸ”‘ If a set of vectors contains more than the dimension of the vector space, it is linearly dependent, emphasizing the importance of the basis size.
  • πŸ“ˆ Any linearly independent subset of a vector space can be extended to form a basis for that space, highlighting the flexibility in choosing a basis.
  • πŸ“Š For finite-dimensional vector spaces, all bases contain the same number of vectors, which equals the space's dimension.
  • πŸ“˜ The lecture provides examples of finding the basis and dimension of subspaces in R3 and R4, illustrating the process of determining these properties.

Q & A

  • What is the main topic of the lecture?

    -The main topic of the lecture is the concept of basis and dimension in vector spaces, which are important in the context of machine learning algorithms.

  • Why are basis and dimension important in machine learning?

    -Basis and dimension are important in machine learning because they help in representing input data as a linear combination of certain vectors, which is essential for algorithms like dimension reduction and dictionary learning.

  • What is the definition of a basis in vector spaces?

    -A basis for a vector space V is a set of linearly independent vectors in V that spans the vector space V. This means every vector in the space can be written as a linear combination of the basis vectors.

  • What are the two main properties a set of vectors must have to be considered a basis?

    -A set of vectors must be linearly independent and must span the entire vector space to be considered a basis.

  • What is the difference between finite and infinite dimensional vector spaces?

    -A finite dimensional vector space has a basis containing a finite number of vectors, while an infinite dimensional vector space has a basis with an infinite number of vectors.

  • Can you provide an example of a basis for R2 over the real numbers?

    -An example of a basis for R2 over the real numbers is the set of vectors {(1, 0), (0, 1)}.

  • What is the dimension of a vector space?

    -The dimension of a vector space is the number of elements in a basis of the vector space.

  • What is the relationship between the dimension of a vector space and the number of vectors in its basis?

    -The dimension of a vector space is equal to the number of vectors in any of its bases.

  • How can you determine if a set of vectors is linearly dependent?

    -A set of vectors is linearly dependent if it contains more vectors than the dimension of the vector space it is supposed to span.

  • Can a linearly independent set of vectors be extended to form a basis of a vector space?

    -Yes, if a linearly independent set of vectors does not span the entire vector space, it can be extended by adding more linearly independent vectors until it becomes a basis.

  • What is the significance of the dimension of the intersection of two subspaces in relation to the dimensions of the subspaces themselves?

    -The dimension of the intersection of two subspaces, along with the dimensions of the subspaces themselves, follows the formula: dimension of S1 + dimension of S2 = dimension of (S1 + S2) + dimension of (S1 ∩ S2).

Outlines

00:00

πŸ“š Introduction to Basis and Dimension in Vector Spaces

The script begins with a refresher on vector subspaces and introduces the concept of basis and dimension of these spaces, crucial for machine learning algorithms. It explains that feature vectors can be represented as linear combinations of certain vectors, which may be linearly independent or orthogonal. The lecture aims to identify the specific set of vectors that form a basis for the feature space, which is essential in algorithms like dimension reduction and dictionary learning. The mathematical definition of a basis is presented, emphasizing that it consists of linearly independent vectors that span the vector space. The script also distinguishes between finite and infinite dimensional vector spaces.

05:02

πŸ” Examples of Vector Space Bases and Their Properties

This paragraph provides examples of vector space bases, such as the standard basis for R2, R3, and RN, which are sets of vectors with elements of one and zeros elsewhere. It further explores the basis of spaces of 2x2 matrices with real entries and 2x2 symmetric matrices, highlighting the difference in the number of basis vectors required for each. The dimension of a vector space is defined as the number of elements in its basis, with examples given for R2, RN, and spaces of matrices and polynomials, emphasizing that the dimension is a key characteristic of the space.

10:04

πŸ“‰ Important Results on Basis and Dimension

The script discusses important results related to bases and dimensions of vector spaces. It states that if a set of vectors exceeds the dimension of the space, it must be linearly dependent. It also mentions that any linearly independent subset can be extended to form a basis of the vector space. Additionally, it asserts that all bases of a finite-dimensional vector space contain the same number of vectors, which equals the space's dimension, and introduces the concept of the sum and intersection of subspaces and their dimensions.

15:07

πŸ“š Finding the Basis and Dimension of Subspaces

The paragraph demonstrates how to find the basis and dimension of subspaces using the example of a subspace S of R3, defined by a linear equation. It shows the process of simplifying the equation to express the components of vectors in S in terms of a smaller set of variables, leading to the identification of the basis vectors and the calculation of the subspace's dimension. The example illustrates the method of determining the basis and dimension for subspaces within a larger vector space.

20:12

πŸ” Further Examples of Subspace Analysis

This section continues with more examples of finding the basis and dimension of subspaces within R3 and R4. It explains how to determine the basis for a subspace defined by a set of equal components and how to find the intersection of two subspaces. The script uses these examples to show that the dimension of the intersection of two subspaces can be zero, indicating that their only common element is the zero vector, and that the sum of dimensions of two subspaces equals the dimension of their union plus the dimension of their intersection.

25:14

πŸš€ Conclusion and Preview of Upcoming Topics

The script concludes with a summary of the concepts of basis and dimension learned in the lecture and previews the next topic, which will be linear transformations, another fundamental concept in mathematics and machine learning. It also provides references for further study and expresses gratitude for the audience's attention, ending with applause and music, signaling the end of the lecture.

Mindmap

Keywords

πŸ’‘Vector Subspaces

Vector subspaces are subsets of a vector space that are themselves vector spaces, adhering to the rules of vector addition and scalar multiplication. In the context of the video, vector subspaces are foundational to understanding the concept of basis and dimension, as they allow for the exploration of subsets within a larger vector space. The script discusses how feature vectors in machine learning can be represented as linear combinations within these subspaces.

πŸ’‘Basis

A basis in a vector space is a set of linearly independent vectors that span the entire space. It serves as the fundamental framework for expressing any vector within the space as a linear combination of the basis vectors. The video emphasizes the importance of basis in various machine learning algorithms, such as dimension reduction and dictionary learning, where it is crucial to identify a set of vectors that can represent the feature space efficiently.

πŸ’‘Dimension

The dimension of a vector space is the number of vectors in its basis, representing the minimum number of components needed to describe any vector within that space. The script explains that the dimension is key to understanding the complexity of the space and its applications in machine learning, such as in wavelet-based algorithms where functions are approximated as linear combinations of orthonormal functions.

πŸ’‘Linearly Independent

Linear independence is a property of vectors where no vector in the set can be written as a linear combination of the others. This concept is critical for defining a basis, as all vectors in the basis must be linearly independent. The script uses this term to describe the first qualification for a set of vectors to form a basis of a vector space.

πŸ’‘Linear Combination

A linear combination is an expression constructed from a set of vectors by multiplying each vector by a scalar (a constant) and adding the results. In the script, the ability to express all feature vectors as linear combinations of a basis set is central to the discussion of how data can be represented in machine learning algorithms.

πŸ’‘Finite Dimensional Vector Spaces

Finite dimensional vector spaces are those with a basis consisting of a finite number of vectors. The script contrasts these with infinite dimensional vector spaces and uses the concept to explain that the number of basis vectors equates to the dimension of the space, as seen in examples like R2 and R3.

πŸ’‘Infinite Dimensional Vector Spaces

Infinite dimensional vector spaces have a basis with an infinite number of vectors, allowing for the representation of an endless variety of vectors. The script mentions these in the context of function approximation in wavelet-based algorithms, where an infinite set of orthonormal functions can be used to approximate any function.

πŸ’‘Standard Basis

The standard basis of a vector space consists of vectors with a single element being one and all other elements being zero. For example, in R2, the standard basis vectors are [1, 0] and [0, 1]. The script uses the standard basis to illustrate simple examples of bases for R2, R3, and RN.

πŸ’‘Orthonormal

Orthonormal vectors are orthogonal unit vectors that are often used in function approximation and signal processing. The script refers to orthonormal functions in the context of wavelet-based algorithms, where functions are approximated as linear combinations of such functions derived from a mother wavelet.

πŸ’‘Linear Dependence

Linear dependence occurs in a set of vectors when at least one vector can be expressed as a linear combination of the others, indicating redundancy in the set. The script explains that any set with more vectors than the dimension of the vector space will be linearly dependent, emphasizing the importance of this concept in determining the basis of a space.

πŸ’‘Subspace

A subspace is a vector space that is a subset of another vector space, maintaining the properties of vector addition and scalar multiplication. The script discusses finding the basis and dimension of subspaces, such as those defined by certain conditions within R3 and R4, to illustrate the application of these concepts in more complex scenarios.

Highlights

Introduction to the concept of basis and dimension in vector subspaces, crucial for machine learning algorithms.

Basis vectors must be linearly independent and span the vector space.

Explanation of finite and infinite dimensional vector spaces.

The importance of basis in dimension reduction and dictionary learning algorithms.

Wavelet-based algorithms use orthonormal functions as a basis to approximate functions.

Mathematical definition of a basis for a vector space V over a field F.

Qualifications for a set to be a basis: linear independence and spanning the vector space.

Examples of bases for R2, R3, and RN with standard basis vectors.

Basis for 2x2 matrices and symmetric matrices as vector spaces.

Dimension of a vector space is the number of elements in its basis.

Dimension examples for R2, RN, and spaces of 2x2 matrices and polynomials.

Result: A basis of an n-dimensional vector space cannot have more than n vectors.

Result: Any linearly independent subset can be extended to form a basis.

Result: All bases of a finite-dimensional vector space have the same number of vectors.

Result: Dimension of the sum of two subspaces equals the sum of their dimensions minus the dimension of their intersection.

Finding the basis and dimension of a subspace defined by a linear equation in R3.

Example of finding the basis and dimension for subspaces S1 and S2 in R4.

Conclusion on the importance of understanding basis and dimension for further study in linear transformations.

Transcripts

play00:00

[Music]

play00:20

[Music]

play00:22

if you remember in the last lecture we

play00:24

have talked about uh Vector sub

play00:28

spaces so today we are again going to

play00:31

talk about a very important concept from

play00:34

the vector spaces that is basis and

play00:37

dimension of vector sub

play00:40

spaces so in most of the machine

play00:43

learning algorithm we need to

play00:46

represent our input data that is in

play00:49

terms of feature vectors as a linear

play00:52

combination of certain

play00:55

vectors that all the feature vectors we

play00:58

want to write as linear combination of a

play01:01

set of vectors those set of vectors may

play01:05

be linearly independent or they may be

play01:09

orthogonal so to write all the feature

play01:13

vectors of our data set in terms of

play01:17

linear combination of these vectors we

play01:19

have to find out that particular set of

play01:23

vectors so these vectors form a basis

play01:26

for the feature space today we will

play01:29

learn about the basis of the vector

play01:32

spaces the concept of basis is really

play01:35

important especially in the case of

play01:38

Dimension

play01:39

reduction or the recent algorithm like

play01:43

dictionary learning based algorithm

play01:46

further in wavelet based algorithms we

play01:50

approximate any function as the linear

play01:54

combination of set of orthonormal

play01:57

functions those we have generated from

play01:59

the

play02:00

mother wavelength so let us come to the

play02:02

definition of basis so

play02:06

mathematically it's speaking the

play02:08

definition of bases is given as let VF

play02:12

be a vector space so we are having a

play02:15

vector space V over the field F A basis

play02:19

for V is a set of linearly independent

play02:22

vectors in V which spans the vector

play02:26

space V now so what

play02:30

there should what should be the

play02:32

qualification to be a basis the first

play02:35

all the vectors of that set should be

play02:38

linearly

play02:39

independent number

play02:41

two you take any Vector from the vector

play02:44

space V that Vector can be written as

play02:48

the linear combination of the vectors of

play02:52

the basis set there are two types of

play02:56

vector spaces finite dimensional Vector

play02:58

spaces and infinite dimensional Vector

play03:02

spaces so if the basis of a vector space

play03:07

V contains the finite number of vectors

play03:11

then we say that it is a finite

play03:13

dimensional Vector space otherwise we

play03:17

say that the vector space is an infinite

play03:20

dimensional Vector

play03:22

space a vector in basis is called the

play03:26

basis Vector so if we talk this

play03:30

definition

play03:32

mathematically so what we are having a

play03:36

set

play03:38

B having vectors let us say V1

play03:45

V2 up to

play03:48

VN is a

play03:53

basis

play03:55

of a n dimensional Vector space

play04:11

we if the set of

play04:16

vectors V1 V2

play04:20

VN is linearly

play04:28

independent

play04:34

that is the first thing we

play04:36

need and the second thing

play04:39

is for any

play04:45

vector v belongs to the vector space

play04:49

V we

play04:53

have V =

play04:56

to Alpha 1 V1 + Alpha 2

play05:02

V2 plus alpha n

play05:05

VN

play05:10

where alpha

play05:13

1 Alpha

play05:16

2 alpha

play05:19

n

play05:21

are

play05:24

scalars from the field

play05:28

f

play05:32

so this is uh mathematically we can

play05:35

Define basis in this way also so if you

play05:39

see some example of the

play05:48

bases

play05:51

so if you take V equals

play05:55

to R2 over the field r

play06:04

then if you take vectors like 1

play06:08

Z and 01 in

play06:10

R2 then this set forms a basis 4 V the

play06:15

first thing both of these vectors are

play06:17

linearly

play06:18

independent and the second thing you

play06:22

take any vector v from R2 we can write

play06:26

that Vector let us say you are taking

play06:29

some vector Alpha Beta arbitrary

play06:33

Vector belongs to

play06:35

R2

play06:37

then we can write Alpha Beta as Alpha

play06:42

* 1 + beta *

play06:47

01 so what I want to say that this set

play06:52

spans whole R2 space similarly if you

play06:56

take V = to

play06:58

R3 over the field of real

play07:02

numbers then one of the possible basis

play07:14

is 1 0 0 0 1 0 and 0 0

play07:21

1 if you take V equals to

play07:26

RNR then one of the possible basis is 1

play07:31

0 0

play07:34

0 0

play07:37

1

play07:40

0 0

play07:43

0

play07:45

1 so all these are nles vector having

play07:49

one of the element is one and rest of

play07:52

the elements are zero so all these three

play07:55

are called standard basis for R2 R3 and

play08:00

RN respectively if we

play08:04

talk if we take a vector space like

play08:11

this so R 2 by two matrices having real

play08:16

entri

play08:28

so

play08:32

so certainly this V over the field of

play08:34

real number forms a vector

play08:41

space we have seen it in previous

play08:45

lectures now what will be the basis of

play08:48

this so basis of this will

play08:58

be

play09:07

so this is one of the possible basis for

play09:11

this Vector space V here you can notice

play09:15

all the vectors those are 2x2 matrices

play09:19

are linearly

play09:20

independent and any 2x2 matrix can be

play09:24

written as the linear combination of

play09:27

these four matrices

play09:29

if I change this uh Vector space let us

play09:34

say V equals

play09:37

to m2x

play09:41

2 set of

play09:43

all

play09:45

2x2

play09:47

real symmetric

play09:54

Matrix then what will be the basis

play09:57

certainly this set over the field of

play10:00

real numbers will form a vector space

play10:04

and what will be the basis one of the

play10:06

possible bases will be given

play10:09

as 1 0

play10:13

1 sorry 1 0 0

play10:16

0 0 1 1

play10:21

0 and 0 0 0

play10:26

1 because this is space of symmetric

play10:30

matrices so these two elements will be

play10:33

equal to have symmetric to be the matric

play10:38

symmetric so this basis will be having

play10:41

three vectors while this is having four

play10:45

vectors so these are some of the

play10:48

examples of basis of different Vector

play10:52

spaces my next definition is dimension

play10:56

so what is the dimension of a vector

play10:58

space

play11:00

the dimension of a vector space is

play11:02

nothing just the number of elements in

play11:05

the

play11:06

bases or number of vectors in the

play11:10

basis so formally I can say the number

play11:13

of vectors in a basis of VF is called

play11:15

the dimension of the vector space VF so

play11:19

as you have seen example uh the

play11:23

dimension of vector space R2 over the

play11:25

field of real number is two the

play11:28

dimension of vector space RN over the

play11:30

field of real number is n the dimension

play11:34

of the vector space of all 2 by two real

play11:38

matrices over the field of real number

play11:40

is four if you are taking the vector

play11:44

space of all M by n real matrices over

play11:48

the field of real number then Dimension

play11:51

will become M * n if you take the vector

play11:55

space of all the pols having degree n or

play12:01

less then the dimension of that Vector

play12:05

space will be n + 1 because we will be

play12:09

having n + 1 elements in the

play12:13

basis similarly dimension of vector

play12:16

space of all pols is

play12:19

infinite why because it is a infinite

play12:23

dimensional Vector

play12:25

space we can write any Pol omal from

play12:29

this Vector space as a linear

play12:32

combination of finite number of vectors

play12:36

from

play12:37

that basis however basis will be

play12:40

containing the infinite number of

play12:43

elements now come to some important

play12:47

results related to the basis and

play12:50

dimension so my first result is let V1

play12:54

V2 VN be a basis of a n dimensional

play12:58

Vector space VF if s be a subset of

play13:02

vectors having more than n

play13:05

vectors then the set s is linearly

play13:09

dependent so what I want to convey that

play13:12

if the dimension of vector space is n

play13:16

any set containing more than n vectors

play13:19

will be linearly dependent because in a

play13:24

set you can have at most and linearly

play13:27

independent vector v

play13:30

s and if you are having such a set where

play13:34

you are having an linearly independent

play13:37

Vector then that set will be a basis of

play13:42

that particular Vector space so what in

play13:45

other words I can say that the basis is

play13:50

a maximal linearly independent set of a

play13:55

vector space if you are having any other

play13:58

vector in that set that Vector can be

play14:02

written as a linear combination of rest

play14:05

of the vectors my second result is let

play14:09

V1 V2 VK be a linearly independent

play14:12

subset of a n dimensional Vector space V

play14:16

over the field F where K is less than

play14:21

n then s can be extended to a basis of

play14:25

VF for example suppose I am having a

play14:29

Vector space R5 and I am having three

play14:33

linearly independent vectors of R5 so

play14:36

what I can do I can include two more

play14:41

Alli vectors to that set of three

play14:44

vectors and then I will be having five

play14:46

linearly independent

play14:48

vectors in

play14:50

R5 and then this set will be a basis of

play14:55

R5 another important result is like let

play14:59

VF be a finite dimensional Vector space

play15:03

then any two bases of V have the same

play15:07

number of

play15:09

vectors we can have multiple bases for a

play15:12

vector space

play15:14

however each of the bases will be having

play15:18

the same number of

play15:20

vectors that is equals to the dimension

play15:24

of the vector space so for example if we

play15:29

talk

play15:32

about

play15:34

r3r you have seen

play15:37

that one of the set of vector 1 0

play15:42

0 0 1

play15:46

0 and 0 0

play15:51

1 this particular set forms a basis for

play15:55

R3 over the field of real numbers

play16:00

if I take another set of three vectors

play16:03

in R3 let us say 1 0

play16:11

0 1 1

play16:14

0 and 1 one

play16:18

1 so again these are three vectors in

play16:23

R3 and all this is a linearly

play16:27

independent set

play16:29

so B2 also a basis for R3 so we can have

play16:35

many other basis where we are having

play16:39

three Ali vectors from the set R3 from

play16:43

the vector space R3 as a basis but the

play16:47

common thing is all these sets will be

play16:50

having three

play16:52

vectors my next result is let V be a

play16:55

vector space over the field F and it is

play16:59

finite

play17:00

dimensional if you take two sub species

play17:03

of V let us say S1 and S2 then dimension

play17:08

of S1 + dimension of S2 equal to

play17:12

dimension of S1 + S2 Plus dimension of

play17:18

S1 intersection S2 so we have written S1

play17:22

here it will be S2 so dimension of S1

play17:25

intersection S2 we will see this result

play17:28

by this

play17:30

example suppose we need to find out the

play17:33

basis and dimension of the Subspace s of

play17:37

R3 given Ed S = to X1 X2

play17:43

X3 such that X1 + X2 - X3 = to 0 and we

play17:49

are having another Subspace of R3 that

play17:52

is W given by vectors X1 X2 X3 belongs

play17:57

to R3 such that

play17:59

X1 = to X2 = to X3 so how to find basis

play18:05

of the so my Vector space

play18:10

is R3 over the field of real

play18:15

numbers and I am defining my set S

play18:23

as the space of all the vectors X1 X2

play18:27

X3 belongs to R3 such

play18:31

that such that X1 +

play18:35

X2 - X3 = to

play18:40

0

play18:42

so in the previous lecture we have

play18:45

learned that how to prove that s is a

play18:48

Subspace of

play18:50

R3 now we need to find out basis of s so

play18:54

here I can

play18:57

write X1 X2

play19:02

X3 belongs to

play19:05

R3 such that X1 +

play19:09

X2 =

play19:11

to

play19:14

X3 so I can write it

play19:17

X1

play19:18

X2 and since X3 = to X1 + X2 so I can

play19:24

replace X3 as X1 +

play19:27

X2

play19:33

this I can write

play19:35

as

play19:37

X1

play19:38

1 Z so one is coming from the first

play19:42

component in second component we don't

play19:45

have any X1 so X1 is zero and then

play19:51

1

play19:54

plus

play19:56

X2 0 1

play20:01

1 so here I can write the basis of

play20:06

s is containing two vectors 1

play20:11

1 and 0 1

play20:16

1 hence dimension of

play20:20

s equals to 2 so in that way we can find

play20:25

out the dimension basis and dimension of

play20:28

a vectory space take another example

play20:33

there again we equals

play20:35

to

play20:37

R3 over the field of real number and we

play20:42

are having w

play20:44

h X1 X2

play20:49

X3 such that X1 = to

play20:53

X2 equals

play20:55

to

play20:56

X3 so what kind of Vector we are having

play20:59

in W where all the three

play21:03

components are equal so for example 1 1

play21:07

1 2 2 2 -1 -1 -1 all these kind of

play21:13

vectors so certainly the basis of I can

play21:18

write it

play21:20

X1

play21:23

X1 X1 because X2 equals to X1 and X3 is

play21:28

also

play21:29

equal to

play21:31

X1 belongs to

play21:35

R3 so what is this it is

play21:38

X1 1 1

play21:43

1 so the basis of w

play21:46

is having only one vector 1 one 1 so any

play21:52

Vector of w can be written as some

play21:55

scalar times this 1 one one so dimension

play21:59

of w

play22:02

is

play22:04

1 if you need to find out basis

play22:12

of s intersection W then what is s

play22:16

intersection

play22:19

W it is all vectors X1 X2

play22:24

X3 belongs to

play22:27

R3 such that at X1 +

play22:31

X2 - X3 = 0 this condition is coming

play22:35

from the Subspace

play22:38

s

play22:41

and the condition from Subspace W is X1

play22:45

= to X2 = to

play22:49

X3 so this I can

play22:52

write X1

play22:57

X2 X1 + X2 such that this I have written

play23:02

by this condition such that X1 = to X2 =

play23:07

to

play23:09

X3 so if I take X1 = to

play23:15

X2 then I can write it X1 now X2 = to X1

play23:21

so

play23:22

X1 and then X1 + X1

play23:27

is

play23:31

2x1 however what I need I need all the

play23:35

three component should be

play23:38

equal so in this case what we can have

play23:42

the only possibility

play23:44

is that it should have the zero

play23:49

Vector because we need X1 X2 and X1 + X2

play23:54

all three are equal it will be only

play23:58

where then X1 is 0 X2 is0 and so that X1

play24:04

+ X2 also become Z so this is the

play24:08

basis of s intersection W hence

play24:13

dimension

play24:15

of s intersection W

play24:19

is zero why zero because I told you

play24:24

earlier

play24:25

that the vector space containing the

play24:28

zero Vector can be span by the empty set

play24:32

by the basis Pi empty basis so there is

play24:35

no element in the basis hence basis is

play24:39

dimension of s intersection W is zero so

play24:43

this is the way for finding the

play24:48

basis and then dimension of a vector

play24:51

space let us take one more example find

play24:55

the basis and dimension of S1 S2 S1

play25:00

intersection

play25:01

S2 where S1 S2 are the subspaces of R4

play25:08

over the field of real

play25:11

numbers as I told you the intersection

play25:13

of two subspaces also a Subspace so

play25:17

again S1 intersection S2 is also a

play25:19

Subspace of

play25:22

R4 so let us find out the basis of S1 so

play25:26

S1 is given as X X1

play25:30

X2 X3

play25:33

X4 belongs to R4 such that the first

play25:37

constant is X1 + X2 -

play25:41

X3 + X4 =

play25:44

0 the second condition is X1 +

play25:48

X2 + X3 + X4 =

play25:54

to0 so what we are having here by adding

play25:58

these two conditions what I can write X4

play26:01

=

play26:02

to - X1 -

play26:06

X2 now from the first condition I can

play26:09

write X3 = to X1 +

play26:14

X2 plus

play26:17

X4 if I substitute the value of X4 from

play26:21

here that is - X1 - X2 I can get X3 = to

play26:25

0 so let me write it here

play26:29

Now

play26:30

using these result so

play26:34

X1 X2 X3 0 and X4 is - X1 -

play26:42

X2 so it

play26:44

is if I take X1 it is 1 0 0 - 1

play26:52

+ X2 0 1 0 - 1

play26:59

so here basis of S1

play27:02

is 1 0 0

play27:07

-1 and then 0 1 0 -

play27:11

1 hence the dimension of S1 is 2

play27:16

similarly you can find the dimension of

play27:18

S2 using the same procedure and you will

play27:22

find that dimension of S2 is coming 1 2

play27:25

1 and 0 1 1 2

play27:29

so hence basis of S2

play27:32

is given by these two vectors and

play27:35

dimension of S2 is 2 so now dimension of

play27:39

S1 is 2 dimension of S2 is 2 so

play27:43

dimension of S1 plus dimension of S2 is

play27:46

4 which is equals to the vector space

play27:50

dimension of the vector space R4 hence

play27:53

dimension of S1 intersection S2 is zero

play27:58

so the basis of S1 intersection S2

play28:02

contains only zero

play28:04

element which says that if you put all

play28:08

these four conditions together the

play28:11

solution will be X1 = to X2 = to X3 = to

play28:15

X4 = to 0 all four components are zero

play28:21

so in this lecture we have learned the

play28:23

concept of basis and

play28:25

dimension in the next lecture we will we

play28:28

learn another very important concept of

play28:32

mathematics related to the machine

play28:34

learning that is linear

play28:38

Transformations these are the

play28:40

references for this

play28:43

lecture hope you have enjoyed the

play28:46

lecture thank you thank you very

play28:52

[Applause]

play28:53

[Music]

play28:57

much

play29:02

[Applause]

play29:05

[Music]

play29:12

[Laughter]

play29:17

n

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Vector SpacesBasis ConceptDimensionalityMachine LearningFeature VectorsLinear AlgebraData RepresentationAlgorithm TheoryMathematical BasisEducational Content