1)
A = (3, 8) oraz B = (-1, 4)
{3a + b = 8
{-a + b = 4 / * (-1)
{3a + b = 8
+ {a - b = -4
-------------------
4a = 4 / : 4
a = 1
3 * 1 + b = 8
b = 8 - 3
b = 5
y = x + 5
2)
A = (4, -4) oraz B = (1, 3)
{4a + b = -4
{a + b = 3 / * (-1)
{4a + b = -4
+ {-a - b = -3
--------------------
3a = -7 / : 3
a = -7/3
-7/3 + b = 3
b = 3 + 7/3
b = 9/3 + 7/3
b = 16/3
y = -7/3x + 16/3
3)
A = (6, 1) oraz B = (-2, -3)
{6a + b = 1
{-2a + b = -3 / * (-1)
{6a + b = 1
+ {2a - b = 3
--------------------
8a = 4 / : 8
a = 0,5
6 * 0,5 + b = 1
b = 1 - 3
b = -2
y = 0,5x - 2
4)
A = (2, 3) oraz B = (4, 2)
{2a + b = 3
{4a + b = 2 / * (-1)
{2a + b = 3
+ {-4a - b = -2
----------------------
-2a = 1 / : (-2)
a = -0,5
2 * (-0,5) + b = 3
-1 + b = 3
b = 3 + 1
b = 4
y = -0,5x + 4