ArticleslgStudy

mathematics

Vector projection

Vector projection is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Vector projection rather than just read about it. In short: The vector projection, also known as the vector component or vector resolution, of a vector a on (or onto) a non-zero vector b is the orthogonal projection of a onto a straight line parallel to b. The projection of a onto b is often written as proj𝐛𝐚 or a∥b.

Vector projection — main illustration
Vector projection — illustration

Key takeaways

  • Vector projection belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Vector projection to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Vector projection from memory before moving on to harder problems.

Reference excerpt

The vector projection, also known as the vector component or vector resolution, of a vector a on (or onto) a non-zero vector b is the orthogonal projection of a onto a straight line parallel to b. The projection of a onto b is often written as proj𝐛𝐚 or a∥b. The vector component or vector resolute of a perpendicular to b, sometimes also called the vector rejection of a from b (denoted oproj𝐛𝐚 or a⊥b), is the orthogonal projection of a onto the plane (or, in general, hyperplane) that is orthogonal to b. Since both proj𝐛𝐚 and oproj𝐛𝐚 are vectors, and their sum is equal to a, the rejection of a from b is given by: oproj𝐛𝐚=𝐚−proj𝐛𝐚.

To simplify notation, this article defines 𝐚1:=proj𝐛𝐚 and 𝐚2:=oproj𝐛𝐚. Thus, the vector 𝐚1 is parallel to 𝐛, the vector 𝐚2 is orthogonal to 𝐛, and 𝐚=𝐚1+𝐚2. The projection of a onto b can be decomposed into a direction and a scalar magnitude by writing it as 𝐚1=a1𝐛̂ where a1 is a scalar, called the scalar projection of a onto b, and b̂ is the unit vector in the direction of b. The scalar projection is defined as a1=‖𝐚‖cos⁡θ=𝐚⋅𝐛̂ where the operator ⋅ denotes a dot product, ‖a‖ is the length of a, and θ is the angle between a and b. The scalar projection is equal in absolute value to the length of the vector projection, with a minus sign if the direction of the projection is opposite to the direction of b, that is, if the angle between the vectors is more than 90 degrees. The vector projection can be calculated using the dot product of 𝐚 and 𝐛 as: proj𝐛𝐚=(𝐚⋅𝐛̂)𝐛̂=𝐚⋅𝐛‖𝐛‖𝐛‖𝐛‖=𝐚⋅𝐛‖𝐛‖2𝐛=𝐚⋅𝐛𝐛⋅𝐛𝐛 .

Notation This article uses the convention that vectors are denoted in a bold font (e.g. a1), and scalars are written in normal font (e.g. a1). The dot product of vectors a and b is written as 𝐚⋅𝐛, the norm of a is written ‖a‖, and the angle between a and b is denoted by θ.

Definitions based on angle theta

Scalar projection

The scalar projection of a on b is a scalar equal to a1=‖𝐚‖cos⁡θ, where θ is the angle between a and b. A scalar projection can be used as a scale factor to compute the corresponding vector projection.

Vector projection The vector projection of a on b is a vector whose magnitude is the scalar projection of a on b with the same direction as b. Namely, it is defined as 𝐚1=a1𝐛̂=(‖𝐚‖cos⁡θ)𝐛̂ where a1 is the corresponding scalar projection, as defined above, and 𝐛̂ is the unit vector with the same direction as b: 𝐛̂=𝐛‖𝐛‖

Vector rejection By definition, the vector rejection of a on b is: 𝐚2=𝐚−𝐚1 Hence, 𝐚2=𝐚−(‖𝐚‖cos⁡θ)𝐛̂

Definitions in terms of a and b When θ is not known, the cosine of θ can be computed in terms of a and b, by the following property of the dot product a ⋅ b 𝐚⋅𝐛=‖𝐚‖‖𝐛‖cos⁡θ

Scalar projection By the above-mentioned property of the dot product, the definition of the scalar projection becomes: a1=‖𝐚‖cos⁡θ=𝐚⋅𝐛‖𝐛‖. In two dimensions, this becomes a1=𝐚x𝐛x+𝐚y𝐛y‖𝐛‖.

Vector projection Similarly, the definition of the vector projection of a onto b becomes: 𝐚1=a1𝐛̂=𝐚⋅𝐛‖𝐛‖𝐛‖𝐛‖, which is equivalent to either 𝐚1=(𝐚⋅𝐛̂)𝐛̂, or 𝐚1=𝐚⋅𝐛‖𝐛‖2𝐛=𝐚⋅𝐛𝐛⋅𝐛𝐛 .

