Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Number System and Arithmetic
  • Algebra
  • Set Theory
  • Probability
  • Statistics
  • Geometry
  • Calculus
  • Logarithms
  • Mensuration
  • Matrices
  • Trigonometry
  • Mathematics
Open In App
Next Article:
Vector Space- Definition, Axioms, Properties and Examples
Next article icon

Vector Space- Definition, Axioms, Properties and Examples

Last Updated : 25 Jul, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

A vector space is a group of objects called vectors, added collectively and multiplied by numbers, called scalars. Scalars are usually considered to be real numbers. But there are few cases of scalar multiplication by rational numbers, complex numbers, etc. with vector spaces.

In this article, we have covered Vector Space Definition, Axions, Properties and others in detail.

Table of Content

  • What is Vector Space?
  • Vector Space Axioms
  • Vector Space Examples
  • Dimension of a Vector Space
  • Vector Addition and Scalar Multiplication
  • Vector Space Properties
  • Subspaces

What is Vector Space?

A space in mathematics comprised of vectors, that follow the associative and commutative law of addition of vectors and the associative and distributive process of multiplication of vectors by scalars is called vector space. In vector space, it consists of a set of V (elements of V are called vectors), a field F (elements of F are scalars) and the two arithmetic operations

Vector Addition: It is an operation that takes two vectors u, v ∈ V, and it produces the third vector u + v ∈ V

Scalar Multiplication: It is an operation that takes a scalar c ∈ F and a vector v ∈ V and produces a new vector uv ∈ V.

Vector Space Definition

A space comprised of vectors, collectively with the associative and commutative law of addition of vectors and also the associative and distributive process of multiplication of vectors by scalars is called vector space.

  • Vector Addition is an operation that takes two vectors u, v ∈ V, and it produces the third vector u + v ∈ V
  • Scalar Multiplication is an operation that takes a scalar c ∈ F and a vector v ∈ V and it produces a new vector uv ∈ V

Vector Space Axioms

Ten axioms can define vector space. Let x, y, & z be the elements of the vector space V and a & b be the elements of the field F.

1. Closed Under Addition

For every element x and y in V, x + y is also in V.

2. Closed Under Scalar Multiplication

For every element x in V and scalar a in F, ax is in V.

3. Commutativity of Addition

For every element x and y in V, x + y = y + x.

4. Associativity of Addition

For every element x, y, and z in V, (x + y) + z = x + (y + z).

5. Existence of the Additive Identity

There exists an element in V which is denoted as 0 such that x + 0 = x, for all x in V.

6. Existence of the Additive Inverse

For every element x in V, there exists another element in V that we can call -x such that x + (-x) = 0.

7. Existence of the Multiplicative Identity

There exists an element in F notated as 1 so that for all x in V, 1x = x.

8. Associativity of Scalar Multiplication

For every element x in V, and for each pair of elements a and b in F, (ab)x = a(bx).

9. Distribution of Elements to Scalars

For every element a in F and every pair of elements x and y in V, a(x + y) = ax + ay.

10. Distribution of Scalars to Elements

For every element x in V, and every pair of elements a and b in F, (a + b)x = ax + bx

Vector Space Examples

Various examples of vector spaces are:

Real Numbers (ℝ): Set of all real numbers forms a vector space under standard addition and scalar multiplication. For example, any two real numbers can be added together (resulting in another real number), and any real number can be multiplied by a scalar (another real number) to give another real number.

Euclidean Space (ℝn): This is the classic n-dimensional vector space where vectors are represented as n-tuples of real numbers. For example, in ℝ3 (3-dimensional Euclidean space), vectors could be represented as (x, y, z), where x, y, and z are real numbers.

Polynomials: Set of all polynomials with coefficients from a field (like ℝ or ℂ) forms a vector space. For example, the set of all quadratic polynomials ax2 + bx + c, where a, b, and c are real numbers, is a vector space under polynomial addition and scalar multiplication.

