How to use this calculator
Measure the length of the component of vector u perpendicular to a nonzero reference vector v.
- Enter uₓ, uᵧ, u_z, vₓ, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How Vector rejection magnitude calculator works
Measure the length of the component of vector u perpendicular to a nonzero reference vector v.
Inputs and units
- uₓ: x-coordinate of vector u whose perpendicular part is measured.
- uᵧ: y-coordinate of vector u.
- u_z: z-coordinate of vector u.
- vₓ: x-coordinate of reference vector v; it must be nonzero.
- vᵧ: y-coordinate of reference vector v.
- v_z: z-coordinate of reference vector v.
Formula and method
||u − proj_v(u)|| = √(u·u − (u·v)²/(v·v))
Worked example
For u=(3,4,0) and v=(1,0,0), the projection removes (3,0,0), leaving a perpendicular component of length 4.
Interpreting the result
The answer is a nonnegative distance in the same coordinate units as u. It is zero when u is parallel to v and equals ||u|| when u is perpendicular to v.
Assumptions and limits
The reference vector v must be nonzero. Inputs should share a coordinate basis; tiny negative roundoff under the square root is treated as zero only when numerically negligible.
Sources and method
- Dot products, scalar and vector projections, cross products, and plane equations. OpenStax, Calculus Volume 3, Chapter 2 key equations
Frequently asked questions
What is vector rejection?
It is the part of u left after subtracting its projection onto v.
Why is the answer never negative?
The calculator reports a vector magnitude, which is the nonnegative square root of its squared length.
How do I use the Vector rejection magnitude calculator?
Enter uₓ, uᵧ, u_z, vₓ, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Vector rejection magnitude?
For u=(3,4,0) and v=(1,0,0), the projection removes (3,0,0), leaving a perpendicular component of length 4.
What does the Vector rejection magnitude calculator calculate?
Measure the length of the component of vector u perpendicular to a nonzero reference vector v.