To determine where a function is positive from its graph, identify every interval where the curve sits above the x-axis, then express those intervals in terms of x. Read the zeros first, test the sign of the function between consecutive zeros, and write the solution as a union of open intervals, excluding any x-value where the graph touches or crosses the axis at zero.
That single procedure handles almost every problem you will meet in algebra, precalculus, and introductory calculus. The difficulty is rarely the definition. It is the bookkeeping: which endpoints belong in the answer, how to treat a curve that touches the axis without crossing it, and how to read a graph that is compressed, shifted, or labeled in unfamiliar units. The sections below take each of those problems apart in turn.
The sign-reading mechanism behind positivity
A function is positive at a point when its output value is greater than zero. On a standard Cartesian graph, the output is the vertical coordinate, so positivity means the point lies strictly above the x-axis. The x-axis itself is the line y = 0, which is why the axis doubles as the boundary between positive and negative regions.
The deep reason interval testing works is the intermediate value property of continuous functions. If a continuous function is negative at one x-value and positive at another, it must equal zero somewhere between them. That guarantee means sign changes can only occur at zeros or at points where the function is undefined. Between any two consecutive such points, the sign cannot flip. You can therefore test one convenient x-value per interval and trust the result across the whole interval.
This is why experienced readers do not sample many points. They locate the zeros, mark the undefined locations, and then test exactly one value in each gap. A function with three zeros produces at most four sign regions, and often fewer.
Plain language: the graph can only switch from above the axis to below it by passing through the axis or by breaking.
Reading zeros, holes, and asymptotes correctly
A zero of the function is an x-value where the graph meets the x-axis. Crossing zeros flip the sign; touching zeros do not. A zero of even multiplicity, such as the squared factor in y = (x − 2)², produces a parabola vertex that kisses the axis and returns to the same sign. A zero of odd multiplicity, such as y = (x − 2)³, passes through and flips the sign. From a graph alone, you detect the difference by watching whether the curve emerges on the same side or the opposite side.
Vertical asymptotes behave differently. At an asymptote the function is undefined, so that x-value is never in the domain regardless of sign. The sign may or may not change across an asymptote. For y = 1/x, the function is negative for x < 0 and positive for x > 0, so the sign flips across x = 0 even though no zero exists. For y = 1/x², the function is positive on both sides, so no flip occurs. You must test each side independently.
Holes, where a factor cancels, create a single missing point. The sign typically does not change across a hole, but the x-value is excluded from the domain. Missing a hole is one of the most common grading errors on sign-analysis problems.
Quantified context: how many intervals to expect
The number of sign regions is bounded by the number of zeros plus the number of undefined points, plus one. A cubic polynomial has at most three real zeros, so it can produce at most four intervals. A rational function with two vertical asymptotes and one zero can produce up to four intervals.
Degree also constrains the count. A polynomial of degree n has at most n real zeros, so its positive set is a union of at most about n/2 + 1 intervals in typical cases. For a quadratic, that means at most two intervals; for a quartic, at most three.
These bounds let you check your work. If you report five positive intervals for a cubic, you have almost certainly misread a zero or an asymptote.
Comparison of positivity-reading methods
| Method | What it reads | Best for | Main weakness |
|---|---|---|---|
| Visual inspection | Above/below axis by eye | Quick estimates, sketches | Imprecise near zeros |
| Zero-and-test | Sign at one sample per interval | Exact symbolic answers | Requires factored form or accurate zeros |
| Sign chart | Sign of each factor | Rational and polynomial inequalities | Setup time for many factors |
| Table of values | Sampled outputs | Verifying a suspected interval | Can miss narrow intervals |
| Graphing calculator | Zoomed numeric trace | Checking endpoints and holes | Rounding hides exact zeros |
The zero-and-test method is the workhorse. Visual inspection confirms it, and the sign chart generalizes it to factored expressions. A table alone is the weakest option because a narrow negative dip between two sampled positive values will vanish.
Edge cases that break naive answers
Open versus closed endpoints cause more lost points than any other issue. Strict positivity, f(x) > 0, excludes zeros, so intervals use parentheses. Nonnegative questions, f(x) ≥ 0, include the zeros and use brackets. The graph looks identical in both cases; only the inequality symbol differs.
A function can be positive everywhere. The exponential y = eˣ has no real zeros and lies above the axis for all real x, so its positive domain is all real numbers. A function can also be positive nowhere, as with y = −x² − 1.
Piecewise graphs demand interval-by-interval reading, because the rule changes at the breakpoints. Restricted domains, common in applied problems, mean the positive set is intersected with the stated domain. A graph drawn only for 0 ≤ t ≤ 10 cannot yield a positive interval beyond t = 10.
The counterintuitive professional caveat: a graph that appears to touch the axis may actually cross twice within the pixel width of the line. In real data plots, a shallow dip below zero can be invisible at default resolution. Never certify strict positivity from a low-resolution image alone.
Red-flag warnings
Reporting closed endpoints for a strict inequality, which is wrong even when the zero looks included. Forgetting that vertical asymptotes are excluded from the domain entirely. Assuming the sign flips at every zero, which fails at even-multiplicity touches. Ignoring holes created by cancelled factors in rational functions. Extending a positive interval past a breakpoint in a piecewise graph.
Practical actions: a repeatable six-step routine
Mark every x-intercept on the axis and label each as cross or touch. Mark every vertical asymptote and hole with an open circle or dashed line. List the critical x-values in increasing order, then form the open intervals between them. Test one x-value per interval, either by reading the graph height or evaluating the formula. Record positive intervals with parentheses; convert to brackets only if the inequality is non-strict. Re-check each endpoint against the original question and against the graph's drawn domain.
For a worked feel: suppose a graph crosses at x = −3, touches at x = 1, and has a vertical asymptote at x = 4, with the curve above the axis on the far left. The candidate intervals are (−∞, −3), (−3, 1), (1, 4), and (4, ∞). Testing each sample gives positive on (−∞, −3) and (1, 4), with x = 1 excluded because the value there is zero. The answer is (−∞, −3) ∪ (1, 4).
Limitations and what graphs cannot tell you
A graph is a representation, not the function itself. Resolution limits hide narrow features, and hand-drawn sketches distort curvature near zeros. Exact endpoints require the algebraic form or a reliable numeric solver.
Graphs also cannot settle questions about behavior outside the plotted window. If the window stops at x = 20, positivity beyond that point is unknown unless the function's formula or end behavior is given. For periodic functions, reading one cycle is enough only when the period is known and the pattern repeats exactly.
Finally, positivity questions are frequently a sub-step of a larger inequality or optimization problem. The sign information you extract here feeds into those problems, so record intervals carefully rather than rounding or approximating them.