Slope of a Line Presentation in Yellow and Blue Vector Style

Table of contents

  1. Linear function
  2. Not a linear function
  3. Example: Tricycle fare
  4. Slope
  5. Type of slope
  6. Example #1: Find the slope of the given graph
  7. Example #2: Find the slope of the given graph
  8. Example #3: Find the slope of the given graph
  9. Example #4: Find the slope of the given graph
  10. Example #5: A line passes through the point (4,3) and (2,7). What is the slope of this line?
  11. Example #7: f(x) = 4x -8
  12. Example #7: 3x+2y = 12
  13. Example #8: Change in the output
  14. Example #9: 3-1 / 5-11
  15. Example #10: 0--1 / 6-4
  16. Zero of a linear function
  17. Example #1: (2,0)
  18. Example: (0.5,0)
  19. Find the zero: set f(x)= 0 and solve for x
  20. Find the zero: set f(x)= 0 and solve for x
  21. Look for the value of x where f(x)= 0
  22. Look for the value of x where f(x)= 0
  23. set f(x)= 0
  24. 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.

This chart illustrates the relationship between the slope (m) of a line and its orientation on a Cartesian plane.

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.

A Cartesian coordinate system with a horizontal line indicating a slope of zero.

A line graph shows a line with a negative slope, indicating a slope of -1.

A line graph showing a line with a positive slope of 2 on a Cartesian coordinate system.

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 line graph showing a positive linear relationship between x and y, with two data points plotted.

A line graph showing a negative slope with two plotted points.

A linear function can be expressed in the general form y=mx+by = mx + b, where mm represents the slope and bb 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\Delta y).
  • Run: Represents the change in the x-coordinate between two points (Δx\Delta x).

The formula for calculating the slope (mm) is: m=riserun=ΔyΔxm = \frac{\text{rise}}{\text{run}} = \frac{\Delta y}{\Delta x}

In the slope-intercept form of a linear equation, y=mx+by = mx + b, the coefficient mm directly represents the slope of the line. For instance, in the equation y=2x+5y = 2x + 5, the slope is 2.

When given two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) on a line, the slope can be calculated using the formula: m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}

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 TypeDescriptionGraph Orientation
Positive slopeThe line rises from left to right.Upward from left to right
Negative slopeThe line falls from left to right.Downward from left to right
Zero slopeThe line is perfectly horizontal.Horizontal
Undefined slopeThe 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\Delta y). This is the difference in their y-coordinates.
  • Calculate the run: Determine the horizontal distance between the two points (Δx\Delta x). This is the difference in their x-coordinates.
  • Compute the slope: Divide the rise by the run (m=ΔyΔxm = \frac{\Delta y}{\Delta x}).

In the provided graph, let's consider two points:

  • Point 1: (−3,−3)(-3, -3)

  • Point 2: (3,3)(3, 3)

  • Rise: Δy=3−(−3)=3+3=6\Delta y = 3 - (-3) = 3 + 3 = 6

  • Run: Δx=3−(−3)=3+3=6\Delta x = 3 - (-3) = 3 + 3 = 6

Therefore, the slope (mm) is: m=66=1m = \frac{6}{6} = 1

📝 For the given graph, if we select the points (−3,−3)(-3, -3) and (3,3)(3, 3), the rise is 3−(−3)=63 - (-3) = 6 and the run is 3−(−3)=63 - (-3) = 6. The slope is thus 66=1\frac{6}{6} = 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−y1y_2 - y_1).
  • Determine the 'run': This is the horizontal change between the two points. It is calculated as the difference in the x-coordinates (x2−x1x_2 - x_1).
  • Calculate the slope (m): The slope is the ratio of the rise to the run, expressed as m=riserunm = \frac{\text{rise}}{\text{run}}.

📝 The slope of the line passing through points (1, 2) and (-2, -2) is calculated as follows: m=riserun=−2−2−2−1=−4−3=43m = \frac{\text{rise}}{\text{run}} = \frac{-2 - 2}{-2 - 1} = \frac{-4}{-3} = \frac{4}{3}.

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=0m=0), because 0run=0\frac{0}{\text{run}} = 0.

