Question: Bisector of the interior angle

I want to find coordinates M of the bisector of the interior angle at the vertex A of the triangle ABC.

with(LinearAlgebra):

A:=<1,-1,-3>:

B:=<2,1,-2>:

C:=<-5,2,-6>:

CrossProduct(B-A,C-B);

M:=<x,y,z>:

AB:=Norm(B-A,2):

AC:=Norm(C-A,2):

k:=AB/AC:

solve([seq((B-M)[i]=-k*(C-M)[i],i=1..3)],[x,y,z]);

In this code, coorinates are rational numbers. How I  choose coordinates A, B, C so that the coordinates of point M are integer or rational numbers. 

 

Please Wait...