<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
               "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"
[ <!ENTITY mmlns "http://www.w3.org/1998/Math/MathML"> ]>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Accelerator Physics Notes</title>
<link href="css/basestyle.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />


<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

</head>

<body>

<h3>Accelerator Physics Notes</h3> 
<h4 class="indent">Magnet properties</h4>
<p class="center">are explored in this <a href="ap/magnetprop.html">
Matlab script</a></p>

<h4 class="indent">Average ring beta</h4>
<div class="formula">
<math xmlns="http://www.w3.org/1998/Math/MathML" mode="display">
<msub>
<mi>&#x03B2;</mi>
<mrow>
<mi>avg</mi>
</mrow>
</msub>
 <mo>&#x2248;</mo> <mfrac>
<mrow>
<mi>R</mi>
</mrow> 
<mrow>
<mi>&#x03BD;</mi>
</mrow>
</mfrac>
 </math>
</div>
<p class="center"> Average beta is about = ring radius over tune.</p>

<h4 class="indent">Dispersion relations</h4>
<div class="formula">
<math xmlns="&mmlns;" mode="display"><mfrac><mrow >
<mi>&#x0394;</mi><mi>p</mi></mrow>
<mrow>
<msub>
<mi>p</mi><mrow>
<mn>o</mn></mrow></msub>
</mrow></mfrac> <mo>=</mo> <mo>&#x2212;</mo> <mfrac><mrow>
<mn>1</mn></mrow>
<mrow>
<msub>
<mi>&#x03B1;</mi><mrow>
<mi>c</mi> </mrow></msub>
</mrow></mfrac> <mfrac><mrow>
<mi>&#x0394;</mi><msub>
<mi>f</mi><mrow>
<mi>rf</mi> </mrow></msub>
</mrow> 
  <mrow>
<msub>
<mi>f</mi><mrow>
<mi>rf</mi> </mrow></msub>
</mrow></mfrac>   </math>


<math xmlns="&mmlns;" mode="display">
 <mi>&#x03B4;x</mi> <mo>=</mo> <mi>&#x03B7;</mi>
 <mfenced>
  <mfrac>
   <mrow>
    <mi>&#x0394;</mi>
    <mi>p</mi>
   </mrow> 
   <mrow>
    <msub>
     <mi>p</mi>
     <mrow>
      <mi>o</mi>
     </mrow>
    </msub>
   </mrow>
  </mfrac>
 </mfenced>  
 <mo>=</mo> 
 <mo>&#x2212;</mo>
 <mfenced>
  <mfrac>
   <mrow>
    <mi>&#x0394;</mi>
    <msub>
     <mi>f</mi>
      <mrow>
       <mi>rf</mi>
      </mrow>
     </msub>
    </mrow> 
    <mrow>
     <msub>
      <mi>f</mi>
      <mrow>
       <mi>rf</mi>
      </mrow>
     </msub>
    </mrow>
   </mfrac>   
  </mfenced>
 </math>
</div>

<p class="center">relation between change in orbit and change 
  in rf frequency.  Also, <b>&Delta;E/E = &beta;<sup>2</sup>
  (&Delta;p/p)</b>, so above relations can be used to find the energy
  change.</p>

<h4 class="indent">Slip Factor (The other eta)</h4>
<div class="formula">
<math xmlns="&mmlns;" mode="display">
 <mrow>
    <mi>&#x03B7;</mi>
    <mfenced>
      <mrow>
        <mfrac>
          <mrow>
    <mi>&#x0394;</mi>
            <mi>p</mi>
          </mrow>
          <mi>p</mi>
        </mfrac>
      </mrow>
    </mfenced>
    <mo>=</mo>
    <mfrac>
      <mrow>
    <mi>&#x0394;</mi>
        <mi>L</mi>
      </mrow>
      <mi>L</mi>
    </mfrac>
    <mo>&#x2212;</mo>
    <mfrac>
      <mrow>
    <mi>&#x0394;</mi>
        <mi>v</mi>
      </mrow>
      <mi>v</mi>
    </mfrac>
  </mrow></math>

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">  <mrow>    <mi>&#x03B7;</mi>    <mo>&#x2261;</mo>    <mfrac>      <mn>1</mn>      <msup>        <msub>          <mi>&#x03B3;</mi>          <mi>t</mi>        </msub>        <mn>2</mn>      </msup>    </mfrac>    <mo>&#x2212;</mo>    <mfrac>      <mn>1</mn>      <msup>        <mi>&#x03B3;</mi>        <mn>2</mn>      </msup>    </mfrac>  </mrow></math>

</div>

<p class="center">The slip factor times the fractional change in momentum gives the fractional change in time it will take for that particle to reach the next rf cavity.  There is a competition between the path length growing with momentum and velocity growing with momentum.  Whether the slip factor is positive or negative matters a great deal in which slope of the rf wave should be used for phase stability.  When the slip factor equals zero, the beam is at its <b>transition energy</b>.</p> 

