On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Geometry Fundamentals · Grade 6-8

Parallel and Perpendicular

Parallel and perpendicular describe how two lines relate: parallel lines share the same slope and never meet, perpendicular lines cross at a right angle with slopes whose product is −1.

m1=m2  (parallel),m1m2=−1  (perpendicular, neither line vertical)

Quick Answer

Parallel and perpendicular describe how two lines relate: parallel lines share the same slope and never meet, perpendicular lines cross at a right angle with slopes whose product is −1. Use it to compare two lines from their slopes or equations: y=2x+1 and y=2x−4 are parallel, while y=2x and y=−12x+3 are perpendicular. For a perpendicular slope, flip the fraction and change the sign. A vertical and a horizontal line are perpendicular even though the vertical one has no slope.

Why This Matters

Slopes let you test parallel and perpendicular from equations alone, without drawing: whether two straight roads on a map will ever meet, which direction is the shortest path from a point to a line, whether a shape's corners are right angles. Coordinate proofs and perpendicular bisectors depend on it. Guessing that slopes 2 and −2 are perpendicular is the most common slip.

Intuitive Explanation

Slope says how much a line rises for each step to the right. Two lines with the same slope rise at exactly the same rate, so the gap between them never changes: y=2x+1 and y=2x−4 stay 5 units apart vertically everywhere, so they are parallel and never meet. Lines with different slopes are tilted differently, so somewhere they cross.

Perpendicular slopes come from turning a line a quarter turn. Picture a slope of 23 as a step: 3 right, 2 up. Rotate that step by 90° and it becomes 2 left, 3 up, which is a slope of 3−2=−32. The fraction flips and the sign changes, and the two slopes multiply to −1: 23⋅(−32)=−1.

Opposite slopes such as 2 and −2 look as if they should be perpendicular but are not. Their product is −4, and the lines meet at about 53°; they are mirror images, not quarter turns. The other exception is a vertical line such as x=3, whose slope is undefined, and a horizontal line such as y=5, with slope 0. Their product cannot be computed, yet they meet at a right angle, so check them by the definition.

Think of it like this. Parallel lines behave like the two rails of a straight railway: same direction, same tilt, never meeting. Perpendicular lines are like a road and a crossroad that meets it squarely, like the corner of a sheet of paper. The quarter turn from one direction to the other flips the slope upside down and changes its sign.

Core idea. Parallel lines never meet (equal slopes); perpendicular lines cross at right angles (slopes multiply to −1).


When to Use

Compare slopes when a question asks whether two lines are parallel, perpendicular or neither, or asks for a line through a point parallel or perpendicular to another. Put equations in y=mx+b form and read m. Equal slopes mean parallel (unless the lines are the same line); slopes multiplying to −1 mean perpendicular. For vertical and horizontal lines, use the right-angle definition. If the question is about the angles where a third line crosses parallel lines, use Transversal Angles.

Tip. Ask: Are the two lines' slopes equal (parallel) or negative reciprocals so their product is −1 (perpendicular)?

How to Recognize It

Before comparing two lines, get each slope in plain view, and watch for vertical lines, which have no slope to compare.

  1. Are both equations in a form where you can read the slope, like y=mx+b?

    If not, rearrange first: 2x+3y=6 becomes y=−23x+2, so its slope is −23, not 2. Reading the x coefficient straight from standard form is a common slip.

  2. Is either line vertical, written like x=4?

    A vertical line has no slope, so the product test cannot run. Use the picture instead: two vertical lines are parallel, and a vertical line meets any horizontal line, such as y=−1, at a right angle.

  3. Do the two lines have the same slope and the same y-intercept?

    Then they are one line written twice, not two parallel lines; they share every point. Parallel lines need equal slopes and different intercepts, like y=3x+1 and y=3x−5.

  4. Is the question about the angles formed where a third line crosses two lines?

    If yes, use Transversal Angles: corresponding and alternate angles. Slopes decide how two lines relate; transversal angle facts give angle sizes once you know the lines are parallel.

