Question:

There are three cities A, B and C. Each of these cities is connected with the other two cities by at least one direct road. If a traveller wants to go from one city (origin) to another city (destination), she can do so either by traversing a road connecting the two cities directly, or by traversing two roads, the first connecting the origin to the third city and the second connecting the third city to the destination. In all there are 33 routes from A to B (including those via C). Similarly there are 23 routes from B to C (including those via A). How many roads are there from A to C directly?

Show Hint

Let the numbers of direct roads be x (A-B), y (B-C), z (A-C). Count routes as direct plus via the third city.
Updated On: Nov 4, 2026
  • 5
  • 3
  • 6
  • 10
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Set up the equations:
Let x, y, z be the numbers of direct roads between A-B, B-C, A-C. Routes from A to B: the x direct roads plus the routes via C, which is \(z \times y\). So \(x + yz = 33\). Routes from B to C: the y direct roads plus the routes via A, which is \(x \times z\). So \(y + xz = 23\).

Step 2: Subtract:
\((x + yz) - (y + xz) = 10\), so \((x - y)(1 - z) = 10\), i.e. \((y - x)(z - 1) = 10\). So \(z - 1\) divides 10 and z is one of 2, 3, 6, 11.

Step 3: Test each:
z = 2: \(y - x = 10\), \(x + 2(x + 10) = 33\), \(3x = 13\), no. z = 3: \(y - x = 5\), \(4x + 15 = 33\), \(x = 4.5\), no. z = 6: \(y - x = 2\), \(x + 6(x + 2) = 33\), \(7x = 21\), \(x = 3\), \(y = 5\). Yes. z = 11: \(y - x = 1\), \(12x + 11 = 33\), no.

Step 4: Verify:
\(3 + 5 \times 6 = 33\) and \(5 + 3 \times 6 = 23\). So there are 6 direct roads from A to C.

Final Answer:
The correct option is (3): 6
Was this answer helpful?
0
0

Top CAT Quantitative Aptitude Questions

View More Questions

Top CAT Questions

View More Questions