Expectation of Friends Count in Square Grid
Consider the square in the figure. Let be the points of intersections (dots in the picture) in some order. We say that and are friends if they are adjacent along a row or along a column. Assume that each point has an equal chance of being chosen.
Let be the probability that a randomly chosen point has many friends, . Let be a random variable such that for , the probability . Then the value of is

Topics & Concepts
Step-by-Step Solution
To find the value of , we analyze the grid of intersection points.
1. Understanding the Grid Structure
The given square grid contains horizontal lines and vertical lines. The total number of intersection points (vertices) is:
Two points and are "friends" if they are adjacent vertically or horizontally. Thus, the number of friends of a point corresponds to its degree in the grid graph.
2. Counting Points by Degree (Number of Friends)
The points can be categorized based on their position in the grid:
-
Corner Points ( friends):
- There are corners.
- Each corner point is connected to adjacent points (one vertically, one horizontally).
- Number of points with friends = .
-
Boundary Non-Corner Points ( friends):
- Each of the outer sides has non-corner points.
- Total boundary non-corner points = .
- Each such point is connected to adjacent points.
- Number of points with friends = .
-
Interior Points ( friends):
- The interior forms a sub-grid.
- Total interior points = .
- Each interior point is connected to adjacent points (left, right, up, down).
- Number of points with friends = .
-
Points with or friends:
- There are no isolated or end-degree points in the grid.
- Number of points with or friends = .
3. Probability Distribution and Expectation Calculation
The probability for each is given by:
The expected value of the random variable is:
4. Alternative Method (Sum of Degrees)
Alternatively, by graph theory (Handshaking Lemma):
- Total horizontal edges =
- Total vertical edges =
- Total edges
The sum of degrees of all 49 points is .
Thus, the average degree (expected value ) is:
Conclusion
We need to find the value of :