Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

MathSofiya Group Title

\[y''+y'-2y=x+sin2x\] \[y(0)=1\] \[y'(0)=0\] auxiliary equation: \[r^2+r-2=0\] \[r_1=-2, r_2=1\] \[y_c(x)=C_1e^{-2x}+C_2e^x\] \[y''+y'-2y=x\] \[y_{p1}(x)=Ax+B\] \[y_{p1}'(x)=A\] \[y_{p1}''(x)=0\] \[A=-\frac12\] \[B=-1\] \[y_{p1}=-\frac12x-1\]

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Now on to yp_2, where I'm having some trouble...here is how far I've gotten.

    • 2 years ago
  2. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    \[y''+y'-2y=sin2x\] \[y_{p2}(x)=Axcos2x+Bxsin2x\] \[y_{p2}'(x)=2Acos2x-2Axsin2x+2Bsin2x+2Bxcos2x\] \[y_{p2}''(x)=-4Asin2x-4Axcos2x+4Bcos2x-4Bxsin2x\]

    • 2 years ago
  3. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    @satellite73

    • 2 years ago
  4. satellite73 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    really i am sorry i have no clue

    • 2 years ago
  5. psi9epsilon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    there is no need to select Ax cos 2x + Bx sin 2x the reason is , if you take out x as a common factor, then that "x" is actually part of a solution so you are bound to get incorrect solutions

    • 2 years ago
  6. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    So what should I do?

    • 2 years ago
  7. psi9epsilon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Did you try this using wronskian

    • 2 years ago
  8. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I don't know what that is

    • 2 years ago
  9. psi9epsilon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    can you use wikipedia to understand that method, use the keywords "wronskian equation" or "wronskian determinant" I would use that approach to solve, I will use the method followed by you only under the cases where wronskian is 0

    • 2 years ago
  10. psi9epsilon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    did you look up wronskian

    • 2 years ago
  11. across Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    You made a mistake assuming the form of \(y_{p_2}\): I don't know if you've heard of the concept of an "annihilator" before, but the differential operator \((D^2+4)\) annihilates \(\sin2x\). If we apply it to your ODE, we get:\[\begin{align}(D^2+4)(D^2+D-2)y&=(D^2+4)\sin2x,\\(m^2+4)(m^2+m-2)&=0,\\(m\pm2i)(m+2)(m-1)&=0.\end{align}\]Hence, \(y_{p_2}=A\cos2x+B\sin2x\). This is different from what you got up there; notice that there is no \(x\) multiplying neither \(\cos\) nor \(\sin\). Now try and try and wrap it up as you would from here.

    • 2 years ago
  12. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    why is it \[D^2+4\]? Is it standard for the annihilator method or where did the 4 come from?

    • 2 years ago
  13. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I''m watching Khan's academy videos right now...I should have a better understanding in an hour or so

    • 2 years ago
  14. across Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    The differential operator\[\left[D^2-2\alpha D+\left(\alpha^2+\beta^2\right)\right]^n\]anihilates each of the functions\[e^{\alpha x}\cos\beta x, xe^{\alpha x}\cos\beta x, \dots, x^{n-1}e^{\alpha x}\cos\beta x,\\e^{\alpha x}\sin\beta x, xe^{\alpha x}\sin\beta x, \dots, x^{n-1}e^{\alpha x}\sin\beta x.\]

    • 2 years ago
  15. across Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    In your case, \(\alpha=0\) and \(\beta=2\).

    • 2 years ago
  16. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    I'm sure @across knows exactly what she's talking about and I don't, but I would just make a single \(y_p\) which is the sum of the two individual ones

    • 2 years ago
  17. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    the guess for \(\cos(Ax)\) or \(\sin(Ax)\) is \(y_p=B\cos(Ax)+C\sin(Ax)\)

    • 2 years ago
  18. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    so add your two together and get\[y_p=Ax+B+C\cos(2x)+D\cos(2x)\]

    • 2 years ago
  19. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    not sure why you picked up the extra x on \(y _2\)

    • 2 years ago
  20. across Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    That's correct. It follows from the principle of superposition given differential operators are linear transformations. :) I was thrown off a little bit when I saw @MathSofiya formulating two particular solutions, but then told myself: "heck, it's the same thing anyway." So I went with her approach, but I'd also combine them. @TuringTest, that's right, but the term with the \(D\) coefficient should be a \(\sin\) (you could invert them, too, it doesn't matter).

    • 2 years ago
  21. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    @across oh yes, of of course, typo :P I'm also now remembering the annihilator thing you did, the need to add the 4 coming from differntiating sin(2x) twice and getting -4 right? (sorry to interject, just trying to remember)

    • 2 years ago
  22. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I still have two more videos to watch...brb, (hopefully it will make more sense then...)

    • 2 years ago
  23. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    or look quickly at example 8-d here (not that POMN is that thorough...)

    • 2 years ago
  24. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    http://tutorial.math.lamar.edu/Classes/DE/UndeterminedCoefficients.aspx

    • 2 years ago
  25. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    as was said, it's the superposition principle at work is all

    • 2 years ago
  26. across Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    That's right, @TuringTest. Given \(\sin2x\), applying the differential operator \(D^2+4\) to it yields:\[\begin{align}(D^2+4)\sin2x&=D^2\sin2x+4\sin2x\\&=2D\cos2x+4\sin2x\\&=-4\sin2x+4\sin2x\\&=0.\end{align}\]:)

    • 2 years ago
  27. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    thanks! Gotta get sharp on that technique

    • 2 years ago
  28. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Let's start from \[y''+y'-2y=x+sin2x\] and \[y_p\] It's still not making much sense

    • 2 years ago
  29. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    if it were just g(x)=x our guess would be Yp=Ax+B, right?

    • 2 years ago
  30. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    correct

    • 2 years ago
  31. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    and if it were just g(x)=sin(2x) what would the guess be?

    • 2 years ago
  32. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Asin2x+Bcos2x?

    • 2 years ago
  33. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    right, but let's call A=C and B=D so as not to confuse them with the other guess; they are not the same constants

    • 2 years ago
  34. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    ok

    • 2 years ago
  35. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    so for g(x)=x+sin(2x) Yp=(Ax+B)+(Csin(2x)+Dsin(2x)) which is just the sum (superposition/linear combination) of our two guesses

    • 2 years ago
  36. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    since nothing on the right side is a linear combination f anything in the complimentary solution, your solutions are all linearly dependent i.e. we don't need to screw with them any more by adding more x's or anything

    • 2 years ago
  37. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    linearly independent*

    • 2 years ago
  38. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    hence the guess for the particular is\[y_p=Ax+B+C\sin(2x)+B\cos(2x)\]the guess for the g(x)=x part+ the guess for the g(x)=sin(2x) part making a little more sense (sorry that I seemed to have discouraged @across from giving her I'm sure much more insightful answer)

    • 2 years ago
  39. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I understand it now! Is that it?....or I still gotta solve for A B and C of course

    • 2 years ago
  40. across Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    No! That's totally fine. :) I couldn't have said it better.

    • 2 years ago
  41. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    thanks :) so yeah, now it's business as usual (certainly a bit tedious, but straightforward I think)

    • 2 years ago
  42. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    A=1

    • 2 years ago
  43. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    I honestly don't feel like checking your work apart from wolfram, which is not always reliable, but hopefully you will agree.

    • 2 years ago
  44. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    LOL....Yeah I got this from here on. Thanks Turing!

    • 2 years ago
  45. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Thanks to you too @across

    • 2 years ago
  46. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    so I can skip the annihilator method (I rather avoid it because it looks confusing)

    • 2 years ago
  47. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    ?

    • 2 years ago
  48. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    it looks like wolfram wants to say A=-1/2 I will play with the system to find the constants, but I'm not going to rush it.

    • 2 years ago
  49. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    http://www.wolframalpha.com/input/?i=y''%2By'-2y%3Dx%2Bsin(2x)%2C%20y(0)%3D1%2C%20y'(0)%3D0&t=crmtb01 though I really don't trust wolf that much on DE's

    • 2 years ago
  50. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Hhmmmm....I'll do it manually too and compare

    • 2 years ago
  51. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I worked on understanding this idea for 2 days now...thanks guys for helping me finally understand it, honestly!

    • 2 years ago
  52. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    That's the best reward I could hope for, happy to help. I'll let you know what I get manually... eventually ;)

    • 2 years ago
  53. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    No hurry =P

    • 2 years ago
  54. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    I did get A=-1/2 by hand

    • 2 years ago
  55. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    actually you can see that fairly quickly...

    • 2 years ago
  56. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    wanna see how?

    • 2 years ago
  57. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    sure

    • 2 years ago
  58. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I forgot to take the first and second derivative before solving for A B and C...that's why I said A=1 OOOooops

    • 2 years ago
  59. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    you can also notice that the only part that will have an x left is Yp and since you have -2Yp you will have -2Ax on the left and x on the right hence A=-1/2 the rest is getting a bit frustrating :/

    • 2 years ago
  60. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    okay I have confirmed wolf's answer on paper

    • 2 years ago
  61. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I've gotten A=-1/2 B=-1/4 C=5/2 and D=-5/2

    • 2 years ago
  62. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I guess my C's and D's are wrong...oh well I'll take a closer look at wolfram

    • 2 years ago
  63. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    you wanna walk through it?

    • 2 years ago
  64. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Now I got A=-1/2 B=-1/4 C=-1/4 D=1/4 that's before considering y(0)=1 and y'(0)=0

    • 2 years ago
  65. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    nah, still got problems with C and D can you write out yp, yp', and yp'' ?

    • 2 years ago
  66. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    \[y_p=Ax+B+Csin2x+Dcos2x\] \[y_p'=A+2Ccos2x-2Dsin2x\] \[y_p''=-4Csin2x-4Dcos2x\]

    • 2 years ago
  67. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    thanks now just write out the result of doing the sines and cosines in y''+y'-2y ignore the Ax an B as you have already solved it and it won't affect the C and D

    • 2 years ago
  68. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    \[(-4C-2D-2C)=1\] \[(-4D+2C-2D)=0\]

    • 2 years ago
  69. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    yep

    • 2 years ago
  70. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    something is still wrong though

    • 2 years ago
  71. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    not yet, you just must have messed up solving the system

    • 2 years ago
  72. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    oh I see what I did

    • 2 years ago
  73. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    sweet

    • 2 years ago
  74. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    nope not yet C=3D and then you sub it into the first equation -6(3D)+2D=1 that still is D=-1/16

    • 2 years ago
  75. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    no it aint :P

    • 2 years ago
  76. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    you changed a sign

    • 2 years ago
  77. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    the first equation is -2D, not +2D

    • 2 years ago
  78. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    that's what I had right? \[(-4C-2D-2C)=1\] \[(-4D+2C-2D)=0\] simplified \[(-6C-2D)=1\] \[(-6D+2C)=0\] multiply the lower equation by 3 \[(-6C-2D)=1\] \[(+6C-18D)=0\] -----------------------+ -20D=1 D=-1/20

    • 2 years ago
  79. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    yay!

    • 2 years ago
  80. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    LATEX makes all the difference!

    • 2 years ago
  81. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    I really think that if programs are meant to do anything tedious in math, systems are about the most perfect example there is although, a few linear algebra tricks can solve these 2x2's pretty darn fast

    • 2 years ago
  82. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    btw I made the \(exact\) same mistake and got D=1/16 first

    • 2 years ago
  83. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    the system to find the constants in the particular is actually a bit worse I'd say, so I used some linear algebra stuff there

    • 2 years ago
  84. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    I mean in the complimentary

    • 2 years ago
  85. across Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Hopefully this summarizes everything that went on in here nicely for you :) https://dl.dropbox.com/u/12189012/OS.pdf

    • 2 years ago
  86. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    oh my gosh! did you just make that?

    • 2 years ago
  87. across Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    I felt like practicing my rusty \(\LaTeX\) skills.

    • 2 years ago
  88. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    That is quite generous, and looks much nicer than my two pages of scribbles with things crossed out ;)

    • 2 years ago
  89. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    you are soo sweet! thank you!

    • 2 years ago
  90. MathSofiya Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    OS rocks!

    • 2 years ago
  91. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    yes it does :)

    • 2 years ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.