Slope of a Line Presentation in Yellow and Blue Vector Style
Table of contents
- Linear function
- Not a linear function
- Example: Tricycle fare
- Slope
- Type of slope
- Example #1: Find the slope of the given graph
- Example #2: Find the slope of the given graph
- Example #3: Find the slope of the given graph
- Example #4: Find the slope of the given graph
- Example #5: A line passes through the point (4,3) and (2,7). What is the slope of this line?
- Example #7: f(x) = 4x -8
- Example #7: 3x+2y = 12
- Example #8: Change in the output
- Example #9: 3-1 / 5-11
- Example #10: 0--1 / 6-4
- Zero of a linear function
- Example #1: (2,0)
- Example: (0.5,0)
- Find the zero: set f(x)= 0 and solve for x
- Find the zero: set f(x)= 0 and solve for x
- Look for the value of x where f(x)= 0
- Look for the value of x where f(x)= 0
- set f(x)= 0
- Example #6: A line passes through the point (0,5) and (-2,11). What is the slope of this line?
1. Linear function
A linear function is a mathematical relationship whose graph is a straight line. This means it has a constant rate of change and its degree is one or less.
- Constant rate of change: The output of the function changes by a consistent amount for every unit increase in the input.
- Degree of one or less: This refers to the highest power of the independent variable in the function's equation. For linear functions, this power is at most 1.

The visual representation of a linear function on a Cartesian plane is a straight line. The orientation of this line is determined by its slope.
- Positive slope: The line rises from left to right.
- Negative slope: The line falls from left to right.
- Zero slope: The line is horizontal.



2. Not a linear function
Functions that do not exhibit a constant rate of change or whose graphs are not straight lines are not considered linear functions. This often occurs when the degree of the independent variable is greater than one, leading to curves rather than straight lines.


