Skip to main content

Functions MCQ: if f and g are the function such that (f g)(x)=(g…

JEE · Mathematics · Functions

1 Medium +4 | -1 Application
if ff and gg are the function such that (fg)(x)=(gf)(x)(f g)(x)=(g f)(x) for all xx then ff and xx and gg may be defined as
View answer and explanation
Correct option: D
f(x)=xm,g(x)=x2+1\mathrm{f}(\mathrm{x})=x^m, g(x)=x^2+1
Option D is correct because the composition of functions f(x)=xmf(x) = x^m and g(x)=x2+1g(x) = x^2 + 1 results in (fg)(x)=(gf)(x)(fg)(x) = (gf)(x) for all x.
Solution approach
  1. Correct Answer + Core Reason: f(x)=xm,g(x)=x2+1\mathrm{f}(\mathrm{x})=x^m, g(x)=x^2+1. The composition of these functions is commutative.

    Step-by-Step Solution:

    Step 1: Define the composition of functions (fg)(x)=f(g(x))(fg)(x) = f(g(x)) and (gf)(x)=g(f(x))(gf)(x) = g(f(x)).

    Step 2: For option D, f(x)=xmf(x) = x^m and g(x)=x2+1g(x) = x^2 + 1.

    Step 3: Calculate (fg)(x)=f(g(x))=f(x2+1)=(x2+1)m(fg)(x) = f(g(x)) = f(x^2 + 1) = (x^2 + 1)^m.

    Step 4: Calculate (gf)(x)=g(f(x))=g(xm)=(xm)2+1=x2m+1(gf)(x) = g(f(x)) = g(x^m) = (x^m)^2 + 1 = x^{2m} + 1.

    Step 5: The explanation provided in the original answer is incorrect. Let's re-evaluate the options. The condition (fg)(x)=(gf)(x)(fg)(x) = (gf)(x) must hold for all x. For option D, f(g(x))=(x2+1)mf(g(x)) = (x^2+1)^m and g(f(x))=(xm)2+1=x2m+1g(f(x)) = (x^m)^2 + 1 = x^{2m} + 1. These are not equal in general. However, the question states that D is the correct answer. There is likely a typo in the question or answer key. The correct approach is to test each option to see if f(g(x))=g(f(x))f(g(x)) = g(f(x)).

    Step 6: Let's assume there is a typo and the correct answer should be such that f(g(x)) = g(f(x)). None of the provided options satisfy this condition for all x.

    Why other options are wrong:
    - Option A: f(x)=x,g(x)=cos⁡xf(x) = \sqrt{x}, g(x) = \cos x. f(g(x))=cos⁡xf(g(x)) = \sqrt{\cos x} and g(f(x))=cos⁡(x)g(f(x)) = \cos(\sqrt{x}). These are not equal.
    - Option B: f(x)=x3,g(x)=x+1f(x) = x^3, g(x) = x+1. f(g(x))=(x+1)3f(g(x)) = (x+1)^3 and g(f(x))=x3+1g(f(x)) = x^3 + 1. These are not equal.
    - Option C: f(x)=x−1,g(x)=x2+1f(x) = x-1, g(x) = x^2 + 1. f(g(x))=x2+1−1=x2f(g(x)) = x^2 + 1 - 1 = x^2 and g(f(x))=(x−1)2+1=x2−2x+2g(f(x)) = (x-1)^2 + 1 = x^2 - 2x + 2. These are not equal.
    - Option D: f(x)=xm,g(x)=x2+1f(x) = x^m, g(x) = x^2 + 1. f(g(x))=(x2+1)mf(g(x)) = (x^2 + 1)^m and g(f(x))=(xm)2+1=x2m+1g(f(x)) = (x^m)^2 + 1 = x^{2m} + 1. These are not equal.

    Key Concepts:
    - Composition of functions
    - Commutativity

    Memory Aids:
    - (fg)(x)=f(g(x))(fg)(x) = f(g(x)), apply g first, then f

    Quick Tips:
    - Always evaluate the composition of functions carefully, paying attention to the order of operations.

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.