Relative position describes the location of object A as observed from object B. It is the vector drawn from the position of B to the position of A. It tells both the separation and direction between two objects.
Relative Position
Relative position describes the location of object A as observed from object B. It is the vector drawn from the position of B to the position of A. It tells both the separation and direction between two objects.
\(\vec{r}_{a\beta} = \vec{r}_{a} - \vec{r}_{\beta}\)
\(\vec{r}_{a\beta} = (x_{a} - x_{\beta})\hat{\imath} + (y_{a} - y_{\beta})\hat{\jmath} + (z_{a} - z_{\beta})\hat{k}\)
What this formula means
Scientific principle
Principle
Position is a vector measured from a chosen coordinate origin. To find the position of one object relative to another, subtract the reference object's position vector from the observed object's position vector.
Derivation
Let the position vectors of objects A and B relative to a common origin O be r⃗ₐ and r⃗ᵦ.
The vector from B to A can be represented by adding the displacement from O to B and the displacement from B to A: r⃗ᵦ + r⃗ₐᵦ = r⃗ₐ.
Rearranging gives r⃗ₐᵦ = r⃗ₐ − r⃗ᵦ.
In Cartesian coordinates, subtract the corresponding coordinates of B from those of A.
The magnitude |r⃗ₐᵦ| gives the straight-line separation between the objects.
Result
Relative position is the vector difference between two position vectors measured from the same coordinate origin.
Variables and their meanings
R⃗ₐᵦ
Position vector of A relative to B.
R⃗ₐ
Position vector of object A relative to the common origin.
R⃗ᵦ
Position vector of object B relative to the common origin.
Xₐ, yₐ, zₐ
Cartesian coordinates of object A.
Xᵦ, yᵦ, zᵦ
Cartesian coordinates of object B.
Î, ĵ, k̂
Unit vectors along the positive x-, y-, and z-axes.
SI units and conversions
SIUnit
metre (m)
Dimensions
[L]
Notes
All position coordinates must use the same unit before subtraction.
Convert kilometres, centimetres, or other distance units into metres when SI units are required.
The magnitude of the relative position vector is a distance and is expressed in metres.
Conditions of use
Both objects' positions must be expressed relative to the same coordinate origin and coordinate system.
The coordinate axes and positive directions must be consistently defined.
The formula applies to one-dimensional, two-dimensional, and three-dimensional position vectors.
The objects may be stationary or moving; the formula describes their relative position at a particular instant.
Limitations and assumptions
Relative position depends on the chosen coordinate axes and reference object, although the physical separation remains unchanged under a consistent coordinate transformation.
Subtracting coordinates from different coordinate origins without first transforming them gives an incorrect result.
The relative position vector points from B toward A; reversing the order changes its direction.
Relative position gives straight-line separation, not necessarily the distance travelled along a curved path.
Step-by-step worked examples
| Problem | Solution | Answer |
|---|---|---|
Object A is at position (8, 5) m and object B is at position (3, 2) m. Find the position of A relative to B and their separation. |
| The position of A relative to B is (5î + 3ĵ) m, and their straight-line separation is approximately 5.83 m. |
Real-world applications
Navigation systems calculate the position of one vehicle relative to another.
Robotics uses relative-position vectors to determine the location of objects with respect to a robot.
Astronomy describes the position of one celestial body relative to another.
Air-traffic monitoring uses relative positions to assess the spatial separation between aircraft.
Computer graphics and game physics use relative coordinates to position objects within a scene.
Topics
kinematics
relative position
position vector
vector subtraction
displacement
Formula Meaning
Relative position describes the location of object A as observed from object B. It is the vector drawn from the position of B to the position of A. It tells both the separation and direction between two objects.
Sources and further reading
No source has been supplied for this item yet. Treat the claim as needing editorial verification.