xa+yb−1=0......(i)xb+ya−1=0......(ii)
Equation of line passing through point of intersection of (i) and (ii) is
xa+yb−1+λ(xb+ya−1)=0.........(i)
It passes through (0,0)
0+0−1+λ(0+0+−1)=0−1−λ=0⇒λ=−1
substituting λ in (i)
xa+yb−1+(−1)(xb+ya−1)xa+yb−1−xb−ya+1=0x(1a−1b)−y(1a−1b)=0y−x=0y=x
Now any point on y=x is of the form P(h,h)
Let perpendicular distance of P from (i) =p1
p1=∣∣∣ha+hb−1∣∣∣√1a2+1b2
Perpendicular distance of P from (ii) =p2
p2=∣∣∣hb+ha−1∣∣∣√1b2+1a2
Clearly p2=p1
If perpendicular distance of any point from the line passing through the point of intersection of two lines are equal, then the line is a bisector of the angle between the other two.
Hence, y=x also bisects the angle between the given lines.