Scalar rejection In two dimensions, the scalar rejection is equivalent to the projection of a onto 𝐛⊥=(−𝐛y𝐛x), which is 𝐛=(𝐛x𝐛y) rotated 90° to the left. Hence, a2=‖𝐚‖sin⁡θ=𝐚⋅𝐛⊥‖𝐛‖=𝐚y𝐛x−𝐚x𝐛y‖𝐛‖. Such a dot product is called the "perp dot product."

Vector rejection By definition, 𝐚2=𝐚−𝐚1 Hence, 𝐚2=𝐚−𝐚⋅𝐛𝐛⋅𝐛𝐛. By using the Scalar rejection using the perp dot product this gives 𝐚2=𝐚⋅𝐛⊥𝐛⋅𝐛𝐛⊥

Properties

Scalar projection

The scalar projection a on b is a scalar which has a negative sign if 90 degrees < θ ≤ 180 degrees. It coincides with the length ‖c‖ of the vector projection if the angle is smaller than 90°. More exactly:

a1 = ‖a1‖ if 0° ≤ θ ≤ 90°, a1 = −‖a1‖ if 90° < θ ≤ 180°.

Vector projection The vector projection of a on b is a vector a1 which is either null or parallel to b. More exactly:

a1 = 0 if θ = 90°, a1 and b have the same direction if 0° ≤ θ < 90°, a1 and b have opposite directions if 90° < θ ≤ 180°.

Vector rejection The vector rejection of a on b is a vector a2 which is either null or orthogonal to b. More exactly:

a2 = 0 if θ = 0° or θ = 180°, a2 is orthogonal to b if 0 < θ < 180°,

Matrix representation The orthogonal projection can be represented by a projection matrix. To project a vector onto the unit vector a = (ax, ay, az), it would need to be multiplied with this projection matrix:

Uses The vector projection is an important operation in the Gram–Schmidt orthonormalization of vector space bases. It is also used in the separating axis theorem to detect whether two convex shapes intersect.

Generalizations Since the notions of vector length and angle between vectors can be generalized to any n-dimensional inner product space, this is also true for the notions of orthogonal projection of a vector, projection of a vector onto another, and rejection of a vector from another.

Vector projection on a plane In some cases, the inner product coincides with the dot product. Whenever they don't coincide, the inner product is used instead of the dot product in the formal definitions of projection and rejection. For a three-dimensional inner product space, the notions of projection of a vector onto another and rejection of a vector from another can be generalized to the notions of projection of a vector onto a plane, and rejection of a vector from a plane. The projection of a vector on a plane is its orthogonal projection on that plane. The rejection of a vector from a plane is its orthogonal projection on a straight line which is orthogonal to that plane. Both are vectors. The first is parallel to the plane, the second is orthogonal. For a given vector and plane, the sum of projection and rejection is equal to the original vector. Similarly, for inner product spaces with more than three dimensions, the notions of projection onto a vector and rejection from a vector can be generalized to the notions of projection onto a hyperplane, and rejection from a hyperplane. In geometric algebra, they can be further generalized to the notions of projection and rejection of a general multivector onto/from any invertible k-blade.

See also Scalar projection Vector notation

References

External links Projection of a vector onto a plane

Illustrations

Vector projection: Projection of a on b (a1), and rejection of a from b (a2)
Projection of a on b (a1), and rejection of a from b (a2)
Vector projection: When 90° < θ ≤ 180°, a1 has an opposite direction with respect to b.
When 90° < θ ≤ 180°, a1 has an opposite direction with respect to b.
Vector projection: If 0° ≤ θ ≤ 90°, as in this case, the scalar projection of a on b coincides with the length of the vector projection.
If 0° ≤ θ ≤ 90°, as in this case, the scalar projection of a on b coincides with the length of the vector projection.

Worked examples

Example 1 — a first encounter with Vector projection

Start with the simplest possible case. Write down what Vector projection claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Vector projection before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Vector projection ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Vector projection

In research
Vector projection appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Vector projection in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Vector projection is common in secondary-school and first-year university syllabi. It links to neighbouring topics Functions and mappings, Operations on vectors, Transformation (function), so understanding it makes those chapters shorter.
In everyday life
Look for Vector projection outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Vector projection” →

How to study Vector projection in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Vector projection means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Vector projection out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Vector projection in simple terms?

The vector projection, also known as the vector component or vector resolution, of a vector a on (or onto) a non-zero vector b is the orthogonal projection of a onto a straight line parallel to b. The projection of a onto b is often written as proj𝐛𝐚 or a∥b.

Why does Vector projection matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Vector projection?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Vector projection.

Tags

  • Functions and mappings
  • Operations on vectors
  • Transformation (function)

Keep exploring