Parallel and Perpendicular compared with Slope (single line), Intersecting (non-perpendicular), and Transversal angles

All four rows describe how lines sit relative to one another, and most involve lines that meet or never meet. Ask whether you are comparing the directions of exactly two lines, or reading the angles where a third line crosses them.

Parallel and Perpendicular

Meaning
Use this when you compare two lines' directions to decide if they never meet (parallel) or cross at a right angle (perpendicular).
Key test
Are the two lines' slopes equal (parallel) or negative reciprocals so their product is −1 (perpendicular)?
Formula
m1=m2;(parallel),m1m2=−1;(perpendicular)
Example
Line 1 has slope 3; line 2 has slope −13. Are they parallel, perpendicular, or neither?

Slope (single line)

Meaning
Describes one line's steepness, not a relationship between two.
Key test
Use when you need one line's rate, not a comparison.
Formula
m=ΔyΔx
Example
How steep one line is

Intersecting (non-perpendicular)

Meaning
Two lines that meet but not at a right angle.
Key test
Use when lines cross at an angle other than 90°.
Example
Two roads meeting at 60°

Transversal angles

Meaning
Angles made when a line cuts two parallel lines.
Key test
Use when relating angles across parallel lines, not testing two lines' relationship.
Formula
corresponding angles equal
Example
A road crossing two parallel rails

Formula & Notation

m1=m2  (parallel),m1m2=−1  (perpendicular, neither line vertical)

How to read it: ∥ for parallel and ⊥ for perpendicular.

Worked Examples

Example 1 — Test two lines

Easy

Line 1 has slope 3; line 2 has slope −13. Are they parallel, perpendicular, or neither?
Show the steps and the answer
  1. Test for parallel: 3≠−13.

    Parallel lines need exactly equal slopes, so these two lines cross somewhere.

  2. Multiply the slopes: 3⋅(−13)=−1.

    A product of −1 is the test for perpendicular lines.

  3. See it as a step: slope 3 is 1 right and 3 up; a quarter turn makes it 3 right and 1 down, which is slope −13.

    Rotating by 90° flips the fraction and changes the sign, which matches line 2 exactly.

Answer: Perpendicular

Takeaway: Flip and change the sign: 3 becomes −13, and the product −1 confirms the right angle.

Example 2 — Opposite signs, not perpendicular

Standard

Line 1 has slope 2; line 2 has slope −2. Perpendicular?
Show the steps and the answer
  1. Test for parallel: 2≠−2, so the lines are not parallel.

    One rises 2 for each step right and the other falls 2, so they tilt differently and must cross.

  2. Multiply: 2⋅(−2)=−4, not −1.

    Changing the sign alone is not enough; the perpendicular slope to 2 is −12, which also flips the fraction.

  3. Picture the pair: the lines are mirror images across a vertical line and meet at about 53°.

    A right angle needs a quarter turn, and a mirror image is not one.

Answer: Neither parallel nor perpendicular

Takeaway: Opposite slopes are mirror images, not perpendicular; the line perpendicular to slope 2 has slope −12.

Example 3 — Find the mistake: a vertical line and a horizontal line

Application

Are the lines x=4 and y=−2 perpendicular? Kim writes: "The slope of x=4 is undefined, so I can't multiply the slopes to get −1. They are not perpendicular." Find the mistake and correct it.
Show the steps and the answer
  1. Draw both lines: x=4 is vertical, through (4,0); y=−2 is horizontal, through (0,−2).

    The picture shows them crossing at (4,−2) like two grid lines.

  2. Use the definition: a vertical line and a horizontal line meet at 90°.

    Grid lines running in the two directions are perpendicular by construction.

  3. Explain why the product test failed: it applies only when both slopes exist.

    A test that cannot be carried out gives no answer, which is not the same as answering no.

  4. Check with nearby lines: slopes 100 and −1100 are almost vertical and almost horizontal, and their product is −1.

    As the lines approach vertical and horizontal, the perpendicular pattern carries on.

