An equation describes a function algebraically. A graph describes it visually. The graph of a function is the collection of all points (x,f(x)) plotted in the coordinate plane — a picture that reveals at a glance what the algebra might take pages to explain.
From a graph, the shape of a function becomes immediate. Where does it rise? Where does it fall? Where does it cross the axes? Where does it reach its highest or lowest points? These questions, difficult to answer from a formula alone, become matters of simple observation once the function is drawn.
The coordinate plane is the stage on which functions are graphed. Two perpendicular number lines — the horizontal x-axis and the vertical y-axis — intersect at the origin (0,0) and extend infinitely in all directions.
Every point in the plane is identified by an ordered pair (x,y). The first coordinate gives the horizontal position: positive to the right of the origin, negative to the left. The second coordinate gives the vertical position: positive above the origin, negative below.
Fact: The Cartesian plane began with one axis
In La Géométrie of 1637, Descartes measured lengths from a single reference line, with no second axis, and Fermat, working independently, did the same. A pair of axes came later, after Frans van Schooten and his students translated the book into Latin in 1649.
The axes divide the plane into four quadrants. Quadrant I contains points where both coordinates are positive. Quadrant II has negative x and positive y. Quadrant III has both coordinates negative. Quadrant IV has positive x and negative y.
Plotting a point means locating it on this grid. To plot (3,−2), move 3 units right from the origin, then 2 units down. The point lies in Quadrant IV.
This framework provides the canvas for every function graph. The x-axis represents input, the y-axis represents output, and the curve connecting plotted points shows how output depends on input.
Four quadrants, one plotted point
The section's own example, (3, −2). Start at the origin, move 3 units right along the x-axis, then 2 units down. A positive x and a negative y put the point in Quadrant IV: each quadrant is named by the signs of its two coordinates.
Every graph on this page is drawn on this grid: inputs along the x-axis, outputs measured up or down.
A point (x,y) off the axesthe axes divide the plane into four quadrants
Quadrant I
Both coordinates are positive.
right of the origin, above it
Quadrant II
Negative x and positive y.
left of the origin, above it
Quadrant III
Both coordinates are negative.
left of the origin, below it
Quadrant IV
Positive x and negative y.
(3,−2): 3 units right, then 2 units down
The Coordinate PlaneLearn Math Class
The Graph of a Function
A function pairs every input with an output — a list of pairs that never ends.
For f(x)=x2, the pairs 0→0, 1→1, 2→4, −1→1 go on for every number there is, fractions included. No list can show them all at once.
Each input-output pair can be written as a point (x, f(x)) of the coordinate plane.
input x
output f(x) = x²
point (x, f(x))
−2
4
(−2, 4)
−1
1
(−1, 1)
0
0
(0, 0)
0.5
0.25
(0.5, 0.25)
1
1
(1, 1)
2
4
(2, 4)
Five points of the graph of x squared
The points the section lists for f(x) = x²: (−2, 4), (−1, 1), (0, 0), (1, 1) and (2, 4). Each pairs one input with its output. Filling in every input between them traces the parabola, drawn faintly behind the points.
The graph is all of these input-output pairs at once.
Plotting every pair as a point turns the endless list into one picture.
For f(x)=x2, the graph includes (0,0), (1,1), (2,4), (−1,1), (−2,4), and infinitely many other points. Connected together, they form the familiar parabola opening upward.
The graph is a visual encoding of the function's behavior. Inputs run along the horizontal axis; outputs are measured vertically. To find f(3) from the graph, locate x=3 on the horizontal axis, move vertically to the curve, and read the y-coordinate of that point.
The definition
The graph of a functionf is the set of all points (x,f(x)) with x in the domain of f.
The graph of a function f is the set of all points (x,f(x)) where x is in the domain. Each point pairs an input with its corresponding output, and the complete collection of such points forms a curve in the plane.
So the graph of f(x)=x2 is the parabola through (0,0), (±1,1), (±2,4) and every other point (x,x2).
A graph is a picture of the whole function, in which its behaviour becomes shape.
The graph transforms abstract relationships into geometric objects. Increasing behavior appears as a rising curve. Decreasing behavior appears as a falling curve. Symmetry, periodicity, and boundedness become visible patterns.
Not every curve is the graph of a function: above each input there may be at most one point.
RULEVertical Line Test
Because a function assigns exactly one output to each input, the graph has a definitive property: every vertical line intersects it at most once.
This is the vertical line test — if a vertical line crosses a curve twice, that curve does not represent a function.
The rest of the page covers reading graphs, intercepts, intervals of increase and decrease, symmetry, and the graphs of common functions.
Sketching Graphs from Equations
Given a function's equation, the most direct way to produce its graph is point plotting: choose input values, compute outputs, plot the resulting points, and connect them with an appropriate curve.
For f(x)=x2−4x+3, build a table of values:
x
f(x)
0
3
1
0
2
−1
3
0
4
3
Pitfall: Joining points with straight segments
Joining (1,0), (2,−1) and (3,0) with a ruler draws a sharp corner at the vertex and puts the graph above x=1.5 at height −0.5. The curve is smooth and lower there: f(1.5)=2.25−6+3=−0.75.
Plot these five points and connect them with a smooth parabola. The curve passes through (1,0) and (3,0), reaches a minimum at (2,−1), and opens upward.
Choosing strategic points improves efficiency. Include x=0 to find the y-intercept. Solve f(x)=0 to find x-intercepts. For quadratics, find the vertex. For rational functions, identify asymptotes. For periodic functions, capture at least one full period.
Recognizing the function type anticipates the shape. Linear equations produce lines. Quadratics produce parabolas. Cubics produce S-curves. Familiarity with function families reduces guesswork — the shape is known in advance, and plotting confirms the specific position and scale.
The plotted points, joined into the full picture of f(x)=x2−4x+3: the y-intercept at (0,3), the x-intercepts at (1,0) and (3,0), and the minimum at (2,−1) of a parabola that opens upward.
Every point in the table sits on this curve, and the strategic ones are the numbered features: the y-intercept from x=0, the intercepts from f(x)=0, and the vertex where the direction turns from falling to rising.
Sketching Graphs from Tables
When a function is given as a table of input-output pairs rather than an equation, the graph emerges by plotting each pair and making reasonable connections.
A table provides discrete data:
x
f(x)
−2
5
0
1
2
−3
4
1
6
5
Plot the points (−2,5), (0,1), (2,−3), (4,1), (6,5). If the function is continuous, connect them with a smooth curve. If the function is discrete — defined only at those specific inputs — leave the points unconnected.
Tables reveal exact values at sampled points but conceal behavior between samples. The function might oscillate wildly between listed values, or it might follow a simple pattern. Without additional information, connecting points assumes the simplest plausible behavior.
Context guides interpretation. A table of daily temperatures suggests a continuous underlying process; connecting points makes sense. A table of annual profits at year-end suggests discrete data; plotting only the given points may be more appropriate.
Tables cannot capture every feature — a maximum might occur between listed points, and asymptotes might lurk where no data exists. Graphs from tables are approximations, constrained by the data provided.
Reading Function Values from Graphs
A graph answers questions about function values through geometric reading rather than algebraic calculation.
To find f(a) for a specific input a: locate a on the horizontal axis, draw a vertical line to the curve, and read the y-coordinate of the intersection point. That y-value is f(a).
To find all x such that f(x)=b for a specific output b: locate b on the vertical axis, draw a horizontal line to the curve, and read the x-coordinates of all intersection points. Each intersection gives a solution.
Pitfall: Stopping at the first intersection
Solving f(x)=5 for f(x)=x2−4 by reading only the crossing on the right gives x=3 alone. The line y=5 meets the parabola twice: x=−3 and x=3.
The first question has at most one answer — a function produces exactly one output per input. The second question may have zero, one, or many answers — multiple inputs can share the same output.
Precision depends on the graph's scale and clarity. Reading f(2) from a carefully drawn graph might yield f(2)=3.7, but the true value might be 3.71 or 3.68. Graphs provide estimates; equations provide exact values.
Graphs also answer qualitative questions directly. Is f(3) positive or negative? Check whether the point at x=3 lies above or below the x-axis. Is f(2)>f(5)? Compare the heights of the graph at those two inputs.
Two readings of the same graph
f(x) = x² − 4. To find f(3), go up from x = 3 to the curve and across to the y-axis: one point, so one answer, 5. To solve f(x) = 0, look along the line y = 0, here the x-axis: it meets the curve twice, so x = −2 and x = 2 are both answers.
A reading from an input gives at most one value; a reading from an output can give none, one or many.
Intercepts
Intercepts are points where the graph crosses the coordinate axes. They anchor the graph to recognizable positions.
The y-intercept is the point where the graph crosses the vertical axis. At this point, x=0. To find it algebraically, evaluate f(0). The y-intercept is (0,f(0)).
RULE
A function has at most one y-intercept, since x=0 produces at most one output.
If 0 is not in the domain, the function has no y-intercept.
The x-intercepts are points where the graph crosses the horizontal axis. At these points, y=0. To find them algebraically, solve f(x)=0. Each solution x=c gives an x-intercept (c,0).
A function can have zero, one, or many x-intercepts. The parabola f(x)=x2+1 has none — it never touches the x-axis. The parabola f(x)=x2 has exactly one, at the origin. The sine function has infinitely many, at every integer multiple of π.
Pitfall: Setting the wrong variable to zero
Finding the x-intercept of f(x)=2x−6 by putting x=0 gives −6, which belongs to the y-intercept (0,−6). For the x-intercept the output is set to zero: 2x−6=0, so the point is (3,0).
The x-intercepts are the zeros of the function, and finding them is equivalent to solving the equation f(x)=0. This connection makes intercepts central to both graphing and equation-solving. The Roots of a Function Calculator finds the x-intercepts of any function on an interval and marks them on the graph. The table below sets the two intercept types side by side with their algebraic methods, graphical meaning, and count.
For the intercepts of your own function, worked out step by step, use the intercepts calculator on Functions Explorer.
Beyond intercepts, graphs reveal features that characterize a function's behavior.
Peaks are local high points — places where the graph rises to a summit and then descends. These are local maxima. Valleys are local low points — places where the graph descends to a trough and then rises. These are local minima. Together, peaks and valleys are the turning points of the graph.
The absolute maximum is the highest point on the entire graph; the absolute minimum is the lowest. These may occur at turning points or at the endpoints of a restricted domain. Some functions have no absolute extrema — a line extends forever in both directions without reaching a highest or lowest point.
Pitfall: Giving the location as the maximum
For f(x)=−x2+2x+3, whose peak is at (1,4), answering "the maximum is 1" reports where the peak is, not how high it is. The maximum value is f(1)=4, reached at x=1.
Every turning point is a pair (x,y), and its two coordinates carry different information: the input where the function turns, and the output it reaches there. Questions about extrema can ask for either one — where a maximum occurs, or what the maximum value is. On a graph, the first is read along the horizontal axis and the second along the vertical axis.
Asymptotes are lines the graph approaches arbitrarily closely; a graph can still cross a horizontal or oblique asymptote. A vertical asymptote appears where the function blows up toward infinity; the graph rises or falls steeply, getting arbitrarily close to a vertical line. A horizontal asymptote describes end behavior — the graph levels off toward a fixed height as x extends toward infinity.
Holes are single missing points — places where the graph is undefined but the surrounding curve continues smoothly. Holes appear as open circles on carefully drawn graphs and correspond to removable discontinuities in the function.
The table below collects each of these features with what it looks like on the graph and what it reveals about the underlying function.
local high value; turning point from increasing to decreasing
Local minimum
a valley — the curve falls and then rises
local low value; turning point from decreasing to increasing
Absolute maximum / minimum
the highest / lowest point on the entire curve
the largest / smallest value the function ever takes
Vertical asymptote
curve rises or falls steeply near a vertical line, never reaching it
function is undefined or unbounded at that x-value
Horizontal asymptote
curve levels off toward a horizontal line at the far left or far right
end behavior approaches that y-value
Hole
a single missing point shown as an open circle
removable discontinuity at that x-value
Identifying Key Features VisuallyLearn Math Class
Types of Curves
Different function families produce different characteristic shapes. Recognizing these shapes enables faster graphing and deeper understanding.
Lines come from linear functions f(x)=mx+b. They have constant slope, no curvature, and extend infinitely in both directions.
Parabolas come from quadratic functions f(x)=ax2+bx+c. They open upward when a>0, downward when a<0, and have a single vertex where the curve turns.
S-curves come from cubic functions. They feature one inflection point where the curve changes from bending one way to bending the other. Both ends extend to infinity, in opposite directions.
Hyperbolas come from simple rational functions like f(x)=1/x. They have two separate branches, one in Quadrant I and the other in Quadrant III. Vertical and horizontal asymptotes frame the curve.
Half-curves come from radical functions like f(x)=x. They begin at a starting point and extend in one direction, curving gently.
Waves come from trigonometric functions. They oscillate periodically, rising and falling in regular cycles that repeat forever.
Growth and decay curves come from exponential functions. They rise rapidly toward infinity or decay toward zero, always staying on one side of the horizontal axis.
The table below collects these and a few more parent shapes side by side — useful as a recognition card when looking at an unfamiliar graph and trying to identify the function family it belongs to.
rises rapidly or decays; stays strictly on one side of the x-axis
Staircase
step / piecewise constant
horizontal segments connected by jumps at boundaries
Types of CurvesLearn Math Class
f(x) = 0.2x³ − 2x: the S-shape of a cubic
The curve rises, turns down through a local maximum, falls through the origin, turns up again at a local minimum and rises for good: the characteristic S of a cubic, with one more turn than a parabola. Recognising the shape tells you the family before any algebra. Flip through the families and their signature curves on the function types explorer.
Each family leaves a shape you can name at a glance, which is the point of learning them.
Graphing calculators and software automate the plotting process. Enter the function's equation, and the tool generates the graph instantly.
Setting the viewing window determines what portion of the graph is visible. The default window may miss important features — a function with zeros at x=100 and x=−100 will show neither zero if the window spans only −10≤x≤10. Adjusting the window to capture all relevant behavior is essential.
Trace features allow reading coordinates of points on the graph. Moving along the curve displays the x and y values at each position. This answers questions like "what is f(2.5)?" directly.
Fact: A fast wave disguised as a slow one
A plotter that computes points every 0.1 units and joins them draws sin(x+20πx) exactly like sinx: at each x=0.1k the extra 20πx=2πk is a whole number of turns. The true graph swings about ten times per unit.
Built-in tools find intercepts, maxima, minima, and intersections. These calculations may be numerical approximations rather than exact answers, but they provide valuable information quickly. The Graphing Calculator on this site works this way: type an equation and the graph appears, with intercepts, turning points and intersections marked.
Technology has limitations. It cannot show true asymptotic behavior — only increasingly steep curves within the finite window. It cannot reveal holes unless the software is designed to indicate them. Resolution limits mean that rapid oscillations may appear as solid bands.
Technology is a tool for exploration and verification, not a replacement for understanding. Knowing what a graph should look like allows checking whether the technology is showing something meaningful or misleading.
The default window may miss important features.zeros at x=100 and x=−100 do not show on −10≤x≤10
Trace
Reads the coordinates of points on the graph.
Moving along the curve displays x and y at each position.answers "what is f(2.5)?" directly
Built-in tools
Find intercepts, maxima, minima, and intersections.
Results may be numerical approximations rather than exact answers.
Limitations
No true asymptotic behavior, only increasingly steep curves within the finite window.
No holes, unless the software is designed to indicate them.
Rapid oscillations may appear as solid bands.
Graphing technologycalculators and software
A tool, not a replacementKnowing what a graph should look like allows checking whether the technology is showing something meaningful or misleading.
Graphing TechnologyLearn Math Class
Graph Interpretation
Reading a graph is not just about extracting numbers — it is about understanding what the function does.
Shape reveals behavior. A graph that rises from left to right represents an increasing function. A graph that oscillates represents periodic behavior. A graph that levels off toward a horizontal line represents bounded end behavior.
The domain appears as horizontal extent. Where does the graph exist? Where are there gaps or asymptotes?
The range appears as vertical extent. How high does the graph reach? How low? Are there values of y the graph never attains?
Pitfall: Reading the range off the horizontal axis
The parabola f(x)=x2−4 spreads over every x, so its range is given as all real numbers. That is the domain; read vertically, the lowest point is (0,−4) and the range is [−4,∞).
Domain and range are read from the same picture, each against its own axis. A graph can run without end in one direction while staying bounded in the other, so the two answers often look nothing alike. Each one needs its own look at the curve: the horizontal spread for the domain, the vertical spread for the range.
Symmetry appears as visual balance. A graph symmetric about the y-axis represents an even function. A graph symmetric about the origin represents an odd function.
Comparing graphs reveals relationships between functions. Two functions with the same shape but different positions differ by a transformation. Two functions that intersect share common solutions.
Graphs translate between the algebraic and the visual. The equation f(x)=x2−4 states a rule; its graph shows a parabola crossing the x-axis at ±2 and reaching its minimum at (0,−4). Both descriptions capture the same function, and fluency in reading both strengthens understanding of each.
Common Pitfalls
Five mistakes come up again and again when drawing and reading graphs of functions. Each is marked where it happens in the sections above; here each is worked through in full, with the wrong and the right working side by side.
After a table of values is plotted, the points are joined with straight segments, as if the function were linear between them. For a curved graph this draws corners that are not there and gives wrong values between the plotted inputs.
Start
For f(x)=x2−4x+3,
Wrong turn
Error here
The points (1,0) and (2,−1) are joined by a segment, so the graph above x=1.5 is read at the midpoint height −0.5, and the bottom of the sketch is a sharp V at (2,−1).
Right path
The graph is a parabola, so it bends between the points. At x=1.5, f(1.5)=1.52−4(1.5)+3=2.25−6+3=−0.75, below the segment, and the curve is rounded at the vertex (2,−1).
Why it happensA ruler gives a neat sketch, and five points look like enough to fix the shape. The points fix only positions; the shape between them comes from knowing the function family.
How to checkEvaluate the function halfway between two plotted inputs. If the value differs from the height of the segment there, the graph curves.
2Stopping at the first intersection
To solve f(x)=b from a graph, the horizontal line y=b is drawn, the first crossing is read, and the search stops. Every other crossing is a solution too, and it is lost.
Start
For f(x)=x2−4 and b=5,
Wrong turn
Error here
The line y=5 is followed to the right branch of the parabola, giving x=3 as the only answer.
Right path
The line y=5 meets both branches, at x=−3 and x=3. Both check: (−3)2−4=5 and 32−4=5.
Why it happensReading f(a) from an input always gives one answer, and the same habit is carried over to the reverse question, which can have zero, one or many answers.
How to checkFollow the horizontal line across the whole graph, from the left edge to the right edge, and count the crossings before writing the answer.
3Setting the wrong variable to zero
The two intercept rules are swapped: to find the x-intercept, the input x is set to zero, and to find the y-intercept, the output is set to zero.
Start
For f(x)=2x−6,
Wrong turn
Error here
The x-intercept is found as f(0)=−6 and written as the point (−6,0).
Right path
On the x-axis the output is zero, so solve 2x−6=0, giving x=3 and the point (3,0). The y-intercept is f(0)=−6, the point (0,−6).
Why it happensThe name "x-intercept" mentions x, so x feels like the variable to change. The name actually says which axis the point lies on, and on that axis the other coordinate is zero.
How to checkSubstitute the point into the function. For (3,0), f(3)=0, so it lies on the graph. For (−6,0), f(−6)=−18, not 0, so it does not.
4Giving the location as the maximum
Asked for the maximum value of a function, the x-coordinate of the peak is given instead of its height.
Wrong turn
Error here
f(x)=−x2+2x+3 peaks at (1,4), and the maximum is reported as 1.
Right path
The maximum value is the output at the peak, f(1)=−1+2+3=4, and it is reached at x=1. A full answer names both: the maximum value 4 occurs at x=1.
Why it happensFinding the peak usually starts by locating its x-coordinate, and the first number found is written down as the answer.
How to checkA maximum value is an output, so it is read on the vertical axis. If the answer is a position on the horizontal axis, it answers "where", not "how high".
5Reading the range off the horizontal axis
The range is read from how far the graph spreads left and right, which is the domain, instead of how far it reaches up and down.
Wrong turn
Error here
f(x)=x2−4 is defined for every x, and its graph spreads across the whole horizontal axis, so the range is given as all real numbers.
Right path
The range collects the y-values the graph reaches. The lowest point is (0,−4) and the parabola rises without end from there, so the range is [−4,∞). All real numbers is the domain.
Why it happensBoth answers come from the same picture, and in many first examples, such as lines with nonzero slope, domain and range are both all real numbers, so the difference never shows.
How to checkPick a y-value outside the claimed range and draw the horizontal line there. For y=−5 the line misses the parabola, since x2−4=−5 has no real solution, so −5 is not in the range.
Common pitfalls with graphs of functions·/functions/graphsLearn Math Class
Each slip reads a graph from too little of it. Plotted points are joined by the curve of the function, not by straight segments; a horizontal line can meet a graph more than once; an x-intercept has output 0; a maximum is an output read on the vertical axis; and the range is read along the vertical axis too. Evaluating at one more point, or substituting the claimed point into the function, catches each slip.
What to Look For on a Graph
Every question that can be asked about a function corresponds to a feature that can be located visually on its graph. The table below collects the most common questions — value lookups, intercepts, domain and range, monotonicity, extrema, symmetry, end behavior, asymptotes, and continuity — alongside the visual cue that answers each, useful as a reference card when reading any unfamiliar graph.
1What is f(a)?f(2) = 3go up from x = a on the x-axis until you meet the curve; read the y-coordinate
What x satisfies f(x) = b?f(x) = 3 at x = −1 and x = 2go across from y = b on the y-axis; read the x-coordinate of every intersection
BKey pointsmarked on the graph
2y-intercept(0, 1)point where the curve crosses the y-axis
3x-intercepts (zeros)x ≈ −1.88, 0.35, 1.53points where the curve crosses or touches the x-axis
4Local extremamax (−1, 3), min (1, −1)peaks (local max) and valleys (local min) — the turning points
Absolute extremanone herethe single highest and lowest points on the entire curve
CExtent and directionthe whole curve
Domainall real xhorizontal extent — every x-value the graph covers
Rangeall real yvertical extent — every y-value the curve reaches
Increasing / decreasing intervalsrises for x < −1 and x > 1, falls betweenportions of the domain where the curve rises (increasing) or falls (decreasing) from left to right
End behaviordown to −∞ on the left, up to +∞ on the rightwhere the curve heads as x → ∞ and x → −∞ — to a finite limit (horizontal asymptote) or to ±∞
DShapethe whole curve
Symmetrynone heremirror across the y-axis (even function) or point symmetry about the origin (odd function)
Asymptotesnone herevertical lines near which the curve diverges; horizontal or slanted lines the curve approaches at the extremes
It depends on the family rather than on a fixed count. A line needs two points, a parabola needs the vertex plus one point on either side, and anything with asymptotes needs those drawn first. Plotting points blindly without knowing the expected shape is what produces wrong sketches.Read more →
Why does a graph sometimes have a hole instead of an asymptote?
+
A hole appears when a factor cancels between numerator and denominator, removing a single point while leaving the surrounding curve intact. An asymptote appears when the factor does not cancel, so the function genuinely blows up there. Simplifying before graphing is what reveals which of the two you have.Read more →
Can a graph cross its own asymptote?
+
A horizontal asymptote yes; a vertical one it meets at most once, and usually not at all. Horizontal asymptotes describe end behaviour far out, so nothing stops the curve crossing them in the middle. A vertical asymptote usually marks an input the function has no value at, so the curve cannot reach it; a function defined there touches the line at only that one point.Read more →
Can a function have more than one y-intercept?
+
No, at most one. The y-intercept is the point (0,f(0)), and the single input 0 has only one output. A function can also have none: if 0 is outside the domain, as for x1 or lnx, the graph never meets the y-axis. The x-intercepts are different, because many inputs may share the output 0: x2+1 has none, x2 has one and sinx has infinitely many.Read more →
Can a graphing calculator show the wrong graph?
+
Yes. A plotter computes points at fixed steps and joins them, so it can miss what happens in between. Sampled every 0.1 units, sin(x+20πx) looks exactly like sinx: at each x=0.1k the extra 20πx=2πk is a whole number of turns, yet the true graph swings about ten times per unit. Holes are usually invisible too, and an asymptote shows only as an ever steeper curve.Read more →
Should you connect the points when graphing from a table?
+
Only if the function is continuous. Daily temperatures come from a continuous process, so joining the points makes sense; year-end profits are separate values and are better left as dots. Even then the joining is a guess about the gaps, where a maximum may hide, and a curve should be drawn smooth: x2−4x+3 is −0.75 at x=1.5, below the −0.5 a straight segment gives.Read more →