Given:
Direct paths:
\(PQ = 3\)
\(QS = 4\)
\(PR = 4\)
Let the unknown direct paths be:
\(QR = x\)
\(RS = y\)
Travel from P to S:
- \(P \to Q \to S\)
Ways \(= 3 \times 4 = 12\)
- \(P \to R \to S\)
Ways \(= 4y\)
- \(P \to Q \to R \to S\)
Ways \(= 3xy\)
Total ways \(= 62\)
\(12 + 4y + 3xy = 62\)
\(\Rightarrow 4y + 3xy = 50\)
\(\Rightarrow y(4 + 3x) = 50\)
Travel from Q to R:
- Direct path
Ways \(= x\)
- \(Q \to P \to R\)
Ways \(= 3 \times 4 = 12\)
- \(Q \to S \to R\)
Ways \(= 4y\)
Total ways \(= 27\)
\(x + 12 + 4y = 27\)
\(\Rightarrow x + 4y = 15\)
From
\(x + 4y = 15\)
\(\Rightarrow 4y = 15 - x\)
\(\Rightarrow y = \frac{15-x}{4}\)
Substitute into
\(y(4 + 3x) = 50\)
\(\left(\frac{15-x}{4}\right)(4 + 3x) = 50\)
\(\Rightarrow (15-x)(4 + 3x) = 200\)
\(\Rightarrow 60 + 45x - 4x - 3x^2 = 200\)
\(\Rightarrow 3x^2 - 41x + 140 = 0\)
Solving,
\(x = \frac{41 \pm \sqrt{1681 - 1680}}{6}\)
\(\Rightarrow x = \frac{41 \pm 1}{6}\)
\(\Rightarrow x = \frac{42}{6} = 7\)
or
\(\Rightarrow x = \frac{40}{6} = 6.66\)
Since the number of paths must be an integer,
\(x = 7\)
Then
\(4y = 15 - 7 = 8\)
\(\Rightarrow y = 2\)
Therefore, the number of direct paths between Q and R is:
Final Answer: 7