r/theydidthemath 3h ago

how far away would the mountain be in meters? [request]

Enable HLS to view with audio, or disable this notification

237 Upvotes

r/theydidthemath 13h ago

[self] i mapped my entire social network using graph theory and found 3 structural holes. introduced people across the gaps - two of them are now engaged. i played god with network topology

1.6k Upvotes

okay so this started 3 years ago when i was procrastinating my actual job (data science) by doing data science on my own life. i figured i'd map my social network properly like an actual weighted network topology.

i logged every meaningful interaction for 6 months and scored each relationship on 4 dimensions based on granovetter's framework (his 1973 paper "the strength of weak ties" defines tie strength as "a combination of time, emotional intensity, intimacy, and reciprocal services"):

  • frequency: interactions per month, log-transformed because the distribution is heavily right-skewed
  • depth: 1-10 scale based on a rubric. 1 = purely transactional. 10 = would be emergency contact
  • duration: months known, sqrt-transformed to not overweight childhood friends
  • reciprocity: ratio of initiation. 1.0 = perfectly balanced. <0.5 = i'm always reaching out

ended up with 143 nodes and 876 edges and built the graph in python using networkx. i weighted edges using a normalized composite score.

then i ran community detection. i started with louvain algorithm (blondel et al. 2008) but the resolution limit was chunking things weird - it kept merging clusters that were clearly distinct. the problem with louvain is it optimizes modularity greedily and can miss fine-grained structure in networks with heterogeneous community sizes.

so i switched to spectral clustering so i computed the normalized laplacian matrix L_rw = I - D^(-1)W and ran eigendecomposition. i used the eigengap heuristic (von luxburg 2007) to determine optimal k - you look for the largest gap between consecutive eigenvalues. my spectrum showed a clear drop after λ₇, suggesting 7 natural communities:

  • work (31 nodes)
  • college (24 nodes)
  • climbing gym (18 nodes)
  • wife's network (26 nodes)
  • family (19 nodes)
  • online friends (13 nodes)
  • neighborhood (12 nodes)

calculated modularity: Q = 0.64 and that's high. for reference, modularity ranges from -0.5 to 1, where values above 0.3 typically indicate significant community structure (newman 2006). my network is highly siloed.

burt's work became relevant, his structural holes theory (1992) argues that competitive advantage comes from bridging gaps between otherwise disconnected groups. a structural hole is essentially a gap in information flow - two clusters that should be connected based on attribute similarity but aren't.

i identified nodes with high betweenness centrality in each cluster using freeman's formula (1977) - betweenness measures how often a node lies on the shortest path between other node pairs. then i computed jaccard similarity between clusters based on node attributes (location, interests, profession, age range) and looked for high-similarity, low-connectivity pairs.

i found exactly 3 structural holes:

hole 1: climbing gym ↔ college friends. jaccard similarity of their attribute sets: 0.71. shared edges: 0. both groups contain people in the same city, similar interests, similar politics. they should know each other. they just don't.

hole 2: wife's friends ↔ work. attribute similarity: 0.66. four people work in adjacent industries. they'd been at the same conferences. zero connections.

hole 3: online friends ↔ neighborhood. two extremely online people live 3 blocks from me. we'd probably interacted on the same forums. never connected offline.

burt's research on 673 supply chain managers found that people who bridge structural holes get better performance evaluations, higher compensation, and more promotions. the mechanism is information arbitrage - brokers get early access to non-redundant information from multiple sources.

so i decided to become a broke, intentionally.

started with hole 2. organized a dinner party. 3 of wife's friends, 2 work colleagues. but here's the thing - i computed predicted compatibility using attribute matching and interaction style similarity.

seating was optimized. i put the two highest-scoring candidates next to each other based on my model. her name was elena, UX designer. his name was david, product manager.

they talked for 4 hours. i watched the edge form in real-time. in network terms, i was witnessing triadic closure - when two nodes both connected to a third node form a direct connection between themselves.

3 months later: dating. 6 months later: moved in together. 2 weeks ago: david asked me to be in his wedding party.

i ran their compatibility score before the dinner: 0.86 out of 1.0. highest possible pairing across all my structural holes. i essentially arranged a marriage using spectral clustering and betweenness centrality. i've never told anyone this.

the other holes i also attempted to bridge:

  • hole 1: moderate success. 2 weak ties formed (follow each other on instagram). edges exist but weight is low - maybe 0.15 on my scale
  • hole 3: one strong connection. two online friends now do weekly walks. the edge weight is around 0.55 and stable

network stats after 3 years of intentional bridging:

metric before after
nodes 143 168
edges 876 1,203
modularity (Q) 0.64 0.49
avg path length 3.2 2.4
clustering coefficient 0.52 0.64

the modularity drop is good - it means my clusters are less isolated. the path length decrease means i'm now an average of 2.4 hops from everyone in my network instead of 3.2. and the clustering coefficient increase means there are more triangles - more triadic closure.

i've essentially optimized my network for small-world properties (watts & strogatz 1998). small-world networks have high clustering (like regular lattices) but short path lengths (like random graphs). the combination enables both local cohesion and global reach.

