Skip to main content

Functions MCQ: Let f(x)=x-3 and g(x)= (x^2-9)/(x+3) & if x ≠-3 k…

JEE · Mathematics · Functions

1 Medium +4 | -1 Application
Let f(x)=x−3f(x)=x-3 and g(x)={x2−9x+3 if x≠−3k if x=−3g(x)= \begin{cases}\frac{x^2-9}{x+3} & \text { if } x \neq-3 \\ k & \text { if } x=-3\end{cases}
If f(x)=g(x)f(x)=g(x) for all real xx, then the value of kk is
View answer and explanation
Correct option: C
-6
Option C (-6) is correct because for f(x) to equal g(x) for all x, g(-3) must equal f(-3), which is -6.
Solution approach
  1. Correct Answer + Core Reason: -6. For f(x)=g(x)f(x) = g(x) for all x, g(−3)g(-3) must equal f(−3)f(-3).

    Step-by-Step Solution:

    Step 1: Find f(−3)f(-3). f(x)=x−3f(x) = x - 3, so f(−3)=−3−3=−6f(-3) = -3 - 3 = -6.

    Step 2: For f(x)=g(x)f(x) = g(x) for all x, we must have g(−3)=f(−3)g(-3) = f(-3).

    Step 3: Therefore, k=−6k = -6.

    Step 4: Final Answer: -6

    Why other options are wrong:
    - Option A: 0 - Incorrect. If k=0, then f(-3) != g(-3).
    - Option B: 3 - Incorrect. If k=3, then f(-3) != g(-3).
    - Option D: no real value exists - Incorrect. We found a real value for k that satisfies the condition.

    Key Concepts:
    - Function equality
    - Piecewise functions
    - Limits

    Memory Aids:
    - For two functions to be equal, they must have the same value for all x in their domain.

    Quick Tips:
    - When dealing with piecewise functions and equality, check the points where the function definition changes.

More Questions from Functions

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.