Writing Linear Equations: Complete Guide with Exercises

Master writing linear equations: slope-intercept form, point-slope form, standard form, parallel and perpendicular lines through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Slope-intercept form
Exercise 1
Write the equation of a line with slope 3 and y-intercept -2.
Definition:

Slope-intercept form: \(y = mx + b\) where \(m\) is slope and \(b\) is y-intercept

Method:
  1. Identify the slope (\(m\)) and y-intercept (\(b\))
  2. Substitute these values into \(y = mx + b\)
  3. Simplify if necessary
Given
slope = 3, y-int = -2
Formula
y = mx + b
Result
y = 3x - 2
Step 1: Identify given values

Slope (\(m\)) = 3, Y-intercept (\(b\)) = -2

Step 2: Substitute into slope-intercept form

\(y = mx + b\) becomes \(y = 3x + (-2)\)

Step 3: Simplify the expression

\(y = 3x - 2\) is the final equation

Step 4: Verification

When \(x = 0\), \(y = 3(0) - 2 = -2\) ✓ (y-intercept confirmed)

\(y = 3x - 2\)
Final answer:

The equation is \(y = 3x - 2\)

Applied rules:

• Slope-intercept form: \(y = mx + b\) where \(m\) is slope and \(b\) is y-intercept

• Y-intercept: Point where line crosses y-axis (when \(x = 0\))

• Slope: Rate of change of y with respect to x

Tip 1: Remember: m = slope, b = y-intercept in y = mx + b
Tip 2: Positive slope means line rises from left to right
Tip 3: Negative y-intercept means line crosses y-axis below origin
2 Point-slope form
Exercise 2
Write the equation of a line passing through (2, 5) with slope -1.
Definition:

Point-slope form: \(y - y_1 = m(x - x_1)\) where \((x_1, y_1)\) is a point and \(m\) is slope

Given
(2, 5), m = -1
Point-slope
y - 5 = -1(x - 2)
Slope-intercept
y = -x + 7
Step 1: Identify known values

Point: \((x_1, y_1) = (2, 5)\), Slope: \(m = -1\)

Step 2: Substitute into point-slope form

\(y - y_1 = m(x - x_1)\) becomes \(y - 5 = -1(x - 2)\)

Step 3: Distribute and solve for y

\(y - 5 = -x + 2\), then \(y = -x + 2 + 5\)

Step 4: Simplify to slope-intercept form

\(y = -x + 7\)

Step 5: Verification

Check: When \(x = 2\), \(y = -2 + 7 = 5\) ✓ (point (2,5) satisfies equation)

\(y = -x + 7\)
Final answer:

The equation is \(y = -x + 7\) or \(y - 5 = -(x - 2)\)

Applied rules:

• Point-slope form: \(y - y_1 = m(x - x_1)\) for one point and slope

• Distribution: \(a(b + c) = ab + ac\)

• Isolation: Solve for y to get slope-intercept form

Tip 1: Use point-slope form when you have one point and slope
Tip 2: Negative slope means line falls from left to right
Tip 3: Always verify by substituting the given point
3 Two points form
Exercise 3
Write the equation of a line passing through (1, 3) and (4, 9).
Definition:

Slope formula: \(m = \frac{y_2 - y_1}{x_2 - x_1}\) and then use point-slope form

Points
(1, 3) and (4, 9)
Slope
m = 2
Equation
y = 2x + 1
Step 1: Calculate the slope

Using \(m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{9 - 3}{4 - 1} = \frac{6}{3} = 2\)

Step 2: Use point-slope form with one point

Using point (1, 3): \(y - 3 = 2(x - 1)\)

Step 3: Distribute and solve for y

\(y - 3 = 2x - 2\), then \(y = 2x - 2 + 3\)

Step 4: Simplify to slope-intercept form

\(y = 2x + 1\)

Step 5: Verification

Check both points: (1,3): \(y = 2(1) + 1 = 3\) ✓, (4,9): \(y = 2(4) + 1 = 9\) ✓

\(y = 2x + 1\)
Final answer:

The equation is \(y = 2x + 1\)

Applied rules:

• Slope formula: \(m = \frac{y_2 - y_1}{x_2 - x_1}\) for two points

• Point-slope form: Convert to slope-intercept form

• Verification: Both points must satisfy the equation

Tip 1: Always calculate slope first when given two points
Tip 2: You can use either point in point-slope form - result is same
Tip 3: Positive slope means line rises from left to right
Forms of Linear Equations
\(y = mx + b\)
Slope-Intercept Form
Slope-Intercept
\(y = mx + b\)
Know slope and y-intercept
Point-Slope
\(y - y_1 = m(x - x_1)\)
Know slope and one point
Standard Form
\(Ax + By = C\)
Integer coefficients, A ≥ 0
Key definitions:

Slope: Rate of change, rise over run

