# Helping on how to do find solution to diff equation

1. Dec 1, 2004

### Pepsi24chevy

Hey guys, the problem reads: Find the values of k for which y=x^2+k i sa solution to the differenital equation: 2y-xy= 10. Anyways I am confused on how to set this up. DO i keep taking the derivative of the dif equation and plugging is back into the first one or what.

2. Dec 1, 2004

### arildno

1) Compute y' from your given expression for y(x)
2) Insert the given expressions for y and y' into the expression making the left-hand side of the differential equation.
3) Determine the value(s) of "k" so that what you got in 2) equals 10.

3. Dec 1, 2004

### Pepsi24chevy

Thanks. So i got y= 2x+1 so then i plug then info i have into the differential equation so that i get 2(x^2+1) - x(2x+1) = 10. Now i am still not quit sure how to determine K. Also is the deriviative of the K constant 1?

4. Dec 1, 2004