1. PF Contest - Win "Conquering the Physics GRE" book! Click Here to Enter
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Estimating the slope from data

  1. Sep 5, 2010 #1
    I had a thought and I am not sure how to answer it. Let's say that I have some data points (x1,y1), (x2,y2), (x3,y3) ... and I want to estimate the slope at x2. Would it be better to estimate it using (y2 - y1)/(x2 - x1) or (y3 - y1)/(x3 - x1) ?

    That is, should the secant line that I draw have y(x2) as an endpoint or contain y(x2)? I feel like the latter would better describe the behavior since it is possible that drastic things could be happening AT y(x2) and so by drawing the secant through it, we get a better picture of the overall behavior around y(x2).

    What do you think?
  2. jcsd
  3. Sep 6, 2010 #2


    User Avatar
    Science Advisor

    Just as you would expect to get the best "line" by drawing between two points that are farthest apart, you can argue that you will get the best approximation to the slope of a set of points by using the points that are farthest apart.

    But that is assuming that there really is a "line" to have a slope of and that the given points would lie on that line if not for some error in their positioning. You should understand that, if the points to not happen to lie on a straight line, there is NO "correct" slope so there really is no such thing as a "good" approximation to it! Any of the three (y3- y1)/(x3- x1), (y3- y2)/(x3- x2), or (y2- y1)/(x2- x1), have equal claim to being a "slope". (Another thing that is sometimes done by draftsmen is to average those three "slopes".)
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Estimating slope data Date
Estimating Eigenvalues from linear ODE Aug 3, 2017
Alternating Series Estimation Theorem May 6, 2017
Estimate Instantaneous Velocity Jan 11, 2017
Unbiased Slope Estimate Mar 8, 2013
Limits and estimating slope Feb 16, 2006