A line passes through point P(1, 4) and has equal intercepts on both coordinate axes. What is the equation of line ?
Problem 9
Official solution
When the line passes through the origin, its equation is , which can be rewritten as .
When the line does not pass through the origin, let's assume the equation of the line is . Substituting point (1, 4) into this equation gives .
Therefore, the equation of the line is .
In summary, the equations of the line sought are or .
Hence, the answer is .