Graph (blue: f(x), red: tangent, green: secant)
The red dot is the point of tangency. The green dashed line is the secant of width h ((f(x+h)−f(x))/h). As h shrinks, the secant approaches the tangent (red) — this is the limit definition of the derivative.
Theory & Key Formulas
The derivative $f'(x)$ is defined as the limit $\lim_{h \to 0}\dfrac{f(x+h)-f(x)}{h}$. Tangent line: $y = f'(a)(x-a) + f(a)$.
- How is the derivative related to the tangent slope?
- The derivative f'(x₀) equals the slope of the tangent line at point x₀. It measures the instantaneous rate of change.
- What is the difference between a derivative and a differential?
- The derivative f'(x) is a function giving the slope at every point. A differential df = f'(x)dx is the infinitesimal change in function value.
- Why is the derivative of eˣ equal to eˣ?
- e = 2.71828... is the unique base where this self-similarity holds. It arises naturally in all exponential growth and decay processes.
- How does calculus differ between high school and university?
- High school covers polynomial and trigonometric derivatives. University extends to partial derivatives, multivariable calculus and more abstract analysis.
🙋
I can see the simulation updating, but what exactly is being calculated here?
🎓
Great question! The simulator solves the governing equations in real time as you move the sliders. Each parameter you control directly affects the physical outcome you see in the graph. The key is to build an intuitive feel for how each variable influences the result — that's how engineers develop physical judgment.
🙋
So when I increase this parameter, the curve shifts significantly. Is that a linear relationship?
🎓
It depends on the model. Some relationships are linear, but many engineering phenomena are nonlinear. Try moving the sliders to extreme values and see if the output changes proportionally — if the graph shape changes, that's a sign of nonlinearity. This hands-on exploration is exactly what simulations are best for.
🙋
Where is this kind of analysis actually used in practice?
🎓
Constantly! Engineers run these calculations during the design phase to quickly screen parameters before investing in expensive physical tests or detailed finite element simulations. Getting comfortable with these simplified models is a real engineering skill.
Worked Example
For f(x) = 0.5*x^2 with vX = 4, the derivative f'(x) = x evaluates to f'(4) = 4 (slope = 4 m/unit). The function value f(4) = 8. The tangent line equation becomes y - 8 = 4(x - 4), or y = 4x - 8. Setting sX = 0.001 yields a numerical derivative of 3.9995, confirming analytical results. With sXNum = 200 sample points across [-5, 10], the visualization shows the parabola's curvature increasing rightward while the tangent line touches exactly at (4, 8).