What is the domain and range of #f(x)=3x+2#?
Domain: all the real set.
Range: all the real set.
Since the calculations are very easy, I'll just focus on what you actually have to ask yourself to solve the exercise.
Domain: the question you have to ask yourself is "which numbers my function will accept as an input?" or, equivalently, "which numbers my function will not accept as an input?"
From the second question, we know that there are some functions with domain issues: for example, if there is a denominator, you must be sure that it isn't zero, since you can't divide by zero. So, that function wouldn't accept as input the values which annihilate the denominator.
In general, you have domain issues with:
- Denominator (cannot be zero);
- Even roots (they can't be computed for negative numbers);
- Logarithms (they can't be computed for negative numbers, or zero).
Is this case, you have none of the three above, and so you have no domain issues. Alternatively, you could just see that your function picks a number
Range: now you should ask: which values can I obtain from my functions? I say that you can obtain every possible value. Let's say that you want to obtain a particular number
So, if you choose any number