Friday, February 8, 2019

linear algebra - How are these cross-product summations equivalent?




Trying to determine how the Xi+1 is no longer applicable by changing summation bounds:



n1i=0(Xi+Xi+1)(Yi+1Yi)=ni=1Xi(Yi+1Yi1)



Can somebody explain algebraically how this is derived from the bounds?



The source is found here, scroll down to "Polygons, 2D Polygons".


Answer



There was a previously deleted answer which was almost correct, which I have fixed and reproduced below:




n1i=0(Xi+Xi+1)(Yi+1Yi)=n1i=0Xi(Yi+1Yi)+n1i=0Xi+1(Yi+1Yi)=n1i=0Xi(Yi+1Yi)+ni=1Xi(YiYi1)=ni=1Xi(Yi+1Yi)+ni=1Xi(YiYi1)=ni=1Xi(Yi+1Yi1)
The third equality follows since X0(Y1Y0)=Xn(Yn+1Yn) (as the indices are modulo n), so removing the i=0 term and adding in the i=n term does not change the sum.


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...