Linear Equations

Master linear equations by rewriting them in slope-intercept form, identifying the slope and y-intercept, and writing equations of lines.

Linear Equations

Learn to rewrite linear equations in slope-intercept form, identify the slope and y-intercept, and write equations of lines.

Practice Topics

1. Slope-Intercept Form

Rewrite linear equations in the form y=ax+by = ax + b, determine the slope aa, and find the y-intercept bb.

2. Slope of a Line

Understand slope as steps, calculate the slope between two points, and find the equation of a line.

3. System of Two Lines

Determine the number of solutions for a system of two linear equations by comparing their slopes (a1,a2a_1, a_2) and their y-intercepts (b1,b2b_1, b_2).

4. Analyzing Linear Functions

Analyze linear functions: rewrite the equation in slope-intercept form y=ax+by = ax + b, identify the slope, the y-intercept (0,b)(0, b) and x-intercept (โˆ’ba,0)\left(-\frac{b}{a}, 0\right) (when aโ‰ 0a \neq 0), determine whether the function is increasing, decreasing, or constant, and draw the graph.

5. Area of Triangle Formed by Three Lines

Calculate the area of the triangle formed by the pairwise intersections of three lines using geometric decomposition.

Learning Guide

1. Slope-Intercept Form

A linear equation can be written in multiple forms. One of the most commonly used forms is the slope-intercept form:
where:
- aa is the slope (also called the gradient), which describes the direction and steepness of the line.
- bb is the y-intercept, representing the y-coordinate of the point where the line crosses the y-axis, located at (0,b)(0, b).

Note: We will cover the slope in detail in the next topic.

Function Notation:
Once we isolate yy in a linear equation (writing it as y=ax+by = ax + b), we can express yy in function notation as y=f(x)y = f(x).

In our case, the linear equation y=ax+by = ax + b becomes:
f(x)=ax+bf(x) = ax + b

Using function notation is very useful. For example, it allows us to evaluate the function for specific values of xx. To find the y-value when x=0x = 0, we substitute 00 for xx:
f(0)=aโ‹…0+b=bf(0) = a \cdot 0 + b = b

This shows that when x=0x = 0, the function value is bb, which corresponds directly to the y-intercept at the point (0,b)(0, b).

2. Slope of a Line

The slope (represented by aa in the equation y=ax+by = ax + b) describes the steepness and direction of a line.

Slope Steps Visualizer

-4-4-2-222440xyy = 1.5x+1+1.5+1+1.5+1+1.5
For every step right (+1), we go up by 1.5.

Understanding Slope as Steps

Think of the slope as taking steps on the graph:
- Every time we move 11 unit to the right (increase xx by 11), we go up or down by aa units (change yy by aa).
- If aa is positive (e.g. a=2a = 2), we go up by 22 for every step right.
- If aa is negative (e.g. a=โˆ’1a = -1), we move down by 1 for every step right.

The Slope Formula & Delta (ฮ”\Delta)

To find the slope between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), we use the formula:
What is Delta (ฮ”\Delta)?
The Greek letter ฮ”\Delta (Delta) represents the change or difference between two values:
- ฮ”y=y2โˆ’y1\Delta y = y_2 - y_1 is the change in the vertical direction (often called the rise).
- ฮ”x=x2โˆ’x1\Delta x = x_2 - x_1 is the change in the horizontal direction (often called the run).

This is why the slope is often described as "rise over run" (riserun=ฮ”yฮ”x\frac{\text{rise}}{\text{run}} = \frac{\Delta y}{\Delta x}).

โš ๏ธ Crucial Order Note:
It does not matter which point you choose as the first point (x1,y1)(x_1, y_1) and which as the second point (x2,y2)(x_2, y_2)โ€”the calculated slope will be exactly the same. However, you must maintain the same subtraction order in both the numerator and the denominator! If you subtract the yy-coordinates as y2โˆ’y1y_2 - y_1, you must subtract the xx-coordinates as x2โˆ’x1x_2 - x_1. Mixing the order (like y2โˆ’y1x1โˆ’x2\frac{y_2 - y_1}{x_1 - x_2}) is incorrect and will result in the wrong sign.

Slope Between Two Points

-4-4-2-222440xyA(1, 2)B(3, 6)ฮ”x = 2ฮ”y = 4
Slope Calculation:
a=ฮ”yฮ”x=6โˆ’23โˆ’1=42=2a = \frac{\Delta y}{\Delta x} = \frac{6 - 2}{3 - 1} = \frac{4}{2} = 2

Finding the y-intercept bb and the Equation of a Line

Once we have the slope aa, we can find the y-intercept bb and write the full equation using a point (x1,y1)(x_1, y_1) on the line. Since the point lies on the line, its coordinates must satisfy the equation y=ax+by = ax + b.

