Slope and Equations of Lines — Practice Questions

This page contains a comprehensive set of 20 practice questions on slope and equations of straight lines. Topics include the slope formula, identifying vertical and horizontal lines, converting between standard and slope-intercept forms, determining parallel and perpendicular lines, and finding intersections. Complete step-by-step solutions are provided beneath each question.

Practice Problems

Question 1 — Slope Through Two Rational Points

Find, if possible, the slope of the line through \((\tfrac{1}{2}, \tfrac{3}{4})\) and \((-\tfrac{1}{3}, \tfrac{5}{4})\).

View Solution

Use \( m = \dfrac{y_2 - y_1}{x_2 - x_1} \):

\[ m = \frac{\tfrac{5}{4} - \tfrac{3}{4}}{-\tfrac{1}{3} - \tfrac{1}{2}} = \frac{\tfrac{1}{2}}{-\tfrac{5}{6}} = \frac{1}{2} \cdot \left(-\frac{6}{5}\right) = -\frac{3}{5} \]

Answer: \(-\frac{3}{5}\)

Question 2 — Horizontal Line

Find, if possible, the slope of the line through \((2, 5)\) and \((-4, 5)\).

View Solution
\[ m = \frac{5 - 5}{-4 - 2} = \frac{0}{-6} = 0 \]

Same y-coordinate → horizontal line, slope = 0.

Question 3 — Vertical Line

Find, if possible, the slope of the line through \((-9, 4)\) and \((-9, -2)\).

View Solution
\[ m = \frac{-2 - 4}{-9 + 9} = \frac{-6}{0} \]

Division by zero → slope is undefined (vertical line).

Question 4 — Perpendicular Slope

Line \(L\) passes through \((4, -5)\) and \((3, 7)\). Find the slope of any line perpendicular to \(L\).

View Solution
\[ m_L = \frac{7 + 5}{3 - 4} = -12 \quad\Rightarrow\quad m_\perp = -\frac{1}{-12} = \frac{1}{12} \]

Question 5 — Slope from Standard Form

Find the slope of the line \(2x + 4y = 10\).

View Solution
\[ 4y = -2x + 10 \implies y = -\tfrac{1}{2}x + \tfrac{5}{2} \]

Slope: \(-\frac{1}{2}\)

Question 6 — Line Through Two Points

Write the slope-intercept equation of the line through \((2, 3)\) and \((4, 6)\).

View Solution
\[ m = \tfrac{3}{2},\quad y - 3 = \tfrac{3}{2}(x - 2) \implies y = \tfrac{3}{2}x \]

Question 7 — Using Both Intercepts

Write the slope-intercept equation of the line with x-intercept \((3, 0)\) and y-intercept \((0, -5)\).

View Solution
\[ m = \frac{-5 - 0}{0 - 3} = \frac{5}{3},\quad b = -5 \]

Equation: \(y = \tfrac{5}{3}x - 5\)

Question 8 — Point-Slope Form

Write the slope-intercept equation of the line with slope \(-2\) through \((-4, -5)\).

View Solution
\[ y + 5 = -2(x + 4) \implies y = -2x - 13 \]

Question 9 — Vertical Line Equation

Write the equation of the vertical line through \((3, 0)\).

View Solution

Equation: \(x = 3\)

Question 10 — Horizontal Line Equation

Write the equation of the horizontal line through \((7, -5)\).

View Solution

Equation: \(y = -5\)

Question 11 — Standard Form

Find the line through \((-3, 5)\) and \((9, 10)\) in standard form \(Ax + By = C\), \(A > 0\).

View Solution
\[ m = \tfrac{5}{12},\quad 12(y - 5) = 5(x + 3) \] \[ 12y - 60 = 5x + 15 \implies -5x + 12y = 75 \]

Multiply by \(-1\):

\[ 5x - 12y = -75 \]

Question 12 — Parallel Line (Slope-Intercept)

