Skip to main content

Functions MCQ: If f(x)=x and g(x)=|x|, then (f+g)(x) is equal to

JEE · Mathematics · Functions

1 Medium +4 | -1 Application
If f(x)=xf(x)=x and g(x)=∣x∣g(x)=|x|, then (f+g)(x)(f+g)(x) is equal to
View answer and explanation
Correct option: C
{2x, for x≥00, for x<0\left\{\begin{array}{l}2 x, \text { for } x \geq 0 \\ 0, \text { for } x < 0\end{array}\right.
Option C ({2x, for x≥00, for x<0\left\{\begin{array}{l}2 x, \text { for } x \geq 0 \\ 0, \text { for } x < 0\end{array}\right.) is correct because it correctly defines the sum of the functions f(x) = x and g(x) = |x| for all real x.
Solution approach
  1. Correct Answer + Core Reason: {2x, for x≥00, for x<0\left\{\begin{array}{l}2 x, \text { for } x \geq 0 \\ 0, \text { for } x < 0\end{array}\right.. This is the correct piecewise definition of the sum of the functions.

    Step-by-Step Solution:

    Step 1: Define the functions: f(x)=xf(x) = x and g(x)=∣x∣g(x) = |x|.

    Step 2: Find the sum of the functions: (f+g)(x)=f(x)+g(x)=x+∣x∣(f + g)(x) = f(x) + g(x) = x + |x|.

    Step 3: Use the definition of the absolute value function:
    ∣x∣={x,x≥0−x,x<0|x| = \begin{cases} x, & x \geq 0 \\ -x, & x < 0 \end{cases}

    Step 4: Substitute the definition of ∣x∣|x| into the sum:
    (f+g)(x)={x+x,x≥0x+(−x),x<0(f + g)(x) = \begin{cases} x + x, & x \geq 0 \\ x + (-x), & x < 0 \end{cases}

    Step 5: Simplify the expression:
    (f+g)(x)={2x,x≥00,x<0(f + g)(x) = \begin{cases} 2x, & x \geq 0 \\ 0, & x < 0 \end{cases}

    Why other options are wrong:
    - Option A: 0 for all x∈Rx \in R: This is incorrect because it only holds for x<0x < 0.
    - Option B: 2x2x for all x∈Rx \in R: This is incorrect because it only holds for x≥0x \geq 0.
    - Option D: {0, for x≥02x, for x<0\left\{\begin{array}{ll}0, & \text { for } x \geq 0 \\ 2 x, & \text { for } x < 0\end{array}\right.: This is incorrect because the cases are reversed.

    Key Concepts:
    - Absolute value function
    - Piecewise functions
    - Function addition

    Memory Aids:
    - Remember the definition of the absolute value function: ∣x∣=x|x| = x if x≥0x \geq 0, and ∣x∣=−x|x| = -x if x<0x < 0.

    Quick Tips:
    - When dealing with absolute value functions, consider different cases based on the sign of the expression inside the absolute value.

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.