The Wayback Machine - https://web.archive.org/web/20240928011704/https://www.geeksforgeeks.org/vector-projection-formula/
Open In App

Vector Projection – Formula, Derivation & Examples

Last Updated : 14 Aug, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

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 direction. Vector Projection is essential in solving numerical in physics and mathematics.

In this article, we will learn about what is vector projection, vector projection formula, the example, and derivation of the formula, and some other related concepts in detail.

What is Vector Projection?

Vector Projection is a method of finding component of a vector along the direction of second vector. By projecting a vector on another vector we obtain a vector which represent the component of the first vector along the direction of second vector. It represent the length of the shadow of a vector over another vector.

The vector projection of a vector is obtained by multiplying the vector with the Cos of the angle between the two vectors. Let’s say we have two vectors ‘a’ and ‘b’ and we have to find the projection of the vector a on vector b then we will multiply the vector ‘a’ with cosθ where θ is the angle between vector a and vector b.

Vector Projection Formula

If [Tex]\vec A[/Tex] is represented as A and [Tex]\vec B[/Tex] is represented as B, the Vector Projection of A on B is given as the product of A with Cos θ where θ is the angle between A and B. The other formula for Vector Projection of A on B is given as the product of A and B divided by the magnitude of B. The Projection Vector obtained so is a scalar multiple of A and has a direction in the direction of B.

Projection of Vector a on Vector b  [Tex]Proj\ _ba= \frac {a.b}{|b|}[/Tex]

a.b = Dot product of [Tex]\vec a[/Tex] and [Tex]\vec b[/Tex]

|b| = magnitude of [Tex]\vec b[/Tex]

Projection-of-Vector-a-on-b

Derivation of Vector Projection Formula

The vector projection formula derivation is discussed below:

Let us assume, OP = [Tex]\vec A[/Tex] and OQ = [Tex]\vec B[/Tex] and the angle between OP and OQ is θ. Drawn PN perpendicular to OQ.

In the right triangle OPN, Cos θ = ON/OP

⇒ ON = OP Cos θ

⇒ ON = |[Tex]\vec A[/Tex]| Cos θ

ON is the projection vector of [Tex]\vec A[/Tex] on [Tex]\vec B [/Tex]

[Tex]\vec A.\vec B = |\vec A||\vec B|cos \theta [/Tex]

⇒ [Tex]\vec A.\vec B = |\vec B(|\vec A||cos \theta) [/Tex]

⇒ [Tex]\vec A.\vec B = |\vec B|ON [/Tex]

⇒ ON = [Tex]\frac{\vec A.\vec B}{|\vec B|} [/Tex]

Hence, the ON = [Tex]|\vec A|.\hat B [/Tex]

Thus the Vector Projection of [Tex]\vec A[/Tex] on [Tex]\vec B[/Tex] is given as [Tex]\frac{\vec A.\vec B}{|\vec B|} [/Tex]

the Vector Projection of [Tex]\vec B[/Tex] on [Tex]\vec A[/Tex] is given as [Tex]\frac{\vec A.\vec B}{|\vec A|} [/Tex]

Also Check: Types of Vectors

Vector Projection Important Terms

To find the vector projection we need to learn to find the angle between two vectors and also to calculate the dot product between two vectors.

Angle Between Two Vectors

The angle between the two vectors is given as the inverse of the cosine of the dot product of two vectors divided by the product of the magnitude of two vectors.

Let’s say we have two vectors [Tex]\vec A[/Tex] and [Tex]\vec B[/Tex] angle between them is θ

⇒ cos θ = [Tex]\frac{\vec A.\vec B}{|A|.|B|} [/Tex]

⇒ θ = cos-1[Tex]\frac{\vec A.\vec B}{|A|.|B|} [/Tex]

Dot Product of Two Vectors

Let’s say we have two vectors [Tex]\vec A[/Tex] and [Tex]\vec B[/Tex] defined as [Tex]\vec A = a_1\hat i + a_2\hat j + a_3\hat k[/Tex] and [Tex]\vec B = b_1\hat i + b_2\hat j + b_3\hat k [/Tex] then dot product between them is given as

[Tex]\vec A.\vec B = (a_1\hat i + a_2\hat j + a_3\hat k)(b_1\hat i + b_2\hat j + b_3\hat k) [/Tex]

⇒ [Tex]\vec A.\vec B[/Tex]= a1b1 + a2b2 +a3b3

Related Article:

Vector Projection Formula Examples

Example 1. Find the projection of vector [Tex]4\hat i + 2\hat j + \hat k [/Tex] on [Tex]5\hat i -3\hat j + 3\hat k [/Tex].

Solution:

Here, [Tex]\vec{a}=4\hat i + 2\hat j + \hat k \\\vec{b}=5\hat i -3\hat j + 3\hat k    [/Tex].

We know, projection of Vector a on Vector b = [Tex]\frac{\vec{a}.\vec{b}}{|b|} [/Tex]

[Tex]\dfrac{(4.(5) + 2(-3) + 1.(3))}{|\sqrt{5^2 + (-3)^2 + 3^2}|}\\=\dfrac{17}{\sqrt{43}} [/Tex]

Example 2. Find the projection of vector [Tex]5\hat i + 4\hat j + \hat k[/Tex] on [Tex]3\hat i + 5\hat j – 2\hat k [/Tex]

Solution:

Here, [Tex]\vec{a}=5\hat i + 4\hat j + \hat k \\\vec{b}=3\hat i + 5\hat j – 2\hat k. [/Tex]

We know, projection of Vector a on Vector b = [Tex]\frac{\vec{a}.\vec{b}}{|b|} [/Tex]

[Tex]\dfrac{(5.(3) + 4(5) + 1.(-2))}{|\sqrt{3^2 + 5^2 + (-2)^2}|}\\=\dfrac{33}{\sqrt{38}} [/Tex]

Example 3. Find the projection of the vector [Tex]5\hat i – 4\hat j + \hat k[/Tex] on [Tex]3\hat i – 2\hat j + 4\hat k [/Tex]

Solution:

Here, [Tex]\vec{a}=5\hat i – 4\hat j + \hat k \\\vec{b}=3\hat i – 2\hat j + 4\hat k. [/Tex]

We know, projection of Vector a on Vector b = [Tex]\frac{\vec{a}.\vec{b}}{|b|} [/Tex]

[Tex]\dfrac{(5.(3) + ((-4).(-2)) + 1.(4))}{|\sqrt{3^2 + (-2)^2 + (4)^2}|}\\=\dfrac{49}{\sqrt{29}} [/Tex]

Example 4. Find the projection of the vector [Tex]2\hat i – 6\hat j + \hat k[/Tex] on [Tex]8\hat i – 2\hat j + 4\hat k[/Tex] .

Solution:

Here, [Tex]\vec{a}=2\hat i – 6\hat j + \hat k \\\vec{b}=8\hat i – 2\hat j + 4\hat k [/Tex]

We know, projection of Vector a on Vector b = [Tex]\frac{\vec{a}.\vec{b}}{|b|} [/Tex]

[Tex]\dfrac{(2.(8) + ((-6).(-2)) + 1.(4))}{|\sqrt{8^2 + (-2)^2 + (4)^2}|}\\=\dfrac{32}{\sqrt{84}} [/Tex]

Example 5. Find the projection of the vector [Tex]2\hat i – \hat j + 5\hat k[/Tex] on [Tex]4\hat i – \hat j + \hat k[/Tex].

Solution:

Here, [Tex]\vec{a}=2\hat i – \hat j + 5\hat k \\\vec{b}=4\hat i – \hat j + \hat k. [/Tex]

We know, projection of Vector a on Vector b = [Tex]\frac{\vec{a}.\vec{b}}{|b|} [/Tex]

[Tex]\dfrac{(2.(4) + ((-1).(-1)) + 5.(1))}{|\sqrt{4^2 + (-1)^2 + (1)^2}|}\\=\dfrac{14}{\sqrt{18}} [/Tex]

Check: Vector Operations

Practical Applications and Significance of Vector Projection

Physics

  • Force Decomposition: In physics, the vector projection formula is crucial for decomposing forces into components parallel and perpendicular to surfaces. For example, understanding the force exerted by a rope in a game of tug-of-war requires projecting the force vector onto the direction of the rope.
  • Work Calculation: The work done by a force during displacement is calculated using vector projection. The work is the dot product of the force vector and the displacement vector, essentially projecting one vector onto another to find the component of force in the direction of displacement.

Engineering

  • Structural Analysis: Engineers use vector projection to analyze stresses on components. By projecting force vectors onto structural axes, they can determine the stress components in different directions, aiding in the design of safer and more efficient structures.
  • Fluid Dynamics: In fluid dynamics, vector projection helps in analyzing fluid flow around objects. By projecting velocity vectors of fluid onto surfaces, engineers can study flow patterns and forces, crucial for aerodynamic design and hydraulic engineering.

