Skip to main content
LouisianaMathsSyllabus dot point

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.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. From a slope and a point: point-slope form
  3. From two points
  4. Reading the y-intercept directly
  5. How LEAP examines this topic
  6. Why two forms exist for one line
  7. Try this

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 (3,9)(3, 9) gives yβˆ’9=2(xβˆ’3)=2xβˆ’6y - 9 = 2(x - 3) = 2x - 6, so y=2x+3y = 2x + 3, the same line.

Reading the y-intercept directly

If one of your points has x=0x = 0, that point is the yy-intercept: its yy-value is bb. Then you only need the slope to write y=mx+by = mx + b 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 yy. 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 y=mx+by = mx + b requires the yy-intercept, the value at x=0x = 0, which you may not be given. Point-slope form yβˆ’y1=m(xβˆ’x1)y - y_1 = m(x - x_1) 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 yy-axis. The two forms are algebraically identical: distributing point-slope and solving for yy 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 bb, 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 33 through (2,1)(2, 1) in slope-intercept form. [2 points]

  • Cue. yβˆ’1=3(xβˆ’2)β‡’y=3xβˆ’5y - 1 = 3(x - 2) \Rightarrow y = 3x - 5.

Q2. Write the line through (0,4)(0, 4) and (2,0)(2, 0). [2 points]

  • Cue. m=0βˆ’42βˆ’0=βˆ’2m = \frac{0 - 4}{2 - 0} = -2; intercept 44, so y=βˆ’2x+4y = -2x + 4.

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 βˆ’2-2 passing through (3,4)(3, 4) in slope-intercept form.
Show worked answer β†’

The equation is y=βˆ’2x+10y = -2x + 10.

Start from point-slope form yβˆ’y1=m(xβˆ’x1)y - y_1 = m(x - x_1) with m=βˆ’2m = -2 and (x1,y1)=(3,4)(x_1, y_1) = (3, 4): yβˆ’4=βˆ’2(xβˆ’3)y - 4 = -2(x - 3). Distribute: yβˆ’4=βˆ’2x+6y - 4 = -2x + 6. Add 44: y=βˆ’2x+10y = -2x + 10. The yy-intercept is 1010. 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 (0,βˆ’1)(0, -1) and (2,3)(2, 3)? (A) y=2xβˆ’1y = 2x - 1 (B) y=2x+1y = 2x + 1 (C) y=12xβˆ’1y = \dfrac{1}{2}x - 1 (D) y=βˆ’2xβˆ’1y = -2x - 1
Show worked answer β†’

The correct answer is (A).

Find the slope first: m=3βˆ’(βˆ’1)2βˆ’0=42=2m = \frac{3 - (-1)}{2 - 0} = \frac{4}{2} = 2. One point is (0,βˆ’1)(0, -1), which is the yy-intercept, so b=βˆ’1b = -1. Slope-intercept form gives y=2xβˆ’1y = 2x - 1. When a point has x=0x = 0, it is the yy-intercept and can be read straight into bb, which saves a step.

Related dot points

Sources & how we know this