Direction Sense – Advanced Study Notes
(for the India Post GDS / Postal Reasoning Ability Section)
1. Introduction
Direction sense problems test the ability to keep track of relative positions while objects (people, vehicles, etc.) move in various directions. They are a subset of spatial‑reasoning problems and are common in competitive exams, especially in the Indian Public Service Commission (UPSC) and various GDS/Postal tests.
Key skills
- Visualizing relative orientations.
- Understanding the effect of a change in direction on relative positions.
- Applying rotation matrices (conceptually) to simplify reasoning.
- Maintaining a mental “map” of all entities.
2. Fundamental Concepts
| Concept | Definition | Example |
|---|---|---|
| Reference Frame | The fixed coordinate system (e.g., North‑East‑South‑West). | Assume the starting point is at the origin (0,0). |
| Relative Position | Position of one entity with respect to another. | If A is east of B, then A’s x‑coordinate > B’s x‑coordinate. |
| Absolute Direction | Fixed cardinal directions (N, NE, E, SE, S, SW, W, NW). | A walks north; that is +y. |
| Relative Direction | Direction of movement relative to another entity’s orientation. | “A moves ahead of B” → same direction as B. |
| Rotation | Turning a direction by a certain angle. | Turning 90° clockwise turns north into east. |
| Opposite Direction | 180° rotation. | North ↔ South. |
3. A First‑Principle Approach
-
Assign Coordinates
- Place the first person/vehicle at the origin.
- Assign cardinal directions to coordinate axes:
- East → +x
- North → +y
-
Track Movements
- For each movement, update coordinates by adding the displacement vector.
- Displacements are computed using trigonometry:
- Δx = d · cos(θ)
- Δy = d · sin(θ)
-
Use Vector Addition
- When two entities move simultaneously, treat their movements as vector addition.
-
Relative Position of B w.r.t. A
- Subtract A’s coordinates from B’s.
- The sign of the difference indicates cardinal direction.
-
Edge Cases
- Zero displacement (standing still).
- Backtracking (moving in exactly opposite direction).
- Circular paths (e.g., moving in a square).
- Non‑orthogonal rotations (e.g., 45°, 135°).
4. Advanced Theory
4.1 Rotation Matrices (2‑D)
The rotation matrix (R(θ)) rotates any vector by angle θ counter‑clockwise:
[ R(θ) = \begin{bmatrix} \cos θ & -\sin θ \ \sin θ & \cos θ \end{bmatrix} ]
For a direction vector (v = (x, y)):
[ v_{\text{rotated}} = R(θ) \cdot v ]
Why this helps:
- Provides a systematic way to compute new directions after turns.
- Useful when directions are expressed relative to a moving entity.
4.2 Directional Algebra
Define operators:
- F (Forward): Move in the current direction.
- R (Right): Turn 90° clockwise.
- L (Left): Turn 90° counter‑clockwise.
- B (Back): Turn 180°.
If an entity starts facing N:
| Operator | Resulting direction |
|---|---|
| F | N |
| R | E |
| L | W |
| B | S |
| R, R | S (two rights) |
These operators can be chained: e.g., R, F, L, F.
4.3 Spatial Invariants
- Relative orientation is invariant under rigid transformations (rotations, translations).
- Cross‑product sign indicates whether one entity is to the left/right of another.
- Dot product sign indicates whether one entity is ahead/behind another relative to a direction.
5. Edge Cases & Pitfalls
| Edge Case | What to Watch For | Quick Fix |
|---|---|---|
| Simultaneous Movements | Both entities move at the same time; ensure you add their vectors simultaneously. | Treat as vector addition. |
| Opposite Directions | Two entities move in opposite directions; relative position may switch. | Use 180° rotation. |
| Zero‑Distance | One entity doesn’t move; relative positions depend solely on the other. | Keep the stationary entity’s coordinates fixed. |
| Changing Reference Frames | When an entity changes orientation, subsequent directions are relative to the new frame. | Keep track of each entity’s current facing direction. |
| Non‑Cardinal Directions | Directions like “north‑east” or “south‑west” involve 45° angles. | Use (\cos 45° = \sin 45° = \frac{\sqrt{2}}{2}). |
6. Sample Problem (Challenging)
Problem
Six persons A, B, C, D, E, and F start from a common point O.
- A walks north for 5 m.
- B walks east for 3 m.
- C walks north‑east for 4 m.
- D follows B but turns right after 2 m, then continues east for another 1 m.
- E stays at O.
- F walks south for 2 m, then turns left and walks west for 3 m.
After all movements, which two persons are farthest apart, and what is the distance between them?
(Assume straight‑line distances.)
7. Step‑by‑Step Solution
| Person | Movement | Final Coordinates (x, y) |
|---|---|---|
| A | North 5 m | (0, 5) |
| B | East 3 m | (3, 0) |
| C | NE 4 m | (4·cos45°, 4·sin45°) ≈ (2.828, 2.828) |