Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it correct that they use a matrix transformation?

share|cite|improve this question
up vote 1 down vote accepted

It depends on the kind of function and what exactly you are trying to do. For example, you might have a function in closed form and you want to compute its derivative. Then using symbolic math software, e.g. MATLAB or Mathematica, you can determine its derivative in closed form. The software does nothing more than applying the differentiation rules, which might be tedious to do by hand.

On the other hand you might have e.g. a collection of pairs $(x_i,y_i)$ of numerical values corresponding to evaluations of some function $y=f(x)$ at points $x_i$, i.e. $y_i=f(x_i)$. Then there are various algorithmic procedures to create a new sequence, which approximates evaluations of the derivative of $f$. This is a subject of numerical analysis. As you mention, one way is to use the so called "difference matrix". If you look at the documentation of the function you are using, there should be reference to which method of differentiation is employed (MATLAB has very good documentation).

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.