<h4 class="indent">Horizontal source size:</h4>
<div class="formula">
<math xmlns="&mmlns;" mode="display">
<msub><mi>&#x03C3;</mi>
<mrow><mi>x</mi></mrow></msub> 
<mo>=</mo> <msqrt>
<!--<mi>&#x2218;</mi>   -->
<msub><mi>&#x03B5;</mi>
<mrow><mi>h</mi> </mrow> </msub> <mi>&#x03B2;</mi> <mo>+</mo> 
<msup><mi>&#x03B7;</mi><mrow><mn>2</mn> </mrow> </msup> <msup>
<mi>&#x03B4;</mi><mrow><mn>2</mn></mrow></msup></msqrt> 
</math>
</div>  
<p class="center"> where &delta; is &sigma;E 
  over E. 
</p>

<h4 class="indent">Bump kick amplitude relation to phase in 3 kick closed bump:</h4>
  <div class="formula">
<math xmlns="&mmlns;" mode="display">
<msub><mi>&#x0398;</mi>
<mrow><mn>1</mn></mrow></msub>
<msqrt><!--<mi>&#x221A;</mi>   -->
<msub><mi>&#x03B2;</mi>
<mrow><mn>1</mn></mrow></msub></msqrt> 
<mo>:</mo> 
<msub><mi>&#x0398;</mi>
<mrow><mn>2</mn></mrow></msub>
<msqrt><!--<mi>&#x221A;</mi>   -->
<msub><mi>&#x03B2;</mi><mrow><mn>2</mn></mrow></msub></msqrt> 
<mo>:</mo> <msub><mi>&#x0398;</mi>
<mrow><mn>3</mn></mrow></msub>
<msqrt><!--<mi>&#x221A;</mi>   -->
<msub><mi>&#x03B2;</mi><mrow><mn>3</mn></mrow></msub></msqrt> 
<mo>=</mo> <mi>sin</mi><msub><mi>&#x03A8;</mi>
<mrow><mn>3</mn><mn>2</mn></mrow></msub>
<mo>:</mo><mo>&#x2212;</mo><mi>sin</mi>
<msub><mi>&#x03A8;</mi>
<mrow><mn>3</mn><mn>1</mn></mrow></msub> 
<mo>:</mo> <mi>sin</mi><msub><mi>&#x03A8;</mi>
<mrow><mn>2</mn><mn>1</mn></mrow></msub>
</math>
</div>

<h4 class="indent">Measuring beta at a quad:</h4>

  <div class="formula">
<math xmlns="&mmlns;" mode="display">
<mi>&#x03B4;</mi><mi>&#x03BD;</mi> <mo>=</mo>  <mfrac><mrow>
<mi>&#x03B2;</mi></mrow> 
<mrow>
<mn>4</mn><mi>&#x03C0;</mi></mrow></mfrac> 
<mi>&#x0394;</mi><mi>k</mi></math>

<math xmlns="&mmlns;" mode="display">
<mi>&#x03B2;</mi> <mo>=</mo> <mfrac><mrow>
<mn>4</mn><mi>&#x03C0;</mi><mi>&#x0394;</mi><mi>&#x03BD;</mi></mrow> 
  <mrow>
<mi>&#x0394;</mi><mi>k</mi></mrow></mfrac>  </math>
</div>

