Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Assume that $f\colon\mathbb{E}\subset\mathbb{R}\rightarrow\mathbb{R}$, $f(x)=\max\lbrace2x-5,x-2\rbrace$.

Determine $\mathbb{E}$ for which $f$ is a bijection.

I was thinking it is $\mathbb{R}$, but I'm not sure. Can I get a confirmation and a way to prove it, please? Thank you very much!

share|cite|improve this question
up vote 2 down vote accepted

I'd recommend graphing the two lines, then using the graph to determine the graph of $f$. It should be very clear that $\mathbb{R}$ is, in fact the answer.

It should also break $\mathbb{R}$ into four component intervals (two vertical, two horizontal). You'll have to show that the first horizontal interval maps bijectively to the first vertical interval, and the second likewise. Does that help?

share|cite|improve this answer
The function seems to be constant $x-2$ until $x=3$, when it starts being $2x-5$. However, it is a bijection whichever x might be, so I suppose the answer is $\mathbb{R}$. – Grozav Alex Ioan May 26 '12 at 14:18
@GrozavAlexIoan: Exactly, and for proof, you can show (for instance) that $(-\infty,3]$ is mapped bijectively to $(-\infty,1]$ and $(3,\infty)$ is mapped bijectively to $(1,\infty)$. You could also have the first pair open and the second pair closed. Another approach would be to write $f$ as a piecewise function, then determine the piecewise function $g$ that is its inverse. The last may be the simplest way to proceed, actually, depending on what you're used to. Ultimately, it all amounts to the same thing. – Cameron Buie May 26 '12 at 14:31

As Cameron noted, think of two lines below. It is clear that your function breaks into two rules at $x=3$. Isn't it a bijection?

enter image description here

share|cite|improve this answer
Nice graph! + 1 :-) – amWhy Mar 5 '13 at 0:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.