Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

guess

  • one year ago

dy/dx+y=x^2+2x solve it by 2 method

  • This Question is Closed
  1. zepdrix
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    \[\large y'+y=x^2+2x\] Let's start by using the method of Undetermined Coefficients. Our complimentary solution \(\large y_c\) is given by the solution to this equation.\[\large y'+y=0\] The characteristic equation is,\[\large r+1=0 \qquad \rightarrow \qquad r=-1\]Giving us a complimentary solution of, \(\large \qquad y_c=Ce^{-x}\) ---------------------------------------------------------- We will also need to find the particular solution \(\large y_p\). Our particular solution will be of the same form as the right side of our problem. In this case, we have a polynomial of degree 2. So our particular solution will look something like,\[\large y_p=Ax^2+B(2x)+C\]Where A, B and C are unknown constants. We'll take the derivative of our particular solution and then we can plug in \(\large y_p\) and \(\large y_p^{'}\) into the original problem to solve for A, B and C.

  2. zepdrix
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Eventually we're trying to get an answer that consists of the complimentary AND particular solution. \(\large \qquad y=y_c+y_p\)

  3. zepdrix
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    \[\large y_p=Ax^2+2Bx+C\]\[\large y_p^{'}=2Ax+2B\]

  4. zepdrix
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Plugging these into the original equation gives us,\[y'+y=x^2+2x \qquad \rightarrow \qquad \left(2Ax+2B\right)+\left(Ax^2+2Bx+C\right)=x^2+2x\]

  5. zepdrix
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    From here we can equate like terms.\[2B+C=0\]\[2Ax+2Bx=2x \qquad \rightarrow \qquad 2A+2B=2\]\[Ax^2=x^2 \qquad \rightarrow \qquad A=1\]

  6. zepdrix
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Does any of this make sense @guess or should i stop? XD

  7. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @zepdrix thank you ,but if you can solve it by laplace Be very grateful

  8. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @zepdrix yes the particular solution i think that what he want thanks and don't stop please:)

  9. nitz
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    u need any help........

  10. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @nitz yes please

  11. hartnn
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    u know whats L[dy/dx] =... ?

  12. hartnn
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    assuming initial conditions =0 L[dy/dx] = s Y(s) where Y(s) is the Laplace Transform of y(t). so, take Laplace on both sides of dy/dx+y=x^2+2x and can you tell me what you get in first step ??

  13. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @zepdrix then what ? is b=1/2 ?

  14. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @zepdrix @hartnn @nitz this question came at midterm and ididn't solve it ): help me please

  15. Callisto
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 4

    Can't we use integrating factor to solve it?

  16. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @Callisto mm Can you show me?

  17. mukushla
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    what Callisto said probabely is the best bet :)

  18. Callisto
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 4

    \[y'+p(x)y=q(x)\] \[\alpha = exp[\int p(x)dx]\]\[y=\frac{1}{\alpha}\int \alpha [q(x)] dx\]

  19. Callisto
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 4

    in your case p(x)=1, q(x) = x^2+2x

  20. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @Callisto it look like will be best bet really !! continue please :)

  21. Callisto
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 4

    Ha! Several integration by parts there :S \[y'+y=x^2+2x\] \[\alpha = e^{\int 1 dx}=e^x\] \[y=e^{-x}\int e^x(x^2+2x)dx\]\[=e^{-x}[e^x(x^2+2x)-\int e^x(2x+2)dx]\]\[=e^{-x}[e^x(x^2+2x)-2(e^x(x+1)-\int e^xdx)]\]\[=...\]

  22. Callisto
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 4

    @guess Can you do it from here? Or still need more help?

  23. hartnn
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    using Laplace \(L[dy/dx]+L[y]=L[x^2]+2L[x] \\sY+Y=2/s^3+2/s \\ Y=2(1+s^2)/[s^3(s+1)] \\ Y=2/x^3-2/x^2+4/x-4/(s+1)\\\text{skipping the partial fractions part for you.Taking Inverse Laplace}\\ y = x^2-2x+4-4e^x\) Someone please verify the final answer @zepdrix or @Callisto

  24. hartnn
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    \(y=e^{-x}\int e^x(x^2+2x)dx , after \:\: simplification, y=x^2\)

  25. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @hartnn @Callisto yes please continue i got this put i feel it Error exp^(- x) {x^2e^x-2e^x} and thank alot for all

  26. Callisto
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 4

    Method of integrating factor: y'+y=x^2+2x \[\alpha =e^x\]\[y=e^{-x}\int e^x(x^2+2x)dx\]\[=e^{-x}[e^x(x^2+2x)-2\int e^x(x+1)]\]\[=e^{-x}[e^x(x^2+2x)-2e^x(x+1)+2e^x+C]\]\[=e^{-x}(e^xx^2+C)\]\[=x^2+Ce^{-x}\]

  27. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    thank you so much @Callisto @hartnn you're very helper :))

  28. guess
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    by laplace L[ y`]+L[y]=L[x2]+2L[x] S(Y)+Y(S)=2/S^3+2/S^2 (S+1)Y(S)=2(S+1)/S^3 y(S)=2/S^3 y(x)=x^2 @hartnn @Callisto right ??

  29. hartnn
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    ohh.....yes!

  30. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

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.