Question
Question: A person has to catch a train. To catch train, from his home he can take a taxi or take rickshaw or ...
A person has to catch a train. To catch train, from his home he can take a taxi or take rickshaw or walk by foot with respective probabilities 1/2, 1/3, 1/6 Probability of him catching train when he takes rickshaw from his home is half that of when the takes the taxi and probability of catching the train when he walked by foot is 1 th 4 that of when he takes rickshaw. He finally reached the train, the probability he walked by his foot to catch the train, is
1/33
Solution
Let X, R, and W be the events that the person takes a taxi, rickshaw, or walks by foot, respectively. Let T be the event that the person catches the train.
We are given the probabilities of choosing each mode of transport: P(X)=1/2 P(R)=1/3 P(W)=1/6
We are given relationships between the conditional probabilities of catching the train: P(T∣R)=21P(T∣X) P(T∣W)=41P(T∣R)
Let P(T∣X)=p. Then P(T∣R)=21p. And P(T∣W)=41(21p)=81p.
We need to find the probability that the person walked by foot given that he reached the train, which is P(W∣T). Using Bayes' theorem: P(W∣T)=P(T)P(T∣W)P(W)
First, we calculate the total probability of catching the train, P(T), using the law of total probability: P(T)=P(T∣X)P(X)+P(T∣R)P(R)+P(T∣W)P(W) Substitute the known values and the expressions in terms of p: P(T)=(p)(21)+(2p)(31)+(8p)(61) P(T)=2p+6p+48p
To sum these fractions, find a common denominator, which is 48: P(T)=2⋅24p⋅24+6⋅8p⋅8+48p P(T)=4824p+488p+48p P(T)=4824p+8p+p=4833p
Now, substitute the values into the Bayes' theorem formula for P(W∣T): P(W∣T)=P(T)P(T∣W)P(W) P(W∣T)=4833p(8p)(61) P(W∣T)=4833p48p
The term p cancels out (assuming p=0, which must be true since the person caught the train): P(W∣T)=33p/48p/48=48p×33p48=331
The probability that he walked by his foot to catch the train, given that he finally reached the train, is 1/33.