<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=203.219.15.37</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=203.219.15.37"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/203.219.15.37"/>
	<updated>2026-05-02T04:41:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Portal:Gravitation/Where_to_start&amp;diff=10602</id>
		<title>Portal:Gravitation/Where to start</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Portal:Gravitation/Where_to_start&amp;diff=10602"/>
		<updated>2010-08-02T10:46:25Z</updated>

		<summary type="html">&lt;p&gt;203.219.15.37: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{more footnotes|date=October 2011}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Farkas&#039;s lemma&#039;&#039;&#039; is a result in [[mathematics]] stating that a vector is either in a given [[cone (linear algebra)|convex cone]] or that there exists a [[hyperplane|(hyper)plane]] separating the vector from the cone - there are no other possibilities. It was originally proved by the Hungarian mathematician [[Gyula Farkas (natural scientist)|Gyula Farkas]] {{harvs|txt|year=1894|year2=1902}}. It is used amongst other things in the proof of the [[Karush–Kuhn–Tucker|Karush–Kuhn–Tucker theorem]] in [[nonlinear programming]].&lt;br /&gt;
&lt;br /&gt;
Farkas&#039;s lemma is an example of a [[theorem of the alternative]]; a theorem stating that of two systems, one or the other has a solution, but not both nor none.&lt;br /&gt;
&lt;br /&gt;
== Statement of the lemma ==&lt;br /&gt;
Let &#039;&#039;A&#039;&#039; be a real &#039;&#039;m&#039;&#039; &amp;amp;times; &#039;&#039;n&#039;&#039; [[matrix (mathematics)|matrix]] and &#039;&#039;b&#039;&#039; an &#039;&#039;m&#039;&#039;-dimensional real [[vector space|vector]]. Then, exactly one of the following two statements is true:&lt;br /&gt;
# There exists an &#039;&#039;x&#039;&#039; ∈ &#039;&#039;&#039;R&#039;&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt; such that &#039;&#039;Ax&#039;&#039; = &#039;&#039;b&#039;&#039; and &#039;&#039;x&#039;&#039; ≥ 0.&lt;br /&gt;
# There exists a &#039;&#039;y&#039;&#039; ∈ &#039;&#039;&#039;R&#039;&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;m&#039;&#039;&amp;lt;/sup&amp;gt; such that &#039;&#039;A&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;y&#039;&#039; ≥ 0 and &#039;&#039;b&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;y&#039;&#039; &amp;lt; 0.&lt;br /&gt;
Here, the notation &#039;&#039;x&#039;&#039; ≥ 0 means that all components of the vector &#039;&#039;x&#039;&#039; are nonnegative.&lt;br /&gt;
&lt;br /&gt;
There are a number of slightly different (but equivalent) formulations of the Lemma in the literature.  The one given here is due to [[David Gale|Gale]], [[Harold Kuhn|Kuhn]] and [[Albert W. Tucker|Tucker]] in 1951.&lt;br /&gt;
&lt;br /&gt;
== Geometric interpretation ==&lt;br /&gt;
Let &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, …, &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; ∈ &#039;&#039;&#039;R&#039;&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;m&#039;&#039;&amp;lt;/sup&amp;gt; denote the columns of &#039;&#039;A&#039;&#039;. In terms of these vectors, Farkas&#039;s lemma states that exactly one of the following two statements is true:&lt;br /&gt;
# There exist coefficients &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, …, &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; ∈ &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, …, &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; ≥ 0, such that &#039;&#039;b&#039;&#039; = &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; + ··· + &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt;&#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt;.&lt;br /&gt;
# There exists a vector &#039;&#039;y&#039;&#039; ∈ &#039;&#039;&#039;R&#039;&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;m&#039;&#039;&amp;lt;/sup&amp;gt; such that &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt; · &#039;&#039;y&#039;&#039; ≥ 0 for &#039;&#039;i&#039;&#039; = 1, …, &#039;&#039;n&#039;&#039; and &#039;&#039;b&#039;&#039; · &#039;&#039;y&#039;&#039; &amp;lt; 0.&lt;br /&gt;
&lt;br /&gt;
The vectors &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; + ··· + &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt;&#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; with nonnegative coefficients constitute the [[convex cone]] of the set {&#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, …, &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt;} so the first statement says that &#039;&#039;b&#039;&#039; is in this cone.&lt;br /&gt;
&lt;br /&gt;
The second statement says that there exists a vector &#039;&#039;y&#039;&#039; such that the angle of &#039;&#039;y&#039;&#039; with the vectors &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt; is at most 90° while the angle of &#039;&#039;y&#039;&#039; with the vector &#039;&#039;b&#039;&#039; is more than 90°. The hyperplane normal to this vector has the vectors &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt; on one side and the vector &#039;&#039;b&#039;&#039; on the other side. Hence, this hyperplane separates the vectors in the cone of  {&#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, …, &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt;} and the vector &#039;&#039;b&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For example, let &#039;&#039;n,m&#039;&#039;=2 and &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; = (1,0)&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt; and &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = (1,1)&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;. The convex cone spanned by &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; can be seen as a wedge-shaped slice of the first quadrant in the &#039;&#039;x-y&#039;&#039; plane. Now, suppose &#039;&#039;b&#039;&#039;&amp;amp;nbsp;=&amp;amp;nbsp;(0,1). Certainly, &#039;&#039;b&#039;&#039; is not in the convex cone &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;+&#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. Hence, there must be a separating hyperplane. Let &#039;&#039;y&#039;&#039;&amp;amp;nbsp;=&amp;amp;nbsp;(1,&amp;amp;minus;1)&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;. We can see that &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; · &#039;&#039;y&#039;&#039; = 1, &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; · &#039;&#039;y&#039;&#039; = 0, and &#039;&#039;b&#039;&#039; · &#039;&#039;y&#039;&#039; = &amp;amp;minus;1. Hence, the hyperplane with normal &#039;&#039;y&#039;&#039; indeed separates the convex cone &#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;+&#039;&#039;a&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; from &#039;&#039;b&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Farkas&#039;s lemma can thus be interpreted geometrically as follows: Given a convex cone and a vector, either the vector is in the cone or there is a hyperplane separating the vector from the cone, but not both.&lt;br /&gt;
&lt;br /&gt;
== Further implications ==&lt;br /&gt;
Farkas&#039;s lemma can be varied to many further theorems of alternative by simple modifications, such as [[Gordan&#039;s theorem]]: Either &amp;lt;math&amp;gt;Ax &amp;lt; 0&amp;lt;/math&amp;gt; has a solution &#039;&#039;x&#039;&#039;, or &amp;lt;math&amp;gt;A^T y = 0 &amp;lt;/math&amp;gt; has a nonzero solution &#039;&#039;y&#039;&#039; with &#039;&#039;y&#039;&#039; ≥ 0.&lt;br /&gt;
&lt;br /&gt;
Common applications of Farkas&#039; lemma include proving the strong and weak duality theorem associated with linear programming, game theory at a basic level and the [[Kuhn-Tucker conditions|Kuhn-Tucker]] constraints. An extension of Farkas&#039; Lemma can be used to analyze the strong duality conditions for and construct the dual of a semidefinite program. It is sufficient to prove the existence of the Kuhn-Tucker constraints using the Fredholm alternative but for the condition to be necessary, one must apply the Von Neumann equilibrium theorem to show the equations derived by Cauchy are not violated.&lt;br /&gt;
&lt;br /&gt;
A particularly suggestive and easy-to-remember version is the following: if a set of inequalities has no solution, then a contradiction can be produced from it by linear combination with nonnegative coefficients.  In formulas: if &amp;lt;math&amp;gt;Ax&amp;lt;/math&amp;gt; ≤ &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; is unsolvable then &amp;lt;math&amp;gt;y^T A = 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;y^T b = -1&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; ≥ &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; has a solution.&amp;lt;ref&amp;gt;{{Citation|title=Convex Optimization|first1=Stephen P.|last1=Boyd|first2=Lieven|last2=Vandenberghe|year=2004|publisher=Cambridge University Press|isbn=978-0-521-83378-3|url=http://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf|format=pdf|accessdate=October 15, 2011|chapter=Section 5.8.3}}&amp;lt;/ref&amp;gt; (Note that &amp;lt;math&amp;gt;y^T A&amp;lt;/math&amp;gt; is a combination of the left hand sides, &amp;lt;math&amp;gt;y^T b&amp;lt;/math&amp;gt; a combination of the right hand side of the inequalities.  Since the positive combination produces a zero vector on the left and a &amp;amp;minus;1 on the right, the contradiction is apparent.)&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* {{Citation | last1=Berkovitz | first1=Leonard D. | title=Convexity and Optimization in &amp;lt;math&amp;gt;\mathbb{R}^n&amp;lt;/math&amp;gt; | publisher=[[John Wiley &amp;amp; Sons]] | location=New York | isbn=978-0-471-35281-5 | year=2001}}.&lt;br /&gt;
* {{citation | first1 = Gyula | last1 = Farkas | author1-link = Gyula Farkas (natural scientist) | year = 1894 | title = A Fourier-féle mechanikai elv alkamazásai | journal = Mathematikai és Természettudományi Értesítő | volume = 12 | pages = 457–472 }}. reference from Schrijver&#039;s Combinatorial Optimization textbook&lt;br /&gt;
* {{citation | first1 = Julius (Gyula) | last1 = Farkas | author1-link = Gyula Farkas (natural scientist) | year = 1902 | title = Über die Theorie der Einfachen Ungleichungen | url = http://gdz.sub.uni-goettingen.de/en/dms/load/img/?PPN=PPN243919689_0124&amp;amp;DMDID=dmdlog4 | journal = Journal für die Reine und Angewandte Mathematik | volume = 124 | pages = 1–27 | doi = 10.1515/crll.1902.124.1 | issue = 124 }}.&lt;br /&gt;
* {{citation|first = R. T. |last=Rockafellar|author-link=R. T. Rockafellar|title=Convex Analysis|publisher= Princeton University Press|year=1979 |page=See Page 200}}&lt;br /&gt;
* {{citation|author=Gale, Kuhn and Tucker|chapter= Linear Programming and the Theory of Games - Chapter XII|title= Activity Analysis of Production and Allocation|editor =Koopmans|publisher= Wiley |year=1951|url = http://cowles.econ.yale.edu/P/cm/m13/m13-19.pdf }}.  See Lemma 1 on page 318.&lt;br /&gt;
* {{Citation|doi=10.1007/s11202-010-0010-y|last=Kutateladze |first=S.|title=The Farkas Lemma Revisited |url=http://www.math.nsc.ru/LBRT/g2/english/ssk/preprint229.pdf|year=2010|journal=Siberian Mathematical Journal|volume=51|pages=78–87|issue=1|postscript=.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mathematical optimization]]&lt;br /&gt;
[[Category:Lemmas]]&lt;br /&gt;
[[Category:Convex analysis]]&lt;br /&gt;
[[Category:Linear programming]]&lt;br /&gt;
[[Category:Oriented matroids]]&lt;/div&gt;</summary>
		<author><name>203.219.15.37</name></author>
	</entry>
</feed>