Graph — Definition, Formula & Examples
A graph is a visual representation of data or a mathematical relationship, drawn on a set of axes. In coordinate geometry, a graph shows all the points that satisfy an equation or function.
Given a relation or function , the graph of is the set of all ordered pairs plotted on the Cartesian coordinate plane. More broadly, a graph is any diagram that displays numerical information using points, lines, bars, or curves relative to reference axes.
How It Works
To graph an equation like , you pick several values of , calculate the corresponding -values, and plot each pair as a point on the coordinate plane. Then you connect the points to reveal the shape of the relationship. A straight line means the equation is linear; a curve means it is nonlinear. Reading a graph works in reverse — you locate a point on the curve and read its - and -coordinates from the axes.
Worked Example
Problem: Graph the equation by plotting points for .
Step 1: Substitute each -value into the equation to find .
x = -1 \Rightarrow y = 2(-1)+1 = -1$$$$x = 0 \Rightarrow y = 1$$$$x = 1 \Rightarrow y = 3$$$$x = 2 \Rightarrow y = 5
Step 2: Plot the ordered pairs , , , and on the coordinate plane.
Step 3: Draw a straight line through the four points. This line is the graph of .
Answer: The graph is a straight line passing through , , , and with slope 2 and -intercept 1.
Why It Matters
Graphing turns abstract equations into pictures you can analyze at a glance — spotting where a line crosses zero, where two curves intersect, or whether a quantity is increasing or decreasing. Science classes, economics, and data analysis all rely on reading and creating graphs daily.
Common Mistakes
Mistake: Mixing up the order of coordinates and plotting instead of .
Correction: Always move horizontally first (the -value), then vertically (the -value). The first number in an ordered pair is the horizontal position.
