Compute the flux of the field $$ F=(x-y+xy, \, -2x+y, \, xz)$$ over the plane triangle with cornerns in $(1,0,0), \, (0,1,0), \, (0,0,1)$.
My method: $\\$
Parametrize the triangle by $r=(x, \, y, \, 1-x-y), \, (x,y) \in D$ where $D: 0 \leq x \leq 1, \, 0 \leq y \leq 1$. Then $r'_x = (1,0,-1), \, r'_y=(0,1,-1)$ and we get the normal vector of the triangle by the cross product $$r'_x \times r'_y = (1,1,1)$$ In my naive understanding, this should be divided by $|r'_x \times r'_y| = \sqrt{3}$. We should be ready to easily compute the double integral given by $$ \iint_{D} F \cdot \frac{r'_x \times r'_y}{|r'_x \times r'_y|} dxdy $$ We may express $F$ in terms of only $x$ and $y$ as $$F=(x-y+xy, \, -2x+y, \, x(1-x-y)$$ and the dot product is calculated to $$(x-y+xy) + (-2x+y) + (x(1-x-y)) = x-y+xy-2x+y+x-x^2-xy = -x^2$$. So the double integral is $$\frac{1}{\sqrt{3}} \int_{y=0}^1 (\int_{x=0}^1 - x^2 dx) dy = -\frac{1}{3\sqrt{3}}$$ This is very wrong though. The correct answer is $1/12$ downwards in the direction of the $z$-axis. Where did I go wrong? How can I do it correctly?