Suppose that a robot is placed on the Cartesian plane. At each step it is allowed to move either one unit up or one unit right, i.e., if it is at then it can move to either or .
Suppose that the robot is not allowed to traverse the line segment from to . With this constraint, how many distinct paths are there for the robot to reach starting from ?
View worked solution
Answer: D
To find the number of distinct paths from to that do not traverse the line segment from to , we can use the principle of subtraction:
Step 1: Total paths from to
To reach from , the robot must take exactly Right (R) steps and Up (U) steps, making a total of steps.
The number of ways to arrange these steps is:
Step 2: Paths traversing the forbidden segment from to
Any path that traverses this specific segment must be broken down into three consecutive parts:
- Path from to : Requires Right steps and Up steps (total steps).
- Step from to : This is exactly fixed Right step.
- Path from to : Requires Right steps and Up steps (total steps).
By the product rule, the number of paths traversing the forbidden segment is:
Step 3: Allowed paths
Subtracting the forbidden paths from the total paths gives:
Thus, the correct option is D.
Free practice · Your answers on this page are not saved.
