Numerical Methods

Chapter 4 · Tamil Nadu State Board

  • 9 min read
  • 3-question quiz

Every key point below shows the sentence from your textbook it comes from. Book back answers are solved and checked against the book; answers we could not prove are left out. How we check content

In short

This lesson teaches how finite differences describe changes in equally spaced values and how difference operators are used to work with them. It explains how missing entries can be found and how interpolation estimates values that are not given. Newton’s forward and backward formulae apply to equally spaced arguments, while Lagrange’s formula can also handle unequal spacing. These methods matter because they help estimate values from known data.

Written by AI from this lesson. How we check it

Key points

  • Interpolation estimates a value when its argument lies between the given values.
    From your textbook
    “If y is to be estimated for the value of x between two extreme points in a set of values, it is called interpolation.”
  • Extrapolation estimates a value for an argument outside the given set.
    From your textbook
    “If y is to be estimated for the values of x which lies outside the given set of the values of it, is called extrapolation.”
  • Lagrange’s interpolation formula works whether the arguments are equally spaced or not.
    From your textbook
    “If the values of x are at equidistant or not at equidistant, we use Lagrange’s interpolation formula.”
Test yourself: 3 questions

Numerical Analysis and Finite Differences

Numerical Analysis uses repeated applications of the four basic operations of Algebra to find approximate solutions. Finite differences are an important part of studying it. When x-values increase by the same interval h, the differences between function values can be organised and studied.

Definition

Finite difference
A finite difference is the change between function values at arguments separated by an equal interval.

What this chapter teaches

  • Finite differences and their operators
  • How to find a polynomial using finite differences
  • Relations between operators
  • How to find missing terms
  • How to interpolate values using Newton’s interpolation formulae
  • How to apply Lagrange’s interpolation formula

Forward Differences and Their Properties

Definition

Forward difference operator (∆)
The forward difference of f(x) is ∆f(x) = f(x + h) − f(x), where h is the equal interval of spacing.

For consecutive values y0, y1, y2, …, the first forward differences are y1 − y0, y2 − y1, and so on. Differences of first differences are second differences; repeating the process gives higher differences. The operator ∆ is pronounced delta.

Properties and related results

  • If c is a constant, ∆c = 0.
  • ∆ is distributive over addition and subtraction.
  • For a constant c, ∆[c f(x)] = c ∆f(x).
  • If m and n are positive integers, ∆m∆n f(x) = ∆m+n f(x).
  • ∆[f(x)g(x)] = ∆f(x)g(x) + ∆g(x)f(x).
  • This chapter also gives a product-difference result involving subtraction, but its extracted formula is incomplete.

Worked example

Construct a forward difference table for x: 0, 10, 20, 30 and y: 0, 0.174, 0.347, 0.518.

Try it first, then show the solution
  1. Find each first difference by subtracting one y-value from the preceding y-value.
  2. Find the next differences by subtracting consecutive entries in the difference column.

Answer: x: 0, 10, 20, 30; y: 0, 0.174, 0.347, 0.518; ∆y: 0.174, 0.173, 0.171; ∆2y: −0.001, −0.002; ∆3y: −0.001.

Worked example

Construct a forward difference table for y = f(x) = x3 + x2 + 1 for x = 1, 2, 3, 4, 5.

Try it first, then show the solution
  1. Evaluate the function at each given x-value.
  2. Subtract consecutive values to get first differences, then repeat for higher differences.

Answer: x: 1, 2, 3, 4, 5; y: 4, 13, 34, 73, 136; ∆y: 9, 21, 39, 63; ∆2y: 12, 18, 24; ∆3y: 6, 6; ∆4y: 0.

Worked example

Using constant second differences, find the sixth term of 8, 12, 19, 29, 42, …

Try it first, then show the solution
  1. Write the first differences: 4, 7, 10, 13, k − 55.
  2. The second differences are 3, 3, 3, k − 55.
  3. Set the last second difference equal to 3: k − 55 = 3.

Answer: k = 58. The sixth term is 58.

Remember: Each new difference column is found by subtracting consecutive entries in the column before it.

Backward Differences and the Shifting Operator

Definition

Backward difference operator (∇)
The first backward difference is ∇yn = yn − yn−1, and the operator ∇ is pronounced nepla.

Second backward differences are found by subtracting consecutive first backward differences. The same process gives third and higher backward differences. For a function, ∇f(x) = f(x) − f(x − h).

Definition

Shifting operator (E)
The shifting operator moves a function forward by one interval, so E f(x) = f(x + h).

Shifting operator results

  • E applied n times gives En f(x) = f(x + nh).
  • E−n f(x) = f(x − nh).
  • E applied repeatedly to a list of function values shifts to the next value.
  • E is also called the displacement operator.

The three operators

OperatorMeaning
∆Forward difference: ∆f(x) = f(x + h) − f(x).
∇Backward difference: ∇f(x) = f(x) − f(x − h).
EShifting operator: E f(x) = f(x + h).

Relations Between Difference Operators

