Finding particular solution yp of given equation

In summary: Ax+B)xexy'p = (Ax+B)ex + (Ax+B)xex = (2Ax+2B)xexy''p = (2Ax+2B)ex + (2Ax+2B)xex = (4Ax+4B)xexbut then when i sub iny''p+2y'p-3yp = (4Ax+4B)xex + 2(2Ax+2B)xex - 3(Ax+B)xex = (4Ax+4B+4Ax+4B-3Ax-3B)xex = (8Ax+5B)xex = xexgives A=
  • #1
ProPatto16
326
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
  • #2
[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.
 
  • #3
The proper choice is to try yp = Axex+Bx2ex.
 
  • #4
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.
 
  • #5
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??
 
  • #6
[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.
 
  • #7
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?
 
  • #8
Because the equation is linear, you can do that separately.

Let y= B. Then y''= y'= 0 so the equation becomes ...
 
  • #9
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 seperately...

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

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

FAQ: Finding particular solution yp of given equation

What is a particular solution in the context of differential equations?

A particular solution is a specific solution to a differential equation that satisfies the given initial conditions. It is often denoted as "yp" and is used to find the general solution to a differential equation.

How do you find the particular solution to a given differential equation?

To find the particular solution, you first need to identify the type of differential equation (e.g. linear, separable, exact, etc.) and then use appropriate methods such as integrating factors, substitution, or variation of parameters to solve for the particular solution.

Can there be more than one particular solution to a differential equation?

Yes, there can be multiple particular solutions to a differential equation depending on the initial conditions given. In some cases, the general solution can also include parameters, resulting in an infinite number of particular solutions.

How is the particular solution related to the general solution of a differential equation?

The particular solution is a specific solution that satisfies the given initial conditions, while the general solution is a family of solutions that includes the particular solution and other possible solutions. The general solution can be obtained by adding the particular solution to the complementary function, which is the solution to the homogeneous version of the differential equation.

Can the particular solution be used to solve practical problems in science and engineering?

Yes, the particular solution is often used in real-world applications to model physical systems and make predictions. It allows scientists and engineers to understand and control the behavior of complex systems by using mathematical models and differential equations.

Similar threads

Back
Top