How do you write the equation of a line from a slope and a point, two points, a graph, or a context?
Write linear functions and equations of lines using slope-intercept and point-slope form, from a graph, two points, or a real-world description (TN A1.F.LE.A.2, A1.A.CED.A.2).
A TNReady Algebra I answer on writing linear functions (TN A1.F.LE.A.2, A1.A.CED.A.2), the slope formula, slope-intercept and point-slope forms, and building a line from two points or a context.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this topic is asking
This page covers writing a linear function from various starting points: a slope and a point, two points, a graph, or a context (A1.F.LE.A.2 and A1.A.CED.A.2). The tools are the slope formula and the slope-intercept and point-slope forms. The reference sheet gives the slope formula, but the line forms are not on it, so memorize them.
The slope formula and the line forms
Slope-intercept is best when you know the slope and the -intercept; point-slope is best when you know the slope and any point.
Writing a line from two points
The reliable two-step routine: find the slope, then substitute a point into point-slope.
Writing a line from a context
In a word problem, the constant rate is the slope and the fixed/starting value is the -intercept. " per month with a setup fee" is . If you are given a rate and a non-starting point, use point-slope and simplify, the pool example does exactly this with a negative slope for draining.
How TNReady examines this topic
- Equation response. Write a line in slope-intercept or point-slope form, scored by exact match.
- Numeric response. Find the slope, the -intercept, or a starting value from a context.
- Multiple choice. Choose the equation matching a graph or table, with slope-sign and intercept distractors.
A clarifying idea is that the slope is the average rate of change of a linear function, constant on every interval, and in a data setting it is the slope of the linear model fitted to points. The same number appears across the Functions and Statistics categories.
Why two forms, and when to convert
Slope-intercept and point-slope describe the same line, so why keep both? Because each is fastest for a different starting point. If you already know where the line crosses the -axis, slope-intercept is immediate. If you know the slope and some other point, point-slope lets you write the equation in one step without solving for . The test often supplies a slope and a point that is not the -intercept, which is exactly when point-slope shines, you plug in and simplify. Converting between the forms is just algebra: distribute and isolate to go from point-slope to slope-intercept. Knowing both, and converting fluently, means you are never stuck regardless of which information the item hands you. A negative slope simply means the line falls (a decreasing function), as in a draining or depreciation context, and the method is identical.
Try this
Q1. Write the line with slope through . [1 point]
- Cue. Slope-intercept directly: .
Q2. Write the line through and . [2 points]
- Cue. ; .
Exam-style practice questions
Practice questions written in the style of TDOE exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
TNReady (style)2 marksEquation response. Write the equation of the line through and in slope-intercept form.Show worked answer β
The equation is .
First find the slope: . Then use point-slope with : , so , giving . Check with the other point: , correct. Computing the slope first, then substituting one point, is the standard route.
TNReady (style)2 marksNumeric response. A pool drains at a constant rate. After minutes it holds gallons; after minutes it holds gallons. What was the starting amount (at )?Show worked answer β
The starting amount was gallons.
The rate (slope) is gallons per minute (draining). Use point-slope with : , so . At , gallons (the -intercept). The negative slope correctly reflects draining.
Related dot points
- Understand that a function assigns each input exactly one output, use function notation to evaluate functions, and identify domain and range (TN A1.F.IF.A.1, A1.F.IF.A.2, A1.F.IF.C.5).
A TNReady Algebra I answer on the definition of a function (TN A1.F.IF.A.1-2), the vertical line test, evaluating with function notation, and identifying domain and range from graphs and tables.
- Interpret key features of graphs and tables (intercepts, intervals of increase and decrease, maxima and minima, end behavior) in terms of the quantities they model (TN A1.F.IF.C.4).
A TNReady Algebra I answer on interpreting key features (TN A1.F.IF.C.4), x- and y-intercepts, intervals of increase and decrease, maxima and minima, and end behavior, in the context of a model.
- Calculate and interpret the average rate of change of a function over a specified interval from a graph or table (TN A1.F.IF.C.6).
A TNReady Algebra I answer on average rate of change (TN A1.F.IF.C.6), the change-in-output over change-in-input formula, computing it from tables and graphs, and interpreting it as a slope.
- Compare properties of linear, quadratic, and exponential functions represented in different ways, and identify the family that models a situation (TN A1.F.IF.D.9, A1.F.LE.A.3).
A TNReady Algebra I answer on comparing function families (TN A1.F.IF.D.9, A1.F.LE.A.3), identifying linear, quadratic, and exponential behavior from tables and graphs, and comparing rates of growth.
- Represent two quantitative variables on a scatter plot, describe the relationship, fit a linear model, and interpret its slope and intercept in context (TN A1.S.ID.C.6, A1.S.ID.C.7).
A TNReady Algebra I answer on scatter plots and linear models (TN A1.S.ID.C.6-7), describing association, fitting a line of best fit, interpreting slope and intercept, and predicting with the model.
Sources & how we know this
- Tennessee Academic Standards for Mathematics β Tennessee Department of Education (2024)
- Math EOC Reference Sheet β Tennessee Department of Education (2024)