Example:
Suppose we know the slope is a=3a = 3, and the line passes through the point (2,7)(2, 7).
  1. Start with the equation form: y=ax+by = ax + b
    Since a=3a = 3, this gives: y=3x+by = 3x + b
  2. Substitute the point (x1,y1)=(2,7)(x_1, y_1) = (2, 7) (where x1=2x_1 = 2 and y1=7y_1 = 7):
    y1=3x1+bโ€…โ€ŠโŸนโ€…โ€Š7=3โ‹…2+by_1 = 3x_1 + b \implies 7 = 3 \cdot 2 + b
  3. Solve for bb:
    7=6+bโ€…โ€ŠโŸนโ€…โ€Šb=17 = 6 + b \implies b = 1
  4. The full equation is: y=3x+1\boxed{y = 3x + 1}

Equation of a Line from Two Points

If we are given only two points, we can determine the entire equation by combining the two steps:
1. Calculate the slope aa from the two points using the slope formula.
2. Use the calculated slope aa and one of the points to find the y-intercept bb (exactly as shown in the example above).

Parallel Lines

Two lines are parallel if they lie in the same plane and never intersect, no matter how far they are extended. They rise or fall by the same amount for every unit moved horizontally, which means they have the same slope (a1=a2a_1 = a_2), but different y-intercepts (b1โ‰ b2b_1 \neq b_2).

Example:
- Line 1: y=2x+3y = 2x + 3 (slope a=2a = 2, y-intercept b=3b = 3)
- Line 2: y=2xโˆ’5y = 2x - 5 (slope a=2a = 2, y-intercept b=โˆ’5b = -5)
Both lines have a slope of 22, so they are parallel. Because they cross the y-axis at different heights (33 and โˆ’5-5), they are distinct, non-overlapping lines that will never touch.

Parallel Lines Visualizer

Select Shared Slope (a):
Blue Intercept (bโ‚):
Red Intercept (bโ‚‚):
y = 1.5x + 1
y = 1.5x - 2
-4-4-2-222440xy
Note: "If and only if" means the rule works in both directions: if the lines are parallel, their slopes must be equal; and if their slopes are equal, the lines must be parallel.

3. System of Two Lines

In addition to solving a system of two linear equations (y=a1x+b1y = a_1 x + b_1 and y=a2x+b2y = a_2 x + b_2) algebraically (see the Classifying Systems of Equations topic), we can determine their geometric relationship and the number of solutions directly by comparing their slopes (a1,a2a_1, a_2) and their y-intercepts (b1,b2b_1, b_2).

Relative Positions Visualizer

(1) y = 1.5x + 1
(2) y = -0.5x + 2
-4-4-2-22244

1. Intersecting Lines (Exactly One Solution)

If the slopes are different (a1โ‰ a2a_1 \neq a_2), the lines have different slopes and intersect at exactly one point. The system has one unique solution.

2. Parallel Lines (No Solution)

If the slopes are equal (a1=a2a_1 = a_2), but the y-intercepts are different (b1โ‰ b2b_1 \neq b_2), the lines run parallel to each other at a constant distance and never meet. The system has no solution.

3. Coincident Lines (Infinitely Many Solutions)

If both the slopes and the y-intercepts are identical (a1=a2a_1 = a_2 and b1=b2b_1 = b_2), the two equations represent the exact same line. Every point on the line is a shared point, so the system has infinitely many solutions.

Mastering SealMath: Typing Subscripts (a1a_1 and a2a_2)

To enter subscript parameters like a1a_1 or a2a_2 (or b1b_1 and b2b_2) in the math input, type a_1 or a_2 using the underscore key (_) on your keyboard, or click the subscript button (xnx_n) on the virtual math keyboard. Note: Typing a1 or a2 without an underscore is not accepted, because in mathematics a1a1 represents aโ‹…1a \cdot 1 and a2a2 represents 2a2a.

4. Analyzing Linear Functions

Analyzing a linear function involves converting its equation into slope-intercept form y=ax+by = ax + b, determining its main geometric properties (slope, x- and y-intercepts, increasing, decreasing, or constant behavior), and drawing its graph.

Linear Function Analysis Visualizer

Slope (a):
Y-intercept (b):
Equation: y=2xโˆ’2y = 2x - 2
Slope (a): 2
Y-intercept: (0, -2)
X-intercept: (1, 0)
Behavior: Increasing
Crossed Quadrants: 1, 3, 4
-6-4-2246-6-4-22460xy(0, -2)(1, 0)(2, 2)(-1, -4)
Plotted Points: (4)
Drawing Checklist:
  • โœ“ Y-intercept (0, b)
  • โœ“ X-intercept $\left(-\frac{b}{a}, 0\right)$ (if $a \neq 0$)
  • โœ“ Point in Quadrant 1
  • โœ“ Point in Quadrant 3
  • โ—‹ Point in Quadrant 4

