# Integrate over a face of a bubble function

I'm working in a finite element code where I need to calculate $$\int_F b_F$$ where $F$ is a face of some tetrahedron $K$ in the mesh, and $b_F$ is the usual bubble function defined by $$b_F=9\lambda_1\lambda_2\lambda_3$$ where $\lambda_i$ are the usual barycentric coordinates. Note that $\textrm{supp}(b_F)=K_+\cup K_-$, where $K_+$ and $K_-$ are the thetrahedron sharing the face $F$. Where (book o paper) can I find this value?

For example, in 2D (where $K$ is a triangle and $F$ some edge) $b_F=4\lambda_1\lambda_2$ and $$\displaystyle\int_F b_F=\frac{2}{3}\,|h_F|$$

but I need the result when $K$ is a tetrahedron.

• My understanding of bubble functions is that they are zero on the cell faces, i.e., they have no implications for continuity across faces. In that case, the surface integral over a face or edge would of course be zero. Dec 22, 2015 at 16:41
• Thanks @WolfgangBangerth for comment. Those are the bubble functions $b_K$ defined over the element $K$, with support in $K$. But I'm using bubble functions $b_F$, whitch has its support in $K_+\cup K_-$ (where $K_+$ and $K_-$ are the element that share the face $F$) Dec 22, 2015 at 19:16

$${\frac{1}{2A}}\int_{\Omega^e}\zeta^i_1\zeta^j_2\zeta^k_3 d\Omega = {\frac{i!j!k!}{(i+j+k+2)!}}, i\ge0, j\ge0, k\ge0.$$
Instead of defining the triangular, barycentric coordinates as $\lambda_i$, this reference uses $\zeta_i$. For your function, $9\lambda_1\lambda_2\lambda_3$, i, j, and k in equation 15.26 are all one. So, by simple substitution, your integral will be equal $3A/20$ where $A$ is the area of the triangle.