How do you write the equation of a linear function from a graph, a slope and a point, or two points, and what are the relationships for parallel and perpendicular lines?
Write equations of linear functions in slope-intercept and point-slope form given a graph, a slope and a point, or two points, and apply the slope relationships for parallel and perpendicular lines (A.F.4).
A Virginia SOL Algebra I answer on A.F.4: writing linear equations in slope-intercept and point-slope form, building from a slope and a point or two points, and parallel and perpendicular slope relationships.
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
A.F.4 asks you to write the equation of a linear function from a graph, a slope and a point, or two points, and to apply the parallel and perpendicular slope relationships. On the Virginia Algebra I SOL these are Functions items: write a line in slope-intercept or point-slope form, or find a parallel or perpendicular slope. They appear as fill-in-the-blank, multiple choice, and coordinate-plane items.
The three forms of a line
The Algebra I formula sheet gives three forms, each useful for a different job:
- Slope-intercept : best for reading the slope and -intercept, and for graphing.
- Point-slope : best for building a line from a slope and a point.
- Standard : a tidy integer form, useful for intercepts.
Writing from a slope and a point
If the point is the -intercept (on the -axis, ), read directly. Otherwise, use point-slope or substitute the point into and solve for .
Writing from two points
Find the slope first with , then use either point in point-slope form (or solve for ). For and : , then , giving .
Parallel and perpendicular slopes
The slope encodes a line's direction, so the relationships between lines are relationships between slopes:
- Parallel lines never meet, so they have the same slope (and different -intercepts). A line parallel to has slope .
- Perpendicular lines meet at a right angle, and their slopes are opposite reciprocals: flip the fraction and change the sign. A line perpendicular to slope has slope . The product of perpendicular slopes is .
Why perpendicular slopes are opposite reciprocals
The opposite-reciprocal rule is not arbitrary, it comes from rotating a line by a right angle. A slope of means "go across and up." Rotating that direction degrees turns "across" into "up" and "up" into "across," and one of them reverses direction, so the new step is "go across and down" (or up), a slope of . Flipping to is the reciprocal, and the sign change is the opposite, together the opposite reciprocal. The product test falls straight out of this. Understanding the rotation, rather than memorizing the phrase, helps you avoid the frequent error of flipping without changing the sign (which gives a steeper parallel-ish line, not a perpendicular one).
How the SOL examines this topic
- Fill-in-the-blank. Write a line in slope-intercept form from given information and type it.
- Multiple choice. Find a parallel or perpendicular slope, or pick the correct equation.
- Coordinate-plane items. Graph a line from an equation, or build the equation of a drawn line.
Try this
Q1. Write the line with slope through . [1 point]
- Cue. , so .
Q2. What slope is parallel to ? [1 point]
- Cue. The same slope, .
Exam-style practice questions
Practice questions written in the style of VDOE exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
SOL (style)2 marksFill in the blank. Write the slope-intercept equation of the line with slope that passes through .Show worked answer β
The equation is .
Slope-intercept form is . The slope is . Because the point has , it is the -intercept, so . Substitute: . When the given point is on the -axis, is read directly; otherwise you would solve for using the point.
SOL (style)1 marksMultiple choice. What is the slope of a line perpendicular to ? (A) (B) (C) (D) Show worked answer β
The correct answer is (A).
Perpendicular slopes are opposite reciprocals: flip the fraction and change the sign. The slope flips to and negates to . Their product is , the test for perpendicularity. A parallel line would keep the same slope, .
Related dot points
- Calculate and interpret the slope of a linear function as a rate of change from a graph, table, equation, or two points, and identify the meaning of slope and intercepts in context (A.F.3).
A Virginia SOL Algebra I answer on A.F.3: the slope formula, slope as rate of change, reading slope and intercepts from graphs and tables, and interpreting them in context.
- Determine whether a relation is a function from a table, graph, mapping, or equation, and use and evaluate function notation f(x) (A.F.1).
A Virginia SOL Algebra I answer on A.F.1: the definition of a function, the vertical line test, recognizing functions from tables and mappings, and evaluating and interpreting function notation f(x).
- Solve systems of two linear equations in two variables by graphing, substitution, and elimination, and interpret one solution, no solution, or infinitely many solutions in context (A.EI.4).
A Virginia SOL Algebra I answer on A.EI.4: solving systems by graphing, substitution, and elimination, classifying one, no, or infinitely many solutions, and modeling situations with a system.
- Rearrange formulas and literal equations to solve for a specified variable, treating the other letters as constants and using inverse operations (A.EI.1).
A Virginia SOL Algebra I answer on rearranging literal equations and formulas: isolating a chosen variable, treating other letters as constants, clearing fractions, and factoring out the target variable when it appears twice.
- Solve multi-step linear equations in one variable, including equations with the variable on both sides and with rational-number coefficients, and classify an equation as having one solution, no solution, or infinitely many solutions (A.EI.1).
A Virginia SOL Algebra I answer on A.EI.1: the balance method, clearing fractions, variables on both sides, modeling with linear equations, and identifying one, no, or infinitely many solutions.
Sources & how we know this
- 2023 Mathematics Standards of Learning β Virginia Department of Education (2023)
- Algebra I Formula Sheet β Virginia Department of Education (2023)