1. Derive the Slope-Intercept Form (y=ax+by = ax + b)

Start by isolating yy on the left side of the given linear equation.
Example: Given 2x+3yโˆ’6=02x + 3y - 6 = 0:
3y=โˆ’2x+6โ€…โ€ŠโŸนโ€…โ€Šy=โˆ’23x+23y = -2x + 6 \implies y = -\frac{2}{3}x + 2

2. Identify the Slope (aa)

The coefficient aa in y=ax+by = ax + b is the slope (gradient) of the line, which describes the line's steepness and direction.
In our example y=โˆ’23x+2y = -\frac{2}{3}x + 2, the slope is a=โˆ’23a = -\frac{2}{3}.

3. Find Intercepts with the Coordinate Axes

- Y-intercept (intersection with the y-axis): Substitute x=0x = 0 into the equation:
y=a(0)+b=bโ€…โ€ŠโŸนโ€…โ€ŠPointย (0,b)y = a(0) + b = b \implies \text{Point } (0, b)

- X-intercept (intersection with the x-axis): Substitute y=0y = 0 into the equation:
0=ax+bโ€…โ€ŠโŸนโ€…โ€Šax=โˆ’bโ€…โ€ŠโŸนโ€…โ€Šx=โˆ’baโ€…โ€ŠโŸนโ€…โ€ŠPointย (โˆ’ba,0)0 = ax + b \implies ax = -b \implies x = -\frac{b}{a} \implies \text{Point } \left(-\frac{b}{a}, 0\right)

(If b=0b = 0, both intercepts coincide at the origin (0,0)(0, 0). If a=0a = 0 and bโ‰ 0b \neq 0, the line y=by = b is horizontal and has no x-intercept).

4. Determine Function Behavior (Increasing / Decreasing / Constant)

- Increasing: If slope a>0a > 0, yy increases as xx increases.
- Decreasing: If slope a<0a < 0, yy decreases as xx increases.
- Constant: If slope a=0a = 0, yy remains constant for all xx.

๐Ÿ’ก Note on Degree-0 Constant Functions (y=cy = c)

A constant function y=cy = c (where slope a=0a = 0) is a special case of a linear function with a horizontal graph. In polynomial terminology, it is a degree-0 polynomial.

5. Drawing the Function

To draw the function graph on the coordinate plane:
1. Plot the x- and y-intercepts: the y-intercept (0,b)(0, b) and the x-intercept (โˆ’ba,0)\left(-\frac{b}{a}, 0\right).
2. Plot at least one additional point in each quadrant that the line passes through.

โ“ Frequently Asked Questions

How do you analyze a linear function?

To analyze a linear function y=ax+by = ax + b, follow these main steps:
1. Slope-Intercept Form: Isolate yy to rewrite the equation as y=ax+by = ax + b.
2. Parameters: Identify the slope aa and the Y-intercept value bb.
3. X- and Y-Intercepts: Calculate the y-intercept at (0,b)(0, b) and the x-intercept at (โˆ’ba,0)\left(-\frac{b}{a}, 0\right) (when aโ‰ 0a \neq 0).
4. Function Behavior: Determine whether the function is increasing (a>0a > 0), decreasing (a<0a < 0), or constant (a=0a = 0).
5. Graphing: A line is completely determined by two distinct points. Since the exercise checks the required points rather than a continuous drawn line, plot the x- and y-intercepts and the required additional points that lie on the line.

5. Area of Triangle Formed by Three Lines

When three distinct lines intersect pairwise at three distinct points, they form a triangle. To determine its area, we find the three intersection vertices and apply geometric decomposition with a reference right triangle.

Triangle Area Decomposition Visualizer

Lines:
L1:y=0,L2:y=โˆ’2x+8,L3:y=2xL_1: y = 0, \quad L_2: y = -2x + 8, \quad L_3: y = 2x
Triangle vertices: A(0,0),B(4,0),C(2,4)A(0,0), B(4,0), C(2,4)
Additive Area Calculation:
Sฮ”ABC=SADC+SBDC=2โ‹…42+2โ‹…42=4+4=8S_{\Delta ABC} = S_{ADC} + S_{BDC} = \frac{2 \cdot 4}{2} + \frac{2 \cdot 4}{2} = 4 + 4 = 8
D(2,0)A(0,0)B(4,0)C(2,4)

1. Calculate the Three Vertices

Solve pairwise linear systems to determine the three intersection coordinates: A(xA,yA)A(x_A, y_A), B(xB,yB)B(x_B, y_B), and C(xC,yC)C(x_C, y_C).

2. Construct a Reference Right-Angled Triangle

Draw a horizontal or vertical auxiliary line through one vertex to construct a right-angled reference triangle alongside two additional triangles.

Additive Method

Given vertices A(0,0)A(0,0), B(4,0)B(4,0), C(2,4)C(2,4):
  • Auxiliary Line: An auxiliary vertical line through C(2,4)C(2,4) intersects base ABAB at D(2,0)D(2,0).
  • Sub-regions: This divides the triangle into two adjacent right triangles:
    • S1=โ–ณADCS_1 = \triangle ADC: base AD=2AD = 2, height CD=4โ€…โ€ŠโŸนโ€…โ€ŠS1=2โ‹…42=4CD = 4 \implies S_1 = \frac{2 \cdot 4}{2} = 4
    • S2=โ–ณBDCS_2 = \triangle BDC: base BD=2BD = 2, height CD=4โ€…โ€ŠโŸนโ€…โ€ŠS2=2โ‹…42=4CD = 4 \implies S_2 = \frac{2 \cdot 4}{2} = 4
  • Calculation: Sฮ”ABC=S1+S2=SADC+SBDC=4+4=8S_{\Delta ABC} = S_1 + S_2 = S_{ADC} + S_{BDC} = 4 + 4 = 8

Subtractive Method 1: Reference Triangle Subtraction

Given vertices A(0,0)A(0,0), B(4,4)B(4,4), C(3,1)C(3,1):
  • Reference Right Triangle: Construct auxiliary point D(4,0)D(4,0) on the x-axis to form reference right-angled triangle โ–ณABD\triangle ABD with base AD=4AD = 4, height BD=4BD = 4, and area Sref=4โ‹…42=8S_{\text{ref}} = \frac{4 \cdot 4}{2} = 8.
  • Triangles to Subtract:
    • S1=โ–ณBCDS_1 = \triangle BCD: base BD=4BD = 4, height =1โ€…โ€ŠโŸนโ€…โ€ŠS1=4โ‹…12=2= 1 \implies S_1 = \frac{4 \cdot 1}{2} = 2
    • S2=โ–ณACDS_2 = \triangle ACD: base AD=4AD = 4, height =1โ€…โ€ŠโŸนโ€…โ€ŠS2=4โ‹…12=2= 1 \implies S_2 = \frac{4 \cdot 1}{2} = 2
  • Calculation: Sฮ”ABC=Srefโˆ’S1โˆ’S2=Sฮ”ABDโˆ’Sฮ”BCDโˆ’Sฮ”ACD=8โˆ’2โˆ’2=4S_{\Delta ABC} = S_{\text{ref}} - S_1 - S_2 = S_{\Delta ABD} - S_{\Delta BCD} - S_{\Delta ACD} = 8 - 2 - 2 = 4

Subtractive Method 2: Bounding Box Subtraction

Given vertices A(1,1)A(1,1), B(5,2)B(5,2), C(2,5)C(2,5):
  • Bounding Box: Enclose the triangle inside a bounding box from (1,1)(1,1) to (5,5)(5,5) with width 44, height 44, and area Sbox=4โ‹…4=16S_{\text{box}} = 4 \cdot 4 = 16.
  • Exterior Triangles to Subtract:
    • S1S_1: base =4= 4, height =1โ€…โ€ŠโŸนโ€…โ€ŠS1=4โ‹…12=2= 1 \implies S_1 = \frac{4 \cdot 1}{2} = 2
    • S2S_2: base =3= 3, height =3โ€…โ€ŠโŸนโ€…โ€ŠS2=3โ‹…32=4.5= 3 \implies S_2 = \frac{3 \cdot 3}{2} = 4.5
    • S3S_3: base =1= 1, height =4โ€…โ€ŠโŸนโ€…โ€ŠS3=1โ‹…42=2= 4 \implies S_3 = \frac{1 \cdot 4}{2} = 2
  • Calculation: Sฮ”ABC=Sboxโˆ’S1โˆ’S2โˆ’S3=16โˆ’2โˆ’4.5โˆ’2=7.5S_{\Delta ABC} = S_{\text{box}} - S_1 - S_2 - S_3 = 16 - 2 - 4.5 - 2 = 7.5

โ“ Frequently Asked Questions

How do you find the area of a triangle formed by three lines?

1. Find the 3 intersection points by solving pairwise linear equations.
2. Draw a horizontal or vertical auxiliary line through a vertex to construct a reference right-angled triangle.
3. Compute the area using Additive Method (S1+S2S_1 + S_2) or Subtractive Method (Srefโˆ’S1โˆ’S2S_{\text{ref}} - S_1 - S_2) depending on the geometry.
Learning Topics