Open In App
Related Articles

How to calculate the Unit Vector?

Improve Article
Save Article
Like Article

Physical quantities are divided into two types: “vector” and “scalar”.The term “vector” refers to a physical quantity that has magnitude as well as direction. These are the physical quantities that follow the triangle law of vector addition. Some of the examples of vector quantities are Electric field, displacement, momentum, velocity, force, and acceleration. All of these quantities have both magnitudes as well as direction. “Scalar” quantities, on the other hand, have only magnitude. Some of the examples of scalar quantities are distance, length, volume, temperature, and area.

Types of vector

  • Equal vectors: Vectors having the same magnitude and same direction are called equal vectors.
  • Collinear vectors: Vectors that are either in the same direction or in the opposite direction of each other are called collinear vectors.
  • Parallel vectors: Parallel vectors are also known as like vectors. Collinear vectors with similar directions are called parallel vectors. The angle between these vectors is zero.
  • Antiparallel vectors: Antiparallel vectors are also known as, unlike vectors. Collinear vectors with opposite directions are called antiparallel vectors. The angle between these vectors is 180°.
  • Coplanar vectors: All vectors that lie in the same plane are known as Coplanar vectors.
  • Zero vectors: A vector with the same initial point and the terminal point is known as a zero vector. It is also called Null vector. The magnitude of such a vector is 0 and its direction is indeterminant.

Calculating Unit Vector

A unit vector is a vector of magnitude 1 and with a direction along a given vector. It represents the direction of the given vector. The unit vector of a vector is found by dividing the vector by its modulus. The modulus of a vector is the magnitude of the vector.

It is represented by symbol ‘ {\hat{}} ‘(hat or cap) over a variable as {\hat{A}}  and is given by,

\hat{A} = \frac{\vec{A}} {|A|}

Where |A| is the modulus of vector A and for a vector \vec{A} = {x\hat{i} + y\hat{j} + z\hat{k}}, |A| is given by,

|A| = \sqrt{{x}^2+{y}^2+{z}^2}

Thus for a vector \vec{A} = {x\hat{i} + y\hat{j} + z\hat{k}}, unit vector is given by,

\hat{A} = \frac{x\hat{i} + y\hat{j} + z\hat{k}}{\sqrt{{x}^2+{y}^2+{z}^2}}

Sample Problems

Problem 1: Given {{\vec{a} = 2\hat{i} + 2\hat{j} + 1\hat{k}}}. Find {{\hat{a}}}.


Modulus of the vector, |a| = \sqrt{{x}^2+{y}^2+{z}^2}

{\sqrt{2^2+2^2+1^2}} = √9

= 3

Unit vector, \hat{a} = \frac{\vec{a}} {|a|}

{\frac{{2\hat{i} + 2\hat{j} + 1\hat{k}}}{3}}        

{{\frac{2\hat{i}}{3} + \frac{2\hat{j}}{3} + \frac{1\hat{k}}{3}}}

Problem 2: Is a vector given by {{\vec{a} = 1\hat{i} + 1\hat{j} + 1\hat{k}}}  also a unit vector?


Modulus of the vector, |a| = \sqrt{{x}^2+{y}^2+{z}^2}

{\sqrt{1^2+1^2+1^2}}  = √3

Magnitude of this vector is not 1. Hence, it is not a unit vector.

Problem 3: Find the unit vector in the direction of {{\vec{a} = 1\hat{i} + 1\hat{j} + 1\hat{k}}}.


Modulus of the vector, |a| = \sqrt{{x}^2+{y}^2+{z}^2}

{\sqrt{1^2+1^2+1^2}}  = √3

Unit vector, {\hat{a} = \frac{\vec{a}} {|a|}}

{\frac{{1\hat{i} + 1\hat{j} + 1\hat{k}}}{\sqrt{3}}}

{{\frac{1\hat{i}}{\sqrt{3}} + \frac{1\hat{j}}{\sqrt{3}} + \frac{1\hat{k}}{\sqrt{3}}}}

Problem 4: If {{\vec{a}={\frac{1}{4}\hat{i} + \frac{1}{4}\hat{j} + z\hat{k}}}} is a unit vector then find the value of z.


Magnitude of a unit vector is 1, which means:

|a| = \sqrt{{x}^2+{y}^2+{z}^2} = 1

which means, 

{\sqrt{{(1/2)}^2+{(1/2)}^2+{z}^2} = 1}

Squaring both sides,

{{{(1/2)}^2+{(1/2)}^2+{z}^2} = 1}



Question 5: Find unit vector of {{\vec{a} = 4\hat{i} + 3\hat{j}}}.


Modulus of the vector, |a| = \sqrt{{x}^2+{y}^2+{z}^2}


Unit vector, \hat{a} = \frac{\vec{a}} {|a|}

{\frac{{4\hat{i} + 3\hat{j}}}{5}}

{{\frac{4\hat{i}}{{5}} + \frac{3\hat{j}}{{5}}}}

Question 6: Find unit vector along {{\vec{a} = 4\hat{i}}}.


Modulus of the vector, |a| = \sqrt{{x}^2+{y}^2+{z}^2}


Unit vector, {\hat{a} = \frac{\vec{a}} {|a|}}



Question 7: If unit vector along {\vec{A}} of magnitude 2√2 is {\frac{1\hat{i}}{\sqrt{2}} + \frac{1\hat{j}}{\sqrt{2}}} . Find {\vec{A}}.


Unit vector, {\hat{A} = \frac{\vec{A}} {|A|}}

Which means {\vec{A} = {\hat{a}}\times{|a|}}

Thus, {\vec{A} = {({\frac{1\hat{i}}{\sqrt{2}} + \frac{1\hat{j}}{\sqrt{2}}}})}\times{2\sqrt{2}}

{\vec{A} = 2\hat{i}+2\hat{j}}

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 14 Mar, 2022
Like Article
Save Article
Similar Reads
Complete Tutorials