document.write( "Question 476358: Dear math teacher,\r
\n" ); document.write( "\n" ); document.write( "I am having difficulties with the following problem:
\n" ); document.write( "How many straight lines are determined by n points, no three of which lie in the same straight line? \r
\n" ); document.write( "\n" ); document.write( "Here is how I reasoned through the problem:\r
\n" ); document.write( "\n" ); document.write( "n = n
\n" ); document.write( "n = total number of points
\n" ); document.write( "3 = points that are NOT collinear
\n" ); document.write( "(n-3) = points that ARE collinear\r
\n" ); document.write( "\n" ); document.write( "\"no three of which lie in the same straight line\" means no three of n points lie in the same straight line; therefore,
\n" ); document.write( "A.) 3 points are NOT collinear and make nC3 = n!/((n-3)!3!)lines = n(n-1)(n-2)(n-3)!/(n-3)!3! = n(n-1)(n-2)/3! = n(n^2-3n+2)/3! = n^3-3n^2+2n/3! lines
\n" ); document.write( "B.) (n-3) points - are collinear points and make 1 line only. They are also points remaining from n points after the 3 points are selected in nC3 ways as in A.) \r
\n" ); document.write( "\n" ); document.write( "Total number of lines created from n points, no three of which lie in the same straight line = 1 line + n(n-1)(n-2)/3!; however, the textbook's answer is n(n-1)/2 lines. \r
\n" ); document.write( "\n" ); document.write( "Would you please correct me in this problem and explain to me what does \"no three of which lie in the same straight line\" truly mean? \r
\n" ); document.write( "\n" ); document.write( "Thank you very much for helping me figure this out. \r
\n" ); document.write( "\n" ); document.write( "Yours respectfully, \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Ivanka
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #326631 by MathLover1(20849)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( " \"no three of which lie in the same straight line\" truly mean that a line is defined by two points;all you need is two points to draw a line through them. Through three points you can draw three lines (imagine triangle, extend its sides to make lines)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here are steps how to get a formula \"n%28n-1%29%2F2\" which is your answer\r
\n" ); document.write( "\n" ); document.write( "1.
\n" ); document.write( "Draw, or suppose you have, n points in a plane. No three points lie in a straight line. You want to know how many lines can be drawn through two points at a time.\r
\n" ); document.write( "\n" ); document.write( "For example, you may have a circle with eight points, denoted A through H.\r
\n" ); document.write( "\n" ); document.write( "2.
\n" ); document.write( "Pick one point and determine how many pairs of points it can be in. If there are n points, the answer is n-1. This is how many lines can pass through that first point and another point at the same time.\r
\n" ); document.write( "\n" ); document.write( "Continuing with the above example, A can be matched up with B or C or D or E or F or G or H. That's seven possible matches.\r
\n" ); document.write( "\n" ); document.write( "3.\r
\n" ); document.write( "\n" ); document.write( "Pick the next point over. Its pairing with the first point has already been counted, but its pairing with the n-2 other points hasn't. Add n-2 to your earlier number, n-1, as possible lines through the points.\r
\n" ); document.write( "\n" ); document.write( "Continuing with the above example, B can have a line going through it and C through H. You don't count a line going through B and A, since you already did that in Step 2. So the possible lines through B are six.\r
\n" ); document.write( "\n" ); document.write( "4.\r
\n" ); document.write( "\n" ); document.write( "Continue with the pattern, adding n-3, then n-4, and so on. So the total sum of possible lines is n-1 + n-2 + n-3 + ... + 1. This is the same as summing up 1 + 2 + 3 + ... + n-1. It can be shown that the formula for 1 + 2 + 3 + ... + n-1 is:\r
\n" ); document.write( "\n" ); document.write( " \"n%28n-1%29%2F2\"\r
\n" ); document.write( "\n" ); document.write( "Continuing with the above example, there were eight points, so n=8 gives a total number of possible lines through the points of n(n-1)/2 = 8*7/2 = 28. You can verify this yourself by adding the 7 found in Step 2 to the 6 found in Step 3 to 5, 4, 3, 2 and 1 to get 28. It also matches the result discussed in the introduction where the number of points was \"n=3\": \"n%28n-1%29%2F2+=+3%2A2%2F2+=+3\" possible lines.\r
\n" ); document.write( "\n" ); document.write( "PS:\r
\n" ); document.write( "\n" ); document.write( "nadam se da je sada jasno Ivanka...:-)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );