Direction and Distance: Shadows, Turns and Coordinate Method

Advanced direction questions mix several ideas in one item: a shadow that tells you which way someone faces, a chain of left and right turns, coded or renamed directions, and a final distance worked out with Pythagoras. The coordinate method turns all of these into simple arithmetic. Once you can place every point on an x and y grid, no direction question is hard.

Asked in: GAT, HAT, NTS, ISSB, SSC CGL, IBPS PO, CAT

The coordinate method

Put the starting point at (0, 0). Take east as positive x and north as positive y. Every movement adds to x or y: east adds, west subtracts, north adds, south subtracts.

At the end, the final point (x, y) tells you everything: the distance is √(x² + y²), and the signs of x and y give the direction from the start.

Turns and degrees

Measure the facing direction as an angle clockwise from north: north 0°, east 90°, south 180°, west 270°, with the diagonals at 45°, 135°, 225° and 315°.

A right turn adds 90°, a left turn subtracts 90°. Clockwise turns add, anticlockwise turns subtract. Reduce the result by 360 if needed.

Shadows at sunrise and sunset

The sun rises in the east and sets in the west, and a shadow always points away from the sun. So at sunrise or in the early morning shadows point west, and before sunset or in the evening they point east.

Questions about noon are avoided in most exams because the midday shadow depends on the season and latitude. If a question says sunrise, morning, sunset or evening, use the east and west rule.

Reading the shadow's side

Once you know the shadow's direction, compare it with the person's facing direction. Shadow in front means they face the shadow's direction; shadow behind means they face the sun.

If the shadow is on the right, the person faces 90° anticlockwise from the shadow's direction. If it is on the left, they face 90° clockwise from it.

Coded and renamed directions

Coded directions replace each direction with a symbol, such as @ for north. Decode every step first, then use the coordinate method as usual.

Renamed compasses rotate every direction by the same angle. Find that angle from one given pair, check it against a second pair, and apply it to the direction asked.

Direction of A from B

The direction of A from B is found from the vector B to A, that is A minus B. Many mistakes come from computing B minus A, which gives the exact opposite direction.

If the question asks where the start is from the person, reverse the final position: a person who is south-east of the start sees the start to his north-west.

Solved examples

  1. At sunrise, Neha's shadow falls exactly to her right. Which direction is she facing?
    1. At sunrise the shadow points west.
    2. West is on her right, so she faces 90° anticlockwise from west, which is south.
    3. Check: facing south, the right hand points west.
    Answer: South
  2. Rohit is facing west. He turns 135° clockwise and then 90° anticlockwise. Which direction is he facing now?
    1. West is 270°.
    2. 270 + 135 = 405, which is 45° (north-east).
    3. 45 − 90 = −45, which is 315° (north-west).
    Answer: North-west
  3. Fatima walks 9 km north, 4 km east, 3 km north and 5 km east. How far is she from the start?
    1. Total north = 9 + 3 = 12 km. Total east = 4 + 5 = 9 km.
    2. Distance = √(12² + 9²) = √225 = 15 km.
    3. She is in the north-east region from the start (not exactly north-east, since 12 and 9 differ).
    Answer: 15 km
  4. In a code, # means north, % means south, @ means east and ÷ means west. Arjun walks 3 m @, 4 m #, 3 m @, 4 m # and 2 m %. How far is he from the start?
    1. Decode: 3 east, 4 north, 3 east, 4 north, 2 south.
    2. East total = 6 m. North total = 4 + 4 − 2 = 6 m.
    3. Distance = √(6² + 6²) = 6√2 m, exactly north-east of the start.
    Answer: 6√2 m to the north-east
  5. If north-east is called south and every direction is renamed in the same way, what is north called?
    1. North-east (45°) becomes south (180°): every name is the true direction turned 135° clockwise.
    2. North (0°) turned 135° clockwise gives 135°, which is south-east.
    3. So north is called south-east.
    Answer: South-east
  6. Just before sunset, Arif walks 5 m straight towards his shadow, then turns left and walks 12 m. How far is he from the start, and where is his shadow now?
    1. Before sunset shadows point east, so he walks 5 m east.
    2. A left turn from east is north: 12 m north. Distance = √(5² + 12²) = 13 m.
    3. He now faces north, and the shadow points east, which is on his right.
    Answer: 13 m; the shadow falls to his right

