Math - Derivative (Sensitivity to Change, Differentiation)
Table of Contents
1 - About
What will happens to Y if I change X a little bit ? <MATH> f(X) = Y </MATH> where:
The derivative measures the instantaneous rate of change of the function, as distinct from its average rate of change.
The derivative of the position of a moving object with respect to time is the object's velocity. This measures how quickly the position of the object changes when time is advanced.
2 - Articles Related
3 - Example
console.log('calculate derivatives'); console.log(math.derivative('2x^2 + 3x + 4', 'x').toString()); // '4 * x + 3' console.log(math.derivative('sin(2x)', 'x').toString()); // '2 * cos(2 * x)'
4 - Formula
The derivative of a function at a chosen input value describes the best linear approximation of the function near that input value.
In fact, the derivative at a point of a function of a single variable is:
- the slope
- of the tangent line
to the graph of the function at that point.