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:
Types of Vectors
Next article icon

Types of Vectors

Last Updated : 25 Jan, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Vector is a physical quantity that has both direction and magnitude, it is a quantity that not only tells us about its strength but also gives us details about the direction in which it is acting upon. There are various types of vectors based on different parameters like their direction, magnitude, and position. Each type of vector has its properties and uses.

The word 'vector' is a Latin word that means a 'carrier'. A vector acts as a carrier from one point to another. The direction of a vector is denoted by '→' which points a vector from its initial point towards its final point. The magnitude of the vector is denoted by |x|, where x is the vector.

types_of_vectors

Types Of Vectors

Vectors are further classified into various types based on their position, direction, and magnitude. It is broadly classified into different types namely:

  • Zero Vector
  • Unit Vector
  • Equal Vector
  • Negative Vector
  • Co-Initial Vectors
  • Collinear Vectors
  • Parallel Vectors
  • Orthogonal Vectors
  • Parallel Vector
  • Anti-parallel Vector
  • Coplanar Vectors
  • Position and Displacement Vectors
  • Localized Vectors
  • Non-localized Vectors
  • Like and Unlike Vectors

Each type of vector varies in its properties and helps perform numerous operations based on vectors.

Types of Vectors based on Direction​

Each vector has its properties and is unique. As one of the vital features of vectors is their direction, based on direction the different types of vectors are-

Unit Vector

If the magnitude of a vector is 1, it is known as a unit vector. It is used to indicate the direction of a vector. It is denoted by '^', which is known as a cap. It is also known as Directional Vector. In the Cartesian plane, i, j, and k are unit vectors along the direction of the x-axis, y-axis, and z-axis respectively.

If x is a unit vector then, |x| =1.

Formula to Find Unit Vector Along any Vector

To find a unit vector in the direction of a vector, we divide the vector by its magnitude.

If \vec V is a vector and |\vec V| is its magnitude then, the unit vector \hat \mathrm V is

\hat \mathrm V = \frac{\vec V}{|\vec V|}

Orthogonal Vector

In mathematics, orthogonal simply means perpendicular and so Orthogonal vector also means perpendicular vectors, i.e. two vectors are said to be orthogonal if they are perpendicular to each other. Also in other words two vectors are orthogonal if there dot product is 0 (zero).

For example, if \vec P.\vec Q = 0 then P and Q are orthogonal vectors.

Orthogonal-Vectors

Parallel Vector

Two vectors are said to be parallel vectors if they are in the same direction and the angle between them is 0°. They are also called Collinear-vectors. These vectors never intersect each other.
In parallel vectors the distance between them is always constant i.e. the distance between them never changes.

Parallel-Vectors

Some properties of parallel vectors:

  • The cross product of two parallel vectors is always 0.
  • The dot product of two parallel vectors x and y is equal to |x| |y|.
  • Two vectors x and y, are only parallel if x = ay, where 'a' is scalar.

Anti-Parallel Vector

Two vectors are said to be Anti-parallel vectors if they are in exactly opposite directions and the angle between them is 180°. They are the opposite of parallel vectors in terms of the direction. If 'x' is a vector, then '-x' is its anti-parallel vector.

Anti-Parallel-Vectors

Some properties of anti-parallel vectors:

  • The cross product of two anti-parallel vectors is always 0.
  • The dot product of two anti-parallel vectors x and y is equal to - |x| |y|.
  • Two vectors x and y, are only anti-parallel if x = ay, where 'a' is non scalar.

Zero Vector

In a zero vector, the magnitude of the vector is always 0 and its direction is not defined, i.e. it points nowhere. It is also known as a null vector. All the components of these vectors are 0 always.

Zero-Vector

In cartesian plane a zero vector, \vec 0 = (0,0,0)

Negative of a Vector

A negative of a vector means the vector is in exactly the opposite direction of that vector. The magnitude of the negative vectors always remains the same but the direction is reversed.

Negative-Vectors

If y is a negative vector of x then:

  • y = -x
  • |y| = |x|

Types of Vectors Based on Magnitude

Based on the magnitude, the vectors are mainly classified into 3 types namely:

Equal Vectors

If both the direction and magnitude of two or more vectors are the same, then they are known as equal vectors. The starting point of equal vectors can be different but their magnitude and direction should be the same.

Equal-Vectors

The cartesian coordinates of equal vectors are also the same. If a(x1 , y1) is equal to b(x2 , y2) then:

x1 = x2
y1 = y2

Collinear Vectors

Vectors are said to be Collinear Vectors if they lie on the same line or are parallel to the same line. They are also known as parallel vectors. All parallel and antiparallel vectors are collinear vectors.

Collinear-Vector

Some properties of collinear vectors:

  • The cross product of two collinear vectors is always 0.
  • Two vectors x and y, are collinear only if x = ay, where 'a' is scalar.
  • In collinear vectors, the relation of their coordinates are equal, i.e. x1 / x2 = y1 / y2 = z1 / z2 , with a condition that each component is non-zero.

Coplanar Vectors

A set of vectors is said to be Coplanar vectors if they lie on the same plane. These vectors can be perpendicular to each other, can be parallel, or can be any random vector on the same plane.

Three vectors are said to be Coplanar Vectors, if their scalar triple product is zero.

Types of Vectors Based on Position

Based on the position, the different types of vectors are Position Vectors, Displacement Vectors, Localized Vectors, and Non-localized Vectors.

Position Vectors

The position vector represents the position of an object in a space relative to a reference position, which is the origin in general. These vectors point towards the location of a vector in the cartesian plane. The position vector has a fixed point which is the reference point, from here it points towards the position of the vector in space. It has a magnitude as well as a direction.

The position vectors are represented by the coordinates pair. It is denoted by '\vec r'. It can be derived by using the formula:

\vec r= (x_2 - x_1) \hat i + (y_2 - y_1)\hat j + (z_2-z_1)\hat k

If XY is a position vector with its reference position (X) at the origin and the coordinates of Y are (x,y,z), then it is represented as:

\vec r= (x - 0) \hat i + (y - 0)\hat j + (z-0)\hat k

\vec r= x \hat i + y\hat j + z\hat k

Displacement Vectors

If a vector moves from point A to point B then its change in position along the particular direction (that provides the least distance between A and B) is given by displacement vector. A displacement vector describes the change in location of a moving object along the least distance (magnitude) between its initial and its final position.

To find the displacement vector between point A and point B, we find the difference between position vectors at A and B.

For example if, \vec r_A = 3i + 2j + 7k and \vec r_B = 4i + j + 5k, then the displacement vector from A to B will be:

\vec r_B - \vec r_A = i - j - 2k

where \vec r_A and \vec r_B are position vectors at A and B respectively.

Localized Vector

Localized vectors ( also known as Fixed vectors) are those vectors in which either the initial or final position is fixed. The term localized here simply means a specific location or position in space. They represent quantities related to specific positions, for example, displacement and force. A vector drawn parallel to a given vector with a specific position is also known as a localized vector.

Non-Localized or Free Vector

Non-localized or Free vectors have fixed magnitude and direction but are not tied to a particular position. They do not have any fixed position and are free in space. They can be applied to any arbitrary point in space without changing its properties. These vectors are independent of their position and can be applied anywhere. Velocity and momentum are examples of non-localized vectors.

Some other Types of Vectors

Apart from the above-classified vectors, there exist some other types of vectors which are discussed below:

Co-Initial Vectors

Co-initial vectors refer to the vectors that have a common initial point. In simple words, two or more vectors are said to be co-initial vectors, if their starting point is the same.

XY and XZ are Co-Initial vectors with the same starting point X.

Co-initial-Vector

Like and Unlike Vectors

Like and unlike vectors depend on the direction of the other vector. If two or more vectors are in the same direction then they are said to be like vectors. But if the vectors are in opposite directions they are said to be unlike vectors.

Also, Check

  • Properties of Vectors
  • Applications of Vectors
  • Scalar and Vector Quantities
  • Vector Operations
  • Vector Algebra

Next Article
Types of Vectors

D

disha_batra
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Class 12
  • Maths
  • Vectors - MAQ
  • Maths-Class-12

Similar Reads

    Properties of Vectors
    Vectors are one of the most important concepts in mathematics. Vectors are quantities that have both magnitude and direction. A vector quantity is represented by an arrow above its head.For example a vector \overrightarrow{A} where A or |A| represents the magnitude of the vectors.Vectors are used to
    11 min read
    Product of Vectors
    Vector operations are used almost everywhere in the field of physics. Many times these operations include addition, subtraction, and multiplication. Addition and subtraction can be performed using the triangle law of vector addition. In the case of products, vector multiplication can be done in two
    5 min read
    Resolution of Vectors
    Vector Resolution is splitting a vector into its components along different coordinate axes. When a vector is expressed in terms of its components, it becomes easier to analyze its effects in different directions. This process is particularly useful when dealing with vector quantities such as forces
    8 min read
    Vectors in Maths
    In mathematics, vectors are fundamental objects that represent quantities with both magnitude and direction. They are widely used in various branches of mathematics, physics, engineering, computer science, and other disciplines.Key Features of Vectors:1. Magnitude: The size or length of the vector.
    8 min read
    Vectors for ML
    Vectors are a basic notion in machine learning and are very significant in data representation as well as data processing. They are applied in most machine learning algorithms that are used in classification, regression, clustering and deep learning. By definition, a vector is a mathematical concept
    6 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