P, Q, R and S are four towns. One can travel between P and Q along 3 direct paths, between Q and S along 4 direct paths, and between P and R along 4 direct paths. There is no direct path between P and S, while there are few direct paths between Q and R, and between R and S. One can travel from P to S either via Q, or via R, or via Q followed by R, respectively, in exactly 62 possible ways. One can also travel from Q to R either directly, or via P, or via S, in exactly 27 possible ways. Then, the number of direct paths between Q and R is
P, Q, R and S are four towns. One can travel between P and Q along 3 direct paths, between Q and S along 4 direct paths, and between P and R along 4 direct paths. There is no direct path between P and S, while there are few direct paths between Q and R, and between R and S. One can travel from P to S either via Q, or via R, or via Q followed by R, respectively, in exactly 62 possible ways. One can also travel from Q to R either directly, or via P, or via S, in exactly 27 possible ways. Then, the number of direct paths between Q and R is
Entered answer:
Solution
We have four towns: P, Q, R, and S. Some towns are connected by direct roads, and others require going through intermediate towns.
Given direct connections:
-
P to Q: 3 paths
-
Q to S: 4 paths
-
P to R: 4 paths
-
P to S: 0 paths (no direct connection)
-
Q to R: paths (unknown - this is what we need to find)
-
R to S: paths (unknown)
When traveling between towns with no direct path, we use the multiplication principle: if you can do one thing in ways and another thing in ways, then you can do both things in ways.
For example, if there are 3 ways to go from P to Q and 4 ways to go from Q to S, then there are ways to go from P to S via Q.
From P to S, we can travel in three different ways:
P → Q → S: ways
P → R → S: ways
P → Q → R → S: ways
For route 3, we need to choose one path from P to Q (3 choices), then one path from Q to R (p choices), then one path from R to S (q choices).
Total ways from P to S:
This gives us:
Factoring: ... (Equation 1)
From Q to R, we can travel in three different ways:
Q → R directly: ways
Q → P → R: ways
Q → S → R: ways
Total ways from Q to R:
This gives us: ... (Equation 2)
From Equation 1:
Since and must be positive integers (representing number of paths), we need to find factor pairs of 50.
Finding factors of 50:
The possible combinations are:
, → → (not an integer)
, → → ✓
, → → ✓
, → → (not an integer)
, → → (invalid)
, → → (invalid)
Option 1: ,
Checking Equation 2: ✓
Checking Equation 1: ✓
Option 2: ,
Checking Equation 2: ✗
Only and satisfy both conditions.
Therefore, the number of direct paths between Q and R is 7.
Related questions:
CAT 2022 Slot 2