Solution of a nonhomogeneous equation

  • Thread starter Thread starter median27
  • Start date Start date
  • Tags Tags
    Nonhomogeneous
Click For Summary

Homework Help Overview

The discussion revolves around solving nonhomogeneous differential equations, specifically focusing on the methods for finding particular and complementary solutions. The original poster presents two equations and seeks assistance with their respective solutions.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts to find particular solutions using the method of undetermined coefficients and expresses difficulty in simplifying terms and equating coefficients. Some participants offer guidance on differentiating correctly and suggest re-evaluating the approach to finding solutions.

Discussion Status

Participants are actively engaging with the original poster's attempts, providing feedback on specific steps and encouraging a re-examination of the differentiation process. There is a recognition of oversight in the calculations, but no consensus on the final solutions has been reached.

Contextual Notes

There are indications of confusion regarding the differentiation of terms involving both exponential and polynomial functions, as well as the need to clarify the setup of the equations being solved.

median27
Messages
58
Reaction score
0
(i d0nt kn0w how to use LaTeX)

1)D^2(D-1)y=3e^x+sinx

for yc:
let y=e^mx
D^2(D-1)e^mx=0
m^2(m-1)e^mx=0
f(m)=0
m^2(m-1)=0
m=0,0,1

yc= C1+C2x+C3e^x

for yp:
R(x)=3e^x+sinx
m'=1,+/- 1i

yp=Axe^x+Bcosx+Csinx
yp'=A(xe^x+e^x)-Bsinx+Ccosx
yp"=A(xe^x+2e^x)-Bcosx-Csinx

D^2(D-1)yp=3e^x+sinx

Guys can you help me find the value of A, B and C. I had a hard time simplifying the terms and can't equate the coefficients. Thanks for analyzing my post this far. :D
 
Physics news on Phys.org
You're doing fine so far. You need to differentiate one more time because

D2(D-1)yp = (D3-D2)yp=yp'''-yp''
 
Last edited:
Thanks for your help vela! I simply overlooked the problem and didn't get the third derivative. :D
 
Here's how I would have done it:
If D^@(D-1)y= 3e^x+ sin(x) then D(D-1)y= 3e^x- cos(x)+ C and (D-1)y= 3e^x- sin(x)+ Cx+ D

Then solve the characteristic equation m- 1= 0 to get m= 1 which means that e^x is a solution to the associated homogeneous equation. Since part of the right side is e^x look for a solution of the form Axe^x+ Bsin(x)+ Ccos(x)+ Ex+ F.
 
Can you figure out my mistake. The answer is supposed to be:
y=C1e^-x+C2e^-2x+6x^2-18x+21

Here is the problem and my solution:

2) (D^2+3D+2)y=12x^2

for yc
let y=e^mx
(D^2+3D+2)e^mx=0
(m^2+3m+2)e^mx=0
f(m)=0
m^2+3m+2=0
m=-1,-2

yc=C1e^-x+C2e^-2x

for yp
R(x)=12x^2
m'=0,0,0
yp=A+Bx+Cx^2
yp'=B+2Cx^2
yp"=4Cx^2

(D^2+3D+2)yp=12x^2

4Cx^2+3B+6Cx^2+2A+2Bx+2Cx^2=12x^2

3B+12Cx^2+2A+2Bx=12x^2

Equating coefficients
i get C=1, B&A=0

Giving:
yp=x^2

Answer
y=C1e^-x+C2e^-2x+x^2
(which is wr0ng)

Thanks for any help!
 
P.s. An0ther problem was posted.
 
You didn't calculate the derivatives of yp correctly.
 
Alright, i get it. :D I'm used to differentiate e^n terms and overlooked x^n terms. I'm becoming reckless. Thanks vela.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
Replies
9
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K