Results 1 to 2 of 2

Math Help - Coefficients of a difference method

  1. #1
    Member
    Joined
    Jun 2012
    From
    Georgia
    Posts
    164
    Thanks
    20

    Coefficients of a difference method

    "Find the values of alpha, beta, and gamma in the following difference method:

    w_{j+4} - w_{j+2} +\alpha (w_{j+3} - w_{j+1}) = h[\beta (f_{j+3} - 4f_{j+1}) + \gamma f_{j+2})"

    ---------------------

    I started by Taylor expanding all the terms in h. For example:

    w_{j+2} = w(x_j + 2h) = w_j + 2hf_j + \frac{9}{2}h^2 f_j' + \frac{9}{2}h^3 f_j'' + O(h^4) and

    f_{j+2} = f(x_j + 2h) = f_j + 2hf_j' + 2h^2 f_j'' + O(h^3)

    and so on for the other terms.

    My two questions are:

    1. What do I do with the f' and f'' terms? Should f' become (f_(i+1) - f_i)/h, etc.?
    2. Once I have done all of this, is it as simple as plugging in all the w's and f's into the original difference equation, isolating like terms, and solving for alpha, beta, and gamma?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member
    Joined
    Jun 2012
    From
    Georgia
    Posts
    164
    Thanks
    20

    Re: Coefficients of a difference method

    34 hits, 0 replies.

    I got alpha = gamma/2 - 5/4, beta = 1/2, and gamma is free. Alternatively, gamma can be defined in terms of alpha.

    Now I am to figure out the stability of this method. Gotta figure out how...
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 4
    Last Post: July 19th 2013, 08:28 AM
  2. Difference equation with non-constant coefficients
    Posted in the Advanced Applied Math Forum
    Replies: 0
    Last Post: November 7th 2011, 06:17 AM
  3. Method of Undetermined Coefficients
    Posted in the Differential Equations Forum
    Replies: 8
    Last Post: May 5th 2010, 04:13 AM
  4. Method of Undetermined Coefficients
    Posted in the Differential Equations Forum
    Replies: 2
    Last Post: March 10th 2009, 07:34 PM
  5. Method of Undetermined Coefficients
    Posted in the Calculus Forum
    Replies: 1
    Last Post: April 15th 2008, 02:48 PM

Search Tags


/mathhelpforum @mathhelpforum