How do you write the equation of a line from a slope and a point, two points, or a graph?
Write the equation of a line in slope-intercept and point-slope form given a slope and a point, two points, or a graph (LA A1: F-IF, A-CED, building linear models).
A Louisiana LEAP 2025 Algebra I answer on writing linear equations: using point-slope and slope-intercept form, finding the equation from two points, and from a slope and a point.
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 dot point asks you to write the equation of a line from a slope and a point, from two points, or from a graph, in slope-intercept or point-slope form. On LEAP 2025 these are Type I Major Content items, central to linear modeling. As with slope, the line forms are not on the reference sheet, so know them.
From a slope and a point: point-slope form
When you know the slope and one point, point-slope form is the most direct.
From two points
With two points, compute the slope first, then use point-slope with either point (the result is the same).
Using the other point gives , so , the same line.
Reading the y-intercept directly
If one of your points has , that point is the -intercept: its -value is . Then you only need the slope to write in one step, no point-slope needed.
How LEAP examines this topic
- Equation response. Write the equation in a requested form and enter it.
- Multiple choice. Pick the correct equation from a slope and point or two points.
- Graphing item. Read slope and a point off a graph, then write the equation (or the reverse).
A clarifying idea: point-slope and slope-intercept describe the same line; you can always convert point-slope to slope-intercept by distributing and solving for . Choose whichever the item asks for.
Why two forms exist for one line
Having both point-slope and slope-intercept form is a matter of convenience matched to the information you start with, which is the practical point of this standard. Slope-intercept form requires the -intercept, the value at , which you may not be given. Point-slope form requires only any point and the slope, so it works directly whenever you have a slope and a coordinate, with no need to first find where the line crosses the -axis. The two forms are algebraically identical: distributing point-slope and solving for always lands on slope-intercept form. The reason to learn both is speed and reliability, starting from point-slope when you have an arbitrary point avoids the extra step of solving for , and starting from slope-intercept is fastest when the intercept is handed to you. Recognizing which form the given information fits is the judgment the test rewards, and it is why a two-point problem always begins by computing the slope: the slope is the one ingredient both forms require.
Try this
Q1. Write the line with slope through in slope-intercept form. [2 points]
- Cue. .
Q2. Write the line through and . [2 points]
- Cue. ; intercept , so .
Exam-style practice questions
Practice questions written in the style of LDOE exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
LA LEAP 2025 Math (style)2 marksEquation response. Write the equation of the line with slope passing through in slope-intercept form.Show worked answer β
The equation is .
Start from point-slope form with and : . Distribute: . Add : . The -intercept is . Distributing the slope across the parentheses (including the sign) is where errors creep in. The line forms are not on the reference sheet.
LA LEAP 2025 Math (style)2 marksMultiple choice. Which is the equation of the line through and ? (A) (B) (C) (D) Show worked answer β
The correct answer is (A).
Find the slope first: . One point is , which is the -intercept, so . Slope-intercept form gives . When a point has , it is the -intercept and can be read straight into , which saves a step.
Related dot points
- Find the slope and intercepts of a linear function and interpret them in context, working from an equation, a graph, or a table (LA A1: A-REI.D, F-IF.B).
A Louisiana LEAP 2025 Algebra I answer on slope and intercepts (LA A1: A-REI.D, F-IF.B): the slope formula, slope-intercept form, finding intercepts, and interpreting slope as a rate of change.
- Solve linear equations in one variable, including equations with variables on both sides and with letter coefficients, and recognize when an equation has one solution, no solution, or infinitely many (LA A1: A-REI.B.3).
A Louisiana LEAP 2025 Algebra I answer on solving linear equations (LA A1: A-REI.B.3): the properties of equality, clearing fractions and parentheses, variables on both sides, and recognizing no-solution and identity cases.
- Create equations and inequalities in one variable from a context and use them to solve problems (LA A1: A-CED.A.1).
A Louisiana LEAP 2025 Algebra I answer on creating equations and inequalities (LA A1: A-CED.A.1): defining a variable, translating words into symbols, choosing the right comparison sign, and solving and interpreting the result.
- Solve a system of two linear equations by graphing and recognize that the intersection point is the solution (LA A1: A-REI.C.6, A-REI.D.11).
A Louisiana LEAP 2025 Algebra I answer on solving systems by graphing (LA A1: A-REI.C.6, D.11): plotting both lines, reading the intersection, and seeing parallel and identical lines as the special cases.
- Write a function that describes a relationship between two quantities, building a linear or exponential model from a context (LA A1: F-BF.A.1, F-LE.A.2).
A Louisiana LEAP 2025 Algebra I answer on building functions (LA A1: F-BF.A.1, F-LE.A.2): writing a linear or exponential rule from a context, table, or graph, and identifying the starting value and rate.
Sources & how we know this
- Louisiana Student Standards for Mathematics β Louisiana Department of Education (2025)
- LEAP 2025 Assessment Guide for Algebra I β Louisiana Department of Education (2025)