Understanding Straight Line Equations and Gradients

General Form of Straight Line Equations

A straight line equation, known in Indonesian as Persamaan Garis Lurus (PGL), has two primary general forms. These forms allow for the representation of linear relationships on a Cartesian coordinate system. The first form is the slope-intercept form, expressed as y=mx+ny = mx + n, where mm represents the gradient (slope) and nn is the y-intercept. The second is the standard linear form, expressed as ax+by=cax + by = c.

Learning to manipulate these equations is essential. For instance, given the following equations, one can practice converting them into either general form:

  1. 2y=x+52y = -x + 5

  2. 4x=y34x = y - 3

  3. 5x=23y5x = 2 - 3y

Verifying Points on a Line

A point is said to lie on a line if its coordinates satisfy the line's equation. This is verified by substituting the xx and yy values of the point into the equation to see if the identity holds true.

For the line y=xy = x:

  • Point (2, 4): Substituting x=2x = 2 and y=4y = 4 results in 4=24 = 2, which is false. Therefore, the point (2, 4) does not lie on the line.

  • Point (3, 3): Substituting x=3x = 3 and y=3y = 3 results in 3=33 = 3, which is true. Therefore, the point (3, 3) lies on the line.

For the line y=2x+1y = 2x + 1:

  • Point (2, 3): Substituting x=2x = 2 gives y=2(2)+1=5y = 2(2) + 1 = 5. Since the given yy is 3, the point (2, 3) does not lie on the line.

  • Point (3, 7): Substituting x=3x = 3 gives y=2(3)+1=7y = 2(3) + 1 = 7. Since this matches the given coordinate, the point (3, 7) lies on the line.

Concept and Definition of Gradient (Kemiringan)

The gradient, or slope, measures the steepness or inclination of a line. It is defined as the ratio of the change in the vertical axis to the change in the horizontal axis. In geometric terms, it is calculated as follows:

Gradient=Vertical side length (vertical)Horizontal side length (horizontal)\text{Gradient} = \frac{\text{Vertical side length (vertical)}}{\text{Horizontal side length (horizontal)}}

Applying this to a physical example provided in the materials: if a vertical height is 150150 units and a horizontal distance is 5050 units, the gradient is:

Gradient=15050=3\text{Gradient} = \frac{150}{50} = 3

Visualizing Gradients Using Graphs

The gradient can be determined by analyzing the "movement" from one point to another on a graph. A positive gradient indicates that for every movement to the right, there is an upward movement. A negative gradient indicates a downward movement.

For the line y=2xy = 2x passing through the point (1, 2):

  • The gradient m=21=2m = \frac{2}{1} = 2.

  • This means for every 11 unit moved to the right (+1+1), the line moves 22 units upward (+2+2).

For the line y=2xy = -2x passing through the point (-1, 2):

  • The gradient m=21=2m = \frac{2}{-1} = -2.

  • This means for every 11 unit moved to the left (1-1), the line moves 22 units upward (+2+2).

For the line y=2x4y = 2x - 4 through points (2, 0) and (3, 2):

  • Measuring from (2, 0) to (3, 2): horizontal change is 32=13 - 2 = 1, vertical change is 20=22 - 0 = 2.

  • m=2032=21=2m = \frac{2 - 0}{3 - 2} = \frac{2}{1} = 2.

For the line y=2x+6y = -2x + 6 through points (2, 2) and (0, 6):

  • Measuring from (2, 2) to (0, 6): horizontal change is 02=20 - 2 = -2, vertical change is 62=46 - 2 = 4.

  • m=6202=42=2m = \frac{6 - 2}{0 - 2} = \frac{4}{-2} = -2.

The Gradient Formula for Two Points

When a line passes through two specific points, (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), the gradient mm can be calculated using the following universal formula:

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

Practical Examples of Gradient Calculation

Example 4.4: Determine the slope of the line passing through points A(2, 1) and B(4, 5).

  • Let (x1,y1)=(2,1)(x_1, y_1) = (2, 1) and (x2,y2)=(4,5)(x_2, y_2) = (4, 5).

  • m=5142=42=2m = \frac{5 - 1}{4 - 2} = \frac{4}{2} = 2.

Example 4.5: Determine the slope of the line passing through points (1, 2) and (-2, 5).

  • Let (x1,y1)=(1,2)(x_1, y_1) = (1, 2) and (x2,y2)=(2,5)(x_2, y_2) = (-2, 5).

  • m=52(2)1=33=1m = \frac{5 - 2}{(-2) - 1} = \frac{3}{-3} = -1.

  • Note: A negative gradient indicates the line is "falling" or descending/tilting to the left.

Gradients of Lines Parallel to Axes

Special cases occur when lines are perfectly horizontal or vertical.

Example 4.6: Determine the slope of a line parallel to the X-axis passing through (1, 3).

  • A line parallel to the X-axis is a horizontal line. Any two points on this line (e.g., (1, 3) and (0, 3)) will have the same y-coordinate (y2y1=0y_2 - y_1 = 0).

  • m=33x2x1=0x2x1=0m = \frac{3 - 3}{x_2 - x_1} = \frac{0}{x_2 - x_1} = 0.

  • Therefore, the gradient of any horizontal line is 00.

Example 4.7: Determine the slope of a line parallel to the Y-axis passing through (2, 4).

  • A line parallel to the Y-axis is a vertical line. Any two points on this line (e.g., (2, 4) and (2, 1)) will have the same x-coordinate (x2x1=0x_2 - x_1 = 0).

  • m=1422=30m = \frac{1 - 4}{2 - 2} = \frac{-3}{0}.

  • Division by zero is undefined. Therefore, the gradient of a vertical line is undefined (tak terdefinisi).

Solving for Variables in Coordinates

Problem 4.8: The gradient of the line passing through points (-4, p) and (1, 2) is a specified value (-\text{ [value unclear in text]}). This type of problem requires setting up the gradient formula and solving for the unknown coordinate variable pp.

m=2p1(4)m = \frac{2 - p}{1 - (-4)}

Exercises for Practice

Determine the gradient of the lines passing through the following sets of points: a. (2, 1) and (3, 2) b. (-2, 1) and (-4, 5) c. (7, 4) and (-5, -6) d. (3, -5) and (4, -7) e. (-3, -1) and (-5, -7)