# What is the domain and range of f(x)=3x+2?

Oct 27, 2015

Domain: all the real set.
Range: all the real set.

#### Explanation:

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 $x$, multiplies it by $3$, and then adds $2$, and of course you can multiply any number by $3$, and you can add $2$ to any 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 $y$. So, you need to find a number $x$ such that $3 x + 2 = y$, and the equation easily solves for $x$, with

$x = \frac{y - 2}{3}$.

So, if you choose any number $y$, I can tell you that it is the image of a particular $x$, namely $\frac{y - 2}{3}$, and again, this algorithm is ok for any $y$, you simply need to subtract $2$ and then divide the whole thing by $3$, which again are operations you are always allowed to do.