Writing Equations From Graphs and Tables:
Lesson 9.5 Presentation
More videos
Interpreting linear equations in different forms | Khan AcademyKhan Academy Video
Writing and graphing linear equations | 8th grade math (IM® v.360 aligned) | Khan AcademyKhan Academy Video

Complementary Video
What career does this lesson unlock?
Adelaide will match a real-world profession to what you just learned and walk you through a day on the job.
Core Content
Writing equations from graphs or tables requires finding the slope and the intercept through observation. On a graph, find the rise and run between two points. In a table, calculate the constant rate of change by comparing the difference in y values to the difference in corresponding x values.
Once you have the slope m, use any coordinate point from the table or graph to solve for b using the slope-intercept formula. Substitute your values for x, y, and m, then isolate b. This ensures your line passes through every point provided in your original data set correctly.
Avoid the mistake of picking points that do not fall exactly on grid intersections. If you choose a point that is not precise, your slope calculation will be inaccurate. Always select points that clearly align with coordinates to guarantee your calculated rate of change remains precise for the entire line.
If a table shows time in minutes as x and distance in miles as y, where values are zero to one and five to eight, the slope is three. With a y-intercept of five, the final equation is y equals three x plus five, defining the constant travel speed.
The constant rate of change, or slope, acts as the foundational structural element of linear equations. When working with graphs, identifying this value requires identifying two distinct points labeled (x1, y1) and (x2, y2). By calculating the vertical difference in y-coordinates and dividing it by the horizontal difference in x-coordinates, we find the steepness of the line. This arithmetic operation is valid because linearity demands consistent ratios throughout the entire coordinate plane.
When a table provides discrete data points, the process mirrors the graphical approach but relies on calculating differences rather than measuring visual distances. Subtracting successive y-values from one another and dividing by the difference of their corresponding x-values yields the slope.
This is logically sound because, in a linear relationship, the ratio of change remains invariant regardless of the interval chosen, confirming that the same constant rate of change applies across all provided domain values.
- To find the slope, calculate the change in y, which is 16 minus 10, resulting in
- The change in x is 4 minus 2, which equals
- Dividing the change in y by the change in x gives 6/2 =
- Thus, the slope m equals
- This ratio shows the precise, uniform growth of the variable.
After finding the slope of 3, identify the y-intercept, b, by substituting known values into the equation y = 3x + b. Using the coordinate pair (2, 10), we write 10 = 3(2) + b. Simplifying the right side results in 10 = 6 + b. Subtracting 6 from both sides leaves 4 equals b. Consequently, the completed equation for this linear set is y = 3x + 4, describing the precise relationship.
Validation of this equation is essential for mathematical integrity. By substituting the third point (6, 22) into our derived equation y = 3x + 4, we perform a verification. Calculating 3 times 6 plus 4 yields 18 plus 4, which equals 22. Since this matches our table value, the equation is confirmed as correct. This process of substitution reinforces the idea that an accurate formula must account for every valid data point provided.
A second example involves a graph passing through the points (0, -2) and (3, 4). First, identify the y-intercept by observing where the line crosses the vertical axis. Since the line hits the axis at -2, the value of b is immediately known.
Next, determine the slope by calculating the rise over run: 4 minus negative 2 divided by 3 minus 0. This gives 6 divided by 3, resulting in a slope of 2.
With the components identified as m = 2 and b = -2, we assemble the slope-intercept equation as y = 2x - 2. Check this equation by substituting both original points. At x = 0, the equation yields y = -2. At x = 3, it gives y = 2(3) - 2 = 4.
Both outputs match the original coordinates, confirming that the equation passes through the two distinct points that determine this line.

Students should be cautious of correlation versus causation. A table showing a positive slope suggests a relationship, but it does not inherently prove that one variable causes the other. In mathematics, we focus on the functional dependency defined by the equation. Recognizing this distinction allows us to interpret models responsibly.
We seek to understand the data's structure without overstepping the mathematical limitations of our current linear model or assuming variables interact without external context.
Domain restrictions are another critical consideration. In real-world contexts, such as calculating the cost of items, x must be a non-negative integer. If a function describes an object's position over time, the domain is restricted by the duration of the movement.
When interpreting these linear functions, ensure the final equation acknowledges the practical limits of the variables, as mathematical models often reflect specific segments of reality rather than extending infinitely in both directions.
Common errors include misidentifying the negative signs when calculating the slope of lines with downward trends. Always subtract carefully, especially when dealing with negative coordinates. A double negative creates a positive, which frequently trips up learners. Maintaining order is vital; if you choose (x1, y1) as your starting point, ensure your subtraction reflects that same directional movement for both axes. Precision in these foundational arithmetic steps prevents significant errors in final equations.
Another mistake involves mixing up the x and y coordinates during substitution. Remember that x is the independent variable representing the horizontal position, while y is the dependent variable representing the vertical position. Placing values in the wrong positions will lead to an incorrect intercept.
Consistency is the hallmark of mathematical excellence; by always labeling coordinates clearly before starting calculations, you reduce the likelihood of these simple errors in your algebraic work.
Beyond the mechanics, we recognize that our ability to observe patterns in nature and express them through language and mathematics is a profound gift. While these equations simply describe the way things move or change, they remind us that there is order in the universe.
Just as a well-crafted equation accurately maps the relationship between two variables, our lives are intended to follow a clear, coherent direction guided by immutable principles of truth.
When evaluating complex tables, look for the consistency of the slope. If the rate of change varies between different points, the relationship is non-linear, and the slope-intercept form cannot be used. We must verify that the slope is constant before attempting to write a linear equation.
Identifying non-linearity is a successful algebraic act in itself, as it defines the limitations of the current tools and requires shifting toward more sophisticated models for future analysis.
Ultimately, proficiency in writing these equations grants us the ability to predict future values. By mastering the transition from points to graphs to symbolic equations, you build a versatile toolkit for problem-solving. Review your steps systematically, test your findings through substitution, and maintain focus on the precision of your work.
These skills serve as the building blocks for advanced study, ensuring your understanding of functions is firmly rooted in reliable and accurate logical reasoning.
Subscription Library
Education.com Teacher Login
Standards-aligned lesson plans, worksheets, games, and activities for Pre-K through 8th grade.
Login credentials are being prepared. Check back soon, or ask your teacher.
© 2026 Learning by Grace. All rights reserved. This content is for enrolled students only and may not be copied, distributed, or reproduced.
Have something to share?
Submit your work — writing, art, videos, and more — for us to review.
My Submitted Work
