Find the Slope of an Equation

The slope of a line is a measure of how fast it is changing. This can be for a straight line -- where the slope tells you exactly how far up (positive slope) or down (negative slope) a line goes while it goes how far across. Slope can also be used for a line tangent to a curve. Or, it can be for a curved line when doing Calculus, where slope is also known as the "derivative" of a function. Either way, think of slope simply as the "rate of change" of a graph: if you make the variable "x" bigger, at what rate does "y" change? That is a way to see slope as a cause and an effect event.

Steps

Finding the Slope of a Linear Equation

  1. Use slope to determine how steep, and in what direction (upward or downward), a line goes. Finding the slope of a line is easy, as long as you have or can setup a linear equation. This method works if and only if:
    • There are no exponents on the variables
    • There are only two variables, neither of which are fractions (for example, you would not have <math>\frac{1}{x}</math>
    • The equation can be simplified to the form <math>y = mx + b</math>, where m and b are constants (numbers like 3, 10, -12, <math>\frac{4}{3}, \frac {3}{5}</math>).[1]
  2. Find the number in front of the x, usually written as "m," to determine slope. If your equation is already in the right form, <math>y = mx + b</math>, then simply pick the number in the "m" position (but if there is no number written in front of x then the slope is 1). That is your slope! Note that this number, m, is always multiplied by the variable, in this case an "x." Check the following examples:
    • <math>y = 2x + 6</math>
      • Slope = 2
    • <math>y = 2 - x</math>
      • Slope = -1
    • <math>y = \frac{3}{8}x - 10</math>
      • Slope = <math>\frac{3}{8}</math> [2]
  3. Reorganize the equation so one variable is isolated if the slope isn't apparent. You can add, subtract, multiply, and more to isolate a variable, usually the "y." Just remember that, whatever you do to one side of the equal sign (like add 3) you must do to the other side as well. Your final goal is an equation similar to <math>y = mx + b</math>. For example:
    • Find the slope of <math>2y - 3 = 8x + 7</math>
    • Set to the form <math>y = mx + b</math>:
      • <math>2y - 3 + 3= 8x + 7 + 3</math>
      • <math>2y = 8x + 10</math>
      • <math>\frac{2y}{2} = \frac{8x + 10}{2}</math>
      • <math>y = 4x + 5</math>
    • Find the slope:
      • Slope = M = 4[3]

Finding the Slope with Two Points

  1. Use a graph and two points to find slope without the equation handy. If you've got a graph and a line, but no equation, you can still find the slope with ease. All you need are two points on the line, which you plug into the equation <math>\frac{y_2 - y_1}{x_2 - x_1}</math>. While finding the slope, keep in mind the following information to help you check if you're on the right track:
    • Positive slopes go higher the further right you go.
    • Negative slopes go lower the further right you go.
    • Bigger slopes are steeper lines. Small slopes are always more gradual.
    • Perfectly horizontal lines have a slope of zero.
    • Perfectly vertical lines do not have a slope at all. Their slope is "undefined."[3]
  2. Find two points, putting them in simple (x,y) form. Use the graph (or the test question) to find the x and y coordinates of two points on the graph. They can be any two points that the line crosses through. For an example, assume that the line in this method goes through (2,4) and (6,6).[4]
    • In each pair, the x coordinate is the first number, the y coordinate comes after the comma.
    • Each x coordinate on a line has an associated y coordinate.
  3. Label your points x1, y1, x2, y2, keeping each point with it's pair. Continuing our first example, with the points (2,4) and (6,6), label the x and y coordinates of each point. You should end up with:
    • x1: 2
    • y1: 4
    • x2: 6
    • y2: 6[3]
  4. Plug your points into the "Point-Slope Formula" to get your slope. The following formula is used to find slope using any two points on a straight line: <math>\frac{y_2 - y_1}{x_2 - x_1}</math>. Simply plug in your four points and simplify:
    • Original Points: (2,4) and (6,6).
    • Plug into Point Slope:
      • <math>\frac{6 - 4}{6 - 2}</math>
    • Simplify for Final Answer:
      • <math>\frac{2}{4} = \frac{1}{2}</math> = Slope
  5. Understand how the Point-Slope Formula works. The slope of a line is “Rise over Run:” how much the line goes up divided by how much the line "runs" to the right. The “rise” of the line is the difference between the y-values (remember, the Y-axis goes up and down), and the “run” of the line is the difference between the x-values (and the X-axis goes left and right).
  6. Recognize other ways you may be tested to find slope. The equation of the slope is <math>\frac{y_2 - y_1}{x_2 - x_1}</math>. This may also be shown using the Greek letter “Δ”, called “delta”, meaning “difference of”. Slope can also be shown as Δy/Δx, meaning "difference of y / difference of x:" this is the same exact question as "find the slope between

Using Differential Calculus to Find the Slope of a Curve

  1. Review how to take a variety of derivatives from common functions. Derivatives give you the rate of change (or slope) at a single point on a line. The line can be curved or straight -- it doesn't matter. Think of it as how much the line is changing at any time, instead of the slope of the entire line. How you take derivatives changes depending on the type of function you have, so review how to take common derivatives before moving on.
  2. Understand what questions are asking for a slope using derivatives. You will not always be asked to explicitly find the derivative or slope of a curve. You might also be asked for the "rate of change at point (x,y). You could be asked for an equation for the slope of the graph, which simply means you need to take the derivative. Finally, you may be asked for "the slope of the tangent line at (x,y)." This, once again, just wants the slope of the curve at a specific point, (x,y).
    • For this method, consider the question: "What is the slope of the line <math>f(x) = 2x^2 + 6x</math> at the point (4,2)?"[5]
    • The derivative is often written as <math>f'(x), y',</math> or <math>\frac{dy}{dx}</math>[6]
  3. Take the derivative of your function. You don't even really need you graph, just the function or equation for your graph. For this example, use the function from earlier, <math>f(x) = 2x^2 + 6x</math>. Following the methods outlined here, take the derivative of this simple function.
    • Derivative: <math>f'(x) = 4x + 6</math>
  4. Plug in your point to the derivative equation to get your slope. The differential of a function will tell you the slope of the function at a given point. In other words, f’(x) is slope of the function at any point (x,f(x)) So, for the practice problem:
    • What is the slope of the line <math>f(x) = 2x^2 + 6x</math> at the point (4,2)?
    • Derivative of Equation:
      • <math>f'(x) = 4x + 6</math>
    • Plug in Point for x:
      • <math>f'(x) = 4(4) + 6</math>
    • Find the Slope:
    • The slope of the <math>f(x) = 2x^2 + 6x</math> at (4,2) is 22.
  5. Check your point against a graph whenever possible. Know that not all points in calculus will have a slope. Calculus gets into complex equations and difficult graphs, and not all points will have a slope, or even exist on every graph. Whenever possible, use a graphing calculator to check the slope of your graph. If you can't, draw the tangent line using your point and the slope (remember -- "rise over run") and note if it looks like it could be correct.
    • Tangent lines are just lines with the exact same slope as your point on the curve. To draw one, go up (positive) or down (negative) your slope (in the case of the example, 22 points up). Then move over one and draw a point. Connect the dots, (4,2) and (26,3) for your line.



Related Articles

Sources and Citations