Finite element method: Difference between revisions

Content deleted Content added
No edit summary
Correct minus sign before gv integral
Line 73:
:&phi;<sub>''v''</sub>(L''u'')=&phi;<sub>''v''</sub>(''g'')
 
for all ''v'' in V. From now on, we will use &int;<sub>T</sub> for the double integral &int;<sub>0</sub><sup>1</sup>&int;<sub>0</sub><sup>1</sup>. One can see, via [[integration by parts]], and noting that because of the periodic boundary condition the non-integral term vanishes. Thus we find, that the last equality is equivalent to:
 
<math>
:&psi;(''u'',''v''):=-&int;<sub>T</sub>(''u<sub>x</sub>v<sub>x</sub>''+''u<sub>y</sub>v<sub>y</sub>'') = -&int;<sub>T</sub>''g&middot;v'' = &phi;<sub>''v''</sub>(''g'')
\int_0^1 \int_0^1 v\left(u_{xx}+u_{yy}\right)dxdy = -\int_0^1\int_0^1 \left(v_x u_x + v_y u_y \right) dxdy.
</math>
 
Thus we find that the last equality is equivalent to:
 
:&psi;(''u'',''v''):=-&int;<sub>T</sub>(''u<sub>x</sub>v<sub>x</sub>''+''u<sub>y</sub>v<sub>y</sub>'') = -&int;<sub>T</sub>''g&middot;v'' = &phi;<sub>''v''</sub>(''g'')
 
The function &psi; of ''u'' and ''v'' is in fact [[bilinear]], and it is the bilinear form associated with L. The functions ''v'' are called ''test functions''.