Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Let's say I have 3 points in $p_1, p_2, p_3 \in \mathbb{R}^2$ that define a triangle $T$

I define now the function $f_1 : \mathbb{R}^2 \to \mathbb{R}$ such that:

  • $f_1(p_1) = 1, f_1(p_2) = f_1(p_3) = 0$
  • $f_1 = 0$ outside of $T$
  • $f_1$ is linearly interpolated inside $T$, given the extremities.

Likewise we define $f_2$ such that $f_2(p_2) = 1, f_2(p_1) = f_2(p_3) = 0$ and $f_3$0

What I want to compute is the integral over $\mathbb{R}^2$ (or $T$) of $f_i \cdot f_j$ where $i,j \in \{1,2,3\}$.

How would I do that? I feel like there is a simple formula to do this but all I can't manage to write it down

Thanks!

share|improve this question
    
thanks for the latexification! –  lezebulon Mar 21 '13 at 18:16
    
Are you familiar with finite elements? –  Occupy Gezi Mar 21 '13 at 19:39
    
@Anil Baseski : I'm trying to get this formula to use it to compute finite elements –  lezebulon Mar 21 '13 at 19:51
    
Check this mems.rice.edu/~akin/Elsevier/Chap_10.pdf –  Occupy Gezi Mar 21 '13 at 20:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.