<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=193.137.99.0%2F24</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=193.137.99.0%2F24"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/193.137.99.0/24"/>
	<updated>2026-08-12T16:39:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.7</generator>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Sfermion&amp;diff=12376</id>
		<title>Sfermion</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Sfermion&amp;diff=12376"/>
		<updated>2013-11-04T17:25:34Z</updated>

		<summary type="html">&lt;p&gt;193.137.99.70: /* Squarks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{About|Bioinformatics|the disease in horses known by the acronym &amp;quot;PSSM&amp;quot;|Equine polysaccharide storage myopathy}}&lt;br /&gt;
&lt;br /&gt;
[[Image:LexA gram positive bacteria sequence logo.png|200px|thumb|PWMs are often represented graphically as [[sequence logo]]s.]]&lt;br /&gt;
A &#039;&#039;&#039;position weight matrix (PWM)&#039;&#039;&#039;, also known as a &#039;&#039;&#039;position-specific weight matrix (PSWM)&#039;&#039;&#039; or &#039;&#039;&#039;position-specific scoring matrix (PSSM)&#039;&#039;&#039;, is a commonly used representation of [[sequence motif|motifs]] (patterns) in biological sequences.&lt;br /&gt;
&lt;br /&gt;
PWMs are often derived from a set of aligned sequences that are thought to be functionally related and have become an important part of many software tools for computational motif discovery.&lt;br /&gt;
&lt;br /&gt;
==Background==&lt;br /&gt;
The position weight matrix was introduced by American geneticist [[Gary Stormo]] and colleagues in 1982&amp;lt;ref name=&amp;quot;Stormo1982&amp;quot;&amp;gt;{{cite journal|last=Stormo|first=Gary D.|coauthors=Schneider, Thomas D.; Gold, Larry; Ehrenfeucht, Andrzej|title=Use of the ‘Perceptron’ algorithm to distinguish translational initiation sites in &#039;&#039;E. coli&#039;&#039;|journal=[[Nucleic Acids Research]]|year=1982|volume=10|issue=9|pages=2997–3011|doi=10.1093/nar/10.9.2997|accessdate=9 November 2013}}&amp;lt;/ref&amp;gt; as an alternative to [[consensus sequences]]. Consensus sequences had previously been used to represent patterns in biological sequences, but had difficulties in the prediction of new occurrences of these patterns.&amp;lt;ref name=&amp;quot;Stormo1990&amp;quot;&amp;gt;{{cite journal|last=Stormo|first=G. D.|title=DNA binding sites: representation and discovery|journal=Bioinformatics|date=1 January 2000|volume=16|issue=1|pages=16–23|doi=10.1093/bioinformatics/16.1.16|accessdate=9 November 2013}}&amp;lt;/ref&amp;gt; The first use of PWMs was in the discovery of [[RNA]] sites that function as [[translation (biology)|translation]] initiation sites. The [[perceptron|perceptron algorithm]] was suggested by [[Polish American]] mathematician [[Andrzej Ehrenfeucht]] in order to create a [[matrix (mathematics)|matrix]] of weights which could distinguish true binding sites from other non-functional sites with similar sequences. Training the perceptron on both sets of sites resulted in a matrix and a threshold to distinguish between the two sets.&amp;lt;ref name=&amp;quot;Stormo1982&amp;quot; /&amp;gt; Using the matrix to scan new sequences not included in the training set showed that this method was both more sensitive and precise than the best consensus sequence.&amp;lt;ref name=&amp;quot;Stormo1990&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The advantages of PWMs over consensus sequences have made PWMs a popular method for representing patterns in biological sequences and an essential component in modern algorithms for [[sequence motif#De novo computational discovery of motifs|motif discovery]].&amp;lt;ref&amp;gt;{{cite journal|last=Sinha|first=S.|title=On counting position weight matrix matches in a sequence, with application to discriminative motif finding|journal=Bioinformatics|date=27 July 2006|volume=22|issue=14|pages=e454–e463|doi=10.1093/bioinformatics/btl227|accessdate=9 November 2013}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal|last=Xia|first=Xuhua|title=Position Weight Matrix, Gibbs Sampler, and the Associated Significance Tests in Motif Characterization and Prediction|journal=Scientifica|year=2012|volume=2012|pages=1–15|doi=10.6064/2012/917540|accessdate=9 November 2013}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Basic PWM with frequencies==&lt;br /&gt;
A PWM has one row for each symbol of the alphabet: 4 rows for [[nucleotide]]s in [[DNA]] sequences or 20 rows for [[amino acid]]s in [[protein]] sequences. It also has one column for each position in the pattern. A basic PWM using relative frequencies is constructed by counting the occurrences of each symbol at each position and then normalising at each position. Formally, given a set &#039;&#039;X&#039;&#039; of &#039;&#039;N&#039;&#039; aligned sequences of length &#039;&#039;l&#039;&#039;, the elements of the PWM &#039;&#039;&#039;M&#039;&#039;&#039; are calculated:&amp;lt;br /&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;M_{k,j}=\frac{1}{N}\sum_{i=1}^N I(X_{i,j}=k),&amp;lt;/math&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
where &#039;&#039;i&#039;&#039; &amp;lt;math&amp;gt;\in&amp;lt;/math&amp;gt; (1,...,&#039;&#039;N&#039;&#039;), &#039;&#039;j&#039;&#039; &amp;lt;math&amp;gt;\in&amp;lt;/math&amp;gt; (1,...,&#039;&#039;l&#039;&#039;), &#039;&#039;k&#039;&#039; is the set of symbols in the alphabet and &#039;&#039;I(a=k)&#039;&#039; is an [[indicator function]] where &#039;&#039;I(a=k)&#039;&#039; is 1 if &#039;&#039;a=k&#039;&#039; and 0 otherwise.&lt;br /&gt;
&lt;br /&gt;
For example, given the following DNA sequences:&amp;lt;br /&amp;gt;&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;&lt;br /&gt;
GAGGTAAAC&amp;lt;br /&amp;gt;&lt;br /&gt;
TCCGTAAGT&amp;lt;br /&amp;gt;&lt;br /&gt;
CAGGTTGGA&amp;lt;br /&amp;gt;&lt;br /&gt;
ACAGTCAGT&amp;lt;br /&amp;gt;&lt;br /&gt;
TAGGTCATT&amp;lt;br /&amp;gt;&lt;br /&gt;
TAGGTACTG&amp;lt;br /&amp;gt;&lt;br /&gt;
ATGGTAACT&amp;lt;br /&amp;gt;&lt;br /&gt;
CAGGTATAC&amp;lt;br /&amp;gt;&lt;br /&gt;
TGTGTGAGT&amp;lt;br /&amp;gt;&lt;br /&gt;
AAGGTAAGT&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
the PWM using relative frequencies is:&amp;lt;br /&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;M = \begin{matrix}&lt;br /&gt;
A\\&lt;br /&gt;
C\\&lt;br /&gt;
G\\&lt;br /&gt;
T&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.3 &amp;amp; 0.6 &amp;amp; 0.1 &amp;amp; 0.0 &amp;amp; 0.0 &amp;amp; 0.6 &amp;amp; 0.7 &amp;amp; 0.2 &amp;amp; 0.1\\&lt;br /&gt;
0.2 &amp;amp; 0.2 &amp;amp; 0.1 &amp;amp; 0.0 &amp;amp; 0.0 &amp;amp; 0.2 &amp;amp; 0.1 &amp;amp; 0.1 &amp;amp; 0.2\\&lt;br /&gt;
0.1 &amp;amp; 0.1 &amp;amp; 0.7 &amp;amp; 1.0 &amp;amp; 0.0 &amp;amp; 0.1 &amp;amp; 0.1 &amp;amp; 0.5 &amp;amp; 0.1\\&lt;br /&gt;
0.4 &amp;amp; 0.1 &amp;amp; 0.1 &amp;amp; 0.0 &amp;amp; 1.0 &amp;amp; 0.1 &amp;amp; 0.1 &amp;amp; 0.2 &amp;amp; 0.6&lt;br /&gt;
\end{bmatrix}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;ref name=guigo-pssms&amp;gt;{{cite web|last=Guigo|first=Roderic|title=An Introduction to Position Specific Scoring Matrices|url=http://bioinformatica.upf.edu/T12/MakeProfile.html|work=http://bioinformatica.upf.edu|accessdate=12 November 2013}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
PWMs assume [[Independence (probability theory)|statistical independence]] between positions in the pattern, as the probabilities for each position are calculated independently of other positions. From the definition above, it follows that the sum of values for a particular position (that is, summing over all symbols) is 1. Each column can therefore be regarded as an independent [[multinomial distribution]]. This makes it easy to calculate the probability of a sequence given a PWM, by multiplying the relevant probabilities at each position. For example, the probability of the sequence &#039;&#039;S&#039;&#039;&amp;amp;nbsp;=&amp;amp;nbsp;&amp;lt;tt&amp;gt;GAGGTAAAC&amp;lt;/tt&amp;gt; given the above PWM &#039;&#039;&#039;M&#039;&#039;&#039; can be calculated:&amp;lt;br /&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;p(S\vert M) = 0.1 \times 0.6 \times 0.7 \times 1.0 \times 1.0 \times 0.6 \times 0.7 \times 0.2 \times 0.2 = 0.0007056.&amp;lt;/math&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Pseudocount]]s (or &#039;&#039;[[Laplace estimator]]s&#039;&#039;) are often applied to PWMs when a small dataset is used, in order to avoid matrix entries having a value of 0.&amp;lt;ref&amp;gt;{{cite journal|last=Nishida|first=K.|coauthors=Frith, M. C.; Nakai, K.|title=Pseudocounts for transcription factor binding sites|journal=Nucleic Acids Research|date=23 December 2008|volume=37|issue=3|pages=939–944|doi=10.1093/nar/gkn1019|accessdate=Nishida2008}}&amp;lt;/ref&amp;gt;  This is equivalent to multiplying each column of the PWM by a [[Dirichlet distribution]] and allows the probability to be calculated for new sequences (that is, sequences which were not part of the original dataset): in the example above, without pseudocounts, any sequence which did not have a &amp;lt;tt&amp;gt;G&amp;lt;/tt&amp;gt; in the 4th position or a &amp;lt;tt&amp;gt;T&amp;lt;/tt&amp;gt; in the 5th position would have a probability of 0, regardless of the other positions.&lt;br /&gt;
&lt;br /&gt;
==Using log likelihoods==&lt;br /&gt;
Often the element in PWMs are calculated as log likelihoods. That is, the elements of the PWM are transformed using a background model &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; so that:&lt;br /&gt;
:&amp;lt;math&amp;gt;M_{k,j}=\mathrm{ln}\;(M_{k,j} / b_k).&amp;lt;/math&amp;gt;&lt;br /&gt;
The simplest background model assumes that each letter appears equally frequently in the dataset. That is, the value of &amp;lt;math&amp;gt;b_k = 1/\vert k \vert&amp;lt;/math&amp;gt; for all symbols in the alphabet (0.25 for nucleotides and 0.05 for amino acids). Applying this transformation to the PWM &#039;&#039;&#039;M&#039;&#039;&#039; from above gives:&lt;br /&gt;
:&amp;lt;math&amp;gt;M = \begin{matrix}&lt;br /&gt;
A\\&lt;br /&gt;
C\\&lt;br /&gt;
G\\&lt;br /&gt;
T&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 0.18 &amp;amp; 0.87 &amp;amp; -0.91 &amp;amp; -\infty &amp;amp; -\infty &amp;amp; 0.87 &amp;amp; 1.02 &amp;amp; -0.22 &amp;amp; -0.91\\&lt;br /&gt;
-0.22 &amp;amp; -0.22 &amp;amp; -0.91 &amp;amp; -\infty &amp;amp; -\infty &amp;amp; -0.22 &amp;amp; -0.91 &amp;amp; -0.91 &amp;amp; -0.22\\&lt;br /&gt;
-0.91 &amp;amp; -0.91 &amp;amp; 1.02 &amp;amp; 1.38 &amp;amp; -\infty &amp;amp; -0.91 &amp;amp; -0.91 &amp;amp; 0.69 &amp;amp; -0.91\\&lt;br /&gt;
 0.47 &amp;amp; -0.91 &amp;amp; -0.91 &amp;amp; -\infty &amp;amp; 1.38 &amp;amp; -0.91 &amp;amp; -0.91 &amp;amp; -0.22 &amp;amp; 0.87&lt;br /&gt;
\end{bmatrix}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
The &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; entries in the matrix make clear the advantage of adding pseudocounts, especially when using small datasets to construct &#039;&#039;&#039;M&#039;&#039;&#039;. The background model need not have equal values for each symbol: for example, when studying organisms with a high [[GC-content]], the values for &amp;lt;tt&amp;gt;C&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;G&amp;lt;/tt&amp;gt; may be increased with a corresponding decrease for the &amp;lt;tt&amp;gt;A&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;T&amp;lt;/tt&amp;gt; values.&lt;br /&gt;
&lt;br /&gt;
When the PWM elements are calculated using log likelihoods, the score of a sequence given a particular PWM can be calculated be adding (rather than multiplying) the relevant values at each position in the PWM. The sequence score gives an indication of how different the sequence is from a random sequence. The score is 0 if the sequence has the same probability of being a functional site and of being a random site. The score is greater than 0 if it is more likely to be a functional site than a random site, and less than 0 if it is more likely to be a random site than a functional site.&amp;lt;ref name=guigo-pssms /&amp;gt; The sequence score can also be interpreted in a physical framework as the binding energy for that sequence.&lt;br /&gt;
&lt;br /&gt;
==Information content of a PWM==&lt;br /&gt;
The [[information content]] (IC) of a PWM is sometimes of interest, as it says something about how different a given PWM is from a [[uniform distribution (discrete)|uniform distribution]].&lt;br /&gt;
&lt;br /&gt;
The [[self-information]] of observing a particular symbol at a particular position of the motif is:&lt;br /&gt;
:&amp;lt;math&amp;gt;-\log(p_{i,j})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The expected (average) self-information of a particular element in the PWM is then:&lt;br /&gt;
:&amp;lt;math&amp;gt;-p_{i,j} \cdot \log(p_{i,j})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, the IC of the PWM is then the sum of the expected self-information of every element:&lt;br /&gt;
:&amp;lt;math&amp;gt;\textstyle -\sum_{i,j} p_{i,j}\cdot \log(p_{i,j})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Often, it is more useful to calculate the information content with the background letter frequencies of the sequences you are studying rather than assuming equal probabilities of each letter (e.g., the GC-content of DNA of [[thermophilic]] bacteria range from 65.3 to 70.8,&amp;lt;ref name=&amp;quot;Aleksandrushkina1978&amp;quot;&amp;gt;{{cite journal |author=Aleksandrushkina NI, Egorova LA |title=Nucleotide makeup of the DNA of thermophilic bacteria of the genus Thermus |journal=Mikrobiologiia |volume=47 |issue=2 |pages=250–2 |year=1978 |pmid=661633}}&amp;lt;/ref&amp;gt; thus a motif of ATAT would contain much more information than a motif of CCGG). The equation for information content thus becomes&lt;br /&gt;
:&amp;lt;math&amp;gt;\textstyle -\sum_{i,j} p_{i,j}\cdot \log(p_{i,j}/p_{b})&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;p_{b}&amp;lt;/math&amp;gt; is the background frequency for that letter. This corresponds to the [[Kullback-Leibler divergence]] or relative entropy. However, it has been shown that when using PSSM to search genomic sequences (see below) this uniform correction can lead to overestimation of the importance of the different bases in a motif, due to the uneven distribution of n-mers in real genomes, leading to a significantly larger number of false positives.&amp;lt;ref name=&amp;quot;Erill2009&amp;quot;&amp;gt;{{cite journal |author=Erill I, O&#039;Neill MC |title=A reexamination of information theory-based methods for DNA-binding site identification |journal=BMC Bioinformatics |volume=10 |year=2009 |pmid=19210776 |pages=57 |doi=10.1186/1471-2105-10-57 |pmc=2680408}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Using PWMs==&lt;br /&gt;
There are various algorithms to scan for hits of PWMs in sequences. One example is the MATCH algorithm&amp;lt;ref name=&amp;quot;Kel2003&amp;quot;&amp;gt;{{cite journal |author=Kel AE, &#039;&#039;et al.&#039;&#039; |title=MATCHTM: a tool for searching transcription factor binding sites in DNA sequences |journal=Nucleic Acids Research |volume=31 |pages=3576–3579 |year=2003 |doi=10.1093/nar/gkg585 |pmid=12824369 |issue=13 |pmc=169193}}&amp;lt;/ref&amp;gt; which has been implemented in the ModuleMaster.&amp;lt;ref name=&amp;quot;Wrzodek2010&amp;quot;&amp;gt;{{Cite journal&lt;br /&gt;
  | last1 = Wrzodek  | first1 = Clemens&lt;br /&gt;
  | last2 = Schröder | first2 = Adrian&lt;br /&gt;
  | last3 = Dräger | first3 = Andreas&lt;br /&gt;
  | last4 = Wanke | first4 = Dierk&lt;br /&gt;
  | last5 = Berendzen | first5 = Kenneth W.&lt;br /&gt;
  | last6 = Kronfeld | first6 = Marcel&lt;br /&gt;
  | last7 = Harter | first7 = Klaus&lt;br /&gt;
  | last8 = Zell | first8 = Andreas&lt;br /&gt;
  | title = ModuleMaster: A new tool to decipher transcriptional regulatory networks&lt;br /&gt;
  | journal = Biosystems&lt;br /&gt;
  | volume = 99&lt;br /&gt;
  | issue = 1&lt;br /&gt;
  | pages = 79–81&lt;br /&gt;
  | publisher = Elsevier&lt;br /&gt;
  | location = Ireland&lt;br /&gt;
  | date = 9 October 2009&lt;br /&gt;
  | year = 2010&lt;br /&gt;
  | doi = 10.1016/j.biosystems.2009.09.005&lt;br /&gt;
  | issn = 0303-2647&lt;br /&gt;
  | pmid = 19819296&lt;br /&gt;
 }}&amp;lt;/ref&amp;gt; More sophisticated algorithms for fast database searching with nucleotide as well as amino acid PWMs/PSSMs are implemented in the possumsearch software and are described by Beckstette, &#039;&#039;et al.&#039;&#039; (2006).&amp;lt;ref name=&amp;quot;Beckstette2006&amp;quot;&amp;gt;{{cite journal |author=Beckstette, M. |title=Fast index based algorithms and software for matching position specific scoring matrices |journal=BMC Bioinformatics |volume=7 |year=2006 |doi=10.1186/1471-2105-7-389 |pmid=16930469 |pages=389 |pmc=1635428 |display-authors=1 |last2=Homann |first2=Robert |last3=Giegerich |first3=Robert |last4=Kurtz |first4=Stefan}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist|2}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://www.biodatamining.org/content/2/1/8 3PFDB] &amp;amp;mdash; a database of Best Representative PSSM Profiles (BRPs) of Protein Families generated using a novel data mining approach.&lt;br /&gt;
* [http://ugene.unipro.ru/ UGENE] &amp;amp;mdash; PSS matrices design, integrated interface to JASPAR, Uniprobe and SITECON databases.&lt;br /&gt;
&lt;br /&gt;
{{Use dmy dates|date=September 2011}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Bioinformatics]]&lt;br /&gt;
[[Category:Evaluation methods]]&lt;/div&gt;</summary>
		<author><name>193.137.99.70</name></author>
	</entry>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Nucleon_spin_structure&amp;diff=14627</id>
		<title>Nucleon spin structure</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Nucleon_spin_structure&amp;diff=14627"/>
		<updated>2013-01-10T18:01:26Z</updated>

		<summary type="html">&lt;p&gt;193.137.99.89: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[mathematics]], the [[geodesic equation]]s are second-order non-linear [[differential equation]]s, and are commonly presented in the form of [[Euler–Lagrange]] equations of motion. However, they can also be presented as a set of coupled first-order equations, in the form of [[Hamilton&#039;s equations]]. This latter formulation is developed in this article.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
It is frequently said that [[geodesics]] are &amp;quot;straight lines in curved space&amp;quot;. By using the Hamilton-Jacobi approach to the [[geodesic equation]], this statement can be given a very intuitive meaning: geodesics describe the motions of particles that are not experiencing any forces. In flat space, it is well known that a particle moving in a straight line will continue to move in a straight line if it experiences no external forces; this is [[Newton&#039;s first law]]. The Hamiltonan describing such motion is well known to be &amp;lt;math&amp;gt;H=mv^2/2=p^2/2m&amp;lt;/math&amp;gt; with &#039;&#039;p&#039;&#039; being the [[momentum]]. It is the [[conservation of momentum]] that leads to the straight motion of a particle. On a curved surface, exactly the same ideas are at play, except that, in order to measure distances correctly, one must use the [[Metric (mathematics)|metric]]. To measure momenta correctly, one must use the inverse of the metric. The motion of a free particle on a curved surface still has exactly the same form as above, i.e. consisting entirely of a [[kinetic term]]. The resulting motion is still, in a sense, a &amp;quot;straight line&amp;quot;, which is why it is sometimes said that geodesics are &amp;quot;straight lines in curved space&amp;quot;. This idea is developed in greater detail below.&lt;br /&gt;
&lt;br /&gt;
==Geodesics as an application of the principle of least action==&lt;br /&gt;
Given a ([[pseudo-Riemannian manifold|pseudo]]-)[[Riemannian manifold]] &#039;&#039;M&#039;&#039;, a [[geodesic]] may be defined as the curve that results from the application of the [[principle of least action]]. A differential equation describing their shape may be derived, using [[variational principle]]s, by minimizing (or finding the extremum) of the [[energy]] of a curve. Given a [[smooth curve]]&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt;\gamma:I\to M&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that maps an interval &#039;&#039;I&#039;&#039; of the [[real number line]] to the manifold &#039;&#039;M&#039;&#039;, one writes the energy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;E(\gamma)=\frac{1}{2}\int_I g(\dot\gamma(t),\dot\gamma(t))\,dt,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\dot\gamma(t)&amp;lt;/math&amp;gt; is the [[tangent vector]] to the curve &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; at point &amp;lt;math&amp;gt;t \in I&amp;lt;/math&amp;gt;.&lt;br /&gt;
Here, &amp;lt;math&amp;gt;g(\cdot,\cdot)&amp;lt;/math&amp;gt; is the [[metric tensor]] on the manifold &#039;&#039;M&#039;&#039;. &lt;br /&gt;
  &lt;br /&gt;
Using the energy given above as the action, one may choose to solve either the [[Euler–Lagrange equations]], or the Hamilton-Jacobi equations. Both methods give the [[geodesic equation]] as the solution; however, the Hamilton–Jacobi equations provide greater insight into the structure of the manifold, as shown below. In terms of the [[local coordinates]] on &#039;&#039;M&#039;&#039;, the (Euler–Lagrange) geodesic equation is  &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{d^2x^a}{dt^2} + \Gamma^{a} {}_{bc}\frac{dx^b}{dt}\frac{dx^c}{dt} = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, the &#039;&#039;x&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;a&#039;&#039;&amp;lt;/sup&amp;gt;(&#039;&#039;t&#039;&#039;) are the coordinates of the curve γ(&#039;&#039;t&#039;&#039;) and &amp;lt;math&amp;gt;\Gamma^{a} {}_{bc}&amp;lt;/math&amp;gt; are the [[Christoffel symbol]]s.  Repeated indices imply the use of the [[summation convention]].&lt;br /&gt;
&lt;br /&gt;
==Hamiltonian approach to the geodesic equations==&lt;br /&gt;
Geodesics can be understood to be the [[Hamiltonian flow]]s of a special [[Hamiltonian vector field]] defined on the [[cotangent space]] of the manifold. The Hamiltonian is constructed from the metric on the manifold, and is thus a [[quadratic form]] consisting entirely of the [[kinetic term]]. &lt;br /&gt;
&lt;br /&gt;
The geodesic equations are second-order differential equations; they can be re-expressed as first-order ordinary differential equations taking the form of the Hamiltonian–Jacobi equations by introducing additional independent variables, as shown below.  Start by finding a [[chart (topology)|chart]] that trivializes the [[cotangent bundle]] &#039;&#039;T&#039;&#039;&amp;lt;sup&amp;gt;∗&amp;lt;/sup&amp;gt;&#039;&#039;M&#039;&#039; (&#039;&#039;i.e.&#039;&#039; a &#039;&#039;[[local trivialization]]&#039;&#039;):&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;T^*M|_{U}\simeq U \times \mathbb{R}^n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is an open [[subset]] of the manifold &#039;&#039;M&#039;&#039;, and the tangent space is of rank &#039;&#039;n&#039;&#039;.  Label the coordinates of the chart as (&#039;&#039;x&#039;&#039;&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;, &#039;&#039;x&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;, …, &#039;&#039;x&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;, &#039;&#039;p&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &#039;&#039;p&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, …, &#039;&#039;p&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt;). Then introduce the [[Hamiltonian vector field|Hamiltonian]] as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;H(x,p)=\frac{1}{2}g^{ab}(x)p_a p_b.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &#039;&#039;g&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;ab&#039;&#039;&amp;lt;/sup&amp;gt;(&#039;&#039;x&#039;&#039;) is the inverse of the [[metric tensor]]: &#039;&#039;g&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;ab&#039;&#039;&amp;lt;/sup&amp;gt;(&#039;&#039;x&#039;&#039;)&#039;&#039;g&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;bc&#039;&#039;&amp;lt;/sub&amp;gt;(&#039;&#039;x&#039;&#039;) = &amp;lt;math&amp;gt;\delta^a_c&amp;lt;/math&amp;gt;.  The behavior of the metric tensor under coordinate transformations implies that &#039;&#039;H&#039;&#039; is [[invariant (mathematics)|invariant]] under a change of variable. The geodesic equations can then be written as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot{x}^a = \frac{\partial H}{\partial p_a} = g^{ab}(x) p_b&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot{p}_a = - \frac {\partial H}{\partial x^a} = &lt;br /&gt;
-\frac{1}{2} \frac {\partial g^{bc}(x)}{\partial x^a} p_b p_c.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second order geodesic equations are easily obtained by substitution of one into the other.  The [[flow (mathematics)|flow]] determined by these equations is called the &#039;&#039;&#039;cogeodesic flow&#039;&#039;&#039;. The first of the two equations gives the flow on the tangent bundle &#039;&#039;TM&#039;&#039;, the &#039;&#039;&#039;geodesic flow&#039;&#039;&#039;.  Thus, the geodesic lines are the projections of integral curves of the geodesic flow onto the manifold &#039;&#039;M&#039;&#039;.  This is a [[Hamiltonian flow]], and that the Hamiltonian is constant along the geodesics:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{dH}{dt} = \frac {\partial H}{\partial x^a} \dot{x}^a +&lt;br /&gt;
\frac{\partial H}{\partial p_a} \dot{p}_a = &lt;br /&gt;
- \dot{p}_a \dot{x}^a + \dot{x}^a \dot{p}_a = 0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the geodesic flow splits the cotangent bundle into [[level set]]s of constant energy &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;M_E = \{ (x,p) \in T^*M : H(x,p)=E \}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
for each energy &#039;&#039;E&#039;&#039; ≥ 0, so that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;T^*M=\bigcup_{E \ge 0} M_E&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* Terence Tao, &#039;&#039;The Euler-Arnold Equation&#039;&#039;, 2010:  http://terrytao.wordpress.com/2010/06/07/the-euler-arnold-equation/ &#039;&#039;See the discussion at the beginning&#039;&#039;&lt;br /&gt;
* Ralph Abraham and Jerrold E. Marsden, &#039;&#039;Foundations of Mechanics&#039;&#039;, (1978) Benjamin-Cummings, London ISBN 0-8053-0102-X &#039;&#039;See section 2.7&#039;&#039;.&lt;br /&gt;
* B.A. Dubrovin, A.T. Fomenko, and S.P. Novikov, &#039;&#039;Modern Geometry- Methods and Applications, Part I&#039;&#039;, (1984) Springer-Verlag, Berlin ISBN 0-387-90872-2 &#039;&#039;See chapter 5, in particular section 33&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Symplectic geometry]]&lt;br /&gt;
[[Category:Hamiltonian mechanics]]&lt;br /&gt;
[[Category:Geodesic (mathematics)]]&lt;/div&gt;</summary>
		<author><name>193.137.99.89</name></author>
	</entry>
</feed>