Results 1 to 5 of 5

Thread: Solving the DE using undetermined coefficients.

  1. #1
    Super Member sakonpure6's Avatar
    Joined
    Sep 2012
    From
    Canada
    Posts
    837
    Thanks
    83

    Solving the DE using undetermined coefficients.

    Hello, I have the DE: $\displaystyle y'' + 2y'+y=2x \cdot sin(x)$ and I proceed to solve using the method of undetermined coefficients and some work I got the following equation and I am not sure how to solve for the coefficients:

    $\displaystyle [ \, \alpha \, (2mx+2b+1) \, + \, 2\beta \,] \, cos(x) + [\, \beta \, (-2mx-b-1) \,+ \,2\alpha \,] \, sin(x)=2x \cdot sin(x)$

    where $\displaystyle \alpha \, , \beta \, , m \, ,b \, $ are real coefficients.

    The solution manual solved this problem using variation of parameters.

    Thank you for your time,
    -Sakon
    Last edited by sakonpure6; Jun 30th 2015 at 12:25 PM.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Dec 2013
    From
    Colombia
    Posts
    1,993
    Thanks
    727

    Re: Solving the DE using undetermined coefficients.

    What is your trial solution? What are $\alpha$, $\beta$, $m$ and $b$.
    Last edited by Archie; Jun 30th 2015 at 12:54 PM.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor
    Joined
    Sep 2012
    From
    Washington DC USA
    Posts
    1,061
    Thanks
    410

    Re: Solving the DE using undetermined coefficients.

    You need to go from here: $\displaystyle [ \alpha (2mx+2b+1) +2\beta]cosx + [\beta (-2mx-b-1)+2\alpha]sinx=2xsinx$

    to here: $\displaystyle [ \alpha (2mx+2b+1) +2\beta] \cos(x) + [\beta (-2mx-b-1)+2\alpha - 2x] \sin(x)=0$, so

    $\displaystyle [ \left( 2 m \alpha \right) x + \left( (2b+1)\alpha + 2\beta\right) ] \cos(x) + [ \left( -2m \beta -2 \right) x + \left( -(b+1) \beta + 2 \alpha \right) ] \sin(x) $ $\displaystyle = 0$,

    so, to hold for every x, (and knowing that tangent isn't just a rational function), need this:

    $\displaystyle \left( 2 m \alpha \right) x + \left( (2b+1)\alpha + 2\beta\right) = 0$, and $\displaystyle \left( -2m \beta -2 \right) x + \left( -(b+1) \beta + 2 \alpha \right) = 0$ for all x.

    But that becomes:

    $\displaystyle 2 m \alpha = 0, (2b+1)\alpha + 2\beta = 0, -2m \beta -2 = 0, and -(b+1) \beta + 2 \alpha= 0$.

    There are no constants which make that work. So you made a mistake somewhere - that, or this approach cannot work. Since you didn't show any work, I don't know exactly what you did.
    Last edited by johnsomeone; Jun 30th 2015 at 12:38 PM.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Super Member sakonpure6's Avatar
    Joined
    Sep 2012
    From
    Canada
    Posts
    837
    Thanks
    83

    Re: Solving the DE using undetermined coefficients.

    I let $\displaystyle y_p(x)= (\right (\, mx+b \, \left ) \, \right ( \, \alpha \, sin(x) \, + \, \beta \, cos(x) \, \left) $
    Follow Math Help Forum on Facebook and Google+

  5. #5
    MHF Contributor
    Joined
    Dec 2013
    From
    Colombia
    Posts
    1,993
    Thanks
    727

    Re: Solving the DE using undetermined coefficients.

    Your problem is that your coefficients don't have enough freedom. If you have no $x \sin x$ terms in $y$, you either have no $x \cos x$ terms or you have no $\sin x$ terms.

    Try $y_p = x(a \cos x + b \sin x) + (c \cos x + d \sin x)$ when all the coefficients are completely independent.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. undetermined coefficients help
    Posted in the Differential Equations Forum
    Replies: 5
    Last Post: May 12th 2011, 09:08 AM
  2. solving D.E by undetermined coefficients.
    Posted in the Differential Equations Forum
    Replies: 1
    Last Post: Mar 29th 2011, 07:59 PM
  3. Undetermined Coefficients
    Posted in the Differential Equations Forum
    Replies: 3
    Last Post: Mar 6th 2011, 12:03 PM
  4. Solving for A,B w/ Method of Undetermined Coefficients
    Posted in the Differential Equations Forum
    Replies: 2
    Last Post: Mar 13th 2009, 11:38 AM
  5. Undetermined coefficients
    Posted in the Differential Equations Forum
    Replies: 4
    Last Post: Feb 6th 2009, 01:06 PM

Search Tags


/mathhelpforum @mathhelpforum