Parallel and Perpendicular Lines on a Coordinate Plane: Definition, Method and Examples

MathPublished

Parallel and Perpendicular Lines on a Coordinate Plane

On a coordinate plane, parallel lines never intersect and have exactly the same slope. Perpendicular lines intersect at a 90∘90^\circ angle, and their slopes are negative reciprocals of one another. We can identify these geometric relationships simply by analyzing their slopes without needing to graph them.

How do slopes identify parallel and perpendicular lines?

The slope measures the steepness and direction of a line. By comparing the slopes of two lines, we can immediately determine their geometric relationship.


If we know the slope of a line, we can apply the slope criteria for parallel and perpendicular lines. These criteria are mathematically precise tests that rely on the mm value from the slope-intercept form y=mx+by = mx + b.

A coordinate plane showing two parallel lines labeled Line A and Line B, and one perpendicular line labeled Line C intersecting them at right angles.


Two lines with different slopes will intersect at some point on the plane. If the mathematical relationship between their slopes meets the strict perpendicular requirement, they will form exactly four right angles. If they share the exact same slope, they will travel in the same direction forever without intersecting.

Compare equal slopes

Two nonvertical lines are parallel if and only if they have identical slopes. This algebraic relationship is written as m1=m2m_1 = m_2.


If two equations have the same slope but different yy-intercepts, they represent distinct parallel lines. If they have the same slope and the same yy-intercept, they represent the identical line overlapping itself.


Rule: Parallel lines have equal slopes.


This principle translates the physical concept of parallel and perpendicular lines into coordinate algebra. Because the slopes are identical, both lines rise and run at the exact same rate, keeping the perpendicular distance between them perfectly constant.

A coordinate plane showing two parallel lines. The rise and run triangles for both lines highlight a rise of positive 3 and a run of positive 2, proving their slopes are equal.

Use negative reciprocals carefully

Two nonvertical lines are perpendicular if and only if the product of their slopes equals −1-1. This relationship is written mathematically as m1×m2=−1m_1 \times m_2 = -1.


Rule: Perpendicular slopes are negative reciprocals of one another.


To find a negative reciprocal slope, invert the fraction (the reciprocal) and reverse its sign (make it negative if it was positive, or positive if it was negative).

For example, if a line has a slope of 23\dfrac{2}{3}, its perpendicular slope is −32-\dfrac{3}{2}. If a line has an integer slope of −4-4, which can be written as the fraction −41-\dfrac{4}{1}, the perpendicular slope is 14\dfrac{1}{4}.

A coordinate plane showing a line with a rise of positive 4 and a run of positive 3 intersecting a perpendicular line with a rise of negative 3 and a run of positive 4.

Handle horizontal and vertical lines

Horizontal lines have a slope of 00. Vertical lines have an undefined slope because their run is zero, making division impossible.


Because you cannot multiply by an undefined value, the m1×m2=−1m_1 \times m_2 = -1 rule does not apply to this special pairing. However, a horizontal line and a vertical line are always perpendicular to each other because they intersect perfectly straight up and down.

A coordinate plane showing a horizontal line at y equals 3 intersecting a vertical line at x equals negative 2. A right-angle square marks their intersection.


Two horizontal lines, such as y=2y = 2 and y=−5y = -5, both have slopes of 00 and are parallel to each other. Two vertical lines, such as x=3x = 3 and x=7x = 7, both have undefined slopes and are parallel to each other.

Worked examples

Here are step-by-step demonstrations showing how to apply the slope criteria to parallel and perpendicular lines on a coordinate plane.


Example 1: Determining the geometric relationship


Question: Line AA passes through (1,2)(1, 2) and (3,8)(3, 8). Line BB passes through (0,5)(0, 5) and (3,4)(3, 4). Are lines AA and BB parallel, perpendicular, or neither?


Method:

  1. Calculate the slope of line AA using m=y2−y1x2−x1m = \dfrac{y_2 - y_1}{x_2 - x_1}.
  2. Evaluate mA=8−23−1=62=3m_A = \dfrac{8 - 2}{3 - 1} = \dfrac{6}{2} = 3.
  3. Calculate the slope of line BB.
  4. Evaluate mB=4−53−0=−13m_B = \dfrac{4 - 5}{3 - 0} = -\dfrac{1}{3}.
  5. Compare the two slopes. The slope of AA is 33, and the slope of BB is −13-\dfrac{1}{3}.

Answer: The lines are perpendicular because 3×(−13)=−13 \times \left(-\dfrac{1}{3}\right) = -1.


Check: The slopes 33 and −13-\dfrac{1}{3} have opposite signs and are exact reciprocals, securely confirming they represent perpendicular lines.


Example 2: Finding a parallel line equation


Question: Write the equation of a line that is parallel to y=−2x+4y = -2x + 4 and passes through the point (3,1)(3, 1).


Method:

  1. Identify the slope of the given line. Here, the slope is −2-2.
  2. State the slope of the parallel line. Parallel lines have equal slopes, so the new slope is also −2-2.
  3. Substitute the new slope and the given point (3,1)(3, 1) into the point-slope formula y−y1=m(x−x1)y - y_1 = m(x - x_1).
  4. This yields y−1=−2(x−3)y - 1 = -2(x - 3).
  5. Expand the right side and isolate yy to get y−1=−2x+6y - 1 = -2x + 6.

