Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
If $\mathrm{f}(\mathrm{x})=\mathrm{x}$ and $\mathrm{g}(\mathrm{x})=|\mathrm{x}|$, then what is $(\mathrm{f}+\mathrm{g})(\mathrm{x})$
equal to ?
MathematicsFunctionsNDANDA 2008 (Phase 1)
Options:
  • A 0 for all $\mathrm{x} \in \mathrm{R}$
  • B $2 \mathrm{x}$ for all $\mathrm{x} \in \mathrm{R}$
  • C $\left\{\begin{array}{l}2 \mathrm{x}, \text { for } \mathrm{x} \geq 0 \\ 0, \text { for } \mathrm{x} < 0\end{array}\right.$
  • D $\left\{\begin{array}{l}0, \text { for } \mathrm{x} \geq 0 \\ 2 \mathrm{x}, \text { for } \mathrm{x} < 0\end{array}\right.$
Solution:
2086 Upvotes Verified Answer
The correct answer is: $\left\{\begin{array}{l}2 \mathrm{x}, \text { for } \mathrm{x} \geq 0 \\ 0, \text { for } \mathrm{x} < 0\end{array}\right.$
Given functions are : $\mathrm{f}(\mathrm{x})=\mathrm{x}$ and $\mathrm{g}(\mathrm{x})=|\mathrm{x}|$
$\therefore \quad(\mathrm{f}+\mathrm{g})(\mathrm{x})=\mathrm{f}(\mathrm{x})+\mathrm{g}(\mathrm{x})=\mathrm{x}+|\mathrm{x}|$
According to defintion of modulus function,
$(f+g)(x)=\left\{\begin{array}{ll}x+x, & x \geq 0 \\ x-x, & x < 0\end{array}\right.$
$=\left\{\begin{array}{cl}2 \mathrm{x}, & \mathrm{x} \geq 0 \\ 0, & \mathrm{x} < 0\end{array}\right.$

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.