Ask your own question, for FREE!
Mathematics 20 Online
OpenStudy (anonymous):

Integrating factor question.

OpenStudy (anonymous):

I have th

OpenStudy (anonymous):

I'm getting the solution to be y=c

OpenStudy (anonymous):

Wolfram says otherwise

OpenStudy (agent47):

I forgot how to do integrating factors, did u multiply both sides by it?

OpenStudy (anonymous):

Yes I'll show you my attempt now.

OpenStudy (agent47):

kk I think I'll be able to follow that.

OpenStudy (anonymous):

OpenStudy (agent47):

Where did the x go in your solution?

OpenStudy (agent47):

(dy/dx)(e^(x^2/2))+x*e^(x^2/2)*y=x*e^(x^2/2)

OpenStudy (anonymous):

I integrated e^(x^2/2)*x It's equals to e^(x^2/2)+C

OpenStudy (unklerhaukus):

\[\frac{\text dy}{\text dx}+xy=x,\qquad x>1,\qquad y(1)=0\] \[\mu(x)=e^{x^2/2}\] \[\frac{\text d}{\text dx}\left(y\mu \right)=x\mu\]\[\frac{\text d}{\text dx}\left(y e^{x^2/2} \right)=xe^{x^2/2}\]\[ye^{x^2/2} =\int xe^{x^2/2}\]

OpenStudy (anonymous):

Yep

OpenStudy (unklerhaukus):

dx

OpenStudy (anonymous):

When you integrate the right side, you get the integrating factor plus a constant.

OpenStudy (anonymous):

Oh maybe I need you use integration by parts here.

OpenStudy (agent47):

no u use u sub

OpenStudy (agent47):

ok now I finally followed. u = x^2/2 du = xdx Integral = (e^u)du Integral = e^(x^2/2)+c

OpenStudy (agent47):

y(1)=0

OpenStudy (anonymous):

Yep

OpenStudy (unklerhaukus):

\[ye^{x^2/2} =\int xe^{x^2/2}\text dx\] let\[x=u\qquad e^{x^2/2}\text dx=\text dv\]\[\text dx=\text du\qquad\qquad \frac{e^{x^2/2}}{x}=v\]

OpenStudy (agent47):

y*e^(x^2/2)=e^(x^2/2)+c 0=e^(1/2)+c c=-e^(1/2)

OpenStudy (agent47):

y=1-[e^(1/2)]/[e^(x^2/2)]

OpenStudy (anonymous):

Unkle why are you using integration by parts?

OpenStudy (agent47):

Well u can use both methods, u sub wld be easier though

OpenStudy (anonymous):

Thats I did. However, I solved the ode in wolfram gives a different answer. http://www.wolframalpha.com/input/?i=solve+dy%2Fdx+%2Bxy%3Dx

OpenStudy (anonymous):

This is what I have and I cannot see anything wrong with it

OpenStudy (anonymous):

No wait it would be y=c/int factor

OpenStudy (unklerhaukus):

your right no need for integration by parts, \[ye^{x^2/2} =e^{x^2/2}+c\] \[y =1+ce^{-x^2/2}\]

OpenStudy (anonymous):

I see what wolfram did, they brought up the int factor and changed the sign.

OpenStudy (unklerhaukus):

\[y(x) =1+ce^{-x^2/2}\] \[y(1) =1+ce^{-1^2/2}=0\]

OpenStudy (unklerhaukus):

so c=-e^1/2

OpenStudy (unklerhaukus):

\[y(x)=1-e^{(1-x^2)/2}\]

OpenStudy (anonymous):

Subtract -1 from both sides.

OpenStudy (anonymous):

and divide by the int factor?

OpenStudy (anonymous):

to get c on its own.

OpenStudy (agent47):

uhmm did i get it right?

OpenStudy (anonymous):

I'm not sure, I'm not getting the same as @amistre64 anyways

OpenStudy (amistre64):

i dont recall working in this problem :)

OpenStudy (anonymous):

Oh god, I am losing my mind @UnkleRhaukus sorry @amistre64

OpenStudy (unklerhaukus):

are you still having trouble with this question @ironictoaster?

OpenStudy (anonymous):

I'm not sure how you got the constant from the inital condition

OpenStudy (anonymous):

I have y=1+c^-0.5=1

OpenStudy (anonymous):

I have y=1+c^-0.5=0

OpenStudy (unklerhaukus):

\[y(x) =1+ce^{-x^2/2}\] sub substituting x=0 \[y(1) =1+ce^{-1^2/2}\]\[0=1+ce^{-1/2}\]\[-1=ce^{-1/2}\]\[-e^{1/2}=c\]

OpenStudy (anonymous):

Do you not sub x=1

OpenStudy (unklerhaukus):

yeah whops,

OpenStudy (anonymous):

So you divided by both sides by the e^...

OpenStudy (unklerhaukus):

yeah the last step was to divide by e^-1/2 or to multiply by e^1/2 same thing

OpenStudy (anonymous):

I see, my problem was that I did it on a calculator and -1.6....

OpenStudy (anonymous):

and got -1.6

OpenStudy (unklerhaukus):

\[c=-e^{1/2}\approx-1.65\]

OpenStudy (anonymous):

Thats great, thank you.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!