Finding particular solution yp of given equation

  • Thread starter Thread starter ProPatto16
  • Start date Start date
  • Tags Tags
    Particular solution
Click For Summary

Homework Help Overview

The discussion revolves around finding a particular solution \( y_p \) for the differential equation \( y'' + 2y' - 3y = 1 + xe^x \). Participants are exploring various forms of \( y_p \) and discussing the implications of the associated homogeneous equation.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants suggest different forms for the particular solution, such as \( Ax e^x + Bx^2 e^x \) and \( Ax^2 e^x + Bx \). There is discussion about the necessity of adjusting the form due to the presence of \( e^x \) in the homogeneous solution. Some participants question the handling of the constant term in the equation and how it affects the solution.

Discussion Status

There are multiple approaches being explored, with participants providing insights into their reasoning and calculations. Some have noted errors in their previous attempts and are seeking clarification on how to properly account for all terms in the equation. Guidance has been offered regarding the separation of the constant term from the variable terms.

Contextual Notes

Participants are working under the constraints of the problem as presented, with some expressing confusion over the treatment of the constant term in the differential equation. There is an acknowledgment of the linearity of the equation, which allows for separate consideration of the constant and variable parts.

ProPatto16
Messages
323
Reaction score
0
y''+2y'-3y=1+xex

ive tried yp=Axex+B

and yp=Ax2ex+Bx

and both don't work. assuming I am doing it correctly.

im given the answer as: 1/3+1/16(2x2-x)ex

suggestions?

thanks
 
Physics news on Phys.org
[itex]e^x[/itex] is a solution to the associated homogeneous equation so if the function on the right were just [itex]e^x[/itex] you would have to try [itex]xe^x[/itex]. Because you want [itex]xe^x[/itex], try [itex]Ax^2e^x[/itex] instead.
 
The proper choice is to try yp = Axex+Bx2ex.
 
Thanks guys, LC that makes sense now I see it, I was varying the order of the ex^x but not the 1. Which of course is silly.
 
heyy...

i tried yp=Axex+Bx2ex and got

after subbing back into y''+2y'-3y

result was A(4ex)+B(8xex+2ex)=1+xex

looking at that i saw i could cancel out constant A by making it Aex

using Aex+Bxxex

after subbing in i got B(8xex+2ex)=1+xex


how can i possibly solve for A or B??
 
[itex]y= (Ax+ Bx^2)e^x[/itex]
[itex]y'= (A+ 2Bx)e^x+ (Ax+ Bx^2)e^x= (A+ (2B+ A)x+ Bx^2)e^x[/itex]
[itex]y''= (2B+ A+ 2B)e^x+ (A+ (2B+ A)x+ Bx^2)e^x= (6B+ 2A+ (2B+ A)x+ Bx^2)e^x[/itex]
[itex]y''+ 2y'- 3y= [(6B+ 4A)+ 4Bx]e^x= xe^x[/itex]

Solve for A and B.
 
i don't know how to do the quotes thing so ill copy and paste.

" y′′+2y′−3y=[(6B+4A)+4Bx]ex=xex "


but from the original question... y′′+2y′−3y=xex +1

whered the +1 go?
 
Because the equation is linear, you can do that separately.

Let y= B. Then y''= y'= 0 so the equation becomes ...
 
ohhh. I missed that :/

hang around please, gimme 10min to post the way i did it. its slightly different.
 
  • #10
y= Axex+bx2ex

y'= A(xex+ex) + B(2xex+x2ex)

y''= A(xex+ex+ex) + B(2xex+2ex+2xex+x2ex)

subbing in

y''+2y'-3y = [A(xex+ex+ex) + B(2xex+2ex+2xex+x2ex)] + 2[A(xex+ex) + B(2xex+x2ex)] - 3[Axex+bx2ex]

= A[xex+2ex+2xex+2ex-3xex] + B[4xex+2ex+x2ex+4xex+2x2ex-3x2ex

= A[4ex] + B[8xex+2ex]

the only thing that differs from your solution is the B parts

it seems like one of my 2xex should only be 2ex so i get 6 and 4 instead of 8 and 2...
 
  • #11
I had before, [itex]y′′+2y′−3y=[(6B+4A)+4Bx]e^x=xe^x[/itex]
so you must have 4B= 1 and 6B+ 4A= 0.
 
  • #12
yeah i did that part. there just an error in my jumble up there. was hoping you'd see it. but nevermind. thanks for all your help though, much appreciated! :)
 
  • #13
yeah... i was right...

to get the correct answer the euqations for A and B should be

8B=1 and 2B+4A=0

gives B = 1/8 and A = -1/16
 
  • #14
about that +1 that got left alone... you said we can do that separately...

y''+2y'-3y=1+xex

taking out all differentiable functions leaves 3y=-1 so y= -1/3 + yp ??
 

Similar threads

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