Step 1: Given:
f={(1,1),(2,3),(0,−1),(−1,3)}
f(x)=ax+b
Step 2: Find the function
The given points satisfy the function.
For points (1,1):
f(1)=1
⇒a+b=1 ....(1)
For point (0,−1) :
f(0)=−1
⇒a.0+b=−1
⇒b=−1 ....(2)
From equation (1) and (2) we get.
⇒a−1=1
⇒a=2 and b=−1
Substituting the value of a and b in given function
⇒f(x)=2x−1