Skip to main content

GATE CSE 2015Quantitative Aptitude › Functions & OptimizationVerified

GATE CSE 2015 PYQ: A function f ( x ) f(x) f ( x ) is linear and has a value of 29 29 29 at x = − 2 x=-2 x = − 2 and 39 39 39…

A function f(x)f(x) is linear and has a value of 29 at x=−2x=-2 and 39 at x=3x=3. Find its value at x=5x=5.

  1. A
    59
  2. B
    45
  3. C
    43
    Correct answer
  4. D
    35

Answer

(C) 43 43 43

Approach

Since $f(x)$ is linear, write it as $f(x)=mx+c$. Use the two given points $(-2,29)$ and $(3,39)$ to find the slope and intercept, then evaluate at $x=5$.

The linear function passing through $(-2,29)$ and $(3,39)$ is $f(x)=2x+33$. Therefore $f(5)=43$, matching option C.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.