The equation of the side AB:

The equation of the side AC:

Let M(x,y) be a point of the bisector. Then

We get two equations: and

These are the equations of both bisectors, interior and exterior. To find which of them is the interior bisector, plug the coordinates of B and C in the left side member of the equations and we have to get two values of opposite signs.