Question

A non-zero polynomial f(x)f(x) of degree 3 has roots at x=1,x=2x = 1, x = 2 and x=3x = 3. Which one of the following must be TRUE?

Choose one option
Official answer and solution
Official answer
A
From
Official GATE 2014 answer key

Solution

Express the cubic polynomial in terms of its three real roots and evaluate the sign of the product f(0) * f(4).

  1. A polynomial of degree 3 with roots at x=1,x=2,x=3x = 1, x = 2, x = 3 can be factored uniquely as:

    f(x)=c(x−1)(x−2)(x−3)f(x) = c(x - 1)(x - 2)(x - 3)

    for some non-zero real constant c≠0c \ne 0.

  2. Evaluate at x=0x = 0:

    f(0)=c(0−1)(0−2)(0−3)=c(−1)(−2)(−3)=−6c.f(0) = c(0 - 1)(0 - 2)(0 - 3) = c(-1)(-2)(-3) = -6c.
  3. Evaluate at x=4x = 4:

    f(4)=c(4−1)(4−2)(4−3)=c(3)(2)(1)=6c.f(4) = c(4 - 1)(4 - 2)(4 - 3) = c(3)(2)(1) = 6c.
  4. Evaluate f(0)f(4)f(0) f(4):

    f(0)f(4)=(−6c)(6c)=−36c2.f(0) f(4) = (-6c)(6c) = -36c^2.

    Because cc is non-zero and real, c2>0c^2 > 0, which guarantees:

    f(0)f(4)=−36c2<0.f(0) f(4) = -36c^2 < 0.
  5. This condition holds regardless of whether cc is positive or negative.

Hence, f(0)f(4)<0f(0) f(4) < 0 must be TRUE (option A).

Final answer

A

Common trap

Assuming c must be positive, which would lead to guessing about f(0) + f(4).

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2014 Computer Science and Information Technology (CS) Session 2
Question
15 of 65, printed as CS Q.5
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.