Skip to main content
TexasMathsSyllabus dot point

How do you write the equation of a line parallel or perpendicular to a given line, and how do you set up and solve direct variation?

Write the equation of a line through a given point parallel or perpendicular to a given line, and write and solve equations involving direct variation (TEKS A.2D, A.2E, A.2F).

A STAAR Algebra I answer on parallel and perpendicular lines (equal slopes, negative-reciprocal slopes) and direct variation y equals kx (TEKS A.2D, A.2E, A.2F), with the constant of proportionality.

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. Parallel lines: equal slopes
  3. Perpendicular lines: negative-reciprocal slopes
  4. Direct variation: y equals kx
  5. How STAAR examines this topic
  6. Handling equations not already solved for y
  7. Try this

What this topic is asking

TEKS A.2D, A.2E, and A.2F extend equation-writing to two special relationships. A.2E and A.2F ask for lines parallel or perpendicular to a given line through a stated point, which turns on the slope relationships. A.2D asks you to write and solve direct variation, the proportional relationship y=kxy = kx. All three are reliable points in Reporting Category 2, and the direct-variation formula must be memorized because it is not on the reference sheet.

Parallel lines: equal slopes

Two non-vertical lines are parallel exactly when they have the same slope and different yy-intercepts. To write a line parallel to y=3xβˆ’2y = 3x - 2 through (1,4)(1, 4): keep m=3m = 3, then point-slope gives yβˆ’4=3(xβˆ’1)y - 4 = 3(x - 1), so y=3x+1y = 3x + 1.

Perpendicular lines: negative-reciprocal slopes

Two lines are perpendicular when their slopes multiply to βˆ’1-1, that is, each slope is the negative reciprocal of the other. If one slope is mm, the perpendicular slope is βˆ’1m-\frac{1}{m}: flip the fraction and change the sign.

A common slip is doing only half the transformation: negating without flipping, or flipping without negating. Both steps are required.

Direct variation: y equals kx

Direct variation means yy is a constant multiple of xx: y=kxy = kx, where kk is the constant of proportionality. Its graph is a line through the origin with slope kk. Find kk from any known pair using k=yxk = \frac{y}{x}, then use the relationship to predict.

For yy varying directly with xx, with y=21y = 21 when x=7x = 7: k=217=3k = \frac{21}{7} = 3, so y=3xy = 3x. When x=12x = 12, y=36y = 36.

How STAAR examines this topic

  • Multiple choice. Identify a parallel or perpendicular line, with "flip only" and "negate only" distractors, or recognize a direct-variation table (constant ratio yx\frac{y}{x}).
  • Number entry and equation editor. Solve a direct-variation problem, or build the equation of a parallel or perpendicular line.
  • Inline choice. Classify a pair of lines as parallel, perpendicular, or neither.

A clarifying idea is that direct variation is just a line with b=0b = 0, so it shares everything with slope-intercept form except that it is pinned to the origin. That is why a relationship that does not pass through (0,0)(0, 0) is not a direct variation, even if it is linear.

Handling equations not already solved for y

When a line is given in standard form, find its slope before comparing. Rewrite 4x+2y=64x + 2y = 6 as y=βˆ’2x+3y = -2x + 3, so the slope is βˆ’2-2; a parallel line has slope βˆ’2-2 and a perpendicular line has slope 12\frac{1}{2}. Skipping this step and reading a coefficient straight from standard form is a common error, because the slope is not simply the number in front of xx in Ax+By=CAx + By = C (it is βˆ’AB-\frac{A}{B}). Solving for yy first removes all ambiguity.

For direct variation, the same care applies to recognizing it from data: compute yx\frac{y}{x} for every pair, not just one. If the ratio is constant across the whole table, it is direct variation and that constant is kk; if the ratio changes, the relationship may still be linear but with a nonzero intercept, which is not direct variation. This distinction is exactly what an inline-choice item testing "direct variation or not" is checking.

Try this

Q1. Write the line parallel to y=βˆ’2x+3y = -2x + 3 through (0,5)(0, 5). [1 point]

  • Cue. Same slope βˆ’2-2, intercept 5: y=βˆ’2x+5y = -2x + 5.

Q2. yy varies directly with xx; y=10y = 10 when x=4x = 4. Find yy when x=6x = 6. [2 points]

  • Cue. k=104=2.5k = \frac{10}{4} = 2.5, so y=2.5(6)=15y = 2.5(6) = 15.

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. Which line is perpendicular to y=23x+1y = \dfrac{2}{3}x + 1? (A) y=βˆ’32x+4y = -\dfrac{3}{2}x + 4 (B) y=23xβˆ’5y = \dfrac{2}{3}x - 5 (C) y=32x+2y = \dfrac{3}{2}x + 2 (D) y=βˆ’23x+7y = -\dfrac{2}{3}x + 7
Show worked answer β†’

The correct answer is (A).

Perpendicular lines have slopes that are negative reciprocals: their product is βˆ’1-1. The given slope is 23\frac{2}{3}, so the perpendicular slope is βˆ’32-\frac{3}{2} (flip and negate). Only choice (A) has slope βˆ’32-\frac{3}{2}. Choice (B) is parallel (same slope), choice (C) flips without negating, and choice (D) negates without flipping; both of the last two are classic distractors.

STAAR (style)2 marksNumber entry. The variable yy varies directly with xx. When x=4x = 4, y=18y = 18. What is yy when x=10x = 10?
Show worked answer β†’

Enter 4545.

Direct variation is y=kxy = kx. Find the constant of proportionality kk from the given pair: 18=k(4)18 = k(4), so k=184=4.5k = \frac{18}{4} = 4.5. Then for x=10x = 10: y=4.5(10)=45y = 4.5(10) = 45. The formula y=kxy = kx is not on the reference sheet. A common error is to add 6 to yy because xx increased by 6, but direct variation scales by kk, it does not shift by a constant.

Related dot points

Sources & how we know this