laura_a said:
Homework Statement
Find the general solution of
y' + (2/x)y = 3/(x^2)
In what sense is this a
partial differential equation?
The Attempt at a Solution
xy' + 2y = 3/x
d/dx (x * 2y) = 3/x
These are NOT the same. differentiating (x*2y) gives 2xy'+ 2y. there is no "2" multipying xy' in the equation.
integrating both sides (using product rule for LHS) I end up with
There is no "product rule" for integration. You are simply using the "fundamental theorem of calculus, that the integral of f ' is f.
If y= (3lnx+ C)/2x, then y'= [2x(3/x)- 2(3lnx+C)]/4x
2
Then xy'+ 2y= [6- 6lnx+2C]/4x+ [6lnx+ 2C/4x= 3/2x, not 3/x.
Then I am supposed to find the solution for which y(2) = -1 so I subbed that into the above and got c = -4/3 - ln2
So then I can say that y = 3lnx/(2x) - 4/3 -ln2
Hope that's right!
Thanks guys!
As I pointed out d/dx[2xy] is NOT equal to xy'+ 2y. There is NO function of x and y whose derivative with respect to x is xy'+ 2y, it is not an
exact derivative. However, multiplying the entire equation by the "integrating factor", x, wil make it exact.
Multiplying the equation xy'+ 2y= 3/x by x gives x
2y'+ 2xy= 3. The left side is equal to d[x
2y]/dx so the equation is the same as d(x
2y)/dx= 3 and integrating both sides of that x
2y= 3x+ C.