Answer: The equation of the parallel line is y=−2x+7y = -2x + 7.


Check: Substitute x=3x = 3 into the new equation: y=−2(3)+7=−6+7=1y = -2(3) + 7 = -6 + 7 = 1. The parallel line correctly passes through (3,1)(3, 1) and has the required slope of −2-2.


Example 3: Finding a perpendicular line equation


Question: Write the equation of a line that is perpendicular to 2x−5y=102x - 5y = 10 and has the same yy-intercept as the line y=3x−4y = 3x - 4.


Method:

  1. Convert the given equation 2x−5y=102x - 5y = 10 to slope-intercept form to find its slope.
  2. Subtract 2x2x to get −5y=−2x+10-5y = -2x + 10, then divide by −5-5 to get y=25x−2y = \dfrac{2}{5}x - 2. The original slope is 25\dfrac{2}{5}.
  3. Find the perpendicular slope by taking the negative reciprocal. The new perpendicular slope is −52-\dfrac{5}{2}.
  4. Identify the target yy-intercept. The reference line y=3x−4y = 3x - 4 has a yy-intercept of −4-4.
  5. Assemble the new equation using m=−52m = -\dfrac{5}{2} and the intercept b=−4b = -4.

Answer: The equation of the perpendicular line is y=−52x−4y = -\dfrac{5}{2}x - 4.


Check: Multiply the slopes: 25×(−52)=−1\dfrac{2}{5} \times \left(-\dfrac{5}{2}\right) = -1. The intercepts match. The reasoning holds perfectly.

Common mistakes

Forgetting to change the sign

When finding a perpendicular slope, you must flip the fraction and reverse its sign. A common error is writing the reciprocal without changing the sign, such as using 13\dfrac{1}{3} instead of −13-\dfrac{1}{3}. Both steps are mandatory.

A coordinate plane showing an original line with a slope of 2, a correct perpendicular line with a slope of negative one-half, and an incorrect perpendicular line with a slope of positive one-half that fails to create a right angle.


Assuming all intersecting lines are perpendicular

Intersecting lines only form perpendicular angles if their slopes are true negative reciprocals. Lines with slopes like 22 and 33 will eventually cross each other, but they do not form 90∘90^\circ angles. Mastering how these crossings interact mathematically will help you when dealing with transversal angles in parallel lines later.


Confusing identical lines with parallel lines

If two equations simplify to have the exact same slope and the exact same yy-intercept, they are the same line. Genuine parallel lines must be distinct, meaning they need matching slopes but different yy-intercepts.

Frequently asked questions

Are lines with slopes of 22 and −2-2 perpendicular?

No. While they have opposite signs, they are not reciprocals of one another. The product of their slopes is 2×(−2)=−42 \times (-2) = -4, not −1-1. The proper perpendicular slope for 22 is −12-\dfrac{1}{2}.


Can two lines be both parallel and perpendicular?

No. Parallel lines never intersect, whereas perpendicular lines must intersect at a right angle. A pair of lines on a flat plane cannot logically satisfy both geometric conditions at once.


What is the negative reciprocal of a zero slope?

A line with a zero slope is horizontal. If you attempt to flip 00, you divide by zero, which is mathematically undefined. The perpendicular line to any horizontal line is a vertical line, which always has an undefined slope.

Practice questions

Question

A coordinate plane showing Line A passing through (0, negative 2) and (1, 1), and Line B passing through (0, 1) and (3, 0).


What is the relationship between Line AA and Line BB shown in the graph?

  • They are distinct parallel lines.

  • They are perpendicular lines.

  • They represent the exact same line.

  • They intersect but are not perpendicular.

Answer:

They are perpendicular lines.

Question

The slope of line PP is −47-\dfrac{4}{7}. What is the slope of a line that is perpendicular to line PP?

  • 47\dfrac{4}{7}

  • −74-\dfrac{7}{4}

  • 74\dfrac{7}{4}

  • −47-\dfrac{4}{7}

Answer:

74\dfrac{7}{4}

Question

Which equation represents a line that is parallel to the line y=5x−2y = 5x - 2 and passes through the point (0,3)(0, 3)?

  • y=5x+3y = 5x + 3

  • y=−5x+3y = -5x + 3

  • y=15x+3y = \dfrac{1}{5}x + 3

  • y=−15x+3y = -\dfrac{1}{5}x + 3

Answer:

y=5x+3y = 5x + 3

Question

A student writes that the line y=23x+4y = \dfrac{2}{3}x + 4 is perpendicular to the line y=32x−1y = \dfrac{3}{2}x - 1. What specific error did the student make?

  • The student flipped the fraction but did not change the sign.

  • The student changed the sign but did not flip the fraction.

  • The student correctly identified the perpendicular slope.

  • The student used the yy-intercept values instead of the slopes.

Answer:

The student flipped the fraction but did not change the sign.

Question

Line JJ passes through the points (1,4)(1, 4) and (3,8)(3, 8). Line KK passes through the points (2,1)(2, 1) and (4,y)(4, y). If line KK is known to be parallel to line JJ, what is the value of yy?

  • 33

  • 44

  • 55

  • 99

Answer:

55