How to find a linear equation with the same solution set?

1.6k Views Asked by At

I have this homework question that I solved, but it was so easy that I feel like I did something wrong. Can someone just confirm that my approach to this problem was correct?

So, I have to find a linear equation that has the same solution set as the given equation. (possibly with some restrictions on the variables)

$$\frac{x^2 - y^2}{x-y} = 1$$

I simplified this to $x + y = 1$ by canceling $x-y$ from the top and bottom. Also, I said that $x-y$ cannot be equal to $0$ or $x$ cannot be equal to $y$. I got this from the original equation where $x-y$ is in the denominator.