Y-intercept: Point where line crosses y-axis (x=0)

X-intercept: Point where line crosses x-axis (y=0)

Writing Linear Equations:
  1. Identify given information: slope, points, intercepts
  2. Choose appropriate form: slope-intercept, point-slope, or standard
  3. Substitute values: into the chosen form
  4. Solve for unknowns: if needed
  5. Verify: Check that given points satisfy the equation
Tip 1: Always write final answer in simplest form
Tip 2: Parallel lines have equal slopes
Tip 3: Perpendicular lines have slopes that are negative reciprocals
Tip 4: Horizontal lines have slope 0, vertical lines have undefined slope
Common errors: Mixing up coordinates in slope formula, forgetting to distribute negative signs, misidentifying slope vs y-intercept.
Exam preparation: Memorize all forms, practice converting between forms, master slope calculations.
Essential formulas:

• Slope: \(m = \frac{y_2 - y_1}{x_2 - x_1}\)

• Slope-intercept: \(y = mx + b\)

• Point-slope: \(y - y_1 = m(x - x_1)\)

• Standard form: \(Ax + By = C\)

• Parallel lines: \(m_1 = m_2\)

• Perpendicular lines: \(m_1 \cdot m_2 = -1\)

Solution: Exercises 4 to 5
4 Parallel lines
Exercise 4
Write the equation of a line parallel to y = 2x + 3 that passes through (1, -1).
Definition:

Parallel lines: Lines with equal slopes and different y-intercepts

Given line
y = 2x + 3
Parallel slope
m = 2
New equation
y = 2x - 3
Step 1: Identify slope of given line

From \(y = 2x + 3\), slope \(m = 2\)

Step 2: Apply parallel line rule

Parallel lines have equal slopes, so new slope = 2

Step 3: Use point-slope form with known point

Using point (1, -1): \(y - (-1) = 2(x - 1)\)

Step 4: Simplify to slope-intercept form

\(y + 1 = 2x - 2\), then \(y = 2x - 2 - 1 = 2x - 3\)

Step 5: Verify the solution

Check: When \(x = 1\), \(y = 2(1) - 3 = -1\) ✓ (passes through (1,-1))

Step 6: Confirm parallelism

New line has slope 2, same as original ✓

\(y = 2x - 3\)
Final answer:

The equation is \(y = 2x - 3\)

Applied rules:

• Parallel lines: Have equal slopes (\(m_1 = m_2\))

• Point-slope form: \(y - y_1 = m(x - x_1)\)

• Verification: Substitute point to confirm it lies on the line

Tip 1: Parallel lines never intersect
Tip 2: Same slope means same steepness and direction
Tip 3: Different y-intercept ensures lines are distinct
5 Perpendicular lines
Exercise 5
Write the equation of a line perpendicular to y = -3x + 4 that passes through (2, 1).
Definition:

Perpendicular lines: Lines whose slopes are negative reciprocals of each other

Given line
y = -3x + 4
Perp slope
m = 1/3
New equation
y = (1/3)x + 1/3
Step 1: Identify slope of given line

From \(y = -3x + 4\), slope \(m_1 = -3\)

Step 2: Find slope of perpendicular line

Perpendicular slopes: \(m_1 \cdot m_2 = -1\), so \(-3 \cdot m_2 = -1\), thus \(m_2 = \frac{1}{3}\)

Step 3: Use point-slope form with known point

Using point (2, 1): \(y - 1 = \frac{1}{3}(x - 2)\)

Step 4: Distribute and solve for y

\(y - 1 = \frac{1}{3}x - \frac{2}{3}\), then \(y = \frac{1}{3}x - \frac{2}{3} + 1\)

Step 5: Simplify to slope-intercept form

\(y = \frac{1}{3}x + \frac{1}{3}\)

Step 6: Verify the solution

Check: When \(x = 2\), \(y = \frac{1}{3}(2) + \frac{1}{3} = \frac{2}{3} + \frac{1}{3} = 1\) ✓

Step 7: Confirm perpendicularity

Product of slopes: \(-3 \times \frac{1}{3} = -1\) ✓

\(y = \frac{1}{3}x + \frac{1}{3}\)
Final answer:

The equation is \(y = \frac{1}{3}x + \frac{1}{3}\)

Applied rules:

• Perpendicular lines: Product of slopes equals -1 (\(m_1 \cdot m_2 = -1\))

• Negative reciprocal: If slope is \(a\), perpendicular slope is \(-\frac{1}{a}\)

• Point-slope form: \(y - y_1 = m(x - x_1)\)

Tip 1: Perpendicular lines intersect at 90° angles
Tip 2: If one slope is negative, perpendicular slope is positive
Tip 3: Always verify by checking the product of slopes equals -1
Complete Guide: Linear Equations Forms and Properties
\(y = mx + b\)
Slope-Intercept Form
Key definitions:

Linear equation: Equation representing a straight line

Slope: Measure of steepness, \(m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}\)

Y-intercept: Point where line crosses y-axis (0, b)

X-intercept: Point where line crosses x-axis (a, 0)

Complete methodology:
  1. Identify given information: slope, points, intercepts, relationships to other lines
  2. Choose appropriate form: slope-intercept, point-slope, or standard form
  3. Substitute known values: into the chosen form
  4. Solve for unknowns: isolate y or find missing constants
  5. Convert forms if needed: between slope-intercept, point-slope, and standard
  6. Verify solution: by checking given conditions
Tip 1: Use slope-intercept form when you know slope and y-intercept.
Tip 2: Use point-slope form when you know slope and one point on the line.
Tip 3: Use two-point form when you know two points on the line.
Tip 4: For parallel lines, use the same slope.
Tip 5: For perpendicular lines, use the negative reciprocal of the slope.
Tip 6: Always verify your answer by substituting known points.
Special cases: Horizontal lines (y = constant, slope = 0), Vertical lines (x = constant, slope undefined).
Conversion formulas: From point-slope to slope-intercept: distribute and solve for y.
Real-world applications: Linear equations model constant rate changes, direct variations.
Essential formulas to know:

• Slope formula: \(m = \frac{y_2 - y_1}{x_2 - x_1}\)

• Slope-intercept form: \(y = mx + b\)

• Point-slope form: \(y - y_1 = m(x - x_1)\)

• Standard form: \(Ax + By = C\)

• Parallel lines: \(m_1 = m_2\)

• Perpendicular lines: \(m_1 \cdot m_2 = -1\)

• Midpoint formula: \(\left(\frac{x_1+x_2}{2}, \frac{y_1+y_2}{2}\right)\)

• Distance formula: \(d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}\)

Questions & Answers

Question: I often confuse the slope-intercept form and point-slope form. When should I use each one, and how do I convert between them?

Answer: Great question! Here's how to distinguish between them:

  • Slope-intercept form (\(y = mx + b\)): Use when you know the slope (\(m\)) and y-intercept (\(b\)). This form immediately shows the slope and where the line crosses the y-axis.
  • Point-slope form (\(y - y_1 = m(x - x_1)\)): Use when you know the slope (\(m\)) and one point \((x_1, y_1)\) on the line.

Conversion from point-slope to slope-intercept:

Starting with \(y - y_1 = m(x - x_1)\), distribute the slope and solve for y:

Example: \(y - 5 = 2(x - 3)\)

\(y - 5 = 2x - 6\)

\(y = 2x - 6 + 5 = 2x - 1\)

Now it's in slope-intercept form with slope 2 and y-intercept -1.

The key is to identify what information you're given and choose the appropriate form accordingly!

Question: When finding the equation of a line through two points, I sometimes get different-looking answers depending on which point I choose for the point-slope form. Is this correct?

Answer: No, you should get the exact same equation regardless of which point you choose! Let me demonstrate with an example:

Find the equation of a line through (1, 3) and (4, 9).

Using point (1, 3):

Slope: \(m = \frac{9-3}{4-1} = \frac{6}{3} = 2\)

Point-slope: \(y - 3 = 2(x - 1)\)

Slope-intercept: \(y - 3 = 2x - 2\), so \(y = 2x + 1\)

Using point (4, 9):

Slope: \(m = \frac{9-3}{4-1} = 2\) (same slope)

Point-slope: \(y - 9 = 2(x - 4)\)

Slope-intercept: \(y - 9 = 2x - 8\), so \(y = 2x + 1\)

Both approaches yield the same final equation: \(y = 2x + 1\). If you're getting different answers, double-check your arithmetic when solving for y. The choice of point only affects the intermediate steps, not the final result!

Question: I struggle with perpendicular lines. Why is the slope the negative reciprocal, and how do I remember this?

Answer: The concept comes from the geometric relationship between perpendicular lines. Here's why:

When two lines are perpendicular, they form a 90° angle. If one line has slope \(m_1\), then the other line's slope \(m_2\) must satisfy the condition that their product equals -1: \(m_1 \cdot m_2 = -1\).

This means: \(m_2 = -\frac{1}{m_1}\)

Examples:

  • If original slope is 3, perpendicular slope is \(-\frac{1}{3}\)
  • If original slope is \(-\frac{2}{5}\), perpendicular slope is \(\frac{5}{2}\)
  • If original slope is -4, perpendicular slope is \(\frac{1}{4}\)

Mnemonic: "Negative RECIPROCAL" - flip the fraction and change the sign. If the original slope is a whole number, treat it as a fraction over 1 (e.g., 5 = 5/1, so perpendicular slope is -1/5).

Always verify: multiply the slopes together. If the result is -1, the lines are perpendicular!