- #1
tascja
- 87
- 0
I have a question about differential equations... The equation for a general differential equation that is not separable is:
dy/dx + P(x)y = Q(x)
So my question is can you have a Q(x) that has both x and y variables?
Example:
xy' +y = y^2
dy/dx + (1/x)y = (1/x)y^2
The integrating factor V(x) = e ^[int. P(x)]
= e ^[int. 1/x dx]
= x
Therefore y = [1/V(x)][int. Q(x)V(x)dx + C]
= [1/x] [int. ? + C]
dy/dx + P(x)y = Q(x)
So my question is can you have a Q(x) that has both x and y variables?
Example:
Homework Statement
xy' +y = y^2
The Attempt at a Solution
dy/dx + (1/x)y = (1/x)y^2
The integrating factor V(x) = e ^[int. P(x)]
= e ^[int. 1/x dx]
= x
Therefore y = [1/V(x)][int. Q(x)V(x)dx + C]
= [1/x] [int. ? + C]