ArticleslgStudy

science

Divided differences

Divided differences is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Divided differences rather than just read about it. In short: In mathematics, divided differences is an algorithm, historically used for computing tables of logarithms and trigonometric functions. Charles Babbage's difference engine, an early mechanical calculator, was designed to use this algorithm in its operation.

Key takeaways

  • Divided differences belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Divided differences to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Divided differences from memory before moving on to harder problems.

Reference excerpt

In mathematics, divided differences is an algorithm, historically used for computing tables of logarithms and trigonometric functions. Charles Babbage's difference engine, an early mechanical calculator, was designed to use this algorithm in its operation. Divided differences is a recursive division process. Given a sequence of data points (x0,y0),…,(xn,yn), the method calculates the coefficients of the interpolation polynomial of these points in the Newton form. It is sometimes denoted by a delta with a bar: △| or ◿◺.

Definition Given n + 1 data points (x0,y0),…,(xn,yn) where the xk are assumed to be pairwise distinct, the forward divided differences are defined as: [yk]:=yk,k∈{0,…,n}[yk,…,yj]:=[yk+1,…,yj]−[yk,…,yj−1]xj−xk,k∈{0,…,n−1}, j∈{k+1,…,n}. To make the recursive process of computation clearer, the divided differences can be put in tabular form, where the columns correspond to the value of j above, and each entry in the table is computed from the difference of the entries to its immediate lower left and to its immediate upper left, divided by a difference of corresponding x-values: x0y0=[y0][y0,y1]x1y1=[y1][y0,y1,y2][y1,y2][y0,y1,y2,y3]x2y2=[y2][y1,y2,y3][y2,y3]x3y3=[y3]

Notation Note that the divided difference [yk,…,yk+j] depends on the values xk,…,xk+j and yk,…,yk+j, but the notation hides the dependency on the x-values. If the data points are given by a function f, (x0,y0),…,(xn,yn)=(x0,f(x0)),…,(xn,f(xn)) one sometimes writes the divided difference in the notation f[xk,…,xk+j] =def [f(xk),…,f(xk+j)]=[yk,…,yk+j].Other notations for the divided difference of the function ƒ on the nodes x0, ..., xn are: f[xk,…,xk+j]=[x0,…,xn]f=[x0,…,xn;f]=D[x0,…,xn]f.

Example Divided differences for k=0 and the first few values of j: [y0]=y0[y0,y1]=y1−y0x1−x0[y0,y1,y2]=[y1,y2]−[y0,y1]x2−x0=y2−y1x2−x1−y1−y0x1−x0x2−x0=y2−y1(x2−x1)(x2−x0)−y1−y0(x1−x0)(x2−x0)[y0,y1,y2,y3]=[y1,y2,y3]−[y0,y1,y2]x3−x0 Thus, the table corresponding to these terms up to two columns has the following form: x0y0y1−y0x1−x0x1y1y2−y1x2−x1−y1−y0x1−x0x2−x0y2−y1x2−x1x2y2⋮⋮⋮⋮⋮xnyn

Properties Linearity (f+g)[x0,…,xn]=f[x0,…,xn]+g[x0,…,xn](λ⋅f)[x0,…,xn]=λ⋅f[x0,…,xn] Leibniz rule (f⋅g)[x0,…,xn]=f[x0]⋅g[x0,…,xn]+f[x0,x1]⋅g[x1,…,xn]+⋯+f[x0,…,xn]⋅g[xn]=∑r=0nf[x0,…,xr]⋅g[xr,…,xn] Divided differences are symmetric: If σ:{0,…,n}→{0,…,n} is a permutation then f[x0,…,xn]=f[xσ(0),…,xσ(n)] Polynomial interpolation in the Newton form: if P is a polynomial function of degree ≤n, and p[x0,…,xn] is the divided difference, then Pn−1(x)=p[x0]+p[x0,x1](x−x0)+p[x0,x1,x2](x−x0)(x−x1)+⋯+p[x0,…,xn](x−x0)(x−x1)⋯(x−xn−1) If p is a polynomial function of degree <n, then p[x0,…,xn]=0. Mean value theorem for divided differences: if f is n times differentiable, then f[x0,…,xn]=f(n)(ξ)n! for a number ξ in the open interval determined by the smallest and largest of the xk's.

Matrix form The divided difference scheme can be put into an upper triangular matrix: Tf(x0,…,xn)=(f[x0]f[x0,x1]f[x0,x1,x2]…f[x0,…,xn]0f[x1]f[x1,x2]…f[x1,…,xn]00f[x2]…f[x2,…,xn]⋮⋮⋱⋮000…f[xn]). Then it holds

