Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Mathematics (https://www.askmehelpdesk.com/forumdisplay.php?f=199)
-   -   Solving constants for differential equation (https://www.askmehelpdesk.com/showthread.php?t=376303)

  • Jul 16, 2009, 08:15 AM
    Vi Nguyen
    solving constants for differential equation
    If y=a+bx+cx^2 is a solution of d²y/dx² +2(dy/dx)+4y=4x², I have tried to find the values of a,b and c by taking the derivative and second derivative of the function the subbing these into the differential equation however I can't seem to cancel out much to get to a single constant to use to sub into the equation to solve the other two constants, can anyone suggest what I can do after subbing in values the derivatives of y into the DE to solve for the constants a,b and c? Is this the right approach to finding the values of a,b and c?
  • Jul 16, 2009, 08:25 AM
    ebaines

    You're on the right track - not sure where your error is.

    If y = cx^2+bx+a, then:

    dy/dx = 2cx+b
    d^2y/dx^2 = 2c

    Sub into the original DE:
    2c + 2(2cx+b) + 4 (cx^2+bx+a) = 4x^2

    Regroup:

    (4c-4)x^2 + (4c+4b)x + 2c+2b+4a = 0

    From the x^2 term you have c = 1, which means that b = -1, and a = 0.

    So you have y = x^2-x

    Sub into the original DE and make sure it works.
  • Jul 16, 2009, 12:48 PM
    Vi Nguyen

    Thanks I tried to group the 2c+2b+4a together and also tried working this out simultaneously, but from how u worked this out makes so much more sense. And yep subbing back into the DE works :)

  • All times are GMT -7. The time now is 03:36 AM.