Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
+1 vote
74.4k views
in Numerical Methods by (48.1k points)
closed by

Using Lagrange’s interpolation formula find a polynomial which passes through the points (0, -12), (1, 0), (3, 6) and (4, 12).

2 Answers

+1 vote
by (15.1k points)
selected by
 
Best answer

We can construct a table using the given points.

x 0 1 3 4
y -12 0 6 12

Here x0 = 0

x1 = 1

x2 = 3

x3 = 4

y0 = – 12

y1 = 0

y2 = 6

y3 = 12

\(= {\frac{(x - 1)(x -3)(x - 4)}{(0 - 1) (0 - 3)(0 - 4) }\times(-12) + \frac{(x - 0)(x - 3)(x - 4)}{(1 - 0)(1 - 3)(1 - 4)} \times 0 + \frac{(x - 0)(x - 1)(x - 4)}{(3 - 0)(3 - 1)(3 - 4)} \times 6+ \frac{(x - 0)(x - 1)(x - 3)}{(4 - 0)(4 - 1)(4 - 3)} \times 12}\)

\(= \frac{(x - 1)(x - 3)(x - 4)}{(-1) (-3)(-4)} (-12) + 0 + \frac{(x)(x - 1)(x - 4)}{(3) (2)(-1)} \times 6 + \frac{(x)(x - 1)(x - 3)}{(4)(3)(1)} \times 12\)

\(= \frac{(x -1)(x^2 - 7x + 12)}{(-12)} \times (-12) + \frac{x(x^2 - 5x + 4)}{-6} \times 6 + \frac{x(x^2 - 4x + 3)}{12} \times 12\)

= (x3 – 7x2 + 12x – x2 + 7x – 12) – (x3 – 5x2 + 4x) + (x3 – 4x2 + 3x)

= (x3 – 8x2 + 19x – 12) – (x3 – 5x2 + 4x) + (x3 – 4x2 + 3x)

= x3 – 8x2 + 19x – 12 – x3 + 5x2 – 4x + x3 – 4x2 + 3x

∴ y = x3 – 7x2 + 18x – 12

+2 votes
by (48.4k points)

The given values are 

x0 = 0, y0 = -12 

x1 = 1, y1 = 0 

x2 = 3, y2 = 6 

x3 = 4, y3 = 12

By Lagrange’s interpolaiton formula,

⇒ y = (x – 1) (x – 3) (x – 4) – x (x – 1) (x – 4) + x (x – 1) (x – 3) 

⇒ y = (x – 1) (x – 4)[(x – 3) – x] + x (x – 1) (x – 3)

⇒ y = (x – 1) (x – 4) (-3) + x (x – 1) (x – 3) 

⇒ y = (x – 1) [-3x + 12 + x2 – 3x] 

⇒ y = (x – 1) (x2 – 6x + 12) 

⇒ y = x3 – 6x2 + 12x – x2 + 6x – 12 

y = x3 – 7x + 18x – 12 is the required polynomial which passes through the given points

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

...