{t.title}
{t.body}
/* Concept page — derivative Source text adapted from OpenStax Calculus Volume 1, §3.1 CC-BY 4.0 */ const ConceptPageDerivative = () => { const [hValue, setHValue] = React.useState(0.5); const [funcKey, setFuncKey] = React.useState("xsq"); const [pointX, setPointX] = React.useState(1.0); // ── Functions for explorers ───────────────────────────── const FUNCS = { xsq: { label: "f(x) = x²", tex: "x^2", f: (x) => x*x, df: (x) => 2*x, dlabel: "f'(x) = 2x" }, sin: { label: "f(x) = sin(x)", tex: "\\sin(x)", f: Math.sin, df: Math.cos, dlabel: "f'(x) = cos(x)" }, exp: { label: "f(x) = eˣ", tex: "e^{x}", f: Math.exp, df: Math.exp, dlabel: "f'(x) = eˣ" }, }; const fn = FUNCS[funcKey]; // ── KaTeX render helper ───────────────────────────────── const Tex = ({ tex, display }) => { const ref = React.useRef(null); React.useEffect(() => { if (window.katex && ref.current) { try { window.katex.render(tex, ref.current, { displayMode: !!display, throwOnError: false }); } catch(e) {} } }, [tex, display]); return ; }; return (
The instantaneous rate of change of a function at a point. Foundational object of differential calculus; equivalent to the slope of the tangent line to the graph of
Let
provided this limit exists. If the limit fails to exist,
Geometrically,
Drag h toward zero. The secant rotates into the tangent. The numeric error collapses to the precision of the underlying limit.
Evaluating the difference quotient for {fn.label} at
{t.body}