📝 For a horizontal line passing through points (-2, -4) and (2, -4), the slope is: m=riserun=−4−(−4)2−(−2)=04=0m = \frac{\text{rise}}{\text{run}} = \frac{-4 - (-4)}{2 - (-2)} = \frac{0}{4} = 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=12 - 1 = 1.
  • Calculate the 'rise': The vertical distance between the points. From y=1 to y=-4, the rise is −4−1=−5-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=riserun=−51=−5m = \frac{\text{rise}}{\text{run}} = \frac{-5}{1} = -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=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}.
  • Identify the coordinates of the two given points: Point 1 is (x1,y1)=(4,3)(x_1, y_1) = (4, 3) and Point 2 is (x2,y2)=(2,7)(x_2, y_2) = (2, 7).
  • Substitute these values into the slope formula.

📝 Using the slope formula with points (4, 3) and (2, 7): m=7−32−4=4−2=−2m = \frac{7 - 3}{2 - 4} = \frac{4}{-2} = -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+bf(x) = mx + b.

  • The slope-intercept form of a linear equation is y=mx+by = mx + b, where 'm' represents the slope and 'b' represents the y-intercept.
  • In the given function, f(x)=4x−8f(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−8f(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=cax + by = c) to slope-intercept form (y=mx+by = mx + b).

  • The standard form of a linear equation is ax+by=cax + by = c.
  • The slope-intercept form is y=mx+by = 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=123x + 2y = 12:

  1. Subtract 3x3x from both sides: 2y=−3x+122y = -3x + 12.
  2. Divide both sides by 2: y=−3x+122y = \frac{-3x + 12}{2}.
  3. Simplify: y=−32x+6y = -\frac{3}{2}x + 6. The slope 'm' is −32-\frac{3}{2}.

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 (mm) is determined by the difference in output values divided by the difference in input values.
  • Formula: m=ΔyΔxm = \frac{\Delta y}{\Delta x}
  • Example: Given an initial output of 1 and a final output of -2, with corresponding input changes that result in a Δx\Delta x of 1, the slope is calculated as: m=−2−11=−31=−3m = \frac{-2 - 1}{1} = \frac{-3}{1} = -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 (mm) between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is given by m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}.
  • Given values: The differences in coordinates are provided as Δy=3−1\Delta y = 3 - 1 and Δx=5−11\Delta x = 5 - 11.
  • Calculation: m=3−15−11=2−6=−13m = \frac{3 - 1}{5 - 11} = \frac{2}{-6} = -\frac{1}{3}.

📝 For a change in y of 3−13-1 and a change in x of 5−115-11, the slope is −13-\frac{1}{3}.

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 (mm) 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)0 - (-1), and the change in x is 6−46 - 4.
  • Calculation: m=0−(−1)6−4=0+12=12m = \frac{0 - (-1)}{6 - 4} = \frac{0 + 1}{2} = \frac{1}{2}.

📝 If the y-coordinate changes by 0−(−1)0 - (-1) and the x-coordinate changes by 6−46 - 4, the slope is 12\frac{1}{2}.

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 (xx) for which the function's output (yy) 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)f(x), a zero is any value of xx such that f(x)=0f(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)(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=2x=2. Therefore, the zero of the function is x=2x=2.

