document.write( "Question 848023: P(-3,1), Q(2,5) and R(7,a) are three points in the cartesian plane. Find the values of ''a'' in each case if
\n" ); document.write( "P,Q and R are collinear
\n" ); document.write( "PQR=90 degrees
\n" ); document.write( "PR=QR
\n" ); document.write( "

Algebra.Com's Answer #510837 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "First find equation of line PQ.
\n" ); document.write( "Slope \"m=%285-1%29%2F%282-%28-3%29%29=4%2F5\";
\n" ); document.write( "y=mx+b
\n" ); document.write( "b=y-mx
\n" ); document.write( "Use the point P or Q, find b value.
\n" ); document.write( "\"b=5-%284%2F5%292=5-8%2F5=25%2F5-8%2F5=17%2F5\";
\n" ); document.write( "Equation for PQ is \"highlight%28y=%284%2F5%29x%2B17%2F5%29\".
\n" ); document.write( "-
\n" ); document.write( "R is collinear: Use x=7 to find \"a\".--------
\n" ); document.write( "\"y=%284%2F5%29%2A7%2B17%2F5\"
\n" ); document.write( "\"y=28%2F5%2B17%2F5=highlight%2842%2F5%29\".
\n" ); document.write( "Point R(7, 42/5) Collinear with P and Q.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "PQR to be 90 degree---
\n" ); document.write( "That is perpendicular to eachother, PQ and QR.
\n" ); document.write( "The line QR would have slope \"m=-5%2F4\".
\n" ); document.write( "The line for QR in this way, which will contain Q, will be y=-(5/4)x+b; here, this b is going to be different from the one for PQ.
\n" ); document.write( "b=y+(5/4)x
\n" ); document.write( "and using point Q(2, 5),
\n" ); document.write( "\"b=5%2B%285%2F4%292=5%2B10%2F4=20%2F4%2B10%2F4=30%2F4=15%2F2\".
\n" ); document.write( "Line QR is \"highlight%28y=-%285%2F4%29x%2B15%2F2%29\".
\n" ); document.write( "-
\n" ); document.write( "What then is R? What is y when x=7?
\n" ); document.write( "\"y=-%285%2F4%29%2A7%2B15%2F2\"
\n" ); document.write( "\"y=-35%2F4%2B15%2F2=-35%2F4%2B30%2F4=-5%2F4\"
\n" ); document.write( "Point R is (7, -5/4).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "PR=QR-------
\n" ); document.write( "Use the distance formula for PR and QR. The variable will be a.
\n" ); document.write( "-
\n" ); document.write( "\"PR=sqrt%28%287-%28-3%29%29%5E2%2B%28a-1%29%5E2%29\"
\n" ); document.write( "\"sqrt%28100%2Ba%5E2-2a%2B1%29\"
\n" ); document.write( "\"sqrt%28a%5E2-2a%2B101%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"QR=sqrt%28%287-2%29%5E2%2B%28a-5%29%5E2%29\"
\n" ); document.write( "\"sqrt%2825%2Ba%5E2-10a%2B25%29\"
\n" ); document.write( "\"sqrt%28a%5E2-10a%2B50%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Equating PR=QR and squaring both sides gives
\n" ); document.write( "\"highlight_green%28a%5E2-2a%2B101=a%5E2-10a%2B50%29\".
\n" ); document.write( "-...
\n" ); document.write( "You continue this to find a?
\n" ); document.write( "
\n" );