Exam shortcuts

Common mistakes

Practice MCQs

  1. Just before sunset, the shadow of an electric pole points straight towards Ayesha's house. In which direction is the house from the pole?
    A) East
    B) West
    C) North
    D) South
    Answer: A) East — Just before sunset the sun is in the west, so shadows fall towards the east. The shadow points at the house, so the house is east of the pole. West is where the sun is, and north or south would need a sideways shadow, which does not happen at sunset.
  2. At sunrise, Hamza stands facing his own shadow. Which direction is he facing?
    A) East
    B) North
    C) West
    D) South
    Answer: C) West — At sunrise the sun is in the east and shadows fall to the west. Facing his shadow means facing west. East is where the sun is, behind him; north and south would put the shadow at his side.
  3. Zara walks 12 km south and then 5 km east. What is the shortest distance between her and her starting point?
    A) 17 km
    B) 13 km
    C) 7 km
    D) 12 km
    Answer: B) 13 km — The two legs are at right angles, so the distance is √(12² + 5²) = √169 = 13 km. 17 km is the total walk, 7 km is the difference of the legs, and 12 km ignores the eastward leg.
  4. Just before sunset, Priya notices that her shadow falls exactly to her right. Which direction is she facing?
    A) South
    B) East
    C) West
    D) North
    Answer: D) North — Before sunset the shadow points east. If east is on her right, she is facing north (facing north, east is to the right). Facing south would put the shadow on her left, and facing east or west would put it in front or behind.
  5. Ali is facing north. He turns 90° clockwise, then 180° anticlockwise, and then 45° clockwise. Which direction is he facing now?
    A) North-east
    B) South-west
    C) West
    D) North-west
    Answer: D) North-west — Track the angle clockwise from north: 0 + 90 = 90 (east), 90 − 180 = −90 (west), −90 + 45 = −45, which is north-west. North-east comes from reversing the last turn, south-west from turning the wrong way at the end, and west stops before the final 45° turn.
  6. Ravi and Ali start from the same point. Ravi walks 8 km north and then 6 km east. Ali walks 8 km south and then 6 km west. How far apart are they now?
    A) 20 km
    B) 10 km
    C) 28 km
    D) 14 km
    Answer: A) 20 km — Ravi ends at 6 east, 8 north and Ali at 6 west, 8 south. The gap is 12 km east-west and 16 km north-south, so the distance is √(12² + 16²) = √400 = 20 km. 10 km is each person's distance from the start, 28 km is the sum of the gaps, and 14 km adds the legs of one walk.
  7. Bilal starts facing east and walks 10 m. He turns left and walks 3 m, turns left again and walks 16 m, then turns right and walks 5 m. How far is he from his starting point?
    A) 34 m
    B) 8 m
    C) 10 m
    D) 14 m
    Answer: C) 10 m — Using east and north as positive: after 10 m east he is at (10, 0); 3 m north gives (10, 3); 16 m west gives (−6, 3); 5 m north gives (−6, 8). Distance = √(6² + 8²) = 10 m. 34 m is the total path, 8 m is only the north part, and 14 m adds the two parts instead of using Pythagoras.
  8. In a puzzle, the directions are renamed: south-east is called north, and north-east is called west. All other directions are renamed in the same way, keeping the compass in order. What is west called?
    A) North-east
    B) South-east
    C) South
    D) North-west
    Answer: B) South-east — South-east becoming north is a turn of 135° anticlockwise for every name (check: north-east turned 135° anticlockwise is west, which matches). West turned 135° anticlockwise is south-east. North-east and north-west come from turning the wrong way, and south is only a 90° turn.
  9. Just after sunrise, Kabir is walking with his shadow directly behind him. He then turns 90° to his left. Where does his shadow fall now?
    A) To his left
    B) To his right
    C) In front of him
    D) Behind him
    Answer: A) To his left — After sunrise shadows point west. A shadow behind him means he faces east. Turning left, he faces north, and west is then on his left, so the shadow falls to his left. To his right would be east, in front would be north, and behind would be south, none of which is the shadow's direction.
  10. In a code, @ means north, # means east, % means south and ÷ means west. Meera walks 4 m ÷, then 9 m %, then 3 m ÷, and finally 2 m @. Where is she now with respect to her starting point?
    A) 7√2 m to the north-east
    B) 14 m to the south-west
    C) 7 m to the south
    D) 7√2 m to the south-west
    Answer: D) 7√2 m to the south-west — Decoding: 4 m west, 9 m south, 3 m west, 2 m north. Net: 7 m west and 7 m south, so she is √(7² + 7²) = 7√2 m south-west of the start. North-east is the direction of the start from her, 14 m adds the two parts, and 7 m south ignores the westward movement.
  11. Point J is 4 km north of point K. Point L is 9 km east of K. Point M is 1 km south of L, and point N is 4 km west of M. In which direction is J from N?
    A) North-east
    B) North-west
    C) South-east
    D) West
    Answer: B) North-west — Take K as (0, 0). Then J is (0, 4), L is (9, 0), M is (9, −1) and N is (5, −1). From N to J you go 5 km west and 5 km north, which is exactly north-west (5√2 km). North-east would need J to be east of N, south-east is the reverse direction, and west ignores the 5 km northward gap.
  12. At sunrise, Sana stands so that her shadow falls diagonally behind her and to her right, exactly halfway between her right side and her back. Which direction is she facing?
    A) North-east
    B) South-west
    C) South-east
    D) North-west
    Answer: C) South-east — At sunrise the shadow points west. Behind-right is 135° clockwise from the way she faces, so she faces 135° anticlockwise from west, which is south-east. Check: facing south-east, her right is south-west and her back is north-west, and halfway between them is west. The other directions put the shadow in front of her or on her left side.
  13. In a code, % means turn 90° left and @ means turn 90° right. Imran starts facing north and follows: walk 10 m, @, walk 6 m, @, walk 18 m, %, walk 2 m. Which way is he facing at the end, and in which direction is his starting point from him?
    A) Facing south; start is to his north-west
    B) Facing east; start is to his north-west
    C) Facing east; start is to his south-east
    D) Facing west; start is to his north-east
    Answer: B) Facing east; start is to his north-west — Facing north he walks 10 m to (0, 10); right to face east, 6 m to (6, 10); right to face south, 18 m to (6, −8); left to face east, 2 m to (8, −8). He faces east, and the start (0, 0) is 8 m west and 8 m north of him, so north-west. South-east is where he is from the start, not the reverse; facing south ignores the final left turn; facing west reverses it.
  14. Usman starts facing south and walks 12 km. He turns left and walks 8 km, turns right and walks 9 km, then turns left and walks 12 km. What is the shortest distance between Usman and his starting point?
    A) 29 km
    B) 41 km
    C) 21 km
    D) 25 km
    Answer: A) 29 km — Facing south, a left turn means east and a right turn from east means south. So he goes 12 south, 8 east, 9 south, 12 east: 21 km south and 20 km east in all. Distance = √(21² + 20²) = √841 = 29 km. 41 km is the total walk, 21 km is only the southward part, and 25 km comes from wrong sums of the legs.
  15. Just after sunrise, Gaurav walks 8 m straight towards his shadow. He turns right and walks 6 m, then turns right again and walks 16 m. How far is he from his starting point, and where does his shadow fall now?
    A) 10 m; the shadow is in front of him
    B) 14 m; the shadow is behind him
    C) 30 m; the shadow is to his left
    D) 10 m; the shadow is behind him
    Answer: D) 10 m; the shadow is behind him — Walking towards his shadow after sunrise means walking west: 8 m west. A right turn from west is north (6 m), and another right is east (16 m). Net position: 8 m east and 6 m north, so √(8² + 6²) = 10 m. He now faces east while the shadow points west, so it is behind him. In front would need him facing west, 14 m adds the parts, and 30 m is the total path.

Questions

Why do exams use sunrise and sunset for shadow questions?

At those times the sun is clearly in the east or the west, so the shadow direction is certain. At other times it depends on the season and place.

What if the final x and y are unequal?

The direction is then only roughly north-east, south-west and so on. Exams usually ask only for the distance in that case, or give options that differ clearly.

How do I handle turns given in degrees?

Measure clockwise from north, add clockwise turns, subtract anticlockwise turns, and reduce modulo 360. Then read the name from the 45° steps.