# k-Core Decomposition

> Source: https://modeladay.com/models/k-core-decomposition/
> Category: principle | Topics: systems, science | Difficulty: 3/5

## Definition

The k-core is the largest induced subgraph in which every node still has at least k neighbors. Increasing k reveals which nodes remain in more demanding layers.

## Core Rule

The k-core is the largest induced subgraph in which every node still has at least k neighbors. Increasing k reveals which nodes remain in more demanding layers.

## Opening Context

In the early seventies, a dispute broke up a university karate club in the United States. Some members went with the instructor. Others sided with the people who ran the club.

An anthropologist named Wayne Zachary drew a map of who spent time with whom. Take one member on that map. He had five contacts at the start, yet he disappeared a few rounds into a simple count.

K-Core Decomposition keeps taking out people who have too few neighbors left. Let's follow that one member through the count. Then we'll see what the people still on the map can tell us.

## How It Works (Preview)

Start with the map Zachary left us. He recorded ties among thirty-four members and used information flow to study how people picked sides. We're going to use his map to ask a different question.

Draw a line between two members who spent time together outside of class. However many places those two people met, we count the line once. Set the cutoff at four, so everyone who stays needs four neighbors who also stay.

## When It Fails (Preview)

Ten people left sounds like a definite answer. Before you decide what those people have in common, look at how the lines got onto the map. A different kind of connection can give you a different group.

## Full Lesson, Audio & Practice

Get the full k-Core Decomposition breakdown, 5-minute audio lesson, interactive mechanism animation, and decision checklist in the ConceptFlow app:
- iOS App Store: https://apps.apple.com/app/conceptflow-mental-models/id6756862333
- Google Play: https://play.google.com/store/apps/details?id=com.juxianyp.conceptflow
- Web page: https://modeladay.com/models/k-core-decomposition/

## Related Mental Models

- [Assortative Mixing in Networks](https://modeladay.com/models/assortative-mixing-in-networks/)
- [Cascade](https://modeladay.com/models/cascade/)
- [Scale-free network](https://modeladay.com/models/scale-free-network/)