📝 If a graph of a linear function crosses the x-axis at the point (2,0)(2,0), then the zero of the function is x=2x=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)(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.5x=0.5. Thus, the zero of the function is x=0.5x=0.5.

📝 When a linear function's graph intersects the x-axis at (0.5,0)(0.5,0), its zero is x=0.5x=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 xx) for which the function's output (f(x)f(x)) equals zero. To find the zero of a linear function, we set the function equal to zero and solve for xx.

  • Zero of a function: The xx-value where f(x)=0f(x) = 0.
  • Method: Set the function f(x)f(x) equal to zero.
  • Algebraic steps:
  • Isolate the term containing xx.
  • Solve for xx by dividing by the coefficient of xx.

📝 For the function f(x)=4x−8f(x) = 4x - 8, setting f(x)=0f(x) = 0 gives 4x−8=04x - 8 = 0. Adding 8 to both sides yields 4x=84x = 8. Dividing by 4 results in x=2x = 2. The zero of the function is x=2x=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)f(x) to zero and solve for xx. Careful attention to signs is crucial during the solving process.

  • Function: A linear function with a negative coefficient for the xx term, such as f(x)=−3x+12f(x) = -3x + 12.
  • Procedure:
  • Set f(x)=0f(x) = 0.
  • Rearrange the equation to isolate the xx term.
  • Solve for xx by dividing by the coefficient of xx.

📝 For the function f(x)=−3x+12f(x) = -3x + 12, setting f(x)=0f(x) = 0 gives −3x+12=0-3x + 12 = 0. Subtracting 12 from both sides results in −3x=−12-3x = -12. Dividing both sides by -3 yields x=4x = 4. The zero of the function is x=4x=4.

20.2 Example: Standard form to slope-intercept form

The standard form of a linear equation is Ax+By=CAx + By = C. This can be converted to the slope-intercept form, y=mx+by = mx + b, by solving for yy.

This process involves isolating the yy term and then dividing by its coefficient.

  • Standard form: 3x+2y=123x + 2y = 12.
  • Conversion steps:
  • Subtract 3x3x from both sides: 2y=−3x+122y = -3x + 12.
  • Divide both sides by 2: y=−3x+122y = \frac{-3x + 12}{2}.
  • Simplify: y=−32x+6y = -\frac{3}{2}x + 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 xx-value that makes f(x)f(x) equal to zero. This is particularly straightforward when the function's value at a specific xx is explicitly stated to be zero.

  • Concept: The zero of a function is the xx-value for which f(x)=0f(x) = 0.
  • Method: Observe the given function values to identify the xx that results in an output of 0.

📝 If it is stated that f(3)=0f(3) = 0, this directly indicates that the zero of the function is x=3x=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 xx-value where f(x)f(x) equals zero. For linear functions, this involves algebraic manipulation to isolate xx.

  • Zero of a function: The xx-value that makes f(x)=0f(x) = 0.
  • Process:
  • Set the function expression equal to zero.
  • Solve the resulting equation for xx.

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 xx. This involves isolating the term with xx and then dividing by its coefficient.

  • Equation: 0=−3x+140 = -3x + 14.
  • Steps to solve for x:
  • Add 3x3x to both sides: 3x=143x = 14.
  • Divide both sides by 3: x=143x = \frac{14}{3}.

📝 For the function f(x)=−3x+14f(x) = -3x + 14, setting f(x)=0f(x) = 0 gives 0=−3x+140 = -3x + 14. Rearranging the terms, we get 3x=143x = 14. Dividing by 3, we find x=143x = \frac{14}{3}. The zero of the function is x=143x = \frac{14}{3}.

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 yy-coordinates divided by the change in the xx-coordinates between any two distinct points on the line.

  • Formula for slope (mm): m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}.
  • Given points:
  • Point 1: (x1,y1)=(0,5)(x_1, y_1) = (0, 5).
  • Point 2: (x2,y2)=(−2,11)(x_2, y_2) = (-2, 11).
  • Calculation:
  • Substitute the coordinates into the slope formula: m=11−5−2−0m = \frac{11 - 5}{-2 - 0}.
  • Simplify the numerator: 11−5=611 - 5 = 6.
  • Simplify the denominator: −2−0=−2-2 - 0 = -2.
  • Calculate the slope: m=6−2=−3m = \frac{6}{-2} = -3.

📝 For a line passing through points (0,5)(0,5) and (−2,11)(-2,11), the slope is calculated as m=11−5−2−0=6−2=−3m = \frac{11 - 5}{-2 - 0} = \frac{6}{-2} = -3. The slope of this line is -3.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also