Skip to content
Official PYQ · 1997

GATE CS 1997 Q4.4 — Sets, Relations and Functions

Explain with AI

A polynomial p(x)p(x) is such that p(0)=5,p(1)=4,p(2)=9p(0) = 5, p(1) = 4, p(2) = 9 and p(3)=20p(3) = 20. The minimum degree it should have is

Choose one option
View worked solution

Answer: B

We can determine the minimum degree of the polynomial p(x)p(x) using the method of finite differences for the equally spaced points x=0,1,2,3x = 0, 1, 2, 3.

Let's construct the difference table:

xxp(x)p(x)First Difference (Δ\Delta)Second Difference (Δ2\Delta^2)
0055
4−5=−14 - 5 = -1
11445−(−1)=65 - (-1) = 6
9−4=59 - 4 = 5
229911−5=611 - 5 = 6
20−9=1120 - 9 = 11
332020

Since the second-order differences are constant (equal to 66), the polynomial p(x)p(x) has a minimum degree of 22.

Verification:
Let p(x)=ax2+bx+cp(x) = ax^2 + bx + c. Using the given values:

  • p(0)=c=5p(0) = c = 5
  • p(1)=a+b+5=4  ⟹  a+b=−1p(1) = a + b + 5 = 4 \implies a + b = -1
  • p(2)=4a+2b+5=9  ⟹  2a+b=2p(2) = 4a + 2b + 5 = 9 \implies 2a + b = 2

Solving these equations gives a=3a = 3 and b=−4b = -4.
Thus, the polynomial is p(x)=3x2−4x+5p(x) = 3x^2 - 4x + 5.
Checking for x=3x = 3: p(3)=3(3)2−4(3)+5=27−12+5=20p(3) = 3(3)^2 - 4(3) + 5 = 27 - 12 + 5 = 20, which is consistent with the given data.

Therefore, the minimum degree is 22.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Sets, Relations and Functions questions