Ask your own question, for FREE!
Statistics 18 Online
OpenStudy (anonymous):

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

zepdrix (zepdrix):

\[\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.

zepdrix (zepdrix):

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

zepdrix (zepdrix):

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

zepdrix (zepdrix):

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\]

zepdrix (zepdrix):

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\]

zepdrix (zepdrix):

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

OpenStudy (anonymous):

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

OpenStudy (anonymous):

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

OpenStudy (anonymous):

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

OpenStudy (anonymous):

@nitz yes please

hartnn (hartnn):

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

hartnn (hartnn):

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 ??

OpenStudy (anonymous):

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

OpenStudy (anonymous):

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

OpenStudy (callisto):

Can't we use integrating factor to solve it?

OpenStudy (anonymous):

@Callisto mm Can you show me?

OpenStudy (anonymous):

what Callisto said probabely is the best bet :)

OpenStudy (callisto):

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

OpenStudy (callisto):

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

OpenStudy (anonymous):

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

OpenStudy (callisto):

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)]\]\[=...\]

OpenStudy (callisto):

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

hartnn (hartnn):

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

hartnn (hartnn):

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

OpenStudy (anonymous):

@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

OpenStudy (callisto):

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}\]

OpenStudy (anonymous):

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

OpenStudy (anonymous):

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 ??

hartnn (hartnn):

ohh.....yes!

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!