How do you write the equation of a line from a slope and a point, from two points, or from a graph, and when do you use slope-intercept versus point-slope form?
Write the equation of a line in slope-intercept and point-slope form from a slope and point, two points, or a graph (Ohio A-CED.2, F-IF, F-LE).
An Ohio Algebra I answer on writing equations of lines (A-CED.2): using slope-intercept and point-slope form, finding slope from two points, and writing parallel and perpendicular lines.
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
Ohio standard A-CED.2 asks you to write the equation of a line in two variables from the information you are given: a slope and a point, two points, or a graph. The two forms you need, slope-intercept and point-slope, are both on the reference sheet. This skill sits across the Expressions and Equations and Functions reporting categories and is heavily tested.
The two line forms
Both forms describe the same lines; you pick based on what you are given.
If you are handed the slope and the -intercept, slope-intercept is immediate. If you are handed the slope and a point that is not on the -axis, point-slope is cleaner, and you can rearrange to slope-intercept afterward.
From two points
When two points are given, the slope comes first.
It does not matter which of the two points you use in point-slope; both give the same final equation.
Parallel and perpendicular lines
The slope encodes direction, so it controls these relationships.
- Parallel lines never meet and have the same slope. A line parallel to has slope .
- Perpendicular lines meet at a right angle and have slopes that are negative reciprocals: if one slope is , the other is . A line perpendicular to has slope .
To write such a line, take the correct slope and then use a given point with point-slope form.
How Ohio examines this topic
- Equation response. Type the equation in the requested form (slope-intercept or point-slope).
- Multiple choice. Pick the correct equation from a graph or from given conditions.
- Multi-part items. Find a slope, then build the equation, then use it to predict a value.
The reference sheet supplies both forms, so the credit is for choosing and applying the right one.
Why point-slope is the all-purpose tool
Slope-intercept gets the spotlight, but point-slope is the more flexible starting point because it works from any point, not just the -intercept. Many problems give you a slope and a point like that is not on the -axis; forcing slope-intercept here means solving for first, an extra step, while point-slope lets you write the line immediately and tidy up afterward. The form simply encodes the definition of slope: rearranged. Once you are comfortable converting point-slope to slope-intercept by distributing and isolating , you can handle every "write the line" prompt with one reliable method and only switch to slope-intercept when the -intercept is handed to you directly.
Reading a line off a graph
When the line is given as a graph, recover the two pieces it needs. The -intercept is where the line crosses the -axis, giving directly. The slope is rise over run between two clear lattice points: count the vertical change and divide by the horizontal change, keeping the sign (down-to-the-right is negative). With and in hand, write . This graph-reading skill connects writing equations to interpreting key features of graphs, and it is exactly what a "match the graph to its equation" item checks.
Try this
Q1. Write the line with slope through in slope-intercept form. [2 points]
- Cue. , so .
Q2. Write the line through and in slope-intercept form. [2 points]
- Cue. ; , so .
Exam-style practice questions
Practice questions written in the style of ODEW exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
Ohio Algebra I EOC (style)2 marksEquation response. Write the equation in slope-intercept form of the line through with slope .Show worked answer β
The equation is .
Slope-intercept form is , where is the slope and is the -intercept. The point is the -intercept, so , and the slope is . Substituting gives . When you are handed the slope and the -intercept directly, slope-intercept form is the fastest.
Ohio Algebra I EOC (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 . Finding slope from two points, then converting to slope-intercept form, is the standard two-point method.
Related dot points
- Interpret slope as a rate of change, find the x- and y-intercepts, and graph a line from slope-intercept form (Ohio F-IF.6, A-REI.10).
An Ohio Algebra I answer on slope and graphing lines (F-IF.6, A-REI.10): slope as rise over run and as a rate of change, finding intercepts, and graphing from slope-intercept form.
- Create equations and inequalities in one variable from a real-world context and use them to solve problems (Ohio A-CED.1).
An Ohio Algebra I answer on creating equations and inequalities from context (A-CED.1): defining a variable, translating phrases into symbols, building the model, and interpreting the answer in the situation.
- Solve linear equations in one variable, including those with variables on both sides and with the distributive property, and recognize no-solution and identity cases (Ohio A-REI.3, A-REI.1).
An Ohio Algebra I answer on solving linear equations (A-REI.3): clearing parentheses and fractions, collecting variables on one side, and recognizing equations with no solution or infinitely many solutions.
- Use function notation to evaluate and interpret functions, decide whether a relation is a function, and identify domain and range from equations, tables, and graphs (Ohio F-IF.1, F-IF.2, F-IF.5).
An Ohio Algebra I answer on functions (F-IF.1, F-IF.2): the definition of a function, the vertical line test, evaluating f(x), solving f(x) = k, and reading domain and range from graphs and tables.
- Build a function that models a relationship, write a linear function from a context, table, or two points, and interpret its parameters in context (Ohio F-BF.1, F-LE.2, F-IF.7).
An Ohio Algebra I answer on building functions (F-BF.1, F-LE.2): writing a linear function from a verbal description, a table, or two points, interpreting the slope and intercept as rate and starting value, and using the function to predict.
Sources & how we know this
- Ohio's Learning Standards for Mathematics: Algebra 1 β Ohio Department of Education and Workforce (2024)
- Algebra I course resources (blueprint, reference sheet, released items) β Ohio Department of Education and Workforce (2024)