दी गई रेखा का समीकरण
`4x-y=0`
और `theta=135^(@)`
अंत : प्रवणता `m=tan theta = tan 135^(@)=-1`
अब बिंदु P (4 ,1 ) से रेखा का समीकरण ,
`y-1=-1(x-4)`
`-1=-x+4`
`x+y=5`
समीकरण (i ) तथा (ii ) को हल करने पर ,
`x=1` तथा `y=4` अब बिंदु (4 ,1 ) तथा (1 ,4 ) के बीच कि दुरी
`=sqrt((1-4)^(2)+(4-1)^(2))=sqrt(9+9)=sqrt(18)=3sqrt(2)` इकाई ।