Find a linear function f, given f(16)=-2 and f(-12)=-9. Then find f(0) | MathCelebrity Forum

Find a linear function f, given f(16)=-2 and f(-12)=-9. Then find f(0)

math_celebrity

Administrator
Staff member
Find a linear function f, given f(16)=-2 and f(-12)=-9. Then find f(0).

We've got 2 points:
(16, -2) and (-12, -9)

Calculate the slope (m) of this line using:
m = (y2 - y1)/(x2 - x1)
m = (-9 - -2)/(-12 - 16)
m = -7/-28
m = 1/4

The line equation is denoted as:
y = mx + b

Let's use the first point (x, y) = (16, -2)
-2 = 1/4(16) + b
-2 = 4 + b

Subtract 4 from each side, and we get:
b = -6

So our equation of the line is:
y = 1/4x - 6

The questions asks for f(0):
y = 1/4(0) - 6
y = 0 - 6
y = -6
 
Back
Top