NDA · Question 86
Consider the following for the next two (02) items that follow: Let f(x) = { x + 6, x ≤ 1 ; px + q, 1 < x < 2 ; 5x, x ≥ 2 } and f(x) is continuous. What is the value of p?
Show answer & explanationShow explanation
Answer: (B) 3
Since f(x) is continuous everywhere, it must be continuous at x = 1 and x = 2. At x = 1: f(1) = lim(x→1⁺) f(x) ⇒ 1 + 6 = p(1) + q ⇒ p + q = 7. At x = 2: lim(x→2⁻) f(x) = f(2) ⇒ 2p + q = 5(2) ⇒ 2p + q = 10. Subtracting the first equation from the second gives p = 10 - 7 = 3.