@Maks the fact that the vector associated to the points are orthogonal does not imply that they form a rectangle triangle. One simple way to see this is that the fact that the triangle is rectangle depends on the third point, whereas your argument does not take it into account
How does $\frac{\partial f(r(t))}{\partial x} \frac{dx(t)}{dt} + \frac{\partial f(r(t))}{\partial x_2} \frac{dx_2(t)}{dt} + ...$ get integrated to return $f(x(b)) - f(x(a)) + f(x_2(b)) - f(x_2(a)) + ...$ for some bounds of integration?
You can compute the norm of the sides of the triangle, and dividing the scalar product by the product of the norms gives you the cosine of the angle between the vectors
@semiC I forgot to include $dt$ with which the integral is being integrated w.r.t . When you include that, you can change $r'(t)$ to $dx(t)\vec{x} + dx_2(t)\vec{x_2} + ...$
consider $r(t) = \langle x(t),x_2(t), x_3(t),...,\rangle$ then you have $\frac{\partial f(r(t))}{\partial x}$ to be something of the form $ax^l + ax_2^m x^n + ...$ and if you take integral w.r.t x you have the original function f(x(t)) I think.
@Semiclassical I'm sorry I'm back haha, but when I first calculate the difference between the two points, shouldnt that already give me the vector that is one side of the triangle ??
Not sure what you're getting at. My point was that, if you start from the position vectors A,B,C corresponding to the coordinates you specified, then the differences are precisely the AB,BC,AC vectors you wrote before.
@semiC Okay I checked it for a function $f(r(t)) = x^2 + 3xx_3 - 2x_2 + x_4 - 6$ took the partials and took integrals with respect to the same variable and it worked.
@Semiclassical What I meant was, If I had the points $ (3,1,1) $ and $ (-1,2,1) $ to calculate the side of the triangle they were creating Was it enough to do $(3,1,1) - (-1,2,1) $ and the resulting vector is the side Or do I have to go one step further and calculate the differente between that vector and the other one ?
@semiC I think $\int_a^b \frac{\partial f}{\partial x} dx$ gives a different answer like you said. $\frac{\partial f(r(t))}{\partial x} = \frac{\partial}{\partial x}\left[ x^2 + x_2x_3 - x_4 + 6\right]$ then taking integral gives $x^2 + x_2x_3$ But, the integral of the total derivative would yield something like $f(r(b)) - f(r(a)) = x(b)^2 + x_2(b)x_3(b) - x_4(b) + 6 - [...]$ right?
@Ramanujan foo and bar ar typical names given to functions/programs that are not part of a bigger project and only exist to demonstrate a programming concept in the instant