Write a linear function fwithf(2)=-2 and f(1)=1.
Find linear function.
From f(2)=-2, the point is (2,-2).
From f(1)=1, the point is (1,1).
Recall the formula of two-point form of equation:
y-y1=y2-y1x2-x1x-x1
Substitute the points (2,-2) and (1,1):
y-1=-2-12-1x-1⇒y-1=-31x-1⇒y-1=-3x+3⇒y=-3x+3+1⇒y=-3x+4
Replace y with f(x):
f(x)=-3x+4
Hence, the linear function is f(x)=-3x+4.
How do you write a linear function f with the values f(2)=−1 and f(5)=4?
f(x) is a linear function. If f(1) = 2 and f(3) = 8, then f(x) = ?