document.write( "Question 1143813: Given the points A(1,5), B(5,-2) C(-5,-5) and D(-15,1).
\n" ); document.write( "1.Find the area of the quadrilateral ABCD. Hint:divide the area into two triangles.
\n" ); document.write( "2.find the equation of a line AB?
\n" ); document.write( "

Algebra.Com's Answer #764751 by ikleyn(52908)\"\" \"About 
You can put this solution on YOUR website!
.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            The method to which Alan refers in his post is very robust,  but Alan made a number of errors on the way,
\n" ); document.write( "            so I came to fix it and to get the correct answer/solution.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Given the points A(1,5), B(5,-2) C(-5,-5) and D(-15,1).
\n" ); document.write( "1.Find the area of the quadrilateral ABCD.
\n" ); document.write( "Here's a better way to do these:
\n" ); document.write( "
\r\n" );
document.write( "     A    B    C    D    A\r\n" );
document.write( "x    1    5   -5   -15   1\r\n" );
document.write( "Y    5   -2   -5    1    5       <----\r\n" );
document.write( "

\n" ); document.write( "---
\n" ); document.write( "Add the diagonal products starting at the upper left
\n" ); document.write( "1*(-2) + 5*(-5) + (-5)*1 + (-15)*5 = -2 -25 -5 -75 = -107     <----
\n" ); document.write( "----
\n" ); document.write( "Add the diagonal products starting at the lower left
\n" ); document.write( "5*5 + (-2)*(-5) + (-5)*(-15) + 1*1 = 25 + 10 + 75 + 1 = 111     <----
\n" ); document.write( "------
\n" ); document.write( "The difference between the 2 sums is 11 - (-107) = 111 + 107 = 218.             <----
\n" ); document.write( "The area is 1/2 that: Area = 218/2 = 109 sq units                 <----\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer for the area :   109 square units.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "By the arrows  \" <---- \"  I showed the lines where I edited Alan's calculations.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "For this method,  see the site\r
\n" ); document.write( "\n" ); document.write( "https://www.mathopenref.com/coordpolygonarea.html\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It works for non-convex polygons,  too.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It works,  practically,  for all and any polygons.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The major and the only restriction is  THIS :   a polygon should not have self-intersections.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );