document.write( "Question 225302: write an equation for the linear function f, where f(3)= -2 and f(-5)=14 \n" ); document.write( "
Algebra.Com's Answer #168150 by LtAurora(115)\"\" \"About 
You can put this solution on YOUR website!
What they've given you here is 2 points:
\n" ); document.write( "(-2,3) and (14,-5).
\n" ); document.write( "To find the equation, we have to solve for the slope first:
\n" ); document.write( "\"m=%28y_1-y_2%29%2F%28x_1-x_2%29\"
\n" ); document.write( "Plug in the given points:
\n" ); document.write( "\"m=%283-%28-5%29%29%2F%28-2-14%29\"
\n" ); document.write( "Simplify:
\n" ); document.write( "\"m=8%2F-16\"
\n" ); document.write( "\"m=-1%2F2\"
\n" ); document.write( "Then we can use the following equation:
\n" ); document.write( "\"%28y-y_1%29=m%28x-x_1%29\"
\n" ); document.write( "\"%28y-3%29=-%281%2F2%29%28x-%28-2%29%29\"
\n" ); document.write( "Simplify the right hand side:
\n" ); document.write( "\"%28y-3%29=-%281%2F2%29x-1\"
\n" ); document.write( "Move the -3 over by adding it to both sides:
\n" ); document.write( "\"y=-%281%2F2%29x%2B2\", which is our linear function.
\n" ); document.write( "Or, can be written as: \"f%28x%29=-%281%2F2%29x%2B2\"
\n" ); document.write( "
\n" );