Answer: Yes: x=4 and y=−2 are perpendicular, meeting at (4,−2).

Takeaway: The slope test needs two defined slopes; every vertical line is perpendicular to every horizontal line.

Where You'll See It

  • A city street grid

    In a grid city the avenues are parallel to each other and cross the streets at right angles. On a map where avenues run along lines with slope 2, the streets run along lines with slope −12, so every street meets every avenue squarely.

  • Shortest path to a road

    The shortest path from a house to a straight road meets the road at a right angle. If the road runs along y=34x, the shortest path has slope −43, the negative reciprocal, which tells you which way to head.

Common Mistakes

  1. The slip: Thinking opposite slopes like 2 and −2 are perpendicular

    Instead: perpendicular needs negative reciprocals (product −1).

  2. The slip: Calling lines with different slopes parallel

    Instead: parallel lines have exactly equal slopes.

  3. The slip: Forgetting vertical and horizontal lines are perpendicular

    Instead: a vertical line has undefined slope, so use the right-angle definition, not the product rule, there.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. A line has slope 25. What slope does a parallel line have? What slope does a perpendicular line have?

    Hint: Parallel lines copy the slope. Perpendicular slopes multiply to −1.

  2. Are y=4x−1 and y=−14x+6 parallel, perpendicular, or neither?

    Hint: Read the slope of each line from the coefficient of x, then multiply them.

  3. Line p passes through (1,2) and (3,8). Line q passes through (0,5) and (2,11). Are they parallel, perpendicular, or neither?

    Hint: Find each slope as rise over run.

  4. Write the equation of the line through (6,1) that is perpendicular to y=3x+2.

    Hint: Find the negative reciprocal of 3, then use the point to find the y-intercept.

  5. Two straight roads on a map follow y=12x+3 and y=3x−4. Are they parallel, perpendicular, or just intersecting?

    Hint: Different slopes mean the lines cross. Then check whether the product is −1.

  6. Mia looks at the lines x=4 and y=−2. She says: "The slope of x=4 is undefined, so the slopes cannot multiply to −1. The lines are not perpendicular." Correct her.

    Hint: Picture both lines on a grid. What kind of angle do they make where they cross?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why do perpendicular slopes multiply to −1?

A slope of 23\frac{2}{3} means 3 across and 2 up. Turn that step a quarter turn counterclockwise and it becomes 2 to the left and 3 up, a slope of 3−2=−32\frac{3}{-2} = -\frac{3}{2}. The rise and run swap places, which flips the fraction, and one of them reverses direction, which flips the sign. Then 23×(−32)=−1\frac{2}{3} \times \left(-\frac{3}{2}\right) = -1, and this works for any slope that is not 0.

Can two lines be neither parallel nor crossing?

Not on a flat plane, but in space, yes. A line along the top edge of a whiteboard and a line drawn across the floor in a different direction never meet, yet they do not point the same way. These are called skew lines. That is why parallel lines are defined as lines in the same plane that never meet.

Can three lines all be perpendicular to one another?

Not in a flat plane. If lines aa and bb are both perpendicular to line cc, then both slopes equal the negative reciprocal of cc's slope, so aa and bb are parallel to each other. In space it works: the corner of a room has three edges meeting at right angles, like the xx-, yy- and zz-axes.

Learning Path

Parallel and Perpendicular

You are here

Next →

Nothing after this yet
You need Angles (right angles), Line and Slope in Geometry first. This concept adds slope tests for how two lines relate: equal slopes for parallel and negative reciprocals for perpendicular. With it you can write the equation of a line parallel or perpendicular to a given one, build perpendicular bisectors, and show in coordinate proofs that a quadrilateral has parallel sides or right-angle corners.

See Also