randomly picked cars are lined up in front of you with their number plates covered, I ask you to pick a random number from to , upon picking the number, I reveal all of the car plates. What is the probability the number you chose was present as the last four digits of atleast one car
Give the answer upto three decimal places. The answer lies between 0 and 1
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let’s say none of the cars had the same last four digits as you chose it, then the probability of that happening is
Probability it’s not the first car × Probability it’s not the second car × Probability it’s not the third car … Probability it’s not the 10000 car
All of these probabilities are equal to 1 0 0 0 0 9 9 9 9 = 0 . 9 9 9 9
So the probability none of the cars have the last four digits as you chose is 0 . 9 9 9 9 1 0 0 0 0
And the probability P atleast one of the cars has the same last four digits as you chose is 1 − 0 . 9 9 9 9 1 0 0 0 0 (You can put this in a calculator and find the answer at this point itself)
According to the question, we are allowed to take 1 0 0 0 0 ≈ ∞
So let’s make x = 1 0 0 0 0 ≈ ∞
Rewriting P in terms of x
We get P = 1 − ( 1 − x x − 1 ) x = 1 − ( 1 − x 1 ) x
Now letting x tend to ∞
P = 1 − x ➝ ∞ lim ( 1 − x 1 ) x
Rearranging and taking the natural logarithm on both sides we get :
ln ( 1 − P ) = x ➝ ∞ lim x ln ( 1 − x 1 )
ln ( 1 − P ) = x ➝ ∞ lim x 1 ln ( 1 − x 1 )
Setting y = x 1
ln ( 1 − P ) = y ➝ 0 lim y ln ( 1 − y )
Using L'Hôpital's rule or the series expansion of the natural logarithm
ln ( 1 − P ) = − 1 1 − P = e 1 P = 1 − e 1 = 0 . 6 3 2 …