Como conocemos, la ecuación implícita de la recta en el plano afín que pasa por los puntos \(P(p_1,p_2)\) y \(Q(q_1,q_2)\) vendrá dada por el determinante: \[\begin{vmatrix} x & y & 1\\ p_1 & p_2 & 1\\ q_1 & q_2 & 1 \end{vmatrix}=0\] Así la recta que buscamos es:

(%i3) P : [ 1 , 1 ] $
Q : [ 2 , 3 ] $
determinant ( matrix ( [ x , y , 1 ] , append ( P , [ 1 ] ) , append ( Q , [ 1 ] ) ) ) = 0 ;
(%o3) y 4 x + 5 = 0

Created with wxMaxima.