<h3>3 <span class="Heading">Spectra of graphs</span></h3>
<p>In this chapter we give methods for investigating the eigenvalues of a graph.</p>
<p>Let <span class="SimpleMath">\(\Gamma\)</span> be a graph of order <span class="SimpleMath">\(v\)</span>. The <em>adjacency matrix</em> of <span class="SimpleMath">\(\Gamma\)</span>, <span class="SimpleMath">\(A(\Gamma)\)</span>, is the <span class="SimpleMath">\(v\times v\)</span> matrix indexed by <span class="SimpleMath">\(V(\Gamma)\)</span> such that <span class="SimpleMath">\(A(\Gamma)_{xy}=1\)</span> if <span class="SimpleMath">\(xy\in E(\Gamma)\)</span>, and <span class="SimpleMath">\(A(\Gamma)_{xy}=0\)</span> otherwise.</p>
<p>The <em>spectrum</em> of <span class="SimpleMath">\(\Gamma\)</span>, <span class="SimpleMath">\(Spec(\Gamma)\)</span>, is the multiset of eigenvalues of its adjacency matrix, and an <em>eigenvalue of </em><span class="SimpleMath">\(\Gamma\)</span> is a member of <span class="SimpleMath">\(Spec(\Gamma)\)</span>. The <em>multiplicity</em> of an eigenvalue <span class="SimpleMath">\(\alpha\)</span> of <span class="SimpleMath">\(\Gamma\)</span> is the number of times <span class="SimpleMath">\(\alpha\)</span> appears in <span class="SimpleMath">\(Spec(\Gamma)\)</span>. For information on most of the objects and results discussed in this chapter, see <a href="chapBib_mj.html#biBBH_2011">[BH11]</a>.</p>
<h4>3.1 <span class="Heading">Eigenvalues of regular graphs</span></h4>
<p>In this section, we introduce methods for investigating eigenvalues of regular graphs. The input for these methods will be a specific graph or the parameters of a graph.</p>
<p>Let <span class="SimpleMath">\(\Gamma\)</span> be a regular graph with parameters <span class="SimpleMath">\((v,k)\)</span>. Then <span class="SimpleMath">\(\Gamma\)</span> has largest eigenvalue <span class="SimpleMath">\(k\)</span> (see <a href="chapBib_mj.html#biBBH_2011">[BH11]</a>). Therefore we do not implement a "LargestEigenvalue" function for regular graphs.</p>
<p>Let <span class="SimpleMath">\(\Gamma\)</span> be a strongly regular graph with parameters <span class="SimpleMath">\((v,k,a,b)\)</span>. The eigenvalues of <span class="SimpleMath">\(\Gamma\)</span> and their corresponding multiplicities are uniquely determined by the parameters <span class="SimpleMath">\((v,k,a,b)\)</span> (see <a href="chapBib_mj.html#biBBH_2011">[BH11]</a>). Using this knowledge, we provide methods which take as input feasible strongly regular graph parameters <span class="SimpleMath">\((v,k,a,b)\)</span>. We also give methods which return an exact representation of the eigenvalues of a strongly regular graph with parameters <span class="SimpleMath">\((v,k,a,b)\)</span>, and their multiplicities.</p>
<p>Given a graph <var class="Arg">gamma</var> and rational number <var class="Arg">eps</var>, this function returns an interval containing the least eigenvalue of <var class="Arg">gamma</var>.</p>
<p>Given feasible strongly regular graph parameters <var class="Arg">parms</var> and rational number <var class="Arg">eps</var>, this function returns an interval containing the least eigenvalue of a strongly regular graph with parameters <var class="Arg">parms</var>.</p>
<p>The interval returned is in the form of a list, <var class="Arg">[y,z]</var> of rationals <span class="SimpleMath">\(\textit{y}\leq \textit{z}\)</span> with the property that <span class="SimpleMath">\(\textit{z}-\textit{y}\leq \textit{eps}\)</span>. If the eigenvalue is rational this function will return a list <var class="Arg">[y,z]</var>, where <span class="SimpleMath">\(\textit{y}=\textit{z}\)</span>.</p>
<p>Given a regular graph <var class="Arg">gamma</var> and rational number <var class="Arg">eps</var>, this function returns an interval containing the second largest eigenvalue of <var class="Arg">gamma</var>.</p>
<p>Given feasible strongly regular graph parameters <var class="Arg">parms</var> and rational number <var class="Arg">eps</var>, this function returns an interval containing the second largest eigenvalue of a strongly regular graph with parameters <var class="Arg">parms</var>.</p>
<p>The interval returned is in the form of a list, <var class="Arg">[y,z]</var> of rationals <span class="SimpleMath">\(\textit{y}\leq \textit{z}\)</span> with the property that <span class="SimpleMath">\(\textit{z}-\textit{y}\leq \textit{eps}\)</span>. If the eigenvalue is rational this function will return a list <var class="Arg">[y,z]</var>, where <span class="SimpleMath">\(\textit{y}=\textit{z}\)</span>.</p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ LeastEigenvalueFromSRGParameters</code>( [<var class="Arg">v</var>, <var class="Arg">k</var>, <var class="Arg">a</var>, <var class="Arg">b</var>] )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: An integer or an element of a cyclotomic field.</p>
<p>Given feasible strongly regular graph parameters <var class="Arg">[v, k, a, b]</var> this function returns the least eigenvalue of a strongly regular graph with parameters <span class="SimpleMath">\((\textit{v,k,a,b})\)</span>. If the eigenvalue is integer, the object returned is an integer. If the eigenvalue is irrational, the object returned lies in a cyclotomic field.</p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ SecondEigenvalueFromSRGParameters</code>( [<var class="Arg">v</var>, <var class="Arg">k</var>, <varclass="Arg">a</var>, <var class="Arg">b</var>] )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: An integer or an element of a cyclotomic field.</p>
<p>Given feasible strongly regular graph parameters <var class="Arg">[v, k, a, b]</var>, this function returns the second largest eigenvalue of a strongly regular graph with parameters <span class="SimpleMath">\((\textit{v,k,a,b})\)</span>. If the eigenvalue is integer, the object returned is an integer. If the eigenvalue is irrational, the object returned lies in a cyclotomic field.</p>
<p>Given feasible strongly regular graph parameters <var class="Arg">[v, k, a, b]</var> this function returns the multiplicity of the least eigenvalue of a strongly regular graph with parameters <span class="SimpleMath">\((\textit{v,k,a,b})\)</span>.</p>
<p>Given feasible strongly regular graph parameters <var class="Arg">[v, k, a, b]</var> this function returns the multiplicity of the second eigenvalue of a strongly regular graph with parameters <span class="SimpleMath">\((\textit{v,k,a,b})\)</span>.</p>