Graphing the derivative with just data points?

Sig00

New member
Joined
Sep 21, 2013
Messages
5
Hello everyone, my professor didn't have time to teach this so I'm kind of on my own, and so far Google has failed me. But I'm wondering how I can graph the derivative of just data points. I was given one hundred different points of data and told to graph the derivative of them. Maybe I'm missing something obvious? I've graphed the original equation, but by the sounds of the follow up problems after graphing it he's going to need us to be pretty precise so I guess no estimating. I don't know, any help would be super appreciated!

t (days) P (insects)
0 10
1 11
2 12
3 13
4 15
5 16
6 18
7 20
8 22
9 24
10 26
11 29
12 32
13 35
14 39
15 43
16 47
17 52
18 57
19 63
20 69
21 75
22 83
23 91
24 99
25 109
26 119
27 130
28 141
29 154
30 167
31 182
32 197
33 213
34 231
35 249
36 268
37 288
38 309
39 331
40 353
41 376
42 400
43 424
44 449
45 474
46 499
47 524
48 549
49 573
50 597
51 621
52 644
53 667
54 689
55 710
56 730
57 749
58 768
59 785
60 801
61 817
62 831
63 845
64 858
65 869
66 880
67 890
68 900
69 908
70 916
71 924
72 931
73 937
74 942
75 948
76 952
77 957
78 961
79 964
80 968
81 971
82 973
83 976
84 978
85 980
86 982
87 984
88 985
89 987
90 988
91 989
92 990
93 991
94 992
95 993
96 993
97 994
98 994
99 995
100 995
 
With just "data points" you can't get the derivative which, using a limit, requires knowing all values near the point of differentiation. You can, of course, approximate the derivative. There are several different ways to do that.
The simplest way is to just use the "difference quotient", the slope of the straight line between consecutive points. For example, you have, at one point, "(15, 43), (16, 47), (17, 52)". The line from (15, 43) to (16, 47) has slope (47- 43)/(16- 15)= 4/1= 4 and the line from (16, 47) has slope (52- 47)/(17- 16)= 5/1= 5. Or you could average those two, saying that the derivative at x= 16 is (4+ 5)/2= 4.5.

Given three points there exist a unique quadratic giving those points. We can write the quadratic as \(\displaystyle y= a(x- 16)^2+ b(x- 16)+ c\) and use the three data points to determine the three values, a, b, and c. Writing "x- 16", because the middle point has x= 16, simplifies the calculation: at x= 15, \(\displaystyle 43= a(-1)^2+ b(-1)+ c= a- b+ c\), at x= 16, \(\displaystyle 47= a(0)^2+ b(0)+ c= c\), and at x= 17, \(\displaystyle 52= a(1)^2+ b(1)+ c= a+ b+ c\). So we have a- b= 43- 47= -4 and a+ b= 52- 47= 5. Then 2a= 1 so a= 1/2 and 2b= 5+ 4= 9 so b= 9/2. The quadratic through those three points is \(\displaystyle y= (1/2)(x- 16)^2+ (9/2)(x- 16)+ 47\). The derivative of that is \(\displaystyle y'= (x- 16)+ 9/2\) so that \(\displaystyle y'(16)= 1+ 9/2= 11/2= 5.5.

Or you could take four consecutive points, find the cubic through those four points and differentiate. One would hope that the more work done the more "accurate" the derivative but without knowing the "true" function it is impossible to be certain. Also, while having more data points normally makes numerical computations more accurate, because the difference quotient goes to "0/0", with more data points, the derivative may become "unstable".\)
 
Last edited:
Top