Skip to main content

Functions MCQ: Two functions f and g are said to commute, if (f °…

JEE · Mathematics · Functions

1 Medium +4 | -1 Analyzing
Two functions ff and gg are said to commute, if (f∘g)(x)=(g∘f)(x),∀x(f \circ g)(x)=(g \circ f)(x), \forall x, then which one of the following functions are commute?
View answer and explanation
Correct option: C
f(x)=xm,g(x)=xn,m≠n,m,n∈If(x)=x^m, g(x)=x^n, m \neq n, m, n \in I \quad ( II is the set of all integers)
Based on the provided information, the simplified form of f(x)=∣x−2∣+∣2−x∣,−3≤x≤3f(x)=|x-2|+|2-x|,-3 \leq x \leq 3 is {2x,2≤x≤34,−2≤x<2−2x,−3≤x<−2\left\{\begin{array}{cc}2 x, & 2 \leq x \leq 3 \\ 4, & -2 \leq x<2 \\ -2 x, & -3 \leq x<-2\end{array}\right., which is option A.
Solution approach
  1. Correct Answer + Core Reason: {2x,2≤x≤34,−2≤x<2−2x,−3≤x<−2\left\{\begin{array}{cc}2 x, & 2 \leq x \leq 3 \\ 4, & -2 \leq x<2 \\ -2 x, & -3 \leq x<-2\end{array}\right.. This is the correct simplification of the given absolute value function.

    Step-by-Step Solution:

    Step 1: Analyze the function f(x)=∣x−2∣+∣2+x∣f(x) = |x-2| + |2+x| for −3≤x≤3-3 \leq x \leq 3.

    Step 2: Rewrite ∣x−2∣|x-2| as {x−2,x≥2−(x−2),x<2\begin{cases} x-2, & x \geq 2 \\ -(x-2), & x < 2 \end{cases}.

    Step 3: Rewrite ∣x+2∣|x+2| as {x+2,x≥−2−(x+2),x<−2\begin{cases} x+2, & x \geq -2 \\ -(x+2), & x < -2 \end{cases}.

    Step 4: Consider the different intervals for xx:
    - If 2≤x≤32 \leq x \leq 3, then f(x)=(x−2)+(x+2)=2xf(x) = (x-2) + (x+2) = 2x.
    - If −2≤x<2-2 \leq x < 2, then f(x)=−(x−2)+(x+2)=−x+2+x+2=4f(x) = -(x-2) + (x+2) = -x+2+x+2 = 4.
    - If −3≤x<−2-3 \leq x < -2, then f(x)=−(x−2)−(x+2)=−x+2−x−2=−2xf(x) = -(x-2) - (x+2) = -x+2-x-2 = -2x.

    Step 5: Combine the results to get the simplified form:
    f(x)={2x,2≤x≤34,−2≤x<2−2x,−3≤x<−2f(x) = \begin{cases} 2x, & 2 \leq x \leq 3 \\ 4, & -2 \leq x < 2 \\ -2x, & -3 \leq x < -2 \end{cases}.

    Why other options are wrong:
    - Option B: {−2x,2≤x≤34,−2≤x<22x,−3≤x<−2\left\{\begin{array}{cc}-2 x, & 2 \leq x \leq 3 \\ 4, & -2 \leq x<2 \\ 2 x, & -3 \leq x<-2\end{array}\right. is incorrect because the signs of 2x2x and −2x-2x are reversed in the respective intervals.
    - Option C: {3x,2≤x≤34,−2≤x<2−2x,−3≤x<−2\left\{\begin{array}{cc}3 x, & 2 \leq x \leq 3 \\ 4, & -2 \leq x<2 \\ -2 x, & -3 \leq x<-2\end{array}\right. is incorrect because the first case should be 2x2x, not 3x3x.
    - Option D: None of these is incorrect because option A is the correct answer.

    Key Concepts:
    - Absolute value function
    - Piecewise functions

    Memory Aids:
    - Remember the definition of absolute value: ∣x∣={x,x≥0−x,x<0|x| = \begin{cases} x, & x \geq 0 \\ -x, & x < 0 \end{cases}.

    Quick Tips:
    - Break the function into different intervals based on the values that make the expressions inside the absolute values zero.

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.