Find the general solution of the given differential equation.

x dy/dx − y = x^2 sin x

I have solved to:
y = -x cos(x) + cx

The second part of the question is to give the largest interval over which the general solution is defined.

I would think it would be - infinity to + infinity but webassign says that is wrong. How do you determine the domain?

2 answers

to solve it, did you divide by x?
To solve for y, yes.