How do you write an equation of the line with f(-2)=1 and f(-1)=3?

1 Answer
Jul 15, 2015

#y=2x+5# in slope-intercept form and #2x-y+5=0# in standard form.

Explanation:

The slope of the line is

#\frac{\mbox{rise}}{\mbox{run}}=\frac{\Delta y}{\Delta x}=\frac{f(-1)-f(-2)}{-1-(-2)}=\frac{3-1}{-1+2}=2/1=2#

Therefore, the equation of the line can be written (in point-slope form) as

#y=2(x-(-2))+1=2(x+2)+1#.

Using the distributive property and simplifying gives the slope-intercept form

#y=2x+5#.

Rearranging gives the standard form

#2x-y+5=0#.