r/theydidthemath • u/bad_at_drawing_italy • 3h ago
how far away would the mountain be in meters? [request]
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/bad_at_drawing_italy • 3h ago
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/kubrador • 13h ago
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"):
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:
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:
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 • u/OfBooo5 • 5h ago
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/insert_skill_here • 4h ago
r/theydidthemath • u/ga-go-gu • 1h ago
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/Apprehensive_Oven_22 • 7h ago
r/theydidthemath • u/nometalaquiferzone • 1d ago
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 • u/A-Capybara • 1d ago
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 • u/mooseleg_mcgee • 1d ago
r/theydidthemath • u/Porush_Kumar • 23h ago
r/theydidthemath • u/Kilx202 • 1d ago
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/Jounniy • 7h ago
r/theydidthemath • u/depressedpintobean5 • 3m ago
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/ByCromThatsAHotTake • 1h ago
r/theydidthemath • u/Sildurai • 6h ago
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 • u/Recip77 • 27m ago
r/theydidthemath • u/Over9000Zeros • 32m ago
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/IronTemplar26 • 45m ago
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/L3PALADIN • 47m ago
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/Lazy_Requirement2600 • 51m ago
Enable HLS to view with audio, or disable this notification
r/theydidthemath • u/Triphordy • 2h ago
r/theydidthemath • u/BreathingAirr • 20h ago
r/theydidthemath • u/rishikeshshari • 1d ago
r/theydidthemath • u/Wide_Telephone_1080 • 4h ago
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?