document.write( "Question 833927: Determine whether the three points P(-6, -9, 4), Q(-8, -13, -2) and R(-10, -17, -10) are collinear by computing the distances between pairs of points. \r
\n" ); document.write( "\n" ); document.write( "(a) Distance from P to Q:
\n" ); document.write( "(b) Distance from Q to R:
\n" ); document.write( "(c) Distance from P to R:
\n" ); document.write( "(d) Are the three points colinear (y/n)?
\n" ); document.write( "

Algebra.Com's Answer #502846 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
This is one ugly problem.
\n" ); document.write( "Calculating distances is a cumbersome way to find if the points are colinear.
\n" ); document.write( "The answer for part (d) could be more easily found in different ways.
\n" ); document.write( "I can see they are not colinear by simple mental math, but to answer parts (a), (b), and (c) we need to calculate those distances.
\n" ); document.write( "Maybe the problem was designed to make students practice concentration, arithmetic and patience,
\n" ); document.write( "or maybe students were taught to use a fancy calculator/computer programs to calculate distances without having to think.
\n" ); document.write( "I don't like it. I like thinking, understanding, and solving problems by the shortest, more direct route.
\n" ); document.write( "However, no one else seemed to want to solve this problem, so I might as well do it.
\n" ); document.write( "
\n" ); document.write( "If P, Q and R are colinear, two of the distance will add up to the third distance.
\n" ); document.write( "If not, the points will be forming a triangle and the sum of the two shortest distances will be greater than the longer distance.
\n" ); document.write( "
\n" ); document.write( "CALCULATING DISTANCES:
\n" ); document.write( "The distance between two points is
\n" ); document.write( "the square root of
\n" ); document.write( "the sum of the squares of
\n" ); document.write( "the differences in the points coordinates.
\n" ); document.write( "
\n" ); document.write( "NOTE: That is an ugly mouthful that correspond to the uglier formula below,
\n" ); document.write( "but the concept is simple and neat;
\n" ); document.write( "just apply the Pythagorean theorem once if given two variables,
\n" ); document.write( "twice if given 3 variables.
\n" ); document.write( "If this NOTE makes sense to you, enjoy it. If it does not make sense, ignore it.
\n" ); document.write( "
\n" ); document.write( "The distance between points \"P%28x%5BP%5D%2Cy%5BP%5D%2Cz%5BP%5D%29\" and \"Q%28x%5BQ%5D%2Cy%5BQ%5D%2Cz%5BQ%5D%29\" is
\n" ); document.write( "
\n" ); document.write( "So \"PQ=sqrt%28%28-8-%28-6%29%29%5E2%2B%28-13-%28-9%29%29%5E2%2B%28-2-4%29%5E2%29\"
\n" ); document.write( "\"PQ=sqrt%28%28-8%2B6%29%5E2%2B%28-13%2B9%29%5E2%2B%28-6%29%5E2%29\"
\n" ); document.write( "\"PQ=sqrt%28%28-2%29%5E2%2B%28-4%29%5E2%2B%28-6%29%5E2%29\"
\n" ); document.write( "\"PQ=sqrt%284%2B16%2B36%29\"
\n" ); document.write( "\"PQ=sqrt%2856%29=sqrt%284%2A14%29=2sqrt%2814%29=%22approximately+7.48%22\"
\n" ); document.write( "Similarly,
\n" ); document.write( "\"PR=sqrt%28%28-10-%28-6%29%29%5E2%2B%28-17-%28-9%29%29%5E2%2B%28-10-4%29%5E2%29\"
\n" ); document.write( "\"PR=sqrt%28%28-10%2B6%29%5E2%2B%28-17%2B9%29%5E2%2B%28-10-4%29%5E2%29\"
\n" ); document.write( "\"PR=sqrt%28%28-4%29%5E2%2B%28-8%29%5E2%2B%28-14%29%5E2%29\"
\n" ); document.write( "\"PR=sqrt%2816%2B64%2B196%29\"
\n" ); document.write( "\"PR=sqrt%28276%29=sqrt%284%2A69%29=2sqrt%2869%29=%22approximately+16.61%22\"
\n" ); document.write( "and
\n" ); document.write( "\"RQ=sqrt%28%28-8-%28-10%29%29%5E2%2B%28-13-%28-17%29%29%5E2%2B%28-2-%28-10%29%29%5E2%29\"
\n" ); document.write( "\"RQ=sqrt%28%28-8%2B10%29%5E2%2B%28-13%2B17%29%5E2%2B%28-2%2B10%29%5E2%29\"
\n" ); document.write( "\"RQ=sqrt%282%5E2%2B4%5E2%2B8%5E2%29\"
\n" ); document.write( "\"RQ=sqrt%284%2B16%2B64%29\"
\n" ); document.write( "\"RQ=sqrt%2884%29=sqrt%284%2A21%29=2sqrt%2821%29=%22approximately+9.17%22\"
\n" ); document.write( "I do not see any benefit from working with those pesky square roots, so let's add the approximate values. They are correct to within \"0.01\",
\n" ); document.write( "so assuming the sum of the shortest distance added to exactly the longest distance,
\n" ); document.write( "we could not be off by more than \"0.01%2B0.01%2B0.01=0.03\" .
\n" ); document.write( "\"7.48%2B9.17=16.65\" is the sum,
\n" ); document.write( "and it differs from \"16.61\" by \"16.65-16.61=0.04%3E0.03\" ,
\n" ); document.write( "so the points are not colinear.
\n" ); document.write( "
\n" );