PracticeVideosBlogFlashcards

12.2 Cardinal & Ordinal Directions, Multi-Step Turn Paths, Pythagorean Distance & Shadow Timing

Key Takeaways

  • Spatial navigation problems map directly onto a Cartesian coordinate plane with North as +y, South as -y, East as +x, and West as -x, converting multi-segment paths into algebraic vector summations.

  • Right turns represent a +90° clockwise (CW) angular rotation, while left turns represent a -90° counter-clockwise (CCW) rotation; net orientation is evaluated via Σθ_CW - Σθ_CCW (mod 360°).

  • Shortest straight-line distance from origin to destination obeys the Pythagorean theorem: d = √((Δx)² + (Δy)²), utilizing standard integer triples (3-4-5, 5-12-13, 7-24-25, 8-15-17).

  • Examinees must strictly distinguish between 'direction currently facing' (the tangent vector of the final segment) and 'direction with respect to starting point' (the position vector from (0,0) to (Δx, Δy)).

  • A shadow points away from the light source. Use East/West sunrise/sunset assumptions only when stipulated; clock noon alone does not determine shadow direction or length.

Last updated: October 2026

The Compass Rose & Cartesian Coordinate Mapping

All directional reasoning problems derive from the 8-point compass rose. Rather than sketching imprecise freehand lines, examinees should model movements as vectors on a Cartesian coordinate grid with the starting origin fixed at (0,0)(0, 0).

                             North (+y) [0° / 360°]
                                       ^
                                       |
                  North-West           |           North-East
                   (-x, +y)            |            (+x, +y)
                       \               |               /
                        \              |              /
                         \             |             /
                          \            |            /
                           \           |           /
    West (-x) [270°] <------+----------+----------+------> East (+x) [90°]
                           /           |           \
                          /            |            \
                         /             |             \
                        /              |              \
                       /               |               \
                  South-West           |           South-East
                   (-x, -y)            |            (+x, -y)
                                       |
                                       v
                             South (-y) [180°]

Directional Coordinate Displacements

HeadingDirection ClassificationAngular BearingDirection Vector (diagonals are not unit length)Movement Effect
North (N)Cardinal000∘/360∘000^\circ / 360^\circ(0,+1)(0, +1)Increases yy-coordinate: y←y+dy \leftarrow y + d
East (E)Cardinal090∘090^\circ(+1,0)(+1, 0)Increases xx-coordinate: x←x+dx \leftarrow x + d
South (S)Cardinal180∘180^\circ(0,−1)(0, -1)Decreases yy-coordinate: y←y−dy \leftarrow y - d
West (W)Cardinal270∘270^\circ(−1,0)(-1, 0)Decreases xx-coordinate: x←x−dx \leftarrow x - d
North-East (NE)Ordinal045∘045^\circ(+1,+1)(+1, +1)Both xx and yy are positive (+x,+y+x, +y)
South-East (SE)Ordinal135∘135^\circ(+1,−1)(+1, -1)xx is positive, yy is negative (+x,−y+x, -y)
South-West (SW)Ordinal225∘225^\circ(−1,−1)(-1, -1)Both xx and yy are negative (−x,−y-x, -y)
North-West (NW)Ordinal315∘315^\circ(−1,+1)(-1, +1)xx is negative, yy is positive (−x,+y-x, +y)

Note

The angle between any two adjacent cardinal directions is strictly 90∘90^\circ. The angle between any cardinal direction and its adjacent ordinal direction is strictly 45∘45^\circ.


Multi-Step Turn Paths & Angular Deviation Mechanics

A frequent source of error is confusing absolute compass directions with relative body orientations (left versus right).

Relative Body Orientation Matrix

When a moving entity executes a turn, the resulting compass heading depends entirely on the direction faced immediately prior to the turn:

Current Facing DirectionEffect of a Right Turn (+90∘+90^\circ CW)Effect of a Left Turn (−90∘-90^\circ CCW)Effect of a 180∘180^\circ U-Turn
Facing NorthEast (+x+x)West (−x-x)South (−y-y)
Facing SouthWest (−x-x)East (+x+x)North (+y+y)
Facing EastSouth (−y-y)North (+y+y)West (−x-x)
Facing WestNorth (+y+y)South (−y-y)East (+x+x)

