this post was submitted on 17 Jan 2026
12 points (92.9% liked)
math
1044 readers
1 users here now
General community for all things mathematics on @lemmy.world
Submit link and text posts about anything at all related to mathematics.
Questions about mathematical topics are allowed, but NO HOMEWORK HELP. Communities for general math and homework help should be firmly delineated just as they were on reddit.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Could you approximate derivatives by finite differences?
Could you write your own code implementing the the derivatives?
Yes. I will try that.
No, I don't think I could.
I did some numerical differentiation, with ten thousand points between 0 and 10. Negative values appeared in the third derivative. The attached figure zooms into them. While I think those sudden spikes may very well be numerical artifacts caused by float rounding errors or something like that, there is a clear negative slope around them, further confirmed in the fourth derivative. So, this function is not what I hoped it to be.