A linear function can be expressed in the general form y=mx+b, where m represents the slope and b represents the y-intercept.
3. Example: Tricycle fare
This section illustrates a real-world application of linear functions using a tricycle fare scenario. The fare structure involves a fixed initial charge plus a variable charge based on distance.
- Scenario: A tricycle charges a fixed fare of 30 pesos for the first kilometer.
- Additional charge: An extra 5 pesos is added for every subsequent kilometer traveled.
This pricing model can be represented by a linear function where the distance traveled is the independent variable and the total fare is the dependent variable.
4. Slope
The slope of a line is a fundamental property that quantifies its steepness and direction. It is defined as the ratio of the vertical change (rise) to the horizontal change (run) between any two distinct points on the line.
- Rise: Represents the change in the y-coordinate between two points (Δy).
- Run: Represents the change in the x-coordinate between two points (Δx).
The formula for calculating the slope (m) is: m=runrise=ΔxΔy
In the slope-intercept form of a linear equation, y=mx+b, the coefficient m directly represents the slope of the line. For instance, in the equation y=2x+5, the slope is 2.
When given two points (x1,y1) and (x2,y2) on a line, the slope can be calculated using the formula: m=x2−x1y2−y1
The sign of the slope indicates the direction of the line:
- A positive slope means the line rises as you move from left to right.
- A negative slope means the line falls as you move from left to right.
5. Type of slope
The type of slope a line possesses is determined by its orientation on a Cartesian plane. There are distinct categories of slopes that a linear function can exhibit.
| Slope Type | Description | Graph Orientation |
|---|---|---|
| Positive slope | The line rises from left to right. | Upward from left to right |
| Negative slope | The line falls from left to right. | Downward from left to right |
| Zero slope | The line is perfectly horizontal. | Horizontal |
| Undefined slope | The line is perfectly vertical. | Vertical |
6. Example #1: Find the slope of the given graph
This example demonstrates how to determine the slope of a line directly from its graphical representation on a Cartesian coordinate system.
To find the slope, we identify two distinct points on the line and then calculate the rise and run between them.
- Identify two points: Select any two points that lie clearly on the line.
- Calculate the rise: Determine the vertical distance between the two points (Δy). This is the difference in their y-coordinates.
- Calculate the run: Determine the horizontal distance between the two points (Δx). This is the difference in their x-coordinates.
- Compute the slope: Divide the rise by the run (m=ΔxΔy).
In the provided graph, let's consider two points:
-
Point 1: (−3,−3)
-
Point 2: (3,3)
-
Rise: Δy=3−(−3)=3+3=6
-
Run: Δx=3−(−3)=3+3=6
Therefore, the slope (m) is: m=66=1
📝 For the given graph, if we select the points (−3,−3) and (3,3), the rise is 3−(−3)=6 and the run is 3−(−3)=6. The slope is thus 66=1.
7. Example #2: Find the slope of the given graph
7.1 Calculating slope from a graph
This section demonstrates how to find the slope of a line by examining its graphical representation. The slope represents the rate of change of the y-coordinate with respect to the x-coordinate.
- Identify two points on the line that are clearly defined by their coordinates.
- Determine the 'rise': This is the vertical change between the two points. It is calculated as the difference in the y-coordinates (y2−y1).
- Determine the 'run': This is the horizontal change between the two points. It is calculated as the difference in the x-coordinates (x2−x1).
- Calculate the slope (m): The slope is the ratio of the rise to the run, expressed as m=runrise.
📝 The slope of the line passing through points (1, 2) and (-2, -2) is calculated as follows: m=runrise=−2−1−2−2=−3−4=34.
8. Example #3: Find the slope of the given graph
8.1 Determining slope from a horizontal line
This example focuses on finding the slope of a line that is perfectly horizontal on a graph. Horizontal lines have a specific characteristic regarding their slope.
- A horizontal line has the same y-coordinate for all points along the line.
- When calculating the slope, the rise (change in y) will always be zero.
- The run (change in x) will be a non-zero value, as the x-coordinate changes.
- The slope of any horizontal line is always zero (m=0), because run0=0.
📝 For a horizontal line passing through points (-2, -4) and (2, -4), the slope is: m=runrise=2−(−2)−4−(−4)=40=0.
9. Example #4: Find the slope of the given graph
9.1 Calculating slope with specific rise and run
This section illustrates the calculation of a line's slope by identifying the 'rise' and 'run' directly from a graph. It emphasizes the visual interpretation of these components.
- Identify two points on the line. In this example, the points are (1, 1) and (2, -4).
- Calculate the 'run': The horizontal distance between the points. From x=1 to x=2, the run is 2−1=1.
- Calculate the 'rise': The vertical distance between the points. From y=1 to y=-4, the rise is −4−1=−5.
- Compute the slope (m): The slope is the ratio of rise to run.
📝 The slope of the line passing through points (1, 1) and (2, -4) is calculated as: m=runrise=1−5=−5.
10. Example #5: A line passes through the point (4,3) and (2,7). What is the slope of this line?
10.1 Using the slope formula with two points
This example demonstrates how to calculate the slope of a line when given the coordinates of two distinct points. The standard slope formula is applied directly.
- The slope formula is m=x2−x1y2−y1.
- Identify the coordinates of the two given points: Point 1 is (x1,y1)=(4,3) and Point 2 is (x2,y2)=(2,7).
- Substitute these values into the slope formula.
📝 Using the slope formula with points (4, 3) and (2, 7): m=2−47−3=−24=−2.
11. Example #7: f(x) = 4x -8
11.1 Identifying slope from slope-intercept form
This section explains how to identify the slope of a line when its equation is presented in the slope-intercept form, f(x)=mx+b.
- The slope-intercept form of a linear equation is y=mx+b, where 'm' represents the slope and 'b' represents the y-intercept.
- In the given function, f(x)=4x−8, the 'm' value is the coefficient of the 'x' term.
- The slope (m) is the number directly multiplying the variable 'x'.
📝 In the function f(x)=4x−8, the slope 'm' is 4.
12. Example #7: 3x+2y = 12
12.1 Converting standard form to slope-intercept form
This example shows how to find the slope of a line by first converting its equation from standard form (ax+by=c) to slope-intercept form (y=mx+b).
- The standard form of a linear equation is ax+by=c.
- The slope-intercept form is y=mx+b, where 'm' is the slope.
- To convert, isolate the 'y' term on one side of the equation.
- Divide the entire equation by the coefficient of 'y' to solve for 'y'.
📝 To find the slope of 3x+2y=12:
- Subtract 3x from both sides: 2y=−3x+12.
- Divide both sides by 2: y=2−3x+12.
- Simplify: y=−23x+6. The slope 'm' is −23.
13. Example #8: Change in the output
13.1 Calculating slope from output changes
This section demonstrates calculating the slope of a line using changes in output values. The slope represents the rate of change of the dependent variable (y) with respect to the independent variable (x).
- Slope calculation: The slope (m) is determined by the difference in output values divided by the difference in input values.
- Formula: m=ΔxΔy
- Example: Given an initial output of 1 and a final output of -2, with corresponding input changes that result in a Δx of 1, the slope is calculated as: m=1−2−1=1−3=−3.
📝 If the output changes from 1 to -2 over an input change of 1, the slope is -3.
14. Example #9: 3-1 / 5-11
14.1 Calculating slope with coordinate differences
This example illustrates the calculation of the slope using the differences between two points' coordinates. The slope is a measure of a line's steepness and direction.
- Slope formula: The slope (m) between two points (x1,y1) and (x2,y2) is given by m=x2−x1y2−y1.
- Given values: The differences in coordinates are provided as Δy=3−1 and Δx=5−11.
- Calculation: m=5−113−1=−62=−31.
📝 For a change in y of 3−1 and a change in x of 5−11, the slope is −31.
15. Example #10: 0--1 / 6-4
15.1 Determining slope from coordinate differences
This section focuses on calculating the slope of a line using specific differences in coordinate values. The slope quantifies how much the y-value changes for a unit change in the x-value.
- Slope definition: The slope (m) is the ratio of the change in the y-coordinate to the change in the x-coordinate between any two points on a line.
- Provided differences: The change in y is given as 0−(−1), and the change in x is 6−4.
- Calculation: m=6−40−(−1)=20+1=21.
📝 If the y-coordinate changes by 0−(−1) and the x-coordinate changes by 6−4, the slope is 21.
16. Zero of a linear function
16.1 Definition of a function's zero
The zero of a function is a fundamental concept that identifies where the function's output value is equal to zero. For linear functions, this point has a specific graphical interpretation.
- Zero of a function: A zero of a function is an input value (x) for which the function's output (y) is zero.
- Graphical interpretation: On a graph, the zero of a linear function corresponds to the point where the line intersects the x-axis. This is also known as the x-intercept.
📝 For a function f(x), a zero is any value of x such that f(x)=0.
17. Example #1: (2,0)
17.1 Identifying the zero from a graph
This example demonstrates how to find the zero of a linear function by examining its graph. The zero is directly observable as the point where the line crosses the horizontal axis.
- Graphical representation: The provided graph shows a line that intersects the x-axis at the point (2,0).
- Zero identification: The x-coordinate of the point where the line crosses the x-axis is the zero of the function.
- Result: In this case, the line crosses the x-axis at x=2. Therefore, the zero of the function is x=2.
📝 If a graph of a linear function crosses the x-axis at the point (2,0), then the zero of the function is x=2.
18. Example: (0.5,0)
18.1 Locating the zero on a graph
This example illustrates how to identify the zero of a linear function by observing its graphical representation. The zero is the x-value where the function's graph intersects the x-axis.
- Graph interpretation: The graph displays a line that intersects the x-axis at the coordinate (0.5,0).
- Zero determination: The zero of the function is the x-value at which the graph crosses the x-axis.
- Conclusion: For this specific graph, the line crosses the x-axis at x=0.5. Thus, the zero of the function is x=0.5.
📝 When a linear function's graph intersects the x-axis at (0.5,0), its zero is x=0.5.
19. Find the zero: set f(x)= 0 and solve for x
19.1 Finding the zero of a linear function
The zero of a function is the value of the independent variable (usually x) for which the function's output (f(x)) equals zero. To find the zero of a linear function, we set the function equal to zero and solve for x.
- Zero of a function: The x-value where f(x)=0.
- Method: Set the function f(x) equal to zero.
- Algebraic steps:
- Isolate the term containing x.
- Solve for x by dividing by the coefficient of x.
📝 For the function f(x)=4x−8, setting f(x)=0 gives 4x−8=0. Adding 8 to both sides yields 4x=8. Dividing by 4 results in x=2. The zero of the function is x=2.
20. Find the zero: set f(x)= 0 and solve for x
20.1 Finding the zero with negative coefficients
When finding the zero of a linear function that includes negative coefficients, the algebraic steps remain the same: set f(x) to zero and solve for x. Careful attention to signs is crucial during the solving process.
- Function: A linear function with a negative coefficient for the x term, such as f(x)=−3x+12.
- Procedure:
- Set f(x)=0.
- Rearrange the equation to isolate the x term.
- Solve for x by dividing by the coefficient of x.
📝 For the function f(x)=−3x+12, setting f(x)=0 gives −3x+12=0. Subtracting 12 from both sides results in −3x=−12. Dividing both sides by -3 yields x=4. The zero of the function is x=4.
20.2 Example: Standard form to slope-intercept form
The standard form of a linear equation is Ax+By=C. This can be converted to the slope-intercept form, y=mx+b, by solving for y.
This process involves isolating the y term and then dividing by its coefficient.
- Standard form: 3x+2y=12.
- Conversion steps:
- Subtract 3x from both sides: 2y=−3x+12.
- Divide both sides by 2: y=2−3x+12.
- Simplify: y=−23x+6.
21. Look for the value of x where f(x)= 0
21.1 Identifying the zero by inspection
Finding the zero of a function can sometimes be as simple as looking for the x-value that makes f(x) equal to zero. This is particularly straightforward when the function's value at a specific x is explicitly stated to be zero.
- Concept: The zero of a function is the x-value for which f(x)=0.
- Method: Observe the given function values to identify the x that results in an output of 0.
📝 If it is stated that f(3)=0, this directly indicates that the zero of the function is x=3.
22. Look for the value of x where f(x)= 0
22.1 Finding the zero of a linear function
This section reiterates the concept of finding the zero of a function by identifying the x-value where f(x) equals zero. For linear functions, this involves algebraic manipulation to isolate x.
- Zero of a function: The x-value that makes f(x)=0.
- Process:
- Set the function expression equal to zero.
- Solve the resulting equation for x.
23. set f(x)= 0
23.1 Solving for the zero of a linear function
To find the zero of a linear function, we set the function equal to zero and then solve for the variable x. This involves isolating the term with x and then dividing by its coefficient.
- Equation: 0=−3x+14.
- Steps to solve for x:
- Add 3x to both sides: 3x=14.
- Divide both sides by 3: x=314.
📝 For the function f(x)=−3x+14, setting f(x)=0 gives 0=−3x+14. Rearranging the terms, we get 3x=14. Dividing by 3, we find x=314. The zero of the function is x=314.
24. Example #6: A line passes through the point (0,5) and (-2,11). What is the slope of this line?
24.1 Calculating the slope between two points
The slope of a line measures its steepness and direction. It is calculated as the change in the y-coordinates divided by the change in the x-coordinates between any two distinct points on the line.
- Formula for slope (m): m=x2−x1y2−y1.
- Given points:
- Point 1: (x1,y1)=(0,5).
- Point 2: (x2,y2)=(−2,11).
- Calculation:
- Substitute the coordinates into the slope formula: m=−2−011−5.
- Simplify the numerator: 11−5=6.
- Simplify the denominator: −2−0=−2.
- Calculate the slope: m=−26=−3.
📝 For a line passing through points (0,5) and (−2,11), the slope is calculated as m=−2−011−5=−26=−3. The slope of this line is -3.
© 2026 Maeve. All rights reserved. This content is protected by copyright.