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

nonhomogeneous ODE - Method of Undetermined coefficients question

OpenStudy (anonymous):

OpenStudy (amistre64):

they give you yh; and ask you to determine yp correct?

OpenStudy (anonymous):

How do I make the correct guess? I seem to get it wrong all the time

OpenStudy (lgbasallote):

my teacher taught us a shortcut which involved taking the derivative of the right side thingy

OpenStudy (amistre64):

are you guessing from a table?

OpenStudy (lgbasallote):

...but guessing works too...

OpenStudy (amistre64):

the wronskian always works, yes i learned this the long way tho, which builds up to the Wronskian

OpenStudy (lgbasallote):

what's wronskian?

OpenStudy (amistre64):

its a fancy name for using a system of determinants

OpenStudy (lgbasallote):

...oh....fancy....

OpenStudy (anonymous):

We use Wronskian to check if a set of functions is linearly dependent or independent.

OpenStudy (lgbasallote):

anyway... x^2 - x looks like \[\Large c_1 x e^{0x} + c_2 x^2 e^{0x}\] doesnt it?

OpenStudy (anonymous):

here you are given second degree polynomial so your guess should be \[\Large y_{p}=Ax^2+Bx+C\] but since a constant is also there in the complementary solution ,Multiply with x the yp to remove the duplication hence correct guess is \[\Large y_{p}=Ax^3+Bx^2+Cx\]

OpenStudy (anonymous):

Abel's theorem is a good Alternative for Wronskian.

OpenStudy (amistre64):

\[y_p = A(x)+B(x)e^{-x}\] \[y'_p = A'(x)+B'(x)e^{-x}-B(x)e^{-x};~~A'(x)+B'(x)e^{-x}=0\] \[y'_p = -B(x)e^{-x}\] \[y''_p = -B'(x)e^{-x}+B(x)e^{-x}\] y'p + y''p = x^2-x -B(x)e^{-x} -B'(x)e^{-x} +B(x)e^{-x}=x^2-x -B'(x)e^{-x}=x^2-x \[A'(x)+B'(x)e^{-x}=0\]\[0A'(x)-B'(x)e^{-x}=x^2-x\]

OpenStudy (amistre64):

B' = 1(x^2-x) - 0 A' = 0 - e^(-x)(x^2-x) integrate to determine A and B

OpenStudy (amistre64):

\[B = \int B'=\frac{1}{3}x^3-\frac 12x^2\] \[A = \int A'=\int -x^2e^{-x}dx+\int xe^{-x}dx\]

OpenStudy (anonymous):

the guess i found above differentiate it \[\Large y'=3Ax^2+2Bx+C\] differentiate again \[\Large y''=6Ax+B\] put in the given differential equation values of y' and y'' you will have \[\Large (6Ax+B)+(3Ax^2+2Bx+C)=x^2-x\] compare coefficients on both sides \[\Large 3A=1\] \[\Large 6A+2B=-1\] \[\Large C=0\] solve the above to get values of A and B put in the following \[\Large y_{p}=Ax^3+Bx^2+Cx\] this is your yp and complete solution is sum of both complementary and particular solutions \[\Large y=y_{c}+y_{p}\]

OpenStudy (anonymous):

@amistre64 I kinda with the direction you are going, this is what I got

OpenStudy (anonymous):

I have 2B?

OpenStudy (anonymous):

you got it correctly . just compare coefficients on both sides.

OpenStudy (amistre64):

iron, that is a suitable method if you are taking the "table" route

OpenStudy (anonymous):

@sami-21 You mean like \[3Ax ^{2}=x ^{2}\]

OpenStudy (anonymous):

yes so 3A=1 A=1/3

OpenStudy (anonymous):

Amistre, I had no idea this route had a name, I am just following a method from notes from a friend and hoping for the best thats its correct..

OpenStudy (anonymous):

and the general solution is Yh+Yp?

OpenStudy (anonymous):

yes

OpenStudy (anonymous):

Hmm, these questions aren't too bad, just gotta make sure I guess right at the beginning.

OpenStudy (amistre64):

lol, the "table" method lists suitable guesses for Yp based on the structure of the equating function; in this case it was x^2 - x

OpenStudy (anonymous):

yup.

OpenStudy (anonymous):

@sami-21 In regards, to your post did you mean a constant in my homogenous solution

OpenStudy (anonymous):

yes. there is constant A in homogeneous Part

OpenStudy (anonymous):

@sami-21 Ok I got my general solution to be

OpenStudy (anonymous):

Just wondering in the 2nd part of the question, the IVP. what equation should I derive?

OpenStudy (anonymous):

you cannot use the value of A and B for Homogeneous Part . they should be there as A and B . you will find A and B of general solution using Initial conditions. you general solution should be \[\Large y=A+Be^{-x}+\frac{1}{3}x^3-\frac{3}{2}x^2+3x\]

OpenStudy (anonymous):

I think I am going to end up with simultaneous equations

OpenStudy (anonymous):

A+B=1

OpenStudy (anonymous):

From the second IVP I got B=-2 and therefore A=-1

OpenStudy (anonymous):

you should have -1=-B+3 B=4

OpenStudy (anonymous):

@sami-21 I multiplied everything by -1 to change signs. Can I not do that?

OpenStudy (anonymous):

you can do that . but you should get the same B=4

OpenStudy (anonymous):

Algebra fail haha

OpenStudy (anonymous):

Silly mistake.

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!