<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Computation_tree</id>
	<title>Computation tree - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Computation_tree"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Computation_tree&amp;action=history"/>
	<updated>2026-04-10T11:30:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Computation_tree&amp;diff=12048&amp;oldid=prev</id>
		<title>en&gt;David Eppstein: dab</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Computation_tree&amp;diff=12048&amp;oldid=prev"/>
		<updated>2011-04-15T03:57:51Z</updated>

		<summary type="html">&lt;p&gt;dab&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Merge|Lions–Lax–Milgram theorem|date=March 2012}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Weak formulations&amp;#039;&amp;#039;&amp;#039; are an important tool for the analysis of mathematical equations that permit the transfer of concepts of [[linear algebra]] to solve problems in other fields such as [[partial differential equation]]s. In a weak formulation, an equation is no longer required to hold absolutely (and this is not even well defined) and has instead &amp;#039;&amp;#039;&amp;#039;[[weak solution]]s&amp;#039;&amp;#039;&amp;#039; only with respect to certain &amp;quot;test vectors&amp;quot; or &amp;quot;[[test function]]s&amp;quot;.  This is equivalent to formulating the problem to require a solution in the sense of a [[Distribution (mathematics)|distribution]].&lt;br /&gt;
&lt;br /&gt;
We introduce weak formulations by a few examples and present the main theorem for the solution, the &amp;#039;&amp;#039;&amp;#039;Lax–Milgram theorem&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==General concept==&lt;br /&gt;
Let &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; be a [[Banach space]]. We want to find the solution &amp;lt;math&amp;gt;u \in V&amp;lt;/math&amp;gt; of the equation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Au = f&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A:V\to V&amp;#039;&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f\in V&amp;#039;&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;V&amp;#039;&amp;lt;/math&amp;gt; being the [[Dual space|dual]] of &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Calculus of variations]] tells us that this is equivalent to finding &amp;lt;math&amp;gt;u\in V&amp;lt;/math&amp;gt; such that&lt;br /&gt;
for all &amp;lt;math&amp;gt;v\in V&amp;lt;/math&amp;gt; holds:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;[Au](v) = f(v)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Here, we call &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; a test vector or test function.&lt;br /&gt;
&lt;br /&gt;
We bring this into the generic form of a weak formulation, namely, find &amp;lt;math&amp;gt;u\in V&amp;lt;/math&amp;gt; such that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a(u,v) = f(v) \quad \forall v\in V,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
by defining the [[bilinear form]]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a(u,v) := [Au](v).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since this is very abstract, let us follow this by some examples.&lt;br /&gt;
&lt;br /&gt;
==Example 1: linear system of equations==&lt;br /&gt;
Now, let &amp;lt;math&amp;gt;V = \mathbb R^n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;A:V\to V&amp;lt;/math&amp;gt; a linear mapping. Then, the weak formulation of the equation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Au = f&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
involves finding &amp;lt;math&amp;gt;u\in V&amp;lt;/math&amp;gt; such that for all &amp;lt;math&amp;gt;v\in V&amp;lt;/math&amp;gt; the following equation holds:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \langle Au,v \rangle = \langle f,v \rangle, \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\langle \cdot,\cdot \rangle&amp;lt;/math&amp;gt; denotes an inner product.&lt;br /&gt;
&lt;br /&gt;
Since &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is a linear mapping, it is sufficient to test with basis vectors, and we get&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \langle Au,e_i\rangle = \langle f,e_i\rangle \quad i=1,\ldots,n. \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Actually, expanding &amp;lt;math&amp;gt;u=\sum_{j=1}^n u_je_j&amp;lt;/math&amp;gt;, we obtain the matrix form of the equation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\mathbf A \mathbf u = \mathbf f,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a_{ij} = \langle Ae_j, e_i\rangle &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f_i = \langle f,e_i \rangle &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The bilinear form associated to this weak formulation is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a(u,v) = \mathbf v^T\mathbf A \mathbf u.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2: Poisson&amp;#039;s equation==&lt;br /&gt;
Our aim is to solve [[Poisson&amp;#039;s equation]] &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\nabla^2 u = f, \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on a domain &amp;lt;math&amp;gt;\Omega\subset \mathbb R^d&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;u=0&amp;lt;/math&amp;gt; on its boundary,&lt;br /&gt;
and we want to specify the solution space &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; later. We will use the &amp;lt;math&amp;gt;L^2&amp;lt;/math&amp;gt;-scalar product&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\langle u,v\rangle = \int_\Omega uv\,dx&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to derive our weak formulation. Then, testing with differentiable functions &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;, we get&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; - \int_\Omega ( \nabla^2 u ) v \,dx = \int_\Omega fv \,dx. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can make the left side of this equation more symmetric by [[integration by parts]] using [[Green&amp;#039;s identities|Green&amp;#039;s identity]]:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \int_\Omega \nabla u \cdot \nabla v \,dx = \int_\Omega f v \,dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is what is usually called the weak formulation of [[Poisson&amp;#039;s equation]]; what&amp;#039;s missing is the space &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;, which is beyond the scope of this article. The space must allow us to write down this equation. Therefore, we should require that the derivatives of functions in this space are square integrable. Now, there is actually the [[Sobolev space]] &amp;lt;math&amp;gt;H^1_0(\Omega)&amp;lt;/math&amp;gt; of functions with [[weak derivative]]s in &amp;lt;math&amp;gt;L^2(\Omega)&amp;lt;/math&amp;gt; and with zero boundary conditions, which fulfills this purpose.&lt;br /&gt;
&lt;br /&gt;
We obtain the generic form by assigning&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a(u,v) = \int_\Omega \nabla u \cdot \nabla v \,dx &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; f(v) = \int_\Omega f v \,dx. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The Lax–Milgram theorem==&lt;br /&gt;
This is a formulation of the &amp;#039;&amp;#039;&amp;#039;Lax–Milgram theorem&amp;#039;&amp;#039;&amp;#039; which relies on properties of the symmetric part of the [[bilinear form]]. It is not the most general form.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; be a [[Hilbert space]] and &amp;lt;math&amp;gt; a( \cdot ,\cdot )&amp;lt;/math&amp;gt; a [[bilinear form]] on &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;, which is&lt;br /&gt;
# [[Bilinear form#On normed vector spaces|bounded]]: &amp;lt;math&amp;gt;|a(u,v)| \le C \|u\| \|v\|&amp;lt;/math&amp;gt; and&lt;br /&gt;
# [[Coercive function#Coercive operators and forms|coercive]]: &amp;lt;math&amp;gt; |a(u,u)| \ge c \|u\|^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, for any &amp;lt;math&amp;gt;f\in V&amp;#039;&amp;lt;/math&amp;gt;, there is a unique solution &amp;lt;math&amp;gt;u\in V&amp;lt;/math&amp;gt; to the equation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a(u,v) = f(v)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it holds&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|u\| \le \frac1c \|f\|_{V&amp;#039;}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Application to example 1===&lt;br /&gt;
Here, application of the Lax–Milgram theorem is definitely overkill, but we still can use it and give this problem the same structure as the others have.&lt;br /&gt;
&lt;br /&gt;
*Boundedness: all bilinear forms on &amp;lt;math&amp;gt;\mathbb R^n&amp;lt;/math&amp;gt; are bounded. In particular, we have&lt;br /&gt;
*:&amp;lt;math&amp;gt; |a(u,v)| \le \|A\|\,\|u\|\,\|v\| \, &amp;lt;/math&amp;gt;&lt;br /&gt;
*Coercivity: this actually means that the real parts of the eigenvalues of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; are not smaller than &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. Since this implies in particular that no eigenvalue is zero, the system is solvable.&lt;br /&gt;
&lt;br /&gt;
Additionally, we get the estimate&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|u\| \le \frac1c \|f\|, \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the minimal real part of an eigenvalue of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Application to example 2===&lt;br /&gt;
Here, as we mentioned above, we choose &amp;lt;math&amp;gt;V = H^1_0(\Omega)&amp;lt;/math&amp;gt; with the norm&lt;br /&gt;
:&amp;lt;math&amp;gt;\|v\|_V := \|\nabla v\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the norm on the right is the &amp;lt;math&amp;gt;L^2&amp;lt;/math&amp;gt;-norm on &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; (this provides a true norm on &amp;lt;math&amp;gt; V &amp;lt;/math&amp;gt; by the [[Poincaré inequality]]).&lt;br /&gt;
But, we see that &amp;lt;math&amp;gt;|a(u,u)| = \|\nabla u\|^2&amp;lt;/math&amp;gt; and by the [[Cauchy–Schwarz inequality]], &amp;lt;math&amp;gt;|a(u,v)| \le \|\nabla u\|\,\|\nabla v\|&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Therefore, for any &amp;lt;math&amp;gt;f\in [H^1_0(\Omega)]&amp;#039;&amp;lt;/math&amp;gt;, there is a unique solution &amp;lt;math&amp;gt;u\in V&amp;lt;/math&amp;gt; of [[Poisson&amp;#039;s equation]] and we have the estimate&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\nabla u\| \le \|f\|_{[H^1_0(\Omega)]&amp;#039;}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Babuška–Lax–Milgram theorem]]&lt;br /&gt;
* [[Lions–Lax–Milgram theorem]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* {{cite book&lt;br /&gt;
| last1 = Lax&lt;br /&gt;
| first1 = Peter D.&lt;br /&gt;
| author1-link = Peter Lax&lt;br /&gt;
| last2 = Milgram&lt;br /&gt;
| first2 = Arthur N.&lt;br /&gt;
| author2-link = Arthur Milgram&lt;br /&gt;
| chapter = Parabolic equations&lt;br /&gt;
| title = Contributions to the theory of partial differential equations&lt;br /&gt;
| series = Annals of Mathematics Studies, no. 33&lt;br /&gt;
| pages = 167&amp;amp;ndash;190&lt;br /&gt;
| publisher = Princeton University Press&lt;br /&gt;
| location = Princeton, N. J.&lt;br /&gt;
| year = 1954&lt;br /&gt;
}} {{MathSciNet|id=0067317}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://mathworld.wolfram.com/Lax-MilgramTheorem.html MathWorld page on Lax–Milgram theorem]&lt;br /&gt;
&lt;br /&gt;
[[Category:Partial differential equations]]&lt;br /&gt;
[[Category:Numerical differential equations]]&lt;/div&gt;</summary>
		<author><name>en&gt;David Eppstein</name></author>
	</entry>
</feed>