Tf+g(x)=Tf(x)+Tg(x) Tλf(x)=λTf(x) if λ is a scalar Tf⋅g(x)=Tf(x)⋅Tg(x) This follows from the Leibniz rule. It means that multiplication of such matrices is commutative. Summarised, the matrices of divided difference schemes with respect to the same set of nodes x form a commutative ring. Since Tf(x) is a triangular matrix, its eigenvalues are obviously f(x0),…,f(xn). Let δξ be a Kronecker delta-like function, that is δξ(t)={1:t=ξ,0:else. Obviously f⋅δξ=f(ξ)⋅δξ, thus δξ is an eigenfunction of the pointwise function multiplication. That is Tδxi(x) is somehow an "eigenmatrix" of Tf(x): Tf(x)⋅Tδxi(x)=f(xi)⋅Tδxi(x). However, all columns of Tδxi(x) are multiples of each other, the matrix rank of Tδxi(x) is 1. So you can compose the matrix of all eigenvectors of Tf(x) from the i-th column of each Tδxi(x). Denote the matrix of eigenvectors with U(x). Example U(x0,x1,x2,x3)=(11(x1−x0)1(x2−x0)(x2−x1)1(x3−x0)(x3−x1)(x3−x2)011(x2−x1)1(x3−x1)(x3−x2)0011(x3−x2)0001) The diagonalization of Tf(x) can be written as U(x)⋅diag⁡(f(x0),…,f(xn))=Tf(x)⋅U(x).

Polynomials and power series The matrix J=(x0100⋯00x110⋯000x210⋮⋮⋱⋱0000⋱10000xn) contains the divided difference scheme for the identity function with respect to the nodes x0,…,xn, thus Jm contains the divided differences for the power function with exponent m. Consequently, you can obtain the divided differences for a polynomial function p by applying p to the matrix J: If p(ξ)=a0+a1⋅ξ+⋯+am⋅ξm and p(J)=a0+a1⋅J+⋯+am⋅Jm then Tp(x)=p(J). This is known as Opitz' formula. Now consider increasing the degree of p to infinity, i.e. turn the Taylor polynomial into a Taylor series. Let f be a function which corresponds to a power series. You can compute the divided difference scheme for f by applying the corresponding matrix series to J: If f(ξ)=∑k=0∞akξk and f(J)=∑k=0∞akJk then Tf(x)=f(J).

Alternative characterizations

Expanded form f[x0]=f(x0)f[x0,x1]=f(x0)(x0−x1)+f(x1)(x1−x0)f[x0,x1,x2]=f(x0)(x0−x1)⋅(x0−x2)+f(x1)(x1−x0)⋅(x1−x2)+f(x2)(x2−x0)⋅(x2−x1)f[x0,x1,x2,x3]=f(x0)(x0−x1)⋅(x0−x2)⋅(x0−x3)+f(x1)(x1−x0)⋅(x1−x2)⋅(x1−x3)+f(x2)(x2−x0)⋅(x2−x1)⋅(x2−x3)+f(x3)(x3−x0)⋅(x3−x1)⋅(x3−x2)f[x0,…,xn]=∑j=0nf(xj)∏k∈{0,…,n}∖{j}(xj−xk) With the help of the polynomial function ω(ξ)=(ξ−x0)⋯(ξ−xn) this can be written as f[x0,…,xn]=∑j=0nf(xj)ω′(xj).

Peano form If x0<x1<⋯<xn and n≥1, the divided differences can be expressed as f[x0,…,xn]=1(n−1)!∫x0xnf(n)(t)Bn−1(t)dt where f(n) is the n-th derivative of the function f and Bn−1 is a certain B-spline of degree n−1 for the data points x0,…,xn, given by the formula Bn−1(t)=∑k=0n(max⁡(0,xk−t))n−1ω′(xk) This is a consequence of the Peano kernel theorem; it is called the Peano form of the divided differences and Bn−1 is the Peano kernel for the divided differences, all named after Giuseppe Peano.

Hermite–Genocchi formula When ⁠f⁠ is ⁠n⁠ times continuously differentiable on a convex domain containing the nodes ⁠x0,…,xn⁠, including the confluent case of repeated nodes in arbitrary order (see § Generalization), the divided difference can be expressed as an integral over a ⁠n⁠-simplex ⁠Δn⁠: f[x0,…,xn]=∫Δnf(n)(∑k=0ntkxk)dt0⋯dtn, where Δn={(t0,…,tn)∈ℝn∣ti≥0,∑k=0ntk=1} is the ⁠n⁠-simplex.

Cauchy's integral formula

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Divided differences

Start with the simplest possible case. Write down what Divided differences claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Divided differences before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Divided differences ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Divided differences

In research
Divided differences appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Divided differences in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Divided differences is common in secondary-school and first-year university syllabi. It links to neighbouring topics Finite differences, so understanding it makes those chapters shorter.
In everyday life
Look for Divided differences outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Divided differences” →

How to study Divided differences in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Divided differences means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Divided differences out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Divided differences in simple terms?

In mathematics, divided differences is an algorithm, historically used for computing tables of logarithms and trigonometric functions. Charles Babbage's difference engine, an early mechanical calculator, was designed to use this algorithm in its operation.

Why does Divided differences matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Divided differences?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Divided differences.

Tags

  • Finite differences

Keep exploring