Skip to main content
TexasMathsSyllabus dot point

How do you write a linear equation in slope-intercept, point-slope, and standard form from points, a graph, a table, or a description?

Write linear equations in two variables in various forms (y=mx+by = mx + b, Ax+By=CAx + By = C, yβˆ’y1=m(xβˆ’x1)y - y_1 = m(x - x_1)) given one point and the slope, two points, a table, a graph, or a verbal description (TEKS A.2B, A.2C, A.2G).

A STAAR Algebra I answer on writing linear equations in slope-intercept, point-slope, and standard form (TEKS A.2B, A.2C, A.2G) from a point and slope, two points, a table, a graph, or a verbal description.

Generated by Claude Opus 4.810 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. Slope and a point: use point-slope form
  3. Two points: slope first, then point-slope
  4. Table, graph, and verbal description
  5. Converting to standard form
  6. How STAAR examines this topic
  7. Why point-slope is the safest starting point
  8. Try this

What this topic is asking

Writing the equation of a line is central to both linear reporting categories. TEKS A.2B, A.2C, and A.2G ask you to produce a linear equation in any of the three reference-sheet forms (y=mx+by = mx + b, Ax+By=CAx + By = C, yβˆ’y1=m(xβˆ’x1)y - y_1 = m(x - x_1)) from whatever information you are given: a point and a slope, two points, a table, a graph, or a verbal description. The skill is choosing the most efficient starting form and converting to whatever the question wants.

Slope and a point: use point-slope form

Point-slope form is the workhorse, because it accepts any point, not just the intercept.

yβˆ’y1=m(xβˆ’x1).y - y_1 = m(x - x_1).

With slope m=βˆ’2m = -2 through (3,5)(3, 5): yβˆ’5=βˆ’2(xβˆ’3)y - 5 = -2(x - 3). Distribute and solve for yy: yβˆ’5=βˆ’2x+6y - 5 = -2x + 6, so y=βˆ’2x+11y = -2x + 11. Point-slope is also the safest choice when the given point is not the yy-intercept, where dropping the slope straight into bb would be wrong.

Two points: slope first, then point-slope

Given two points, compute the slope, then feed either point into point-slope form.

Table, graph, and verbal description

From a table, the slope is the constant change in yy over the change in xx, and the yy-intercept is the value at x=0x = 0 (extend the pattern back if needed). From a graph, read the yy-intercept and a slope step. From a verbal description, translate: a starting amount is the yy-intercept, and a per-unit rate is the slope. "A gym charges a 50joiningfeeplus50 joining fee plus 20 a month" becomes C=20m+50C = 20m + 50.

Converting to standard form

To reach standard form Ax+By=CAx + By = C, clear fractions, move both variables to the left, and make AA a non-negative integer. From y=23xβˆ’4y = \frac{2}{3}x - 4: multiply by 3 to get 3y=2xβˆ’123y = 2x - 12, then βˆ’2x+3y=βˆ’12-2x + 3y = -12, and multiply by βˆ’1-1 so Aβ‰₯0A \ge 0: 2xβˆ’3y=122x - 3y = 12.

How STAAR examines this topic

  • Multiple choice. Pick the correct equation from a point and slope or from a graph; slope-intercept swaps are the standard distractor.
  • Equation editor. Build the equation, usually in slope-intercept form, so solve for yy before submitting.
  • Drag and drop. Drag the slope and intercept values into a form template.

A clarifying idea is that every form describes the same line, so a useful check is to substitute a known point: if the coordinates satisfy your equation, the line is right regardless of which form you used to build it.

Why point-slope is the safest starting point

Slope-intercept form is convenient only when you actually know the yy-intercept. Point-slope works from any point and slope, which is why it is the reliable default: you never have to first find bb, and you avoid the error of treating an arbitrary point as the intercept. Once you have yβˆ’y1=m(xβˆ’x1)y - y_1 = m(x - x_1), a single distribute-and-collect pass converts it to slope-intercept form, and one more rearrangement reaches standard form. Building the habit of "slope, then point-slope, then convert" means a single procedure handles every prompt in this part of the category, whether the information arrives as two points, a graph, or a sentence.

A subtle case is a horizontal or vertical line. A horizontal line through (3,5)(3, 5) is y=5y = 5 (slope 0), and a vertical line through (3,5)(3, 5) is x=3x = 3 (undefined slope, not writable as y=mx+by = mx + b). Point-slope handles the horizontal case directly with m=0m = 0, while the vertical case must be written as x=cx = c, a distinction the test occasionally probes.

Try this

Q1. Write the line through (0,5)(0, 5) with slope βˆ’3-3. [1 point]

  • Cue. y=βˆ’3x+5y = -3x + 5 (the point is the yy-intercept).

Q2. Write the line through (1,4)(1, 4) and (3,10)(3, 10) in slope-intercept form. [2 points]

  • Cue. m=3m = 3; yβˆ’4=3(xβˆ’1)β‡’y=3x+1y - 4 = 3(x - 1) \Rightarrow y = 3x + 1.

Exam-style practice questions

Practice questions written in the style of TEA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

STAAR (style)1 marksMultiple choice. What is the equation, in slope-intercept form, of the line through (0,βˆ’3)(0, -3) with slope 12\dfrac{1}{2}? (A) y=12xβˆ’3y = \dfrac{1}{2}x - 3 (B) y=βˆ’3x+12y = -3x + \dfrac{1}{2} (C) y=12x+3y = \dfrac{1}{2}x + 3 (D) y=2xβˆ’3y = 2x - 3
Show worked answer β†’

The correct answer is (A).

Slope-intercept form is y=mx+by = mx + b. The slope is m=12m = \frac{1}{2} and the point (0,βˆ’3)(0, -3) is the yy-intercept, so b=βˆ’3b = -3. The equation is y=12xβˆ’3y = \frac{1}{2}x - 3. Choice (B) swaps the slope and intercept, and choice (D) inverts the slope. When a point has x=0x = 0, it is the yy-intercept and drops straight into bb.

STAAR (style)2 marksEquation editor. Write, in slope-intercept form, the equation of the line passing through (2,1)(2, 1) and (6,13)(6, 13).
Show worked answer β†’

Enter y=3xβˆ’5y = 3x - 5.

First find the slope: m=13βˆ’16βˆ’2=124=3m = \frac{13 - 1}{6 - 2} = \frac{12}{4} = 3. Then use point-slope form with (2,1)(2, 1): yβˆ’1=3(xβˆ’2)y - 1 = 3(x - 2), so yβˆ’1=3xβˆ’6y - 1 = 3x - 6, giving y=3xβˆ’5y = 3x - 5. Check with the other point: 3(6)βˆ’5=133(6) - 5 = 13. The equation editor wants slope-intercept form, so solve for yy rather than leaving it in point-slope form.

Related dot points

Sources & how we know this