COURSES
MBAData Science & AnalyticsDoctorate Software & Tech AI | ML MarketingManagement
Professional Certificate Programme in HR Management and AnalyticsPost Graduate Certificate in Product ManagementExecutive Post Graduate Program in Healthcare ManagementExecutive PG Programme in Human Resource ManagementMBA in International Finance (integrated with ACCA, UK)Global Master Certificate in Integrated Supply Chain ManagementAdvanced General Management ProgramManagement EssentialsLeadership and Management in New Age BusinessProduct Management Online Certificate ProgramStrategic Human Resources Leadership Cornell Certificate ProgramHuman Resources Management Certificate Program for Indian ExecutivesGlobal Professional Certificate in Effective Leadership and ManagementCSM® Certification TrainingCSPO® Certification TrainingLeading SAFe® 5.1 Training (SAFe® Agilist Certification)SAFe® 5.1 POPM CertificationSAFe® 5.1 Scrum Master Certification (SSM)Implementing SAFe® 5.1 with SPC CertificationSAFe® 5 Release Train Engineer (RTE) CertificationPMP® Certification TrainingPRINCE2® Foundation and Practitioner Certification
Law
Job Linked
Bootcamps
Study Abroad
Master of Business Administration (90 ECTS)Master in International Management (120 ECTS)Bachelor of Business Administration (180 ECTS)B.Sc. Computer Science (180 ECTS)MS in Data AnalyticsMS in Project ManagementMS in Information TechnologyMasters Degree in Data Analytics and VisualizationMasters Degree in Artificial IntelligenceMBS in Entrepreneurship and MarketingMSc in Data AnalyticsMS in Data AnalyticsMS in Computer ScienceMaster of Science in Business AnalyticsMaster of Business Administration MS in Data ScienceMS in Information TechnologyMaster of Business AdministrationMS in Applied Data ScienceMaster of Business Administration | STEMMS in Data AnalyticsM.Sc. Data Science (60 ECTS)Master of Business AdministrationMS in Information Technology and Administrative Management MS in Computer Science Master of Business Administration MBA General Management-90 ECTSMSc International Business ManagementMS Data Science Master of Business Administration MSc Business Intelligence and Data ScienceMS Data Analytics MS in Management Information SystemsMSc International Business and ManagementMS Engineering ManagementMS in Machine Learning EngineeringMS in Engineering ManagementMSc Data EngineeringMSc Artificial Intelligence EngineeringMPS in InformaticsMPS in Applied Machine IntelligenceMS in Project ManagementMPS in AnalyticsMS in Project ManagementMS in Organizational LeadershipMPS in Analytics - NEU CanadaMBA with specializationMPS in Informatics - NEU Canada Master in Business AdministrationMS in Digital Marketing and MediaMS in Project ManagementMSc Sustainable Tourism and Event ManagementMSc in Circular Economy and Sustainable InnovationMSc in Impact Finance and Fintech ManagementMS Computer ScienceMS in Applied StatisticsMaster in Computer Information SystemsMBA in Technology, Innovation and EntrepreneurshipMSc Data Science with Work PlacementMSc Global Business Management with Work Placement MBA with Work PlacementMS in Robotics and Autonomous SystemsMS in Civil EngineeringMS in Internet of ThingsMSc International Logistics and Supply Chain ManagementMBA- Business InformaticsMSc International ManagementMBA in Strategic Data Driven ManagementMSc Digital MarketingMBA Business and MarketingMaster of Business AdministrationMSc Digital MarketingMSc in Sustainable Luxury and Creative IndustriesMSc in Sustainable Global Supply Chain ManagementMSc in International Corporate FinanceMSc Digital Business Analytics MSc in International HospitalityMSc Luxury and Innovation ManagementMaster of Business Administration-International Business ManagementMS in Computer EngineeringMS in Industrial and Systems EngineeringMSc International Business ManagementMaster in ManagementMSc MarketingMSc Business ManagementMSc Global Supply Chain ManagementMS in Information Systems and Technology with Business Intelligence and Analytics ConcentrationMSc Corporate FinanceMSc Data Analytics for BusinessMaster of Business AdministrationBachelors in International ManagementMS Computer Science with Artificial Intelligence and Machine Learning ConcentrationMaster of Business AdministrationMaster of Business AdministrationMSc in International FinanceMSc in International Management and Global LeadershipMaster of Business AdministrationBachelor of Business
For College Students

Vector Spaces in Linear Algebra

$$/$$

In the previous sections, we re-visited concepts about vectors and vector operations. You saw that some vectors can be added together to form other vectors. You also saw that vectors can be scaled in the positive or negative direction. These two properties are the starting point of this section.

 

Vector Spaces

They sound complex, but they are not. Intuitively, a vector space is a set of vectors such that if you add any two vectors or scale any vectors, the resultant vector is also present in this set. Formally, the definition is:

 

If 'v' and 'w' are in a vector space and c1 and c2 are scalars (constants),

then is also in the vector space.

 

This type of a function L is referred to as a linear combination of vectors.

 

Basis & Span

Basis

As we saw in the previous section, the basis of a certain vector space are vectors whose linear combinations can specify the entire vector space. For 2D real space, the typical choice of basis vectors are  and .

 

However, these are not the only basis of 2D space. Any two vectors in 2D real space can be the basis for the space. It is worth noting that the actual values of the scalars that multiply the vectors will be different for different choices of basis.

 

Span

The span of two vectors is the set of all of their linear combinations. Calculating span is a way of asking the question, what are all possible vectors you can create by scaling and adding the two given vectors? For  in 2 dimensions, the span is all the values of  . There are 3 possible cases:

  • If the vectors are not collinear, span is all of 2D space, which is the plane defined by these two vectors
  • If the vectors are collinear, their linear combination will only exist on that line, hence the span is the line defined by these two vectors
  • If both the vectors are 0, then the span is the origin.

When we scale this up to 2 vectors in 3 dimensions, any 2 vectors will still have a plane, a line and a point as its possible spans

Although that notation isn't mathematically precise, it describes the set in which the span of two vectors lies. The actual spans depends on the relationships of these vectors with each other.

 

What happens when we move to 3 vectors in 3 dimensions? The span of vectors  is all the possible values of   .

 

Now we have 3D space, a plane, a line and a point as its possible spans. 

The actual span depends on the relationships of these vectors with each other.

 

This brings us to the most important consequence of expressing vectors algebraically - moving further up dimensions is mathematically trivial! Now that we have a framework of working with linear combinations in 2 and 3 dimensions, we can use the same framework to work with 4 dimensions or more, even though we are incapable of visualising these dimensions.

 

This property is why it is easy to express hundreds or even thousands of columns (as are found in large datasets today) as independent axes in space (dimensions), and work with vectors that are present in that n-dimensional space.

 

Many data science and machine learning problems boil down to searching for the right vector in an immensely large vector space. Once you have a good intuition for how vector spaces work, you will be more equipped to deal with these search problems.

 

Let's take an application. In some text models, all the possible words in some documents are modeled as different axes. Let's find out how.