Operator relations

  • ∆ ≡ E − 1
  • E ≡ 1 + ∆
  • E∆ ≡ ∆E
  • ∇ ≡ 1 − E−1
  • ∇ ≡ E−1∆
  • 1 + ∆ ≡ (1 − ∇)−1
  • ∆∇ ≡ ∆ − ∇

These relations let you express one operator using another. The forward difference compares a value with the next one, while the backward difference compares it with the previous one. The shifting operator moves the function value along the equally spaced arguments.

Worked example

Find (i) ∆e^(ax), (ii) ∆2e^x, and (iii) ∆ log x.

Try it first, then show the solution
  1. Use ∆f(x) = f(x + h) − f(x) for each first difference.
  2. For the first expression, substitute e^(ax) into the definition.
  3. For the second expression, apply ∆ twice.

Answer: The supplied text shows ∆e^(ax) = e^(ax)(e^(ah) − 1). The extracted working for (ii) and (iii) is incomplete, so their results cannot be stated reliably.

Remember: Remember the basic link ∆ = E − 1: a forward difference is a shift minus the original value.

Newton’s Forward Interpolation

Use the forward formula when the x-values are equally spaced and the required value is near the beginning of the table. For a value between entries, calculate n from x = x₀ + nh. Use the forward differences from the difference table.

Worked example

Example 5.15: Find the number of students who obtained marks less than 45.

Try it first, then show the solution
  1. Convert the student counts into cumulative frequencies and form the difference table.
  2. Use the forward formula with x₀ = 40, h = 10 and x = 45, giving n = 1/2.
  3. Substitute the table differences to estimate the cumulative frequency at 45.

Answer: About 48 students obtained marks less than 45.

Remember: For a cumulative-frequency question, interpolate the cumulative frequency at the required mark. That value gives the number below that mark.

Choosing Forward or Backward Interpolation

Which formula should you use?

Forward interpolationBackward interpolation
Use when the required value is near the beginning of the table.Use when the required value is near the end of the table.
Use forward differences, written as Δ.Use backward differences, written as ∇.
Set x = x₀ + nh.Set x = xₙ + nh.

Worked example

Example 5.16: Find the number of students whose weight is between 60 and 70.

Try it first, then show the solution
  1. Convert the data to cumulative frequencies.
  2. Use forward interpolation to estimate the number below 70. Here x₀ = 40, h = 20 and n = 1.5.
  3. The estimate below 70 is 424. The cumulative frequency below 60 is 370.
  4. Subtract the number below 60 from the number below 70.

Answer: 424 − 370 = 54 students

Worked example

Example 5.17: Estimate the town’s population in 1946.

Try it first, then show the solution
  1. The required year is near the beginning of the table, so use Newton’s forward interpolation formula.
  2. Here x₀ = 1941, h = 10 and x = 1946, giving n = 0.5.
  3. Substitute the forward differences from the table.

Answer: 21.69 lakhs

Worked example

Example 5.18: Find the pressure at temperature 175.

Try it first, then show the solution
  1. The required temperature is near the end of the table, so use backward interpolation.
  2. Here xₙ = 180, h = 10 and x = 175, giving n = −0.5.
  3. Substitute the backward differences from the table.

Answer: 9.1

Worked example

Example 5.19: Find y when x = 7.5.

Try it first, then show the solution
  1. The required x-value is near the end of the table, so use backward interpolation.
  2. Here xₙ = 8, h = 1 and x = 7.5, giving n = −0.5.
  3. Substitute the backward differences from the table.

Answer: y(7.5) = 421.88

Worked example

Example 5.20: Estimate the premium for policies maturing at age 63.

Try it first, then show the solution
  1. Use Newton’s backward interpolation formula because age 63 is near the end of the table.
  2. Here xₙ = 65, h = 5 and x = 63, giving n = −2/5.
  3. Substitute the backward differences from the table.

Answer: y(63) = 70.585

Worked example

Example 5.21: Find a polynomial of degree two for the given x and y values.

Try it first, then show the solution
  1. Use Newton’s backward interpolation formula with the last table value, xₙ = 7, and h = 1.
  2. Write n = x − 7 and substitute the backward differences.
  3. Simplify the expression to obtain the polynomial.

Answer: y = 1/2(x² + x) + 1

Lagrange’s Interpolation Formula

Definition

Lagrange’s interpolation formula
A formula for estimating a function value from paired x and y values when the x-values may be equally spaced or unequally spaced.

Newton’s forward and backward formulas require equally spaced x-values. Lagrange’s formula can be used whether the x-values are equally spaced or not. It represents the data with a polynomial in x.

Worked example

Example 5.22: Find y(10) from the table with x-values 5, 6, 9 and 11.

Try it first, then show the solution
  1. The x-values are unequally spaced, so use Lagrange’s interpolation formula.
  2. Substitute x = 10 and the four paired values from the table into the formula.
  3. Evaluate the resulting expression.

Answer: The extracted text does not show the completed numerical answer.

Remember: Check the spacing of the x-values first. If they are unequal, use Lagrange’s interpolation formula.

Questions students ask

Short, direct answers to what students search for in this chapter.

What is a forward difference?

A forward difference measures the change from one function value to the next, when the arguments are separated by an equal interval h. For a function f(x), it is written as ∆f(x) = f(x + h) − f(x).

What is the backward difference operator?

The backward difference operator is written as ∇ and pronounced nepla. It compares a function value with the value one equal interval earlier. For a function, ∇f(x) = f(x) − f(x − h).

What is the shifting operator in finite differences?

The shifting operator is E. It moves a function value forward by one equal interval, so E f(x) = f(x + h). Applying it n times gives En f(x) = f(x + nh).

How do you find the sixth term of 8, 12, 19, 29, 42?

Assume the second differences stay constant. The first differences are 4, 7, 10, 13, and k − 55, so the second differences are 3, 3, 3, and k − 55. Set k − 55 = 3 to get k = 58.

What is interpolation?

Interpolation is the process of estimating a dependent-variable value when its argument lies between the extreme argument values in the given data. For example, a missing value between two supplied years can be estimated using the data around it.

What is the difference between interpolation and extrapolation?

Interpolation estimates a value for an argument that lies within the range of the given data. Extrapolation estimates a value for an argument that lies outside that range. Both use the available data to estimate an unknown value.

Show 8 more questions

When should I use Newton’s forward interpolation formula?

Use Newton’s forward interpolation formula when the value you need is near the beginning of the table. The formula in the text is for equally spaced argument values. It uses the first tabulated value and forward differences.

When should I use Newton’s backward interpolation formula?

Use Newton’s backward interpolation formula when the value you need is near the end of the table. This chapter presents it for equally spaced argument values. It uses the values and backward differences near the end of the table.

How do I find a missing value using differences?

Use a difference relation based on the number of known values. For example, when four values are known, the text takes the fourth difference as zero and substitutes the known values into the relation. Solve the resulting equation to find the missing entry.

When do I use Lagrange’s interpolation formula?

Use Lagrange’s interpolation formula when the x-values may be equally spaced or unequally spaced. It uses the paired x and y values to form a polynomial and estimate the function value at a required x.

How do I find the number of students in a weight interval using interpolation?

First estimate the cumulative number of students below each endpoint of the interval. Then subtract the lower-end cumulative frequency from the upper-end cumulative frequency. In the example, the estimate below 70 is 424 and below 60 is 370, so 54 students are between 60 and 70.

What is the forward difference formula?

The forward difference formula is Δf(x) = f(x + h) − f(x). It finds the change from the function value at x to the value one interval h ahead.

What is the backward difference formula?

The backward difference formula is ∇f(x) = f(x) − f(x − h). It finds the change between the function value at x and the value one interval h earlier.

Can Lagrange’s interpolation formula be used for unequal intervals?

Yes. This chapter states that Lagrange’s interpolation formula can be used for both equal and unequal intervals between the given x-values.

Book back answers

1 textbook exercises, solved and checked against the book. Questions we could not prove are left out.

Choose the correct Answer

  1. Lagrange’s interpolation formula can be used for

    • (a) equal intervals only
    • (b) unequal intervals only
    • (c) both equal and unequal intervals
    • (d) none of these.
    Try it, then show the answer

    (c) both equal and unequal intervals

    The chapter says this formula applies whether the arguments are equally spaced or not equally spaced.

    From the book: “If the values of x are at equidistant or not at equidistant, we use Lagrange’s interpolation formula.”

Practice

Question 1 of 3Score 0

Which method estimates a value between known argument values?

Exam questions

Practice questions with model answers. These are not from an official paper.

What is interpolation?2 marks

Interpolation is estimating y for an x-value that lies between the extreme points in a given set of values.

Distinguish between interpolation and extrapolation.2 marks

Interpolation estimates y for an x-value between the given values. Extrapolation estimates y for an x-value outside the given set.

When are Newton’s forward and backward interpolation formulae used?5 marks

Newton’s forward and backward interpolation formulae estimate the value of a function at an intermediate argument when the arguments are equally spaced.

  1. Forward formula: Use Newton’s forward interpolation formula when the required value of y is near the beginning of the table.
  2. Backward formula: Use Newton’s backward interpolation formula when the required value of y is near the end of the table.
  3. Equal intervals: Both formulae apply when the arguments have equal spacing.
  4. Choice of formula: Choose the formula according to whether the required argument lies near the beginning or the end of the table.
  5. When not to use forward: The forward formula is generally not suitable for estimating a value near the end of the table; use the backward formula instead.

Example: For estimating the pressure at temperature 175, the chapter uses backward interpolation because the required value is at the end of the table.

Thus, for equally spaced arguments, use the forward formula near the beginning and the backward formula near the end of the table.

When is Lagrange’s interpolation formula useful?2 marks

It is used to interpolate when the x-values are equally spaced or unequally spaced.

Watch out

  • Do not confuse interpolation, which estimates within the given range, with extrapolation, which estimates outside it.
  • Do not use Newton’s forward or backward formula without checking that the x-values are equally spaced.

Still stuck on this lesson?

Get an AI answer grounded in your actual textbook — with the exact page reference.

Ask AI about this topic →