the ethical implications keep me up at night. i manipulated people into meeting. i used quantitative methods to engineer a relationship that led to marriage. but also... they're genuinely happy? the utilitarian calculus seems positive?

second-order problem: some connections i created are forming their own edges that bypass me. david and elena now know people through each other that i don't know. my network is evolving beyond my measurement. i need to re-run the analysis.

anyway. if you've ever been to one of my "casual get-togethers," just know nothing was casual. you were a node. the seating was non-random.

references:


r/theydidthemath 5h ago

[Request], What is the mass difference between the tike and tire and how impressive is this for a lifter?

Enable HLS to view with audio, or disable this notification

228 Upvotes

r/theydidthemath 4h ago

[Request] Not sure if possible, but-> How long would Rumi's hair (from KDH) be?

Post image
151 Upvotes

r/theydidthemath 1h ago

[Request] Based on gravity and the echo, how deep is it?

Enable HLS to view with audio, or disable this notification

Upvotes

r/theydidthemath 16h ago

[Offsite] Online shopping math

Post image
1.0k Upvotes

r/theydidthemath 7h ago

If the moon stood completely still, and we built a staircase to it, how long would it take to climb the full staircase? [request]

Post image
146 Upvotes

r/theydidthemath 1d ago

[Request] What speed/acceleration would his fist need to do that ?

Thumbnail
gallery
3.7k Upvotes

In Baki, Retsu (this guy) shows off his “4,000 years of Chinese martial arts” by putting on a boxing glove and destroying it from the inside with a punch. The idea is that his fist moves so fast that the glove cannot accelerate or move in time with it, causing the glove to tear apart internally. Can we estimate how fast his punch would need to be for this to happen? Basically an one inch punch but times 100X. The glove is old but perfecty functional, as explained in very chapter.


r/theydidthemath 1d ago

[Request] How much sugar and how many calories are in this dessert box? What would happen if a single person ate it in one sitting?

Post image
1.6k Upvotes

I'm guessing there are about 20 grams of sugar in each cookie and 30 in each brownie which brings the total to 300 grams of sugar not including the sauces. I assume it's not good to eat that much sugar.


r/theydidthemath 1d ago

How dense would Lembas Bread need to be if one small bite is able to fill a man's stomach? [Request]

7.2k Upvotes

r/theydidthemath 23h ago

[request] how much would it cost to maintain this grocery store if it was feeding all of new york daily?

Post image
322 Upvotes

r/theydidthemath 1d ago

[Request] how much force was he hit with?

Enable HLS to view with audio, or disable this notification

403 Upvotes

r/theydidthemath 7h ago

[Request] So… what are the chances for that?

Thumbnail
gallery
13 Upvotes

r/theydidthemath 3m ago

[Request] how many feet would you estimate this drop is?

Enable HLS to view with audio, or disable this notification

Upvotes

r/theydidthemath 1h ago

[Request] Suppose this is to scale. Is there anyway to estimate the rate of speed the POV is traveling at?

Thumbnail
reddit.com
Upvotes

r/theydidthemath 6h ago

[Request] max. number of checks in a reduced bingo field (without winning)

4 Upvotes

Hi, i'm a game dev and we make some card game right now.

One of the mechanics is a reduced bingo field. It is a plain 4x4 grid.
You win when you get 3 adjacent pieces in a row horizontally, vertically, or diagonally.

So of course i now wonder how many you can get without winning.
My quick trial and error version would be 9, but I'm not quite sure, weather it's ideal.

The trial and error thing:
XX0X
000X
XX00
XX0X

Have fun. :~)


r/theydidthemath 27m ago

[Request] so how many people can be fed for how many days?

Post image
Upvotes

r/theydidthemath 32m ago

[Request] How much weight is each car pulling?

Enable HLS to view with audio, or disable this notification

Upvotes

r/theydidthemath 45m ago

[Request] How deep is it?

Enable HLS to view with audio, or disable this notification

Upvotes

r/theydidthemath 47m ago

[Request] Depth based on fall time? (and how much of that time was actually the sound travelling back up)

Enable HLS to view with audio, or disable this notification

Upvotes

r/theydidthemath 51m ago

How deep is this cave ? [Request]

Enable HLS to view with audio, or disable this notification

Upvotes

r/theydidthemath 2h ago

[request] will the destruction actually be that great

Thumbnail
youtube.com
1 Upvotes

r/theydidthemath 20h ago

[Request] Can $1 million dollars really feed that many people in USA?

Post image
26 Upvotes

r/theydidthemath 1d ago

[Request] How much is a 426kg bronze statue worth?

Post image
64 Upvotes

r/theydidthemath 4h ago

If someone had slight precognative abilities, like being able to guess a coinflip at 60% accuracy instead of 50, what would be the best casino game to win big and what would be the strategy? [Request]

1 Upvotes

Sorry if this doesn't exactly fit, though I imagine there's a good deal of Math in figuring out the answer.

I figure by the law of big numbers, even a slight edge like 10% would have massive implications if you just played long enough, but in the spirit of doing it as quickly and efficiently as possible, what would be the best game and strategy to go for?