Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

How would I go about finding the inverse of a piecewise function? In this case the function is

$$ f(x) = \left\{ \begin{array}{lr} x, & \text{if } 0\leq x \leq 1,\\ x-1, & \text{if } 2 < x \leq 3. \end{array} \right. $$

share|improve this question

1 Answer 1

You have $y=x$ when $0 \le x \le 1$ and $y=x-1$ when $2 < x \le 3,$ which is to say when $1<y\le 2$ since $y=x-1$. And the inverse function is obtained by switching $x$ and $y$. So when $0 \le y \le 1$ the inverse value is $y$, while when $1<y\le 2$ the inverse value is $y+1$.

share|improve this answer

Your Answer

 
discard

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.