The Net Angular Summation Formula

When a problem specifies multiple successive angular rotations without translational movement (e.g., 'A person turns 45∘45^\circ clockwise, then 135∘135^\circ counter-clockwise, then 90∘90^\circ clockwise'), calculate the net angular deviation algebraically:

θnet=(∑θCW−∑θCCW)(mod360∘)\theta_{\text{net}} = \left( \sum \theta_{\text{CW}} - \sum \theta_{\text{CCW}} \right) \pmod{360^\circ}
  • If θnet>0\theta_{\text{net}} > 0: Rotate the initial heading Clockwise by θnet\theta_{\text{net}}.
  • If θnet<0\theta_{\text{net}} < 0: Rotate the initial heading Counter-Clockwise by ∣θnet∣|\theta_{\text{net}}|.
Example Calculation:
Initial Facing: North-East (45°)
Turns: 90° CW, 180° CCW, 45° CW, 90° CCW
Σ θ_CW  = 90° + 45° = 135°
Σ θ_CCW = 180° + 90° = 270°
θ_net   = 135° - 270° = -135° (135° Counter-Clockwise)
Final Heading = 45° - 135° = -90° ≡ 270° (West)

Shortest Distance & Pythagorean Displacement

When an individual navigates a zigzag path, the total distance walked is the scalar sum of all path segments (Dscalar=∑diD_{\text{scalar}} = \sum d_i). However, competitive examinations predominantly test the shortest straight-line distance (magnitude of net vector displacement, dd) from the starting point to the destination.

The Algebraic Coordinate Method

  1. Set starting point at (x0,y0)=(0,0)(x_0, y_0) = (0, 0).
  2. Sum all horizontal movements: Δx=∑xEast−∑xWest\Delta x = \sum x_{\text{East}} - \sum x_{\text{West}}.
  3. Sum all vertical movements: Δy=∑yNorth−∑ySouth\Delta y = \sum y_{\text{North}} - \sum y_{\text{South}}.
  4. Apply the Pythagorean Theorem:
d=(Δx)2+(Δy)2d = \sqrt{(\Delta x)^2 + (\Delta y)^2}
                    Destination (Δx, Δy)
                           /|
                          / |
                         /  |
           Displacement /   |  Vertical Net (Δy)
                     d /    | 
                      /     |
                     /      |
                    +-------+
           Origin (0,0)  Horizontal Net (Δx)

Primitive Pythagorean Triples in RRB Examinations

RRB examination designers construct problems using integer Pythagorean triples to allow clean manual evaluation without calculators:

Base Triple (a,b,c)(a, b, c)Common Multiples in CBTsGoverning Equation: a2+b2=c2a^2 + b^2 = c^2
(3,4,5)(3, 4, 5)(6,8,10)(6, 8, 10), (9,12,15)(9, 12, 15), (12,16,20)(12, 16, 20), (15,20,25)(15, 20, 25)32+42=9+16=25=523^2 + 4^2 = 9 + 16 = 25 = 5^2
(5,12,13)(5, 12, 13)(10,24,26)(10, 24, 26), (15,36,39)(15, 36, 39)52+122=25+144=169=1325^2 + 12^2 = 25 + 144 = 169 = 13^2
(7,24,25)(7, 24, 25)(14,48,50)(14, 48, 50)72+242=49+576=625=2527^2 + 24^2 = 49 + 576 = 625 = 25^2
(8,15,17)(8, 15, 17)(16,30,34)(16, 30, 34)82+152=64+225=289=1728^2 + 15^2 = 64 + 225 = 289 = 17^2
(9,40,41)(9, 40, 41)—92+402=81+1600=1681=4129^2 + 40^2 = 81 + 1600 = 1681 = 41^2
(20,21,29)(20, 21, 29)—202+212=400+441=841=29220^2 + 21^2 = 400 + 441 = 841 = 29^2

Important

The Facing vs. Origin Distinction: Always check the exact phrasing of the final question stem:

  • 'In which direction is he facing now?'   ⟹  \implies Refers solely to the terminal heading of his last movement.
  • 'In which direction is he with respect to his starting point?'   ⟹  \implies Refers to the vector from (0,0)(0, 0) to (Δx,Δy)(\Delta x, \Delta y).
  • 'In which direction was his starting point with respect to his final position?'   ⟹  \implies Refers to the opposite vector from (Δx,Δy)(\Delta x, \Delta y) to (0,0)(0, 0) (−Δx,−Δy-\Delta x, -\Delta y).

Solar Azimuth & Shadow Timing Mechanics

Shadow problems appear regularly in railway mental ability tests. The core physical principle is invariant: a shadow is always cast in the direction exactly opposite to the light source (the Sun).

Comprehensive Shadow Projection Matrix

Time of DaySun AzimuthShadow BearingPerson Facing NorthPerson Facing SouthPerson Facing EastPerson Facing West
Sunrise / MorningEastWestShadow to LEFTShadow to RIGHTShadow BEHINDShadow in FRONT
Sunset / EveningWestEastShadow to RIGHTShadow to LEFTShadow in FRONTShadow BEHIND
NoonDepends on location, date and solar timeNot determined from clock time aloneRequires more informationRequires more informationRequires more informationRequires more information

Note

Morning-East and evening-West are simplified assumptions used in direction puzzles; use them when explicitly stipulated. Solar noon is not generally 12:00 civil time, and the Sun is not generally overhead. A noon shadow can point north or south; zero shadow requires the Sun to be directly overhead.


Worked Examples

Worked Example 1: Multi-Step Navigation & Pythagorean Displacement

Problem: A Section Controller on a foot-inspection of an operating yard starts from the Station Master's Office (point OO). He walks 14 km14\text{ km} East, turns right and walks 10 km10\text{ km}, turns left and walks 10 km10\text{ km}, turns right and walks 14 km14\text{ km}, and finally turns right and walks 31 km31\text{ km} to reach the Signal Relay Cabin (point CC). Calculate: (a) The net Cartesian coordinates of point CC, (b) The shortest straight-line distance from OO to CC, and (c) The direction of OO with respect to CC.

  • Step 1: Track movements on Cartesian coordinates from (0,0)(0, 0):
    • Movement 1: 14 km14\text{ km} East   ⟹  (0+14,0)=(14,0)\implies (0 + 14, 0) = (14, 0). Facing East.
    • Movement 2: Turn right (facing South) and walk 10 km  ⟹  (14,0−10)=(14,−10)10\text{ km} \implies (14, 0 - 10) = (14, -10). Facing South.
    • Movement 3: Turn left (facing East) and walk 10 km  ⟹  (14+10,−10)=(24,−10)10\text{ km} \implies (14 + 10, -10) = (24, -10). Facing East.
    • Movement 4: Turn right (facing South) and walk 14 km  ⟹  (24,−10−14)=(24,−24)14\text{ km} \implies (24, -10 - 14) = (24, -24). Facing South.
    • Movement 5: Turn right (facing West) and walk 31 km  ⟹  (24−31,−24)=(−7,−24)31\text{ km} \implies (24 - 31, -24) = (-7, -24). Facing West.
  • Step 2: Coordinate Analysis: Point CC is at (−7,−24)(-7, -24). Net horizontal displacement Δx=−7 km\Delta x = -7\text{ km} (West); net vertical displacement Δy=−24 km\Delta y = -24\text{ km} (South).
  • Step 3: Calculate Shortest Distance (dd):
d=(Δx)2+(Δy)2=(−7)2+(−24)2=49+576=625=25 kmd = \sqrt{(\Delta x)^2 + (\Delta y)^2} = \sqrt{(-7)^2 + (-24)^2} = \sqrt{49 + 576} = \sqrt{625} = 25\text{ km}

(Recognizing the (7,24,25)(7, 24, 25) primitive Pythagorean triple allows immediate solution without manual square-root extraction.)

  • Step 4: Determine Direction of Origin O(0,0)O(0,0) with respect to Cabin C(−7,−24)C(-7, -24): From C(−7,−24)C(-7, -24) to reach O(0,0)O(0, 0), one must move +7+7 along xx (East) and +24+24 along yy (North). Therefore, OO is situated North-East with respect to CC.
  • Conclusion: Point CC is at (−7,−24)(-7, -24); shortest distance is 25 km25\text{ km}; direction of OO with respect to CC is North-East.

