1. Find the projection of a 2D vector onto a coordinate axis
Problem
We compute the dot product by multiplying corresponding components and summing them.
The magnitude squared of is the sum of the squares of its components.
We divide the dot product by , then multiply by to get the projection vector.
Answer:
This is a clean case because points along the x-axis, so the projection extracts the x-component of . Projecting onto coordinate axes is often the simplest scenario because the magnitude squared is already 1.