Results 1 to 8 of 8

Math Help - How do I take data from a chart and turn it into a function?

  1. #1
    Member
    Joined
    Feb 2010
    From
    NYC
    Posts
    98

    How do I take data from a chart and turn it into a function?

    This is just a question I want answered so I can have fun with charts in the future.

    Consider the following data:



    How would make a function that hits all listed number above? Is it even possible to do so?
    Attached Thumbnails Attached Thumbnails How do I take data from a chart and turn it into a function?-how-turn-into-function.jpg  
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Aug 2007
    From
    USA
    Posts
    3,111
    Thanks
    2
    Infinitely many functions can "hit" any finite number of points.

    Important questions are these:

    1) Do you REALLY need it to match ALL the data? Even if there are huge outliers or other oddities?

    2) What do you want it to do in between the given values?

    3) What do you want it to do before and after the data start? 1989 or 2000, for example.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member
    Joined
    Feb 2010
    From
    NYC
    Posts
    98
    Well,

    1.) I'd match it to all the data.
    2.)I would want it to be smooth all the way through.
    3.) This is where I'd use a limit. And caculate the next point by refering to other graphs or information to see how trends will change the graph.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Aug 2007
    From
    USA
    Posts
    3,111
    Thanks
    2
    Those are very much insufficient responses.

    There are infinitely ways to be "smooth" between two points.
    There are infinitely many "limits" in both directions.

    What do you know about "differences"? With 10 points, you can hit all of them with a 9th degree polynomial. It's ugly, but it fits all your criteria. In this case, you are lucky enough that there is a 6th degree polynomial that is very, very close.

    Really, these data do not appear to be modelled well by any elementary function. What do you know of "cubic splines"?
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Member
    Joined
    Feb 2010
    From
    NYC
    Posts
    98
    I just started with Calculus. So I know very little.

    I just used that data as an example.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    MHF Contributor
    Joined
    Aug 2007
    From
    USA
    Posts
    3,111
    Thanks
    2
    As far as turning empirical data into an equation, this is not a good place to start. Pick some data that are modelled by a line. Take the ;ast three points of your equation, for example. They are pretty close to colinear.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Junior Member doomgaze's Avatar
    Joined
    Apr 2009
    Posts
    37
    Quote Originally Posted by TKHunny View Post
    As far as turning empirical data into an equation, this is not a good place to start. Pick some data that are modelled by a line. Take the ;ast three points of your equation, for example. They are pretty close to colinear.
    He could enter the data in table 1 and 2 in his calculator and do a line of best fit of various equations. Wouldn't hit all of the points, though.
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Member
    Joined
    Feb 2010
    From
    NYC
    Posts
    98
    Well it doesn't really have to hit all points but it can come close, as in a tolerance level.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 7
    Last Post: March 6th 2010, 08:07 AM
  2. Modeling a function for a set of data help
    Posted in the Pre-Calculus Forum
    Replies: 1
    Last Post: February 17th 2010, 04:46 AM
  3. How do you derive a function given a set of data
    Posted in the Pre-Calculus Forum
    Replies: 2
    Last Post: March 12th 2009, 08:05 PM
  4. Create function w/ data
    Posted in the Math Software Forum
    Replies: 11
    Last Post: March 3rd 2008, 09:12 PM
  5. polynomial function from data
    Posted in the Pre-Calculus Forum
    Replies: 1
    Last Post: January 19th 2008, 08:06 PM

/mathhelpforum @mathhelpforum