Find the line parallel to \(3x + 6y = 5\) through \((1, 3)\), in slope-intercept form.

View Solution
\[ 3x + 6y = 5 \implies y = -\tfrac{1}{2}x + \tfrac{5}{6} \] \[ y - 3 = -\tfrac{1}{2}(x - 1) \implies y = -\tfrac{1}{2}x + \tfrac{7}{2} \]

Question 13 — Perpendicular Line (Standard Form)

Find the line perpendicular to \(3x + 6y = 5\) through \((1, 3)\), in standard form.

View Solution

Given slope \(-\tfrac{1}{2}\), so perpendicular slope \(= 2\):

\[ y - 3 = 2(x - 1) \implies y = 2x + 1 \] \[ -2x + y = 1 \implies 2x - y = -1 \]

Answer: \(2x - y = -1\) (older keys gave only the slope-intercept form \(y = 2x + 1\))

Question 14 — Parallel to a Vertical Line

Write the equation of the line parallel to \(x = 5\) through \((3, -10)\).

View Solution

Parallel to a vertical line → vertical line through \(x = 3\).

Answer: \(x = 3\)

Question 15 — Perpendicular to a Vertical Line

Write the equation of the line perpendicular to \(x = 2\) through \((2, -8)\).

View Solution

Perpendicular to a vertical line → horizontal line through \(y = -8\).

Answer: \(y = -8\)

Question 16 — Midpoint + Perpendicular

Write the line through the midpoint of \((2, 8)\) and \((0, 4)\), perpendicular to \(-3x + 6y = 5\).

View Solution
\[ M = (1, 6),\quad -3x + 6y = 5 \implies y = \tfrac{1}{2}x + \tfrac{5}{6} \]

Perpendicular slope \(= -2\):

\[ y - 6 = -2(x - 1) \implies y = -2x + 8 \]

Question 17 — Classify Two Lines

Classify \(2x - 3y = 8\) and \(-x + 4y = 2\): parallel, perpendicular, or neither.

View Solution

Line 1: \(y = \tfrac{2}{3}x - \tfrac{8}{3}\) (\(m_1 = \tfrac{2}{3}\))

Line 2: \(y = \tfrac{1}{4}x + \tfrac{1}{2}\) (\(m_2 = \tfrac{1}{4}\))

Slopes are not equal and \(m_1 m_2 \neq -1\).

Answer: Neither

Question 18 — Vertical vs Horizontal

Classify \(2x = 8\) and \(-3y = 15\).

View Solution

\(x = 4\) (vertical) and \(y = -5\) (horizontal) → perpendicular.

Question 19 — Intersection of a Vertical and a Horizontal Line

Find the point of intersection of \(x = 7\) and \(y = -9\).

View Solution

Answer: \((7, -9)\)

Question 20 — Absolute Value as Two Lines

Rewrite \(|y| = |x|\) as two straight-line equations.

View Solution

Because \(|y| = |x|\), either \(y = x\) or \(y = -x\).

Answer: \(y = x\) and \(y = -x\)

Frequently Asked Questions

What is the slope formula?

\(m = \dfrac{y_2 - y_1}{x_2 - x_1}\). It measures the vertical change divided by the horizontal change between two points.

What does an undefined slope mean?

An undefined slope occurs for a vertical line, where the change in \(x\) is zero. Division by zero is undefined.

How do I find the slope of a line given in standard form?

Rewrite the equation as \(y = mx + b\); the coefficient of \(x\) is the slope. Alternatively, for \(Ax + By = C\), the slope is \(-A/B\).

How are slopes of parallel and perpendicular lines related?

Parallel lines have equal slopes. Perpendicular lines have slopes that are negative reciprocals: \(m_1 m_2 = -1\).

What is the difference between slope-intercept and standard form?

Slope-intercept form is \(y = mx + b\). Standard form is \(Ax + By = C\), usually with \(A > 0\) and \(A, B, C\) integers.