Gaussian Quadrature: difficulty 3

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

Derive the two-point Gauss–Legendre rule on [−1, 1] from first principles. That is, find weights w1, w2 and nodes x1, x2 such that

w1f(x1) + w2f(x2) = ∫−11 f(x) dx

holds exactly for f(x) = 1, x, x2 and x3. Show the four equations and solve them. Then apply your rule to f(x) = x4 and state the signed error (rule value minus exact value) to seven decimal places, confirming that the degree of exactness is 3 and not 4.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Gaussian Quadrature Questions: