- #1
tellmesomething
- 406
- 44
- Homework Statement
- I came across this question:
> If two functions ##f,g :\mathbb{R} \to \mathbb{R}## are such that
$$
f(x) = \begin{cases}
x+3&, \ x\in \mathbb{Q}\\
4x&, \ x\in \mathbb{R}\setminus \mathbb{Q}
\end{cases}
$$
$$
g(x) = \begin{cases}
-x&,\ x\in \mathbb{Q}\\
x + \sqrt{5}&, x\in \mathbb{R} \setminus \mathbb{Q}
\end{cases}
$$
then ##(f-g)(x)## is one-one, onto, both or none.
- Relevant Equations
- None
*My attempt:***
We know that
$$
(f-g)(x) =\begin{cases}
2x+3&, \ x\in \mathbb{Q}\\
3x - \sqrt{5} &, \ x\in \mathbb{R} \setminus \mathbb{Q}
\end{cases}
$$
Now the problem is I don't understand how to navigate it further..
The two equations we obtain would have been straight line equations if the domain of each straight line equations was ##\mathbb{R}##.
But since it's not, wouldn't it be discontinuous at places?
Normally if it were not a two fold function we could have easily found out if it is a one one function or not by the numerous approaches like horizontal line test, derivative approach,simply looking at the function etc.
Now I am confused, please consider helping or leaving a hint.
Thank you
We know that
$$
(f-g)(x) =\begin{cases}
2x+3&, \ x\in \mathbb{Q}\\
3x - \sqrt{5} &, \ x\in \mathbb{R} \setminus \mathbb{Q}
\end{cases}
$$
Now the problem is I don't understand how to navigate it further..
The two equations we obtain would have been straight line equations if the domain of each straight line equations was ##\mathbb{R}##.
But since it's not, wouldn't it be discontinuous at places?
Normally if it were not a two fold function we could have easily found out if it is a one one function or not by the numerous approaches like horizontal line test, derivative approach,simply looking at the function etc.
Now I am confused, please consider helping or leaving a hint.
Thank you
Last edited by a moderator: