image.png

Centrality is a key concept in network theory and graph analysis, used to measure the importance or influence of a node (or vertex) in a network. There are several types of centrality, each with a different way of determining what makes a node "central" or important:

Degree Centrality: How many immediate neighbors a node has

This measures the number of direct connections a node has. The more connections, the more "central" or important the node is in the network. It’s calculated as:

$$ \text{Degree Centrality} = \frac{\text{Number of connections}}{\text{Total nodes} - 1} $$

Betweenness Centrality: Finding nodes that act as "bridges" in a network

where is the total number of shortest paths from node to node , and is the number of those paths that pass through node .

$$
\\text{Betweenness Centrality} = \\sum \\frac{\\sigma(s, t|v)}{\\sigma(s,t)}

$$

where

$σ(s,t∣v)$ is the number of those paths that pass through node $v$

$σ(s,t)$ is the total number of shortest paths from node  to node $t$,

Closeness Centrality: how quickly information can spread from a node

Eigenvector Centrality:

PageRank: