Ecuatia dreptei se calculeaza prin formula:
[tex]AB:\frac{y-y_A}{y_B-y_A}=\frac{x-x_A}{x_B-x_A} \Rightarrow AB: \frac{y-1}{4-1}=\frac{x-3}{1-3} \Rightarrow AB: \frac{y-1}{3}=\frac{x-3}{-2} \Rightarrow \\ \Rightarrow AB: -2(y-1)=3(x-3) \Rightarrow AB: -2y+2=3x-9 \Rightarrow \\ \Rightarrow AB: 3x+2y-9-2=0 \Rightarrow AB: 3x+2y-11=0[/tex]