Compute values of Bessel functions of the first kind (Jν), second kind (Yν), and modified Bessel functions (Iν, Kν) for real order and argument. Visualize the functions, explore zeros, and understand their role in cylindrical harmonics, wave propagation, and potential theory.
In mathematics, the average rate of change of a function \(f(x)\) over an interval \([x_1, x_2]\) measures how much the function changes per unit change in \(x\) on average. It is defined by the difference quotient:
Geometrically, this is the slope of the secant line passing through the points \((x_1, f(x_1))\) and \((x_2, f(x_2))\). The concept bridges the gap between the slope of a line (constant rate) and the instantaneous rate of change (derivative).
As the interval shrinks (\(x_2 \to x_1\)), the secant line approaches the tangent line, and the average rate approaches the instantaneous rate (derivative) \(f'(x_1)\). This tool helps you explore that transition visually.
| Function | Type |
|---|---|
| 2*x + 1 | Linear |
| x^2 + 3*x - 5 | Quadratic |
| sin(x) | Trigonometric |
| exp(x) or e^x | Exponential |
| log(x) | Natural log |
| sqrt(x) | Square root |
\(f(1)=1\), \(f(3)=9\), average rate = \(\frac{9-1}{3-1}=4\). The secant line slope is 4, steeper than the slope at \(x=1\) (which is 2) but less than at \(x=3\) (which is 6).
\(f(1)=1\), \(f(4)=2\), average rate = \(\frac{2-1}{4-1}=0.333\). The function increases slowly; the secant slope is positive but small.
\(f(0)=0\), \(f(\pi)=0\), average rate = 0. The secant line is horizontal, even though the function goes up and down – this illustrates that the average rate can be zero despite variation.
The derivative \(f'(a)\) is the limit of the average rate of change as the interval length approaches zero:
Thus, the average rate of change is a finite‑difference approximation of the derivative. By making \(x_2\) very close to \(x_1\), you can estimate \(f'(x_1)\) using this calculator (just beware of numerical errors for extremely small differences).
log(x) for natural logarithm and exp(x) or e^x for the exponential function. Math.js supports many standard functions.