We know that, angular bisector divides third side in the ration of two sides, i.e. AP:PC=AB:BC
Here, AB=√(5+1)2+(7+1)2=√36+64=10BC=√(5−1)2+(1−4)2=√16+9=5
⇒ P divides AC in 10:5 ratio i.e 2:1
we know that, if P divides AC in m:n ratio, then
P=(mx1+nx1m+n,my2+ny1m+n)
⇒ Here, P=[2(1)+1(−1)2+1,2(4)+1(−7)2+1]=(2−13,8−73)
⇒P=(13,13)
We have coordinates of B(5,1) and P(13,13)
So, equation is y−1=13−113−5(x−5)⇒y−1=−23−143(x−5)⇒7y−7=x−5
∴x−7y+2=0 is the required equation.