|
▭\:\longdivision{▭} | \times \twostack{▭}{▭} | + \twostack{▭}{▭} | - \twostack{▭}{▭} | \left( | \right) | \times | \square\frac{\square}{\square} |
|
- \twostack{▭}{▭} | \lt | 7 | 8 | 9 | \div | AC |
+ \twostack{▭}{▭} | \gt | 4 | 5 | 6 | \times | \square\frac{\square}{\square} |
\times \twostack{▭}{▭} | \left( | 1 | 2 | 3 | - | x |
▭\:\longdivision{▭} | \right) | . | 0 | = | + | y |
Every function has a story. It takes an input, does something to it, and gives you an output. But not just any input will work, and not every output is possible; that’s where domain and range come in. Think of it like pouring water into a bottle. You can’t pour a negative amount, and the bottle can only hold so much. The domain is what you’re allowed to pour in. The range is what you get out.
In this article, we’ll take a closer look at domain and range, walk through examples together, and explore how Symbolab’s Functions Domain and Range calculator can help you see each function’s story more clearly.
Let’s take a moment with this. A function is one of those ideas that shows up everywhere in math, and it’s worth getting comfortable with. At its simplest, a function is a rule that takes an input, does something to it, and gives you one output. Always one. Always predictable.
You can think of a function like a vending machine that works the way it should. You press a button, and it gives you exactly what that button promises. Press “B2”: you get a bag of chips. Same button, same result. That’s how a function works. One input leads to one output. No surprises.
In math, we often write it like this:
$f(x)$ means “the value of the function when $x$ is the input.”
If the rule is $f(x) = 2x + 1$ and you plug in $x = 4$, you just follow the steps:
$f(4)=2(4)+1=9$
This is all a function is: a rule you can count on.
But just like not every item fits in a vending machine, not every number works in every function. Some inputs are off-limits. For example:
This is why we talk about domain and range.
Together, they give you the full picture of what a function can do. And where it might be limited.
The domain is all about what you are allowed to put into a function. In other words, it’s the set of all possible input values that make sense for that rule.
Some functions let you plug in any number you like. Others have limits. The domain tells you where the function actually works. Let’s take a simple example:
$f(x)=2x+3$
You can plug in any number here, positive, negative, decimal, or fraction, and it will always give you an answer. So the domain is all real numbers.
Now look at this one:
$g(x) = \frac{1}{x - 4}$
You can’t divide by zero. If $x = 4$, the denominator becomes zero, and the function breaks. That means $x = 4$ is not allowed. So the domain is: all real numbers except $x = 4$.
Another example:
$h(x) = \sqrt{x - 2}$
You can’t take the square root of a negative number in the real number system. So we set:
$x - 2 \geq 0$
which gives:
$x \geq 2$
So the domain is all real numbers greater than or equal to $2$.
Imagine you are filling a tank with water. The input is the amount of water you pour in. Can you pour a negative amount? No. Can you fill it beyond its maximum capacity? Not really.
The domain of this “fill-the-tank” function would start at $0$ and stop at the tank’s full volume. Anything outside that doesn’t make sense, just like trying to plug the wrong number into a function.
If the domain is about what you can put into a function, the range is about what comes out. It’s the set of all possible outputs the function can produce, based on its rule and its domain.
Sometimes the range is easy to see. Other times, it takes a little more thinking.
Let’s go back to a simple function:
$f(x)=2x+3$
This rule just doubles the input and adds $3$. Since the domain is all real numbers, the outputs can also be any real number. The function keeps growing as $x$ increases and keeps shrinking as $x$ decreases.
So the range is: all real numbers.
Now try this:
$g(x) = x^2$
No matter what number you plug in, positive, negative, or zero, the output is never negative.
The smallest value you can get is $0$, and the outputs go up from there. So the range is:
$g(x) \geq 0$
Let’s try another:
$h(x) = \sqrt{x - 2}$
Earlier, we found that the domain is $x \geq 2$. What about the outputs?
Start plugging in:
As $x$ gets bigger, the square root gets bigger. But it will never give you a negative output.
So the range is:
$h(x) \geq 0$
Think back to the water tank example. If the input is the amount of water you pour in, the output might be the water’s height in the tank. The domain is about what you’re allowed to pour in. The range is how high the water can rise. That output depends on the shape and size of the tank.
So when someone asks, “What’s the range?”, they’re really asking:
What values can this function actually give back?
Sometimes you’ll find the range by solving. Other times, it’s easier to graph the function and look at the vertical spread of the curve. Either way, you’re looking at the full story of the outputs.
Now that you understand what domain and range mean, let’s look at a few types of functions and figure out their domain and range one step at a time.
Take your time with each example. These are the kinds of patterns you’ll start to recognize more easily as you practice.
Let’s look at:
$f(x) = 3x - 2$
Domain:
There’s no division or square roots, so you can plug in any real number.
Domain: all real numbers
Range:
This is a straight line with no limits on its output as $x$ increases or decreases, $f(x)$ keeps going. Range: all real numbers
Try:
$f(x) = x^2$
Domain:
You can square any real number.
Domain: all real numbers
Range:
Outputs are never negative. The smallest value is $0$.
Range: $f(x) \geq 0$
Now try:
$f(x) = \frac{1}{x - 5}$
Domain:
You can’t divide by zero. So $x = 5$ is not allowed.
Domain: all real numbers except $x = 5$
Range:
This one’s a little trickier. You’ll never get an output of $0$, the numerator is always $1$, so the output is never zero.
Range: all real numbers with y ≠ 0
Try this:
$f(x) = \sqrt{x + 4}$
Domain:
We need $x + 4 \geq 0$, so:
$x \geq -4$
Domain: $x \geq -4$
Range:
The square root of anything non-negative is also non-negative. The smallest value is $0$.
Range: $f(x) \geq 0$
Note that 0 is included because $√(x + 4) = 0$ when $x = –4$
Try:
$f(x) = |x - 2|$
Domain:
Absolute value can take any real number.
Domain: all real numbers
Range:
The output is always $0$ or greater.
Range: $f(x) \geq 0$
Absolute value bottoms out at 0, so that lower bound is part of the range.
A Tip: Graphs Can Help
Use the vertical-line test to be sure what you’ve drawn is actually a function: no vertical line should ever cut the curve more than once. If you're unsure about the range, try sketching or looking at the graph. The domain tells you how far the graph stretches from left to right. The range tells you how far it stretches up and down.
Understanding domain and range is one thing. Finding them on your own, without a calculator, is where real learning happens. Here’s how to approach it, step by step.
Ask yourself: Are there any inputs that don’t work in this function?
Here’s what to look for:
If the function has a fraction, make sure the denominator never equals zero.
Example:
$f(x) = \frac{1}{x - 3}$
Set $x - 3 = 0$ → $x = 3$ is not allowed.
Domain: all real numbers except $x = 3$
The expression inside a square root must be non-negative (in real numbers).
Example:
$f(x) = \sqrt{x + 2}$
Set $x + 2 \geq 0$ → $x \geq -2$
Domain: $x \geq -2$
The argument must be strictly positive ( > 0 ; it can’t be 0 or negative)
Example:
$f(x) = \log(x - 1)$
Set $x - 1 > 0$ → $x > 1$
Domain: $x > 1$
If none of these apply, no roots, no logs, no fractions, you can usually assume the domain is all real numbers.
This can be trickier, but not impossible. You’re asking: What kinds of outputs can this function give me?
Try these strategies:
Think through outputs logically
Example:
$f(x) = x^2$
Square any number and you get zero or more.
Range: $f(x) \geq 0$
**Substitute values and look for patterns ** Try a few inputs to see what kind of outputs you get. Ask: Are there limits? Is there a minimum or maximum?
Use algebra if possible
For simple functions, try solving for $x$ in terms of $y$ to understand how $y$ behaves.
Sketch the graph (even roughly)
The domain goes left to right. The range goes bottom to top. If the curve never drops below $0$, for example, then $0$ is the lowest output.
You don’t need to find the domain and range perfectly the first time. Look at what the function is doing. Ask what’s allowed, what’s possible, and what’s not. That’s the heart of finding domain and range.
When students first start working with domain and range, a few common patterns of confusion show up. These are not signs of failure. They are stepping stones in the learning process. Let’s look at them clearly, with examples, so you can spot and avoid these pitfalls.
This is one of the most frequent slip-ups. A good way to remember:
Example:
For $f(x) = \sqrt{x}$:
A common mistake is saying “$f(x) \geq 0$” is the domain. That actually describes the range.
It’s tempting to assume any number will work. But you always have to check for restrictions.
Example:
$f(x) = \frac{1}{x - 3}$
You cannot divide by zero. So $x = 3$ is not allowed.
Correct domain: all real numbers except $x = 3$
Forgetting to check for this leads to incorrect conclusions.
The domain is often easier to see. But the range tells the other half of the story and needs just as much attention.
Example:
$f(x) = x^2$
If you say the range is “all real numbers” just because the domain is, you are missing how the function behaves. The square of a number is never negative.
If you only check $x = 0$, $1$, $2$, and $3$, you might miss everything in between.
Example:
$f(x) = \sqrt{x}$
Testing only perfect squares gives $f(x) = 0$, $1$, $2$, $3$. But $x = 2$ gives $f(x) = \sqrt{2}$, which is between $1$ and $2$.
Range: all real numbers $f(x) \geq 0$, including decimals and irrational values.
A graph is more than a picture. It shows how the function behaves, including which $y$-values appear.
Example:
$f(x) = |x - 2|$
The graph reaches a low point at $0$ and increases from there.
Range: $f(x) \geq 0$
If you do not look at the curve, you might miss that $0$ is the minimum output.
At this point, you might be thinking: Okay, I get it in theory, but how do I check if I’m actually right? That’s where a tool like Symbolab’s Domain & Range Calculator becomes more than just a shortcut. It’s like walking through the problem with someone who doesn’t just give you the answer but shows you the why.
Here’s how to use it:
You can:
If you're working online, you can also use the Symbolab Chrome extension to screenshot a function straight from a webpage and drop it in.
Hit the button and let Symbolab take over from there.
This is where the learning happens. Symbolab walks you through:
You can go one step at a time or view the full solution if you’re just reviewing. And if you’re confused or curious, use the "Chat with Symbo" feature to ask questions. It’s like a built-in tutor who never gets tired.
The graph brings it all together. Scroll down and you’ll see how the function behaves:
Seeing the curve helps you notice things you might miss in equations alone: asymptotes, breaks, or whether the function ever touches a certain y-value.
Symbolab isn’t just about getting the answer, it’s about seeing the full picture. When you pair what you’re learning with a tool that shows you the steps and the shape of the math, you start building real understanding. You start seeing the story in every function.
Understanding domain and range helps you see what a function can do and where it’s limited. Whether you’re solving by hand or using Symbolab to explore and check your thinking, you’re building a deeper sense of how functions behave. The more you practice, the more natural it feels. Keep asking questions, stay curious, and let the patterns guide you.
function-domain-and-range-calculator
en
Please add a message.
Message received. Thanks for the feedback.