Sign Chart Linked Graph
The graph of f sits above sign charts of f' and f'' (or of f and its factors) on the same x axis. The learner drags a test point or clicks a strip to read the sign there and the interval it holds on, sees the graph coloured increasing / decreasing or concave up / down, can walk through the sign-chart procedure step by step, and sees critical numbers classified by the first or second derivative test and inflection points by a sign change of f''.
Used in: Single Variable Calculus
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "Sign charts and the graph" ("Building a sign chart" with steps) | Card title. |
| f | string | "x^3 - 3*x" | The function f(x). A leading "y =" or "f(x) =" is ignored. Supports + - * / ^, implicit multiplication, |u|, sin cos tan sec csc cot and inverses, sinh cosh tanh, sqrt cbrt exp ln log abs, pi, e; odd roots of negatives are real (x^(2/3)). f' and f'' are computed exactly by automatic differentiation. |
| charts | string[] | ["f'", "f''"] | One sign-chart strip per entry, top to bottom: "f'" (monotonicity), "f''" (concavity), "f" (the sign of f itself), or any expression in x such as a factor "x - 1" (factor rows of a polynomial or rational inequality). f1 / f2 / f0 are accepted as aliases. |
| colorBy | string | "f'" when charted, else "f''", else "f" | Which chart colours the graph: "f'" (increasing / decreasing), "f''" (concave up / down), "f" (positive / negative) or "none". With both f' and f'' charted the learner can switch it. |
| markExtrema | boolean | false | First derivative test: mark the local maxima and minima on the graph and list every cut point of f' with its verdict (sign change + to -, - to +, or none; f undefined there). |
| markInflection | boolean | false | Mark the inflection points (f'' changes sign where f is defined) and list every cut point of f'' with its verdict. |
| secondDerivativeTest | boolean | false | Second derivative test at each critical number: f''(c) > 0 local minimum, < 0 local maximum, = 0 inconclusive, f'(c) undefined: does not apply. |
| steps | boolean | false | Walk through the sign-chart procedure with Back / Next step: 1 mark the cut points, 2 choose a test point per interval, 3 evaluate the signs, 4 read off f; a table of intervals, test points, values and readings fills in alongside. |
| step | integer | 1 | With steps: the step shown first (1-4). |
| testPoints | number[] | an integer (or simple decimal) inside each interval | Test points to use; each one serves the interval it falls in. |
| formulas | {"f'"?: string, "f''"?: string, ...} | none | TeX of a chart's function shown in its caption, e.g. {"f'": "3(x - 1)(x + 1)"} (a factored derivative). Display only; the signs are always computed from f. |
| a | number | the test point of the first interval | Starting position of the draggable test point. |
| xRange | [number, number] | the cut points of f' and f'' padded | Horizontal view, shared by the graph and every strip. |
| yRange | [number, number] | from f over the view | Vertical view of the graph. |
| editable | boolean | false | A text box where the learner types their own f. |
| presets | {label, ...props}[] | none | Other functions in an Example dropdown; each overrides the props it names. A preset with its own f drops formulas, testPoints, a, xRange and yRange of the main example. |
| presetLabel | string | "Main example" | Dropdown name of the main example. |
| controls | string[] | all controls shown | Ids of the hideable controls to show (see the controls registry); core ones always show. Absent = everything. Fitted per page by tooling, not by hand. |