Truncated Power Series Table

A table of power series coefficients, one column per power of x: the series themselves and the series an operation makes from them (Cauchy product, quotient, linear combination, term-by-term derivative or integral, substitution, multiplication by x^p). The learner clicks a column to see exactly which coefficients produce it, with the numbers, and raises the highest power N; options add a multiplication grid with its anti-diagonals, values at a point x (partial sum of the product against the product of partial sums), derivative values n! c_n, an author's closed form checked column by column, typed series and example presets.

Used in: Single Variable Calculus

Props

PropTypeDefaultDescription
titlestringfrom the operation (e.g. "Multiplying power series")Card title.
notestringnoneOne short sentence under the card body ($...$ TeX allowed).
operationstring"product" when g / gCoefficients is given (or no series at all), else "coefficients"What the result row c_n shows: coefficients (just the first series), product (Cauchy product c_n = sum a_k b_(n-k)), quotient (f / g by long division upward from the constant term; needs b_0 != 0), linearCombination (weights[0] a_n + weights[1] b_n), differentiate ((n+1) a_(n+1)), integrate (a_(n-1)/n from the centre, constant 0), substitute (f(h(x)) for the substitution h with h(c) = c, e.g. 2x or -x^2) or multiplyPower ((x - c)^power times f).
operationsstring[]noneOperations offered in an "Operation" dropdown so the learner can switch (values as in operation); the current operation is always included.
fstring"1/(1-x)"First series as a function of x (a leading "y =" is ignored); its coefficients about center are computed exactly by automatic differentiation. Same grammar as SeriesApproximationExplorer's f (+ - * / ^, implicit multiplication, sin cos tan, exp ln sqrt, arcsin arctan, sinh cosh, factorial(n), choose(n, k), erf).
coefficientsstringnoneFirst series by its coefficient a_n, an expression in n (e.g. "1", "(1 + (-1)^n)/2", "1/factorial(n)"); wins over f.
gstring"1/(1-x^2)"Second series (product, quotient, linearCombination) as a function of x.
gCoefficientsstringnoneSecond series by its coefficient b_n, an expression in n; wins over g.
startIndexinteger0Coefficients below this index are 0 for coefficients / gCoefficients (for formulas such as 1/n).
centernumber0Expansion point c: columns are powers of (x - c).
Ninteger7Highest power shown at first (columns 0..N), on the learner's slider (at most 20).
NRange[integer, integer][1, max(12, N)]Range of the N slider (capped at 20).
weights[number, number][1, 1]linearCombination: the weights of the first and second series (e.g. [0.5, -0.5] for (e^x - e^-x)/2).
substitutionstring"2*x"substitute: the inner function h(x) (e.g. "2*x", "-x", "-x^2", "x - x^2"); it must vanish at 0 (h(c) = c in general). Monomials k x^m get the rule c_(mj) = k^j a_j.
powerinteger1multiplyPower: the exponent p in (x - c)^p f(x).
letters[string, string, string]["a", "b", "c"]Letters of the first, second and result coefficients, as the node writes them (e.g. ["c", "d", "e"]).
selectintegermin(3, N)Column (power) whose computation is shown at first; the learner clicks any column.
gridbooleanfalseproduct: starts with the multiplication grid on, every a_k b_j with the anti-diagonal k + j = n highlighted (and, with x, the triangle k + j <= N against the full square).
xnumbernoneA point x with a slider: the partial sum of the result row at x, for product also the product of the two partial sums (square against triangle), and the exact value when the series are functions.
xRange[number, number][min(-1, x), max(1, x)]Range of the x slider.
closedFormstringnoneAn author's closed form for the result coefficients (an expression in n, e.g. "floor(n/2) + 1"), shown as an extra row with a check or cross per column.
formatstring"auto"Number display: auto (exact fractions when recognisable, decimals otherwise), fraction, or decimal.
editablebooleanfalseText fields where the learner types the series (f / coefficients and g / gCoefficients).
presets{label, ...any of the view props}[]noneOther examples in an "Example" dropdown; each overrides the props it names. A preset that sets f or coefficients replaces both of the base's (likewise g / gCoefficients).
presetLabelstring"Main example"Dropdown name of the configuration given by the props themselves.
controlsstring[]all controls shownRegistry ids of the optional readouts and toggles to show (core controls always show). Fitted per node by tooling; absent shows everything.