Hi, I am looking at ways for calculating the area of any non-self-intersecting polygon in an x-y plane given its vertices:
One way that I have come up with is by splitting the polygon up into trapeziums, so moving from one point to the next calculating the trapeziums formed below each pair of consecutive points (where the last point = the first point). This adds the trapeziums going from the x-axis to the top of the polygon and subtracts the area of trapezoids going from the x-axis to the bottom of the polygon, leaving the area of the polygon. Adding up all these trapeziums gives an equation for area according to the top equation in the attached picture. https://9appsapk.vin https://vidmateapp.vin
Another method (given by Wikipedia) which I think is deducible from Green’s theorem, says the area of an irregular polygon equals the bottom equation in the picture. To my understanding these two equations give the same area but I cannot prove their equality. Can somebody please help me confirm whether or not they are equal, or what is wrong with the trapezium method? Its killing me!!!
Thank you for helping!