What Method Solves the ODE x^3y'+4x^2y=1/x?

  • Thread starter Thread starter pat666
  • Start date Start date
  • Tags Tags
    Ode
pat666
Messages
703
Reaction score
0

Homework Statement



x^3y'+4x^2y=1/x


Homework Equations


NA


The Attempt at a Solution


I've tried separation of variable but I can't get the ys on 1 side and the xs on the other.

Please help the exam is soon and I don't know what method to use?
 
Physics news on Phys.org
It's a first-order differential equation, so you can always use an integration factor.
 
How do I do that for the non homogenous ODE?
 
As always, find solution to homogeneous equation. Then find particular solution. Add the two solutions together.
 
Ok, ill try to figure it out. I can't find the y_p value for r(x) though. Do you know what it is for 1/x?
 
hi pat666! :wink:

hint: the LHS is almost an exact integral, isn't it?

ok, multiply it by something to make it an exact integral (that's vela's :smile: integrating factor)
 
Question. what is an exact integral?
 
oops! :rolleyes:

i meant an exact derivative :redface:
 
Suppose you had a general differential equation:
<br /> p(x)\frac{dy}{dx}+r(x)y=r(x)<br />
The first thing to do is divide through by p(x) to obtain:
<br /> \frac{dy}{dx}+\frac{q(x)}{p(x)}y=\frac{r(x)}{p(x)}<br />
Then the trick is to multiply through by:
<br /> e^{\int\frac{q(x)}{p(x)}dx}<br />
and note that:
<br /> \frac{d}{dx}e^{\int\frac{q(x)}{p(x)}dx}=e^{\int \frac{q(x)}{p(x)}dx}\frac{q(x)}{p(x)}<br />
and so the LHS of the equation can be written as:
<br /> \frac{d}{dx}\left( e^{\int\frac{q(x)}{p(x)}dx}y\right) =\frac{r(x)}{p(x)}e^{\int\frac{q(x)}{p(x)}dx}<br />
From this I think you can solve your equation.
 
  • #10
hunt_mat gave the general formula for the integrating factor. I perfer to think like this:
We are looking for a function u(x) so that multiplying by u(x) makes the left side of the equation,
x^3u(x)y&#039;+ 4x^2u(x)y
an "exact derivative". That is, it is of the form
\frac{d(x^3u(x)y)}{dx}= x^3u(x)y&#039;+ 4x^2u
by the product rule, that is the same as
x^3u(x)y&#039;+ 3x^2uy+ x^3u&#039;y= x^3u(x)y&#039;+ 4x^2u
so we want
3x^2u+ x^3u&#039;= 4x^2u

Then
x^3u&#039;= x^2u
which is a separable equation

\frac{du}{u}= \frac{dx}{x}
Which is easily integrable.
 
  • #11
I still can't do this, when I try hund_mat's method I get x^4*y'+4x^3*y=1 I don't know how to solve this either?
 
  • #12
I need help urgently/ ODE

Homework Statement


Solve this ODE

x^3y&#039;+4x^2y=1/x

Separation of variables won't work and I can't find an integrating factor


Homework Equations





The Attempt at a Solution

 
  • #13
hi pat666! :smile:

(try using the X2 icon just above the Reply box :wink:)

hint: what is d/dx (x4y) ? :wink:
 
  • #14
That is 4x^3*y but where did that come from and what do I do with it?

Thanks
 
  • #15
ahhh!

nooo :redface: … use the product rule :wink:
 
  • #16
I'm not sure what you mean? how can the answer change by using a different rule?
 
  • #17
you didn't differentiate the "y" :wink:
 
  • #18


This is a linear first order differential equation. Substitute y by the product f˙g.

ehild
 
  • #19


What is f and g? Does that mean by the product of d/dx(x^3)*?

Thanks
 
  • #20


f(x) and g(x) are two arbitrary functions.
You have a linear differential equation y'+a(x)y=b(x) (The comma ' means d/dx)
Replace y=f(x)g(x), y'=f'g+fg':
f'g+fg'+a(x)fg=b(x), and choose f in such way that f'g+a(x)fg=0. Eliminate g. Solve for f (you need a particular solution only) and plug it into the rest of the original equation:
fg'=b(x) and find the general solution for g(x).
Try. :)

ehild
 
  • #21


Is it an exact differential equation? I looks like, if you multiple by x, you get x4y'+4x3y=1, let f(x, y)=x4y, and you can see df/dx=x4y'+4x3y=1.
 
  • #22
what he's saying is:
<br /> \frac{d}{dx}(x^{4}y(x))=4x^{3}y(x)+x^{4}\frac{dy}{dx}<br />
 
  • #23


This question was asked before, multiply through by x and notice that you can write the LHS as a total derivative.
 
  • #24


pat666 said:

Homework Statement


Solve this ODE

x^3y&#039;+4x^2y=1/x

Separation of variables won't work and I can't find an integrating factor


Homework Equations





The Attempt at a Solution


Two threads merged. Please do not multiple post the same question.
 
Back
Top