Computer Graphics

  • Rendering Techniques: Vector projection is fundamental in computer graphics for rendering shadows and reflections. By projecting light vectors onto surfaces, graphics software calculates the angles and intensities of shadows and reflections, enhancing realism in 3D models.
  • Animation and Game Development: In animation, vector projection is used to simulate movements and interactions. For instance, determining how a character moves over uneven terrain involves projecting motion vectors onto the terrain surface, allowing for realistic animations.

Check: Basis Vectors in Linear Algebra

Examples of Vector Projection in Real-World Problem-Solving

Example 1: GPS Navigation

  • Context: In GPS navigation systems, vector projection is used to calculate the shortest path between two points on the earth’s surface.
  • Application: By projecting the displacement vector between two geographical locations onto the earth’s surface vector, GPS algorithms can accurately calculate distances and directions, optimizing travel routes.

Example 2: Sports Analytics

  • Context: In sports analytics, particularly in soccer or basketball, vector projection helps in analyzing player movements and ball trajectories.
  • Application: By projecting the movement vectors of players onto the game field or court, analysts can study patterns, speeds, and efficiency of movements, contributing to strategic planning and performance improvement.

Example 3: Renewable Energy Engineering

  • Context: In the design of wind turbines, understanding the wind force components is essential for optimizing energy production.
  • Application: Engineers project wind velocity vectors onto the plane of the turbine blades. This analysis helps in determining the optimal angle and orientation of blades to maximize the capture of wind energy.

Example 4: Augmented Reality (AR)

  • Context: In augmented reality applications, vector projection is used to accurately place virtual objects in real-world spaces.
  • Application: By projecting vectors from virtual objects onto real-world planes captured by AR devices, developers can ensure that virtual objects interact realistically with the environment, enhancing user experience.

Check: Components of Vector

Conclusion

Vector Projection is a valuable tool that helps break down complex problems into simpler parts. By understanding how one vector influences another, you can solve a wide range of challenges in fields like physics, engineering, and computer graphics. Whether you’re working on calculating forces, designing structures, or creating realistic visuals, mastering vector projection makes these tasks much easier.

Vector Projection – FAQs

Define Projection Vector.

Projection Vector is the shadow of a vector on another vector.

What is the Vector Projection Formula?

Formula for Projection of Vector is given as [Tex]\frac{\vec A.\vec B}{|\vec B|} [/Tex]

How to Find Projection Vector?

Projection vector is found by calculating the dot product of the two vectors divided by the on which the shadow is cast.

What are Concepts Required to Calculate Projection Vector?

We need to know the angle between two vectors and dot product of two vectors to calculate vector projection.

Where is Projection Vector Used?

Projection Vector is used to solve various physics numerical that require the vector quantity to be split into its components.

What is the Significance of Vector Projection in Physics?

In physics, vector projection is crucial for decomposing forces, calculating work done by a force in a specific direction, and analyzing motion. It helps in understanding how different components of a vector contribute to effects in various directions.

Can Vector Projection be Negative?

Yes, the scalar component of a vector projection can be negative if the angle between the two vectors is greater than 90 degrees, indicating that the projection goes in the opposite direction of the base vector.

How is Vector Projection Used in Engineering?

Engineers use vector projection to analyze structural stresses, optimize designs by decomposing forces into manageable components, and in fluid dynamics to study flow patterns against surfaces.

What’s the Difference Between Scalar and Vector Projection?

Scalar projection gives the magnitude of one vector along the direction of another and can be positive or negative. Vector projection, on the other hand, not only considers the magnitude but also gives the direction of the projection as a vector.

What are Real-World Applications of Vector Projection?

Vector projection has applications in GPS navigation, sports analytics, computer graphics for rendering shadows and reflections, and in augmented reality for placing virtual objects in real-world spaces.



Previous Article
Next Article

Similar Reads

