First oreder linear ODE NONHOMOGENEOUS

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
9 replies · 2K views
pat666
Messages
703
Reaction score
0

Homework Statement



[tex]x^3y'+xy=x, y(1)=2[/tex]

Homework Equations





The Attempt at a Solution



I'm having trouble starting this because it doesn't fit any form I'm familiar with because of the [tex]x^3[/tex] in front of the y'. Can someone give me some pointers to get started..
 
Physics news on Phys.org
Unless you have a typo, you can simplify the equation somewhat by dividing through by x. The homogeneous equation is separable. The inhomogenous equation should be solvable by variation of parameters or by just guessing that the particular solution is a constant.
 
hey, thanks for the reply. I'm still having trouble though.
[tex]x^2y'=1-y[/tex]
[tex]x^2/dx=(1-y)/dy[/tex]
I'm not sure what to do now because I can't integrate like that?

Thanks

edit:
unless I should invert everything:
[tex]1/x^2 dx=1/(1-y) dy[/tex] just an idea not sure if that is the logical next step?
 
pat666 said:
hey, thanks for the reply. I'm still having trouble though.
[tex]x^2y'=1-y[/tex]
[tex]x^2/dx=(1-y)/dy[/tex]
I'm not sure what to do now because I can't integrate like that?

Thanks

edit:
unless I should invert everything:
[tex]1/x^2 dx=1/(1-y) dy[/tex] just an idea not sure if that is the logical next step?

Yes, invert both sides.
 
ok now I have
[tex]1/x+c=ln(y-1)[/tex]
[tex]y=e^(1/x)+1+c_1[/tex]

Is that correct?
Thanks
 
it gives -1/x but the integral of [tex]1/(1-y) dy is -ln(y-1)[/tex] so I got rid of the negative. I don't know what's wrong with the exponentiation though?? unless you meant that c should be e^c but I changed to c1 where c1=e^cthanks
 
ok thanks so:
[tex] y=c_1 e^(1/x)+1[/tex] is a/the correct solutions?

thanks