Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Superposition approach

  1. Aug 20, 2010 #1
    1. The problem statement, all variables and given/known data
    solve using undetermined coeffecients

    2. Relevant equations

    x^2e^3x gives a Yp=(Ax^2+Bx+C)e^3x

    3. The attempt at a solution
    I can get yc easily which is yc=cos(sqrt(3x))+sin(sqrt(3x))

    However, I'm not sure as to how to set it up so that -48x^2e^(3x) and the yp. the -48 is throwing me off. If I make it so then that is equivalent to a constant D in teh equation I get

    Yp= De^3x(Ax^2+Bx+C)
    taking to the second derivative
    At most I could get D=-16
  2. jcsd
  3. Aug 20, 2010 #2


    User Avatar
    Science Advisor

    Be careful of your parentheses- and don't forget the unknown constants. yc= Acos(sqrt(3)x)+ B sin(sqrt(3)x) for any constants A and B.

    Okay, your general form for Yp is correct- any time you have a power of x on the right, you must try all lower powers as well.

    But either you have some very strange ideas about the derivatives of exponentials or you have a lot of typos! You cannot possibly get e^(2x) or e^3 by differentiating e^(3x)!
    And, in fact, "D", the one thing you say you can find, is unnecessary: you do not need a separate constant "D" multiplying the entire thing- you can take that inside the parentheses: Yp= e^(3x)(ADx^2+ BDx+ CD) or just Yp= e^(3x)(Ax^2+ Bx+ C) where the new A, B, C are the previous AD, BD, BC.

    The first derivative of Yp is Yp'= 3e^(3x)(Ax^2+ Bx+ C)+ e^(3x)(2Ax+ B)= e^(3x)(3Ax^2+ (3B+ 2A)x+ 3C+ B).

    The second derivative is Yp"= 3e^(3x)(3Ax^2+ (3B+ 2A)x+ 3C+ B)+ e^(3x)(6Ax+ 3B+ 2A)= e^(3x)(9Ax^2+ (12A+ 9B)x+ 2A+ 3B+ 9C)

    Yp"+ 3Y= e^(3x)(10Ax^2+ (12A+ 10B)x+ 2A+ 3B+ 10C)= -48x^2e^(3x)= e^(3x)(-48x^2+ 0x+ 0).

    You can cancel the "e^(3x)" on each side to reduce to 10Ax^2+ (12A+ 10B)x+ 2A+ 3B+ 10C= -48x^2+ 0x+ 0. In order to be equal for all x, two polynomials must have exactly the same coefficients:

    10A= -48, 12A+ 10B= 0, and 2A+ 3B+ 10C= 0.
  4. Jul 17, 2011 #3
    Hello! Sorry for the old thread digging but can you tell me from which book this problem is found?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook