Sandbox:DavidKohler/Alon try 1/Rayleigh quotient

From UBC Wiki

Rayleigh quotients offer an efficient tool to estimate the first and second largest eigenvalues of a graph by choosing suitable functions on the vertices of the graph.

Definition

Let G be a graph and denote by AG its adjacency matrix. Let f be a real function on the vertices of the graph G, we define its Rayleigh quotient to be the real number RA(f) defined by:

with respect to the usual scalar product <f,g > of two functions f and g over the vertices VG of a graph G is defined by:

Properties

Denote by 1X the characteristic function of the set X of vertices of a graph G. Then the Rayleigh quotient of this characteristic function is twice the ratio of edges in the subgraph induced by the vertices in the set X to its number of vertices.

More generally, if X and Y are two subsets of vertices, then <A1X, 1Y is the sum of the number of edges in the subgraph induced by XY and the number of edges in the subgraph induced by XY.

Example