document.write( "Question 666499: Write a linear equation to fit the following data(linear regression)
\n" ); document.write( "1)Through (7,12) with m = -4/5
\n" ); document.write( "2) Perpendicular to 3x-4y=8 and through (-1,1)
\n" ); document.write( "3) Parallel to 3x-4y=8 and through (-1,1)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #414493 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
m= - 4/5
\n" ); document.write( "Plug value of the slope and point(7, 12 ) in
\n" ); document.write( "Y = m x + b
\n" ); document.write( "12 = - 4/5 * 7 + b
\n" ); document.write( "12 = -5 3/5 + b
\n" ); document.write( "b= 12 + 28/5
\n" ); document.write( "b= 88/ 5
\n" ); document.write( "So the equation will be
\n" ); document.write( "Y = - 4/5 x + 88/5
\n" ); document.write( "------------
\n" ); document.write( "
\n" ); document.write( "3 x -4 y = 8
\n" ); document.write( "Find the slope of this line
\n" ); document.write( "
\n" ); document.write( "-4 y = -3 x + 8
\n" ); document.write( "Divide by -4
\n" ); document.write( " y = 3/ 4 x + -2
\n" ); document.write( "Compare this equation with y=mx+b, m= slope & b= y intercept
\n" ); document.write( "slope m = 3/4
\n" ); document.write( "
\n" ); document.write( "The slope of a line perpendicular to the above line will be the negative reciprocal -4/3
\n" ); document.write( "Because m1*m2 =-1
\n" ); document.write( "The slope of the required line will be -4/3
\n" ); document.write( "
\n" ); document.write( "m= -4/3 ,point ( -1 , 1 )
\n" ); document.write( "Find b by plugging the values of m & the point in
\n" ); document.write( "y=mx+b
\n" ); document.write( "1 = 4/ 3 + b
\n" ); document.write( "b= - 1/3
\n" ); document.write( "m= -1 1/3
\n" ); document.write( "The required equation is y= -4/ 3 x - 1/ 3 \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-----------------\r
\n" ); document.write( "\n" ); document.write( "PARALLEL
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "3 x -4 y = 8
\n" ); document.write( "Find the slope of this line
\n" ); document.write( "make y the subject
\n" ); document.write( "-4 y = -3 x + 8
\n" ); document.write( "Divide by -4
\n" ); document.write( " y = 3/4 x -2
\n" ); document.write( "Compare this equation with y=mx+b
\n" ); document.write( "slope m = 3/4
\n" ); document.write( "The slope of a line parallel to the above line will be the same
\n" ); document.write( "The slope of the required line will be 3/4
\n" ); document.write( "m= 3/4 ,point ( -1 , 1 )
\n" ); document.write( "Find b by plugging the values of m & the point in
\n" ); document.write( "y=mx+b
\n" ); document.write( "1 = - 3/ 4 + b
\n" ); document.write( "b= 1.75
\n" ); document.write( "m= 3/4
\n" ); document.write( "Plug value of the slope and b in y = mx +b
\n" ); document.write( "The required equation is y = 3/4 x + 7/ 4
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "m.ananth@hotmail.ca
\n" ); document.write( "
\n" ); document.write( "
\n" );