y = ax + b równanie kierunkowe prostej
b)
A(x,y)=(2\sqrt2,-2\sqrt2) , B(x,y)=(1,1+\sqrt2)
-2\sqrt2=2\sqrt2 a+b
1+\sqrt2=a*1+b
odejmuję stronami:
-1-3\sqrt2=2\sqrt2a-a
-1-3\sqrt2=-a(1-2\sqrt2) |*(-1)
1+3\sqrt2=a(1-2\sqrt2)
a=\frac{1+3\sqrt2}{1-2\sqrt2}=\frac{(1+3\sqrt2)(1+2\sqrt2)}{(1-2\sqrt2)(1+2\sqrt2)}
a=\frac{1+2\sqrt2+3\sqrt2+6*2}{1-4*2}=\frac{13+5\sqrt2}{1-8}
a=\frac{-(-13-5\sqrt2}{-7}
a=\frac{-13-5\sqrt2}{7}
b=-2\sqrt2-2\sqrt2a
b=-2\sqrt2-2\sqrt2*(\frac{-13-5\sqrt2}{7})=-2\sqrt2+\frac{26\sqrt2+20}{7}
b=\frac{14\sqrt2+26\sqrt2+20}{7}=\frac{20+12\sqrt2}{7}
b=\frac{4(5+3\sqrt2)}{7}
y = ax + b
y=\frac{-13-5\sqrt2}{7}x+\frac{4(5+3\sqrt2)}{7} <-- odpowiedź