Consider f={ ( 1,1 ),( 2,3 ),( 0,−1 ),( −1,−3 ) } is a function of f:Z→Z f( x )=ax+b for all integers a,b
Let y=f( x )
y=ax+b (1)
From the function f( x ) substitute the value ( 1,1 ) equation (1),
1=a×1+b 1= a+b (2)
From the function f( x ) substitute the value ( 2,3 ) equation (1),
3=a×2+b 3=2a+b (3)
Subtract equation (2) from equation (3),
3−1=( 2a+b )−( a+b ) 2=2a+b−a−b 2=a+0 2=a
Substitute the value of a=2 in equation (2),
1=2+b 1−2=b −1=b
Therefore, the value of a is 2 and the value of b is −1 .