Matrices: Set of all matrices of a fixed size (e.g., m x n matrices) with entries from a field forms a vector space. Matrices can be added together element-wise, and scalar multiplication involves multiplying each element of the matrix by a scalar.

What is Difference between Vector and Vector Space?

A vector is a mathematical object that has both magnitude and direction, while a vector space is a mathematical structure consisting of a set of vectors along with operations of addition and scalar multiplication, satisfying specific properties. Vectors are elements of vector spaces, providing the algebraic framework for studying linear relationships and operations.

Is Zero a Vector Space?

A set containing only the zero vector is called a vector space, it is also called a Zero vector Space(Trivial Vector Space). This vector satisfies all the axion of vector space and hence is called vector space.

Dimension of a Vector Space

Number of vectors in a basis for V is called the dimension of V.

For example, the dimension of Rn is n. The dimension of the vector space of polynomials in x with real coefficients having degree at most two is 3.

Basis of Vector Space

Let V be a subspace of Rn for some n. A collection B = {v1, v2, …, vr} of vectors from V is said to be a basis for V if B is linearly independent and spans V. If either one of these criterial is not satisfied, then the collection is not a basis for V.

If a collection of vectors spans V, then it contains enough vectors so that every vector in V can be written as a linear combination of those in the collection. If the collection is linearly independent, then it doesn't contain so many vectors that some become dependent on the others.

Vector Addition and Scalar Multiplication

Vector addition and scaler multiplication are two main concept in vector space that are explained below:

Vector Addition

When you add two vectors, you add their corresponding components. For example, if you have two vectors v = ⟨v1, v2, v3⟩and w = ⟨w1, w2, w3⟩ their sum v+ wv+ w is ⟨v1+w1, v2+w2, v3+w3⟩. Geometrically, vector addition represents the process of moving one vector's endpoint to the other vector's endpoint, forming a new vector from the initial point of the first vector to the final point of the second vector.

Scalar Multiplication

Scalar multiplication involves multiplying a vector by a scalar. For example, if you have a vector ⟨v = v1, v2, v3⟩ and a scalar k, then the scalar multiple kvis ⟨kv1, kv2, kv3⟩. Geometrically, scalar multiplication stretches or compresses the vector without changing its direction, depending on whether the scalar is greater than 1 or between 0 and 1

Linear Combinations and Span

Let v1, v2,…, vr be vectors in Rn . A linear combination of these vectors is any expression of the form

k1v1 + k2v2 + ......... + krVr

where the coefficients k1, k2,…, kr are scalars.

Vector Space Properties

Some important properties of vector space are:

  • Closure under Addition: Sum of any two vectors in the vector space is also a vector in the vector space.
  • Closure under Scalar Multiplication: Multiplying any vector in the vector space by a scalar yields another vector in the vector space.
  • Associativity of Addition: Vector addition is associative, meaning (u + v)+ w = u + (v + w) for all vectors u, v, and w in the vector space.
  • Commutativity of Addition: Vector addition is commutative, meaning u + v = v + u for all vectors u and v in the vector space.
  • Existence of Additive Identity: There exists a vector, denoted by 0 or 0, called the zero vector, such that u + 0 = u for all vectors u in the vector space.
  • Existence of Additive Inverse: For every vector u in the vector space, there exists a vector -u such that u + (-u) = 0.
  • Distributive Properties: Scalar multiplication distributes over vector addition, meaning α(u + v) = αu + αv and (α+β)u = αu + βu for all scalars α and β, and vectors u and v in the vector space.
  • Multiplicative Identity: Scalar 1 acts as the multiplicative identity, meaning 1⋅u = u for all vectors u in the vector space.

Subspaces

A subset W of a vector space V is called a subspace of V if W is itself a vector space under the addition and scalar multiplication defined on V.

