Numerical Derivative Formula: X's Not Same Distance

  • Context: Undergrad 
  • Thread starter Thread starter ddddd28
  • Start date Start date
  • Tags Tags
    Derivative Numerical
Click For Summary
SUMMARY

The numerical formula for a derivative when the x-values are not equidistant is approximated using the formula f'(x_{n}) ≈ (y_{n+1} - y_{n}) / (x_{n+1} - x_{n}). This method is a discrete approximation that varies in effectiveness based on the distribution of x-values. Caution is advised when applying numerical derivation to measurement data, as it can lead to significant noise interference if not handled properly.

PREREQUISITES
  • Understanding of numerical analysis concepts
  • Familiarity with discrete approximation techniques
  • Knowledge of derivative calculations
  • Experience with data measurement and noise analysis
NEXT STEPS
  • Research advanced numerical differentiation techniques
  • Learn about error analysis in numerical methods
  • Explore the impact of data distribution on numerical derivatives
  • Study filtering techniques to reduce noise in measurement data
USEFUL FOR

Mathematicians, data scientists, and engineers involved in numerical analysis and those working with measurement data requiring accurate derivative calculations.

ddddd28
Messages
73
Reaction score
4
Hello,
What is the numerical formula for a derivative, considering the x's are not in the same distance?
 
Physics news on Phys.org
What do you mean by "numerical formula for a derivative" and which "x's" at which distances?

Do you have a discrete approximation for a function and try to approximate its derivative? There are multiple ways to do this, and the best one will depend on the application.Please stop making even more copies of this thread! I deleted the copies.
 
ddddd28 said:
Hello,
What is the numerical formula for a derivative, considering the x's are not in the same distance?
The best you can do is obviously [itex]f'(x_{n})\approx \frac{y_{n+1}-y_{n}}{x_{n+1}-x_{n}}[/itex].

There are better formulas, but then you have to know more about the distribution.

NB! Be very careful with numerical derivation of measurement data! Very often you subtract the significant part of the data and end up with the "noise" inherent in the data.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
6K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 35 ·
2
Replies
35
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K