Scalar and Vector Projection Formula
Before Vector projection we have to look at scalar projection or generally we says projection of [Tex]\overrightarrow{b} on \overrightarrow{a}     [/Tex] , means vector [Tex]\overrightarrow{b}     [/Tex] produces projection on vector[Tex] \overrightarrow{a}     [/Tex] . Projections are basically of two types: Scalar projections and vector projectio
4 min read
Perimeter of Square | Formula, Derivation, Examples
Square is a closed regular polygon where all sides are equal, and all angles are 90° each. Perimeter of a square is defined as the total length of the boundary of that square.  Let's learn how to use the formula for the Perimeter of Square with the help of solved examples. What is Perimeter of Square?The perimeter of square is the total length of t
5 min read
Area of a Trapezium | Formula, Derivation, Examples
The area of a trapezium is the number of unit squares that can fit into the trapezium, measured in square units. Let’s understand in detail the formula of the trapezium area and how to derive it. Area of the trapezium is the region covered by a trapezium in a two-dimensional plane. It is the space enclosed in 2D geometry and measured in square unit
9 min read
Surface Area of Sphere | Formula, Derivation and Solved Examples
A sphere is a three-dimensional object with all points on its surface equidistant from its center, giving it a perfectly round shape. The surface area of a sphere is the total area that covers its outer surface. To calculate the surface area of a sphere with radius r, we use the formula: Surface Area of Sphere = 4πr2 This formula shows that the sur
8 min read
Area of Rhombus: Formula, Derivation and Examples
Rhombus is a parallelogram in which all four sides are equal and opposite pairs of lines are congruent. The opposite angles in a rhombus are equal. The area of Rhombus is the total space occupied by a Rhombus in a 2d Plane. It is a special type of parallelogram in which all sides are equal to each other. The internal angle of the Rhombus is not man
9 min read
Area of a Circle: Formula, Derivation, Examples
Area of a Circle is the measure of the two-dimensional space occupied by a circle. It is mostly calculated by the size of the circle's radius which is the distance from the center of the circle to any point on its edge. The area of a circle is proportional to the radius of the circle. This concept is useful in many scenarios whether you’re measurin
11 min read
Volume of Cone- Formula, Derivation and Examples
Volume of a cone can be defined as the space occupied by the cone. As we know, a cone is a three-dimensional geometric shape with a circular base and a single apex (vertex). Let's learn about Volume of Cone in detail, including its Formula, Examples, and the Frustum of Cone. Volume of ConeA cone's volume is defined as the amount of space occupied b
10 min read
Derivation of Mirror formula
A spherical mirror or a mirror that is a part of a sphere is a mirror that has the shape of a piece that is cut out of a spherical surface or material. There are two types of spherical mirrors that are the concave and convex mirror. The curved surface we see of a shining or a shiny spoon can be considered as a curved mirror. The most widely and com
9 min read
Brewster's Law - Definition, Formula, Derivation, Example, Uses
Brewster's Law states that when unpolarized light strikes a surface at a specific angle (Brewster angle), the reflected light becomes polarized perpendicular to the plane of incidence. According to Brewster Law of polarization, the refractive index of a medium is equal to the tangent of the polarizing angle. This law finds applications in making po
8 min read
Two Point Form - Definition, Formula & Derivation
Two-point form of a line is the equation of a line when two points on a line are given, the two-point form formula is Y − y1 = (y2 − y1)/(x2 − x1)(X − x1). Where the two points are, (x1, y1) and (x2, y2). If in geometry two points are given then the equation of the line passing through these two points is given using the two-point form of the line.
8 min read
Kinematics | Definition, Formula, Derivation, Problems
Kinematics is the study of motion of points, objects, and systems by examining their motion from a geometric perspective, without focusing on the forces that cause such movements or the physical characteristics of the objects involved. This study area uses algebra to create mathematical models that describe these motions, essentially treating it as
10 min read
Newton's Second Law of Motion: Definition, Formula, Derivation, and Applications
Newton's Second Law of Motion is a fundamental principle that explains how the velocity of an object changes when it is subjected to an external force. This law is important in understanding the relationship between an object's mass, the force applied to it, and its acceleration. In this article, we will learn about the Second law of motion by Newt
14 min read
Simple Pendulum - Definition, Formulae, Derivation, Examples
A device in which generally a point mass is fixed to a string which is light and inextensible and is suspended from constant support is known as a simple pendulum. The mean position in a simple pendulum is usually the point from where the vertical line passes. Length of the pendulum is denoted by L and is the vertical distance from the suspension p
7 min read
Inductance - Definition, Derivation, Types, Examples
Magnetism has a mystical quality about it. Its capacity to change metals like iron, cobalt, and nickel when touched piques children's interest. Repulsion and attraction between the magnetic poles by observing the shape of the magnetic field created by the iron filling surrounding the bar magnet will be learned. According to physicists, the forces t
14 min read
Classification of Map Projection| Class 11 Geography
Class 11 Geography Notes: Achieving success in CBSE exams requires a clear understanding of Geography concepts. Thus, Class 11 students must obtain well-structured Geography Class 11 Notes from experienced teachers. These notes are designed to help students understand the fundamental concepts of Geography and build a strong foundation for their fut
6 min read
Need and Elements of Map Projection| Class 11 Geography
Geography Class 11 Notes is a crucial subject in the Social Science curriculum that requires students to have a thorough understanding of the Earth, its physical features, and human activities. The subject demands a strong foundation in conceptual knowledge and an ability to analyze and interpret geographical data. These notes provide a comprehensi
5 min read
Derivation of Ideal Gas Equation
The ideal gas law is a well-defined approximation of the behaviour of several gases under various situations in thermodynamics. The Ideal Gas Equation is a mathematical formula that uses a combination of empirical and physical constants to express the states of hypothetical gases. The general gas equation is another name for it. Charle's law, Boyle
9 min read
Derivation of Equation of Trajectory of a Projectile Motion
An object that is launched into space with only gravity acting on it is known as a projectile. The main force that acts on a projectile is gravity. Though other forces like air resistance also act on a projectile, their impact on the projectile is minimal when compared to the gravitational force. An arrow released from a bow, the launching of missi
7 min read
Derivation of Beer-Lambert Law
Beer's-Lambert Law is a combination of Beer’s law and Lambert’s law. This law associates the intensity of absorbed light with the thickness of the absorbing medium and the concentration of the solution. This law was first enacted by Pierre Bouguer before 1729. According to the attribution to Johann Heinrich Lambert, the law included path length as
8 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 vector is the vector that results from adding two or
6 min read
Unit Vector | Definition, Formula, and Examples
Unit Vector: Vector quantities are physical quantities that have both magnitude and direction. We define them using their initial point and final point. Unit vectors are the vectors that have a magnitude of 1. For example [Tex]\vec A   [/Tex] = 2i + 3j is not a unit vector as its magnitude is, |A| = √(22 + 32) = √(13) ≠ 1 Unit vectors are the vecto
11 min read
Basic Vector Paths in Photoshop Vector Tools
Photoshop is a popular program that has a variety of tools. Some of the most common tools used for digital graphic design are Vector tools. Vector tools are used to create designs that can resize big and small without losing pixels. The most common vector tools are the Pen tool, Shape tool, Type tool, Brush tool, and Eraser tool. Pen Tool: A pen to
4 min read
Molecular Weight Formula - Definition, Formula, Solved Examples
An atom is the basic building block of matter i.e. everything around us is made of matter. This is the smallest unit into which matter can be divided without the release of any electrically charged particles. This is the smallest unit of matter which has the characteristic properties of a chemical element. The mass of an atom depends on the electro
5 min read
Rydberg Formula: Formula, Proof and Solved Examples
The Rydberg formula predicts the wavelength of light produced by an electron moving between atomic energy levels. Each element has a unique spectral fingerprint. When an element's gaseous state is heated, light is produced. When this light passes through a prism or a diffraction grating, bright lines of various hues can be discerned. In some manner
6 min read
Direction of a Vector Formula
A vector is formed when two distinct points are joined with each other. The point from which a line was drawn to the other point determines the direction of that vector. A vector's direction is the angle formed by the vector with the horizontal axis, also known as the X-axis. It is provided by the counterclockwise rotation of the vector's angle abo
6 min read
Section Formula - Vector Algebra
The section formula in vector algebra is a useful formula for finding a point that divides a line segment into a certain ratio. This concept is particularly important in physics and engineering for tasks such as finding center of mass, centroids, and other applications where a point must be located relative to others in a specific proportion. Vecto
12 min read
Vector Space- Definition, Axioms, Properties and Examples
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, Proper
11 min read
Working Capital Turnover Ratio: Meaning, Formula, Significance and Examples
Working capital turnover ratio establishes a relationship between the working capital and the turnover(sales) of a firm. In other words, this ratio measures the efficiency of a firm in utilising its working capital in order to support its annual turnover. A high working capital turnover ratio implies that the company is very efficient in using its
3 min read
Mutual Inductance - Definition, Formula, Significance, Examples
The topic of induction was first given by Oersted by discovering that a magnetic field is produced through an electric field. After this, different scientists started to think can the reverse is possible .i.e. can we produce electric current from a magnetic field. Michael Faraday and Joseph Henry simultaneously established that an electric current
7 min read
Total Assets to Debt Ratio: Meaning, Formula and Examples
What is Total Assets to Debt Ratio? Total Assets to Debt Ratio is the ratio, through which the total assets of a company are expressed in relation to its long-term debts. It is a variation of the debt-equity ratio and gives the same indication as the debt-equity ratio. Total Assets: Total Assets consists of all fixed and current assets of an organi
3 min read