Worked Example 2: Successive Angular Rotations

Problem: A railway gateman stands facing South-West. He performs the following sequence of body rotations:

  1. 90∘90^\circ Clockwise
  2. 135∘135^\circ Counter-Clockwise
  3. 180∘180^\circ Clockwise
  4. 45∘45^\circ Counter-Clockwise In which compass direction is the gateman facing after completing the sequence?
  • Step 1: Convert Initial Heading to Degrees: South-West corresponds to 225∘225^\circ measured clockwise from North (000∘000^\circ).
  • Step 2: Sum Rotations by Sense:
    • Sum of Clockwise turns: ∑θCW=90∘+180∘=270∘\sum \theta_{\text{CW}} = 90^\circ + 180^\circ = 270^\circ.
    • Sum of Counter-Clockwise turns: ∑θCCW=135∘+45∘=180∘\sum \theta_{\text{CCW}} = 135^\circ + 45^\circ = 180^\circ.
  • Step 3: Compute Net Angular Deviation:
θnet=∑θCW−∑θCCW=270∘−180∘=+90∘ (Clockwise)\theta_{\text{net}} = \sum \theta_{\text{CW}} - \sum \theta_{\text{CCW}} = 270^\circ - 180^\circ = +90^\circ \text{ (Clockwise)}
  • Step 4: Apply Net Rotation to Initial Heading:
Final Heading=225∘+90∘=315∘\text{Final Heading} = 225^\circ + 90^\circ = 315^\circ

On the 8-point compass rose, 315∘315^\circ represents North-West.

  • Conclusion: The gateman is facing North-West.

Worked Example 3: Morning Solar Shadow Deduction

Problem: One morning shortly after sunrise, two train controllers, Rajesh and Vikram, are standing on the platform facing each other, conversing about sectional running times. If Rajesh observes that Vikram's shadow falls exactly to Rajesh's left, which direction is Vikram facing? Assume the Sun is due East, the people are upright and the ground is level.

  • Step 1: Identify Sun Azimuth & Shadow Trajectory: The event occurs in the morning (sunrise), so the Sun is in the East. All physical shadows fall due West.
  • Step 2: Map Observer's Coordinates: Vikram's shadow falls to Rajesh's left. Because all shadows are cast due West, Rajesh's left side must face West.
  • Step 3: Deduce Rajesh's Facing Direction: Stand mentally facing North: your left is West, right is East. Since Rajesh's left is West, Rajesh is facing North.
  • Step 4: Deduce Vikram's Facing Direction: Rajesh and Vikram are talking face-to-face. Since Rajesh faces North, Vikram must face the diametrically opposite direction, which is South.
  • Conclusion: Vikram is facing South.

For a distance dd along an exact diagonal bearing, each coordinate component has magnitude d/2d/\sqrt{2}. The table's diagonal sign vectors indicate direction, not a displacement of dd on both axes.

Test Your Knowledge

A railway track inspector starts from point P and walks 8 km South, then turns left and walks 15 km East to reach point Q. What is the shortest straight-line distance between P and Q, and what is the direction of Q with respect to P?

A

17 km North-West

B

17 km South-East

C

23 km South-East

D

15 km South

Test Your Knowledge

An assistant loco pilot facing North-West executes the following sequence of angular rotations: first 90° clockwise, then 180° counter-clockwise, and finally 90° counter-clockwise. Which direction is he facing after completing these movements?

A

North-East

B

South-West

C

North-West

D

South-East

Test Your Knowledge

One evening shortly before sunset, two station masters, Ramesh and Suresh, are standing in a railway yard facing each other during shift handover. If Suresh's shadow falls exactly to the right of Suresh, which compass direction is Ramesh facing? Assume the Sun is due West and the ground is level.

A

North

B

South

C

East

D

West

Sections you finish are checked off in the contents.