Q. Let two functions $f(x)$ and $g(x)$ are defined on $R \rightarrow R$ such that $f(x)=\begin{cases}x^2, & x \in \text { irrational } \\ 2-x^2, & x \in \text { rational }\end{cases}$ and $g(x)=\begin{cases}2-x^2, & x \in \text { irrational } \\ x^2, & x \in \text { rational }\end{cases}$. Then the function $f+g: R \rightarrow R$ is
Relations and Functions - Part 2
Solution: