Distance and Shortest Path Calculation After Multiple Directional Movements
Reasoning › Direction and Distance Sense Test · Topic 6.2
After several walks in the four directions, the shortest distance from the start to the end is the straight line between them. Add up the east-west walks and the north-south walks separately, with opposite directions cancelling, and then use the Pythagoras theorem: distance = square root of (horizontal total squared + vertical total squared). Common triples such as 3-4-5, 5-12-13, 8-15-17 and 7-24-25 give the answer without a calculator.
7 min read · Reasoning · Direction and Distance Sense Test
Quick Answer
After several walks in the four directions, the shortest distance from the start to the end is the straight line between them. Add up the east-west walks and the north-south walks separately, with opposite directions cancelling, and then use the Pythagoras theorem: distance = square root of (horizontal total squared + vertical total squared). Common triples such as 3-4-5, 5-12-13, 8-15-17 and 7-24-25 give the answer without a calculator.
At a Glance
- Step 1 Net east-west and net north-south
- Step 2 Square both totals and add
- Step 3 Take the square root
- Triples 3-4-5, 5-12-13, 8-15-17, 7-24-25
- Multiples 6-8-10, 9-12-15, 20-21-29 is its own triple
- Direction From the signs of the two totals
Where Does It Fit?
This is the second topic of the Direction and Distance macro. It builds on the walks and turns of Basic Direction Sense Problems (North, South, East, West Movement), and it is extended to diagonal walks in Direction Sense Problems Involving Diagonal Movement (Northeast, Southwest, etc.) and to time and speed in Direction Sense Combined with Speed-Time-Distance Calculations.
How Do You Find the Shortest Distance?
In short: find how far east or west and how far north or south the person has moved overall, and the shortest distance is the hypotenuse of the right triangle formed by those two numbers.
Procedure
- Net horizontal = total east walks minus total west walks.
- Net vertical = total north walks minus total south walks.
- Distance = square root of (net horizontal squared + net vertical squared).
- Direction = from the signs: positive vertical is North, negative is South, positive horizontal is East, negative is West.
Opposite walks cancel before you square, so never square each walk separately. For 10 km East, 2 km West, 9 km North and 3 km South, the net horizontal is 10 – 2 = 8 and the net vertical is 9 – 3 = 6. The distance is the square root of 64 + 36, which is 10 km, and the direction is North-East.
Which Right-Triangle Triples Should You Remember?
In short: five triples and their multiples solve almost every exam question without a calculator.
| Horizontal | Vertical | Distance | Multiples |
|---|---|---|---|
| 3 | 4 | 5 | 6-8-10, 9-12-15, 12-16-20 |
| 5 | 12 | 13 | 10-24-26 |
| 8 | 15 | 17 | 16-30-34 |
| 7 | 24 | 25 | 14-48-50 |
| 20 | 21 | 29 | none common |
If the numbers are not a triple, leave the answer in surd form, such as the square root of 2 km for 1 km East and 1 km North, which is about 1.41 km. Quote the surd form unless the options give decimals.
- Order does not matter: 3 East and 4 North is the same distance as 4 East and 3 North.
- Total vs shortest: the total distance walked is the sum of all walks, while the shortest distance is the straight line. For 9 km South and 12 km West the total is 21 km and the shortest is 15 km.
How Do You Find the Distance Between Two Moving People?
In short: if two people start from the same point and walk at right angles, the distance between them is the hypotenuse of the triangle formed by their two paths.
- Perpendicular paths: A walks 8 km North and B walks 15 km East from the same point. The distance between them is the square root of 64 + 225, which is 17 km.
- Opposite paths: if they go in opposite directions, add the two distances.
- Same direction: if they go the same way, subtract.
- Final direction: state the direction of one person from the other by comparing the positions, not the start.
When walks involve speed and time, first find each distance as in Direction Sense Combined with Speed-Time-Distance Calculations. The idea of cancelling equal opposite walks is also explained in Basic Direction Sense Problems (North, South, East, West Movement).
Solved Examples
Example 1
Question: A man walks 3 km North and then 4 km East. How far is he from the starting point?
- The vertical total is 3 and the horizontal total is 4.
- Distance = square root of (9 + 16) = square root of 25.
Answer: 5 km.
Example 2
Question: A man walks 10 km East, 2 km West, 9 km North and 3 km South. Find the shortest distance and direction from the start.
- Net horizontal = 10 – 2 = 8 East.
- Net vertical = 9 – 3 = 6 North.
- Distance = square root of (64 + 36) = 10.
Answer: 10 km, to the North-East.
Example 3
Question: A man walks 9 km South and then 12 km West. Find the total distance walked and the shortest distance from the start.
- Total distance walked = 9 + 12 = 21 km.
- Shortest distance = square root of (81 + 144) = square root of 225 = 15 km.
- He is to the South-West of the start.
Answer: Total walked 21 km; shortest distance 15 km to the South-West.
Example 4
Question: A walks 8 km North and B walks 15 km East from the same point. How far apart are they?
- Their paths are at right angles.
- Distance = square root of (64 + 225) = square root of 289.
Answer: 17 km.
Example 5
Question: A man walks 10 km North, 7 km East and 14 km North. How far is he from the start?
- Net vertical = 10 + 14 = 24 North.
- Net horizontal = 7 East.
- Distance = square root of (49 + 576) = square root of 625.
Answer: 25 km.
Shortcuts and Tricks
- Recognise triples before using any formula.
- Cancel opposite walks first, then square.
- Use multiples of a triple, such as 6-8-10 from 3-4-5.
- Sketch the walk and join the start and end with a straight line.
- Quote the unit with the answer.
Common Mistakes
- Squaring each walk instead of the net totals.
- Forgetting to cancel opposite walks.
- Adding the walks and calling it the shortest distance.
- Giving the wrong direction from the signs of the totals.
- Using a triple with the wrong hypotenuse.
Practice Questions
- A man walks 6 km West and then 8 km North. How far is he from the start?
- A man walks 15 km East and then 8 km South. How far is he from the start?
- A man walks 24 km North and 7 km West. How far is he from the start?
- A man walks 5 km North, 2 km East, 7 km North and 3 km East. How far is he from the start?
- A man walks 9 km South and then 12 km East. What is the total distance walked and the shortest distance?
- A man walks 20 km West and then 21 km North. How far is he from the start?
Answers: 1) 10 km; 2) 17 km; 3) 25 km; 4) 13 km; 5) 21 km and 15 km; 6) 29 km.
Why Is This Topic Important?
- Core skill Most distance questions use the Pythagoras theorem.
- Speed Triples avoid square roots.
- Exam use Questions appear in every reasoning paper.
- Link It prepares you for diagonal walks in Direction Sense Problems Involving Diagonal Movement (Northeast, Southwest, etc.).
What Comes Next?
The next topic is Direction Sense Combined with Blood Relations or Coding. It mixes direction with blood relations or coding.
Key Terms and Formulas
- Net displacement Straight-line change from start to end
- Hypotenuse The longest side of a right triangle
- Pythagoras theorem Hypotenuse squared = sum of squares of the other sides
- Triple Whole numbers that fit the theorem
- Total distance Sum of all walks
- Shortest distance Straight-line distance
Related Topics
- Basic Direction Sense Problems (North, South, East, West Movement)
- Direction Sense Combined with Blood Relations or Coding
- Problems Involving Shadow Direction Based on Time of Day
- Direction Sense Problems Involving Clockwise and Anticlockwise Turns
Related Topics in Maarg Manthan
Study this topic together with these linked topics from other subjects.
- Distance Formula and Section Formula (Quantitative Aptitude)
Exam Corner
Points to Remember
- Cancel opposite walks first.
- Distance = square root of (a squared + b squared).
- Remember 3-4-5, 5-12-13, 8-15-17, 7-24-25.
- Total walked is not the shortest distance.
- Direction comes from the signs of the totals.
Do Not Confuse With
- Total distance vs shortest distance Total is the sum of walks; shortest is the straight line.
- Net vs gross Net cancels opposite walks.
- Hypotenuse vs side The distance is the hypotenuse.
- Same direction vs opposite direction Subtract in the same direction, add in opposite directions for the distance between two people.
Memory Hook
Cancel, square, add, root.
GS Relevance
Frequently Asked Questions
How do you find the shortest distance after several walks?
Find the net east-west distance and the net north-south distance by cancelling opposite walks. Then apply the Pythagoras theorem: the shortest distance is the square root of the sum of the squares of the two net distances. The signs of the totals give the direction from the start.
What are the Pythagorean triples used in direction questions?
The most useful triples are 3-4-5, 5-12-13, 8-15-17 and 7-24-25, together with their multiples such as 6-8-10 and 9-12-15. If the two net distances match a triple, the shortest distance is the third number and no square root needs to be calculated.
What is the difference between total distance and shortest distance?
The total distance is the sum of every walk, as measured along the path. The shortest distance is the straight line from the start to the end. For 9 km South and 12 km West, the total is 21 km and the shortest distance is 15 km.
How do you find the distance between two persons walking at right angles?
If both start at the same point and walk at right angles, treat their two distances as the sides of a right triangle. The distance between them is the hypotenuse. For 8 km North and 15 km East, the distance between them is 17 km.
Do opposite walks cancel in distance questions?
Yes. Walks in opposite directions cancel before the Pythagoras theorem is applied. For example, 10 km East followed by 2 km West leaves 8 km East. Squaring each walk separately without cancelling gives a wrong answer, so always find the net totals first.
PYQ Practice — Statement Analysis
1 The shortest distance after walking 3 km North and 4 km East is 5 km.
The square root of 9 + 16 is 5.
2 The total distance walked and the shortest distance from the start are always equal.
They are equal only if the walk is along a straight line.
3 Opposite walks are cancelled before using the Pythagoras theorem.
Only the net totals form the sides of the right triangle.
4 A man walks 9 km South and 12 km West. His shortest distance from the start is 21 km.
21 km is the total walked; the shortest distance is 15 km.
Related Topics
Browse the full Reasoning index