Subspaces are subsets of a vector space that themselves form vector spaces. Operations of vector addition and scalar multiplication from the larger vector space are applicable to vector space. Subspaces satisfies all axion/properties of vector space.

  • Contain the zero vector
  • Is closed under addition
  • Is closed under scalar multiplication

They can be lower-dimensional spaces within the larger vector space and can provide insights into the structure and properties of the vector space as a whole.

Difference Between Vector Space and Euclidean Space

Vector Space

Euclidean Space

Vector space is an abstract algebraic structure defined by vector addition and scalar multiplication

Euclidean space is a geometric space characterized by distances and coordinates.

Vector space focuses on the algebraic properties of vectors and their operations

Euclidean space focuses on the geometric properties of points, lines, distances, and angles within a specific coordinate system.

Vector spaces are used in linear algebra and various mathematical theories.

Euclidean spaces are used extensively in geometry, physics, engineering, and other fields where spatial relationships and measurements are important

Applications of Vector Spaces

When an object is made up of multiple components it is often useful to represent the object as a vector, with one entry per component. The examples discussed in this section involve molecules, which are made up of atoms, and text documents, which are made up of words.

In some cases equations involving the objects give rise to vector equations. In other examples there are reasons to perform operations on the vectors using matrix algebra. Vector Spaces is also used in Machine Learning and its various other uses are:

  • Data Representation: In many machine learning algorithms, data is represented as vectors. For example, images can be represented as vectors of pixel values, text documents can be represented as vectors of word counts or embeddings, and numerical data can be directly represented as vectors.
  • Feature Vectors: Feature engineering involves creating meaningful representations of data. These representations are often in the form of feature vectors, where each feature corresponds to a dimension in the vector space. Feature vectors are used as input to machine learning models.
  • Vector Operations: Vector operations such as addition, subtraction, dot products, and vector norms are commonly used in machine learning algorithms. For example, in clustering algorithms like k-means, vector addition and subtraction are used to calculate centroids.
  • Linear Algebra in Models: Many machine learning models are based on linear algebra operations. For example, linear regression involves finding a line that best fits a set of data points, which can be formulated as a linear algebra problem involving vectors and matrices.

Related Article:

Magnitude of a Vector

Cross Product of Two Vectors

Vector Operations

Scalars and Vectors

Scalar Product of Vectors

Inverse Trigonometric Function


Next Article
Vector Space- Definition, Axioms, Properties and Examples

C

challarphy6
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Algebra

Similar Reads

    Orthogonal Vectors: Definition, Formula and Examples
    Orthogonal vectors are a fundamental concept in linear algebra and geometry. Orthogonal vectors are vectors that are perpendicular to each other, meaning they meet at a right angle (90 degrees). Two vectors are orthogonal if their dot product is zero. In this article, we will learn about, Orthogonal
    7 min read
    Magnitude of a Vector: Definition | Formula | Solved Examples
    Vector quantities are physical quantities that have both direction and magnitude, like displacement, velocity, force, etc.The direction represents the way in which the vector is pointing.The magnitude of a vector represents its length and is always a positive scalar value.For any vector \overrightar
    6 min read
    Basis and Dimension in Vector Space
    Vector Spaces are a fundamental concept in machine learning and mathematics, providing the structure for various operations in high-dimensional data processing. A vector space is a collection of objects called vectors that can be added together and multiplied by scalars (numbers) to produce new vect
    4 min read
    Resultant Vector Formula: Definition, Examples
    Resultant vector formula gives the resultant value of two or more vectors. The result is obtained by computing the vectors with consideration of the direction of each vector to others. This formula has various applications in Engineering & Physics. What is Resultant Vector Formula?A resultant ve
    6 min read
    Vector Projection - Formula, Derivation & Examples
    Vector Projection is the shadow of a vector over another vector. It allows you to determine how one vector influences another in a specific direction. The projection vector is obtained by multiplying the vector with the Cos of the angle between the two vectors. A vector has both magnitude and direct
    10 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences