A discrete graph shows separate, unconnected points, while a continuous graph shows points connected by an unbroken line or curve. The fastest way to tell them apart is to look at whether the dots on the graph are joined. If you could draw the graph without lifting your pencil from the paper, it’s continuous. If it’s a collection of individual dots with space between them, it’s discrete.
That visual check works for most homework problems, but understanding why a graph is discrete or continuous matters more than memorizing the look. The difference comes down to what kind of data the graph represents and whether values between the plotted points actually make sense.
What Makes Data Discrete or Continuous
Discrete data can only take specific, separate values. You typically get discrete data by counting things: the number of cats at an animal shelter, the number of books you check out from the library, the result of rolling a die, the number of patients in a hospital. These are all whole numbers. You can’t have 2.7 cats or roll a 4.3 on a standard die. There’s nothing meaningful between 2 cats and 3 cats.
Continuous data can take any value within a range, including fractions, decimals, and irrational numbers. You typically get continuous data by measuring things: weight, height, time, temperature, distance. After counting the cats at the shelter, you might weigh them. A cat can weigh 8.2 pounds, 8.27 pounds, or 8.2714 pounds. Between any two weights, there’s always another possible weight. There are infinite potential values between any two points.
A useful trick called the “midway test” can help you decide: pick any two values of your variable and ask whether a value exactly halfway between them is meaningful. Halfway between 10 pounds and 12 pounds is 11 pounds, which makes perfect sense as a weight. That’s continuous. Halfway between 2 students and 4 students is 3 students, which happens to work, but halfway between 2 students and 3 students is 2.5 students, which doesn’t. That’s discrete.
How Each Type Looks on a Graph
A discrete graph is a scatter plot of individual, unconnected points. Each point represents one specific value, and the spaces between points are empty because those in-between values don’t exist for the situation being graphed. If you’re plotting the number of pets students in a class own, you’ll place a dot at 0, 1, 2, 3, and so on. Connecting those dots with a line would imply that 1.5 pets is a real possibility, which it isn’t.
A continuous graph is an unbroken line or curve. Every single point along that line has meaning. If you’re graphing the temperature outside over a 24-hour period, the temperature exists at every moment, not just the moments you measured. Drawing a continuous line between your data points reflects that reality. Linear functions produce straight lines, while polynomial, exponential, and logarithmic functions produce curves, but all of them are continuous as long as the line doesn’t break.
Check the X-Axis Variable First
The strongest clue is the independent variable on the x-axis. If that variable can only be whole numbers or specific categories, the graph should be discrete. If it can be any value within a range, the graph is likely continuous.
For example, if the x-axis represents “number of items purchased,” that’s restricted to whole numbers (1, 2, 3…), so the graph is discrete. If the x-axis represents “time in hours,” time flows continuously, so the graph is continuous. A graph showing profit per number of units sold would be discrete. A graph showing the height of a ball over time would be continuous.
This is also why bar charts are used for discrete or categorical data, while smooth line graphs and histograms are used for continuous data. The type of chart itself often signals what kind of data you’re dealing with.
How Domain and Range Differ
In math class, the distinction also shows up in how the domain (all possible x-values) and range (all possible y-values) are written.
For discrete functions, the domain is listed as a set of individual values, like {-1, 2, 3, 6}. You can write out every possible input because there are a limited number of them.
For continuous functions, the domain is written using interval notation, like (-2, 4] or (-∞, ∞), because the inputs span an entire range of values that you couldn’t possibly list one by one. A polynomial function like f(x) = x² has a domain of all real numbers because you can plug in any value, whether it’s 1, 1.5, 1.0001, or π.
If a problem gives you the domain as a set of specific points, the function is discrete. If the domain is an interval, the function is continuous.
Tricky Cases: Step Functions and Piecewise Graphs
Some graphs don’t fit neatly into either category at first glance. Step functions are the most common source of confusion. These look like a staircase: flat horizontal segments with sudden jumps. A classic example is a pricing chart where shipping costs $5 for packages up to 1 pound, $8 for packages between 1 and 2 pounds, and so on.
Step functions are technically piecewise continuous. Each flat segment is a continuous piece, but the jumps between segments are discontinuities, points where the graph breaks. They accept continuous input (a package can weigh 1.3 pounds), but the output jumps between discrete levels ($5 or $8, nothing in between). So the x-axis variable is continuous, but the graph itself has breaks. These are generally classified as discontinuous functions rather than truly continuous ones, because you can’t draw them without lifting your pencil at the jump points.
Another tricky case is when a problem gives you a formula that’s mathematically continuous, like f(x) = 2x + 1, but restricts the domain to integers only. In that case, even though the equation could produce a smooth line, the graph is discrete because only whole-number inputs are allowed. Always check whether the problem specifies a restricted domain before deciding.
Quick Checklist
- Look at the points. Separate, unconnected dots mean discrete. A solid, unbroken line or curve means continuous.
- Think about the x-axis variable. If it’s something you count (people, items, rolls of a die), the graph is discrete. If it’s something you measure (time, weight, distance), the graph is continuous.
- Apply the midway test. Pick two x-values and check whether a value halfway between them makes sense in context. If it does, the data is continuous.
- Check the domain. A domain listed as individual values in curly brackets means discrete. A domain written as an interval means continuous.
- Ask whether connecting the dots is honest. If drawing a line between two points would imply values that can’t actually exist, the graph should stay discrete. Only connect points when every value between them is meaningful.