Consider a 2 5 × 2 5 grid of city streets. Let S be the points of intersection of the streets, and let P be the set of paths from the bottom left corner to the top right corner of which consist of only walking to the right and up. A point s is chosen uniformly at random from S and then a path p is chosen uniformly at random from P . Over all ( s , p ) pairs, the probability that the point s is contained in the path p can be expressed as b a where a and b are coprime positive integers. What is the value of a + b ?
Details and assumptions
There are 25 streets running in each direction, so S consists of 625 intersections.
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.
imagine that you have 25 x 25 grid. maybe too big.
imagine that you have 4 x 4 or 5 x 5 or anysize of grid you think easy, then give any color that match the condition above, just go up and to the right. then it must be has path like n + (n-1).
after you know the pattern, let's calculate the path P with that pattern n. it must 25 + (25-1) = 49.
now we know about every path P that we choose randomly, it absolutely has 49 grid points on total of 625 grid points.
then very clear for me that the probability must 49/625.
so, a/b = 49/625 then a + b = 49 + 625 = 674
as you know, I'm not good to write anything like this. and I write this one because it doesn't cost so much time.
and sorry, I don't know so much about math formula, so I often use logical and imagination to solve many problem.
We do have (the number of intersection points in ) / (the number of points in) which can be simply written as P / S There are 25 streets running in each direction, so we have S consists of 625 intersections. On the other hand, P contains other intersections, each one being either one step to the right or one step up from an adjacent intersection in P. There are 25 steps from the top to the bottom street , and 24 from the rightmost to the leftmost one ( or vice versa ) so P = 24 + 25 = 49
The probability is : P /S = a/b = 49/625 , so a+b= 674
To get from the bottom left corner to the top right corner, each path needs to consist of exactly 2 4 moves rightwards and exactly 2 4 moves upwards. This means each path passes through exactly 4 9 intersections. There are thus 4 9 ∣ P ∣ ( s , p ) pairs such that s is contained in p . (Here, ∣ P ∣ refers to the number of paths.) S contains 2 5 × 2 5 = 6 2 5 intersections, so there are 6 2 5 ∣ P ∣ ( s , p ) pairs. Since each pair will be chosen with uniform probability, then the probability that s is contained in p would be 6 2 5 ∣ P ∣ 4 9 ∣ P ∣ = 6 2 5 4 9 . Our answer is thus 6 7 4 .
As the assumption states, there are 2 5 ∗ 2 5 = 6 2 5 intersections in S . Notice that there are always a total of 2 5 + 2 4 = 4 9 intersections in any paths from the bottom left to the top right corner. ( 2 5 ups and 2 5 right minus 1 double counted intersection.)
By first randomly choose any paths in P with a probability of 1 , only 4 9 out of 6 2 5 intersections will be contained in that chosen path. Hence, the probability is just 6 2 5 4 9 and a + b = 6 7 4 .
The number of points in set S is 6 2 5 , and in each path that in the set P there are 2 5 × 2 − 1 = 4 9 points. So, the probability that the point s is contained in the path p is b a = 6 2 5 4 9 . Hence, a + b = 4 9 + 6 2 5 = 6 7 4
The question is equivalent to ask the probability that a given point from a set of 625 belongs to a path which crosses 49 points. Hence this probability is 49/625.
There are ( 2 4 4 8 ) elements in P , and 2 5 2 = 6 2 5 elements in S , for a total of 6 2 5 ⋅ ( 2 5 4 8 ) pairs ( s , p ) . To find the number of pairs ( s , p ) for which p contains s , note that each path contains exactly 49 intersection points, so there are 4 9 ⋅ ( 2 4 4 8 ) such pairs. So the probability is 6 2 5 ⋅ ( 2 4 4 8 ) 4 9 ⋅ ( 2 4 4 8 ) = 6 2 5 4 9 , and the answer is 4 9 + 6 2 5 = 6 7 4 .
all the paths will will include exactly one square of each diagonal lines going from top left to bottom right corners.
thus the sum of the paths passing through the points in a diagonal = total no of paths.
there will be 25 * 2-1 =49 such diagonals.
probability = (sum of number of paths through each point/total number of pats)/total no of paths.
=(49*total no. of paths/total no. of paths)/625.
=49/625.
thus answer = 49+625 = 674
To go from the bottom right to top left we need to take 49 steps (anyhow)
Total number of points is 625
Probablity is 49/625
Answer:: 674
Let's consider the 2 5 × 2 5 gird in the x y plane. Starting point has coordinate ( 0 , 0 ) while the ending point ( 2 5 , 2 5 ) . The number of all possible paths is
∣ P ∣ = ( 2 4 2 4 + 2 4 )
and all points on the grid are
∣ S ∣ = 2 5 2 .
Let's consider a generic point s = ( h , k ) , 0 ≤ h ≤ 2 4 , 0 ≤ k ≤ 2 4 . The number of paths P [ ( h , k ) ] passing through ( h , k ) is
∣ P ( s ) ∣ = ( h h + k ) ( 2 4 − h 2 4 − h + 2 4 − k ) .
So, the probability of ( s , p ( s ) ) is
P [ ( s , p ( s ) ) ] = [ 2 5 2 ( 2 4 4 8 ) ] − 1 h = 0 ∑ 2 4 k = 0 ∑ 2 4 ( h h + k ) ( 2 4 − h 2 4 − h + 2 4 − k ) = 6 2 5 4 9 = b a
Eventually
a + b = 6 7 4
I intentionally chose 25 so that the number is "too large" to compute by hand, which hopefully encourages thinking of it from another angle.
Check out the other solutions. They provide a "reinterpretation" of the problem statement which makes it much easier to arrive at the answer.
Log in to reply
Yes, I just had a look at those. I see that I've made it too complicated, I didn't notice at first that was way easier.
Log in to reply
That's the beauty of understanding the concepts, which opens up different ways for you to think about how to approach the problem. IE In this case, we could consider it as "find the exact number of paths and points", or we could consider it as "How can we group things so that the calculation is easier"?
As an example, try answering the question of "What is the average value of
(
x
+
y
)
for a randomly selected grid point on one of these
(
2
5
4
8
)
paths?"
Hint:
There is a one-line answer.
Log in to reply
@Calvin Lin – For a 3 × 3 grid, x + y is represented by ⎣ ⎡ 2 1 0 3 2 1 4 3 2 ⎦ ⎤ , so the average is 2 . For a 2 5 × 2 5 grid should be 2 4 . Is it correct?
The probability of choosing a point s at random from a 25 x 25 grid can be expressed as 1/625. The probability of choosing a path p at random from P can be expressed as 1/49. Dividing 1/625 by 1/49 shows the probability that the point we randomly chose from S is on the set of paths P. This leads to 49/625. a=49 b=625 a+b=674
let it be a N X N grid. clearly there are N^2 intersections. Now, in order to travel from the bottom left corner to the top right corner, we have to travel N-1 units to the right and N-1 units upwards. In moving one unit right or up , we gain one intersection. thus in the whole process, intersections covered = 2(N-1) +1(the bottom left corner from where we started). = 2N-1 thus probability = 2N-1/N^2 in this case, N=25. so probability = 49/625. 49+625=674.
For every path there are 49 points that lie in the path
Therefore probability=(49 * 50C25)/(625 * 50C25)=49/625
Problem Loading...
Note Loading...
Set Loading...
Let ∣ P ∣ denote the number of paths in P . Additionally, note that there are 2 5 × 2 5 = 6 2 5 total points. Thus, since any pair ( s , p ) is formed from an arbitrarily chosen s and arbitrarily chosen p , there are thus 6 2 5 × ∣ P ∣ total possible pairs.
To count the number of pairs ( s , p ) such that s ∈ p , first note that any path must pass through the same number of points ( 2 5 points up and 2 4 across or 2 4 points up and 2 5 across depending on interpretation), which can be seen to be 2 5 + 2 4 = 4 9 points. Thus, for any arbitrarily chosen p , there are 4 9 such s such that s ∈ p . So for any pair ( s , p ) where p is fixed, there are thus 4 9 pairs satisfying the condition. Since this applies for any p ∈ P , there are thus a total of 4 9 × ∣ P ∣ pairs satisfying the condition.
The probability of picking a pair satisfying the condition is thus 6 2 5 ∣ P ∣ 4 9 ∣ P ∣ = 6 2 5 4 9 So a = 4 9 , b = 6 2 5 and therefore the answer is a + b = 4 9 + 6 2 5 = 6 7 4 .