Write the equation of the line passing through the point (1,-2) and cutting off equal intercepts from the axes.
Let the equation of the required line be
xa+ya=1
[∵ the line has equal intercepts]
Now, it is passing through (1,-2)
∴1a−2a=1
⇒a=−1
Hence,the required equation is given by
x−1+y−1=1
⇒x+y+1=0