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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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|cite|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

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.