Results 1 to 5 of 5

Math Help - Numeric analysis and approximation

  1. #1
    Junior Member
    Joined
    Dec 2007
    Posts
    42

    Smile Numeric analysis and approximation

    Hi, Im not sure wether this question is under right area.

    I have a problem, in a field on numeric analysis. I'm trying to understand pragmatically interpolation and extrapolation and other techniques related to approximation.

    Suppose my measure device has logged two data which are related each other, I call the data as x and y.

    logged data:
    x: {1,3,5,8,25,33}
    y: {4,16,36,81,676,1156}

    Ok, now I have to somehow approximate a function to calculate (approximate) values inside x-area and outside x-area.
    For example, what is value of y when x = 4 and when x = 101.

    How the interpolation and extrapolation works in this case and if there is a general function f(x). And how to get that function from measured points?

    Could you math pros help me on this?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Jester's Avatar
    Joined
    Dec 2008
    From
    Conway AR
    Posts
    2,364
    Thanks
    39
    Quote Originally Posted by tabularasa View Post
    Hi, Im not sure wether this question is under right area.

    I have a problem, in a field on numeric analysis. I'm trying to understand pragmatically interpolation and extrapolation and other techniques related to approximation.

    Suppose my measure device has logged two data which are related each other, I call the data as x and y.

    logged data:
    x: {1,3,5,8,25,33}
    y: {4,16,36,81,676,1156}

    Ok, now I have to somehow approximate a function to calculate (approximate) values inside x-area and outside x-area.
    For example, what is value of y when x = 4 and when x = 101.

    How the interpolation and extrapolation works in this case and if there is a general function f(x). And how to get that function from measured points?

    Could you math pros help me on this?
    The picture looks very much like a parabola y = x^2 + b x + c (in the attached picture, I graphed y = x^2). Do you know the method of least squares?
    Attached Thumbnails Attached Thumbnails Numeric analysis and approximation-par-pic.jpg  
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Junior Member
    Joined
    Dec 2007
    Posts
    42
    Thanks for your answer but, yes I know the function, my question is actually how actually come to conclusion by math way. I'm looking for example for interpolating and extrapolating...revealing the function that makes those x and y values. Instead of using tools, using pure math to get the function, not drawing a graph and looking from it.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Jester's Avatar
    Joined
    Dec 2008
    From
    Conway AR
    Posts
    2,364
    Thanks
    39
    Quote Originally Posted by tabularasa View Post
    Thanks for your answer but, yes I know the function, my question is actually how actually come to conclusion by math way. I'm looking for example for interpolating and extrapolating...revealing the function that makes those x and y values. Instead of using tools, using pure math to get the function, not drawing a graph and looking from it.
    One thing you can do is consider

    (1)\;\;\;y = ax^2 + bx + c

    and pick three pairs of numbers near x = 4, say

    (1,4),\; (3,16),\; (5,36) and substitute them into (1). This gives three equations for  a, b \; \text{and} \;c , i.e.

    a + b + c = 4,
    9a + 3b + c = 16,
    25a + 5b + c = 36,

    Solving gives a = 1,\; b = 2,\; c = 1

    so

    y = x^2 + 2x + 1 = (x+1)^2

    Notice that all of the numbers fit perfectly. Then let x = 4.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Junior Member
    Joined
    Dec 2007
    Posts
    42
    Ah, nice! Linear polynominal approximation. Thanks. That's im looking for.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Algebra 2 numeric puzzle help
    Posted in the Algebra Forum
    Replies: 0
    Last Post: November 30th 2011, 07:49 PM
  2. Non Numeric roots of a polynomial
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: November 18th 2011, 03:16 AM
  3. Advection - approximation - von Neumans analysis
    Posted in the Differential Equations Forum
    Replies: 0
    Last Post: September 13th 2011, 04:05 AM
  4. Numeric values analyzer
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: June 21st 2009, 10:22 AM
  5. Numerical analysis (approximation) problem
    Posted in the Calculus Forum
    Replies: 1
    Last Post: June 8th 2008, 11:52 AM

Search Tags


/mathhelpforum @mathhelpforum