How to find domain and range on Desmos

Desmos shows you the domain and range of a function through its graph and built-in tools, but it does not label them automatically. You find domain by looking at which x-values the graph covers (left to right), and range by looking at which y-values it covers (bottom to top). Desmos also lets you trace along the curve to read exact values, and you can use the table feature to see input and output pairs side by side.

The fastest way is to graph your function, then use the point-tracing tool to move along the curve and watch the coordinates change. This shows you the actual limits of where the function exists. For functions with breaks or restrictions, you may need to check multiple sections of the graph.

Key Takeaways

  • Domain is the set of all x-values the function uses; on Desmos, trace left and right along the curve to find where it starts and stops.
  • Range is the set of all y-values the function produces; trace up and down along the curve to find the highest and lowest points.
  • The table feature in Desmos shows input-output pairs in columns, making it easy to spot patterns in which values appear.
  • Functions with breaks, holes, or asymptotes require you to check each section separately because domain and range may not be continuous.
  • Zooming in and out on the Desmos graph helps you see whether the function continues beyond what is visible on screen.

Graphing your function and reading the axes

Start by entering your function into Desmos. Type it into the input field at the top left — for example, y = x^2 or y = 1/x. Desmos draws the graph immediately. The horizontal axis is x (domain) and the vertical axis is y (range).

Look at the graph and identify the leftmost and rightmost points where the curve exists. That horizontal span is your domain. Then identify the lowest and highest points on the curve. That vertical span is your range. For a parabola opening upward, the domain is usually all real numbers, but the range starts at the vertex and goes up forever.

If the graph has a gap, a hole, or a vertical asymptote, the domain or range will have a break in it. For instance, y = 1/x has a vertical asymptote at x = 0, so x cannot equal 0 — the domain excludes that single value.

Using the point tracer to find exact values

Click on any point on the curve in Desmos. A small circle appears, and you see the coordinates displayed as an ordered pair (x, y). This is the point-tracing tool. Drag this point left and right along the curve to watch the x-value change, and drag it up and down to watch the y-value change.

To find domain, drag the tracer as far left as the curve goes, note that x-value, then drag it as far right as it goes and note that x-value too. The domain is everything between those two numbers (or beyond, if the curve continues infinitely). To find range, drag the tracer to the lowest point on the curve and note the y-value, then drag it to the highest point and note that y-value.

If the curve has multiple sections — for example, a rational function with a vertical asymptote — trace each section separately. The domain and range may have gaps that you need to list as separate intervals.

Reading the table to spot domain and range patterns

Click the table icon (it looks like a grid) next to your function in the input panel. Desmos opens a two-column table showing x-values in the left column and corresponding y-values in the right column. Scroll down to see more pairs.

The left column shows which x-values Desmos is using — this gives you a sense of the domain. The right column shows the y-values that result — this shows you the range. If you see a row with "undefined" in the y column, that x-value is not in the domain.

The table is especially useful for functions where the domain has a specific restriction. For example, y = √x only works for x ≥ 0, and the table will show no values for negative x. You can also change the table step size (the increment between x-values) to zoom in on a particular region.

Handling functions with breaks and asymptotes

Some functions do not exist for all x-values, or they jump or approach a line without touching it. These are called discontinuities and asymptotes. Desmos shows them as gaps, holes, or lines the curve approaches but never reaches.

For a function like y = (x + 1)/(x - 2), there is a vertical asymptote at x = 2 (the function is undefined there) and a horizontal asymptote that the curve approaches as x gets very large. The domain excludes x = 2. To find the exact asymptote, look at where the curve breaks or where it gets infinitely close to a line without crossing it.

Zoom in on the problem area by clicking and dragging to select a region, or use the zoom buttons. This helps you see exactly where the break occurs and whether the function approaches a specific value. Write down each interval of the domain and range separately — for example, domain: x < 2 or x > 2.

Zooming and adjusting the window to see the full picture

By default, Desmos shows a window from about -10 to 10 on both axes. Some functions extend far beyond this, and some have important features outside the default view. Use the zoom controls (the magnifying glass icons) or scroll your mouse wheel to zoom in and out.

You can also click the wrench icon in the top right to set custom axis limits. This is useful if you want to see a specific region more clearly, or if you suspect the function continues beyond what is visible. For functions that grow very large or very small, adjusting the window helps you confirm whether the range truly is infinite or whether it has a limit.

After zooming, trace the curve again to confirm your domain and range readings. A function may look like it stops at the edge of the screen, but it might continue beyond it.

Writing domain and range in interval notation

Once you have identified the domain and range, you may need to write them in interval notation — the standard mathematical format. Use parentheses for values that are not included and square brackets for values that are included.

For example, if a function exists for all x-values, write the domain as (-∞, ∞). If it exists for x ≥ 0, write [0, ∞). If it has a gap at x = 2, write (-∞, 2) ∪ (2, ∞) — the ∪ symbol means "union" and shows two separate pieces. The same rules apply to range.

Desmos does not write this notation for you, but once you understand what the graph shows, you can translate it into the format your teacher or textbook expects. The graph is the source of truth — the notation is just a way to write down what you see.

Frequently Asked Questions

How do I know if the domain or range continues beyond what I see on the screen?

Zoom out using the zoom controls or by scrolling. If the curve continues in the same direction (upward, downward, left, or right) after you zoom out, it likely continues infinitely. If it levels off or stops, you have found the limit. You can also check the function's equation — for example, y = x^2 always goes up forever, so the range is [0, ∞).

What does it mean when the table shows "undefined"?

It means that x-value is not in the domain — the function cannot produce an output for it. This usually happens at vertical asymptotes (like x = 0 in y = 1/x) or where the function is mathematically impossible (like negative values under a square root in y = √x).

Can a function have a range that is not continuous?

Yes. For example, y = 1/x has a range of all real numbers except 0 — it approaches 0 but never equals it. You would write this as (-∞, 0) ∪ (0, ∞). The graph shows a gap at y = 0, and the table will never show a y-value of exactly 0.

How do I find the domain and range of a piecewise function?

Enter each piece separately in Desmos using the conditional syntax — for example, y = {x < 0: -x, x ≥ 0: x}. Desmos graphs each piece in its correct region. Trace along the entire graph to find where all pieces together cover on the x-axis (domain) and y-axis (range).

What if the function is just a single point or a horizontal line?

A single point has a domain of one x-value and a range of one y-value. A horizontal line like y = 5 has a domain of all real numbers (-∞, ∞) but a range of just that one y-value, written as {5} or [5, 5].