nonhomogeneous ODE - Method of Undetermined coefficients question
they give you yh; and ask you to determine yp correct?
How do I make the correct guess? I seem to get it wrong all the time
my teacher taught us a shortcut which involved taking the derivative of the right side thingy
are you guessing from a table?
...but guessing works too...
the wronskian always works, yes i learned this the long way tho, which builds up to the Wronskian
what's wronskian?
its a fancy name for using a system of determinants
...oh....fancy....
We use Wronskian to check if a set of functions is linearly dependent or independent.
anyway... x^2 - x looks like \[\Large c_1 x e^{0x} + c_2 x^2 e^{0x}\] doesnt it?
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\]
Abel's theorem is a good Alternative for Wronskian.
\[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\]
B' = 1(x^2-x) - 0 A' = 0 - e^(-x)(x^2-x) integrate to determine A and B
\[B = \int B'=\frac{1}{3}x^3-\frac 12x^2\] \[A = \int A'=\int -x^2e^{-x}dx+\int xe^{-x}dx\]
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}\]
@amistre64 I kinda with the direction you are going, this is what I got
I have 2B?
you got it correctly . just compare coefficients on both sides.
iron, that is a suitable method if you are taking the "table" route
@sami-21 You mean like \[3Ax ^{2}=x ^{2}\]
yes so 3A=1 A=1/3
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..
and the general solution is Yh+Yp?
yes
Hmm, these questions aren't too bad, just gotta make sure I guess right at the beginning.
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
yup.
@sami-21 In regards, to your post did you mean a constant in my homogenous solution
yes. there is constant A in homogeneous Part
@sami-21 Ok I got my general solution to be
Just wondering in the 2nd part of the question, the IVP. what equation should I derive?
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\]
I think I am going to end up with simultaneous equations
A+B=1
From the second IVP I got B=-2 and therefore A=-1
you should have -1=-B+3 B=4
@sami-21 I multiplied everything by -1 to change signs. Can I not do that?
you can do that . but you should get the same B=4
Algebra fail haha
Silly mistake.
Join our real-time social learning platform and learn together with your friends!