<h4 class="indent">Sands Curly H: (Sands, p.131)</h4>
<div class="formula">
<math xmlns="&mmlns;" mode="display"><mi>H</mi><mrow>
<mo>(</mo><mi>s</mi><mo>)</mo></mrow> <mo>=</mo> <mfrac><mrow>
<mn>1</mn></mrow> 
<mrow>
<mi>&#x03B2;</mi></mrow></mfrac> <mrow>
<mo>(</mo><msup>
<mi>&#x03B7;</mi><mrow>
<mn>2</mn></mrow></msup> 
<mo>+</mo> <msup><mrow>
<mo>(</mo><mi>&#x03B2;</mi><mi>&#x03B7;</mi>
<mi>&#x2032;</mi> <mo>+</mo> <mi>&#x03B1;
</mi><mi>&#x03B7;</mi><mo>)</mo></mrow><mrow>
<mn>2</mn></mrow></msup><mo>)</mo></mrow></math>

</div>
<p class="center">Sand's curly H is used to give the change in the "invariant" amplitude due to the emission of a photon of quantum energy.  In other words, a high curly H means a higher contribution to emittance growth due to radiation.Here's <a href="curlyh.png">curly H plotted</a> for a chess lattice.</p>


<h4 class="indent">Twiss Parameters:</h4>
<div class="formula">
<math xmlns="&mmlns;" mode="display">
<mi>&#x03B2;</mi> <mo>=</mo>  <mfrac><mrow>
<mn>1</mn></mrow> 
<mrow>
<mi>&#x03C8;</mi><mi>&#x2032;</mi></mrow></mfrac> 
</math>


<math xmlns="&mmlns;" mode="display"><mi>&#x03B1;</mi> <mo>=</mo> <mfrac><mrow>
<mo>&#x2212;</mo><mi>&#x03B2;</mi><mi>&#x2032;</mi></mrow> 
   <mrow>
<mn>2</mn></mrow></mfrac>  
</math>

<math xmlns="&mmlns;" mode="display">
<mi>&#x03B3;</mi> <mo>=</mo> <mfrac><mrow>
<mn>1</mn><mo>+</mo><msup>
<mi>&#x03B1;</mi><mrow>
<mn>2</mn></mrow></msup>
</mrow> 
   <mrow>
<mi>&#x03B2;</mi></mrow></mfrac>    
</math>

</div>


<h4 class="indent">Hamilton's Principle:</h4>
<div class="formula">
<math xmlns="&mmlns;" mode="display">
<mi>&#x03B4;</mi><msubsup>
 <mo>&#x222B;</mo>
    <mrow>
<mi>t</mi><mn>1</mn></mrow><mrow>
<mi>t</mi><mn>2</mn></mrow></msubsup>
<mrow>
<mo>(</mo><mi>T</mi> <mo>&#x2212;</mo> 
<mi>U</mi><mo>)</mo></mrow><mi>d</mi>
<mi>t</mi> <mo>=</mo> <mn>0</mn>
</math>

</div> 
<p class="center"> where T is the kinetic energy and U is the potential energy.</p>

<p class="quote">Of all the possible paths along which a dynamical system may move from one point to another within a specified time interval (consistent with any constraints), the actual path followed is that which minimizes the time integral of the difference between the kinetic and potential energies.
</p>


<h4 class="indent">Lagrangian:</h4>
<div class="formula">
<math xmlns="http://www.w3.org/1998/Math/MathML" mode="display">
  <mrow>
    <mi>L</mi> <mo>(</mo> <mi>q</mi> <mo>,</mo>
    <mover>
      <mi>q</mi> <mo>.</mo>
    </mover>
    <mo>,</mo> <mi>t</mi> <mo>)</mo>
    <mo>=</mo> <mi>T</mi> <mo>(</mo> <mi>q</mi> <mo>,</mo>
    <mover>
      <mi>q</mi> <mo>.</mo>
    </mover>
    <mo>,</mo> <mi>t</mi> <mo>)</mo>
    <mo>&minus;</mo>
    <mi>U</mi> <mo>(</mo> <mi>q</mi> <mo>,</mo>
    <mi>t</mi> <mo>)</mo>
  </mrow>
</math> </div>
<p class="center">The lagrangian is a function of the generalized coordinates q, and their derivitives with respect to time, as well as time.
</p>

<h4 class="indent">Hamiltonian:</h4>
<div class="formula">
<math xmlns="&mmlns;" mode="display">
<mi>H</mi> <mo>=</mo><munderover>
 <mo>&#x2211;</mo>
     <mrow>
<mi>j</mi></mrow><mrow></mrow></munderover>
<mrow>
<mo>(</mo><msub>
<munderover>
<mrow>
<mi>q</mi></mrow><mrow></mrow>
<mrow><mo>.</mo></mrow>
</munderover>
<mrow><mi>j</mi></mrow>
</msub>
 <mfrac><mrow>
<mi>&#x03B4;</mi><mi>L</mi></mrow> 
<mrow>
<mi>&#x03B4;</mi><msub>
<munderover><mrow>
<mi>q</mi></mrow><mrow>
 </mrow><mrow><mo>.</mo>
</mrow></munderover><mrow>
<mi>j</mi></mrow></msub>
</mrow></mfrac> <mo>)</mo></mrow> <mo>&#x2212;</mo> 
<mi>L</mi></math>

</div>
<p class="center">Where the q's are the generalized coordinates.
</p>

<h4 class="indent">Symplectic relationship:</h4>
<p class="center">is explored in this <a href="matlab/symplectic.html">
Matlab script</a></p>

<hr />
<p> Some formulas on this page were written in latex, then converted to MathML using mzlatex.  A little further cleanup was also required.</p>

<p>Now Open Math Edit is used to generate the MathML on windows and then copied and pasted into this xml file.</p>

  <p>
   <a href="http://validator.w3.org/check/referer"><img
     src="http://www.w3.org/Icons/valid-xhtml10"
     alt="Valid XHTML 1.0!" height="31" width="88" /></a>
   <a href="http://jigsaw.w3.org/css-validator/">
    <img style="border:0;width:88px;height:31px"
     src="http://jigsaw.w3.org/css-validator/images/vcss" 
     alt="Valid CSS!" />
   </a>
  </p>


</body>

</html>
