使用点求斜率

Before this, know求变化率

Video · + 1 min read

(Video) Finding the Slope of a Line

by PatrickJMT

This video by Patrick JMT explains how to find the slope from points on a graph with both easy and more complicated examples.

Summary\large{\text{Summary}}

If you know two points on a line, you can find the line's slope. Suppose you have the points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2), then the equation for the slope is: slope m=y2−y1x2−x1\text{slope }m=\frac{y_2-y_1}{x_2-x_1} Sometimes, the symbol delta is used to denote change in. For instance, Δy\Delta y means the change in yy-values, or y2−y1y_2-y_1. So, our slope equation can be written as: m=ΔyΔxm=\frac{\Delta y}{\Delta x}

This is just another form of the equation!

Let's look at an example. Here we have two points: (1,2)(1,2) and (5,4)(5,4).

Points (1,2) and (5,4).

Made using Desmos

The change in yy, or Δy\Delta y is the vertical change between the two points.

Change in y is 2.

Made using Desmos

The change in xx, or Δx\Delta x is the horizontal change between the two points.

Change in x is 4.

Made using Desmos

This means the slope of the line through these points is: m=ΔyΔx=24=12m=\frac{\Delta y}{\Delta x}=\frac24=\frac12

Similarly, we can find this by plugging in the two points into the slope equation. It doesn't matter which point you use as the first or the second. m=y2−y1x2−x1m=4−25−1m=24m=12\begin{align} m&=\frac{y_2-y_1}{x_2-x_1}\\ m&=\frac{4-2}{5-1}\\ m&=\frac{2}{4}\\ m&=\frac12 \end{align}

Preparing for a math contest?

Working through past problems on one idea at a time is one of the most effective ways to prepare. These are real problems from the AMC 8, AMC 12 and AIME, the national math competitions for middle and high school students, each with a worked solution on LIVE by Po-Shen Loh.

Interactive · 3 questions

Find Slope Using Points

Given two points, the formula for the slope of a line is m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

To calculate the slope (or gradient), you will always use that equation.

The slope of a parallel line is the same as the slope of the line it is parallel to.

The slope of a perpendicular line is the negative reciprocal of the slope of the line it is perpendicular too.

For example, the two equations below are perpendicular lines. y=2x+2y=−12x+2\begin{align} y&={\color{purple}{2}}x+2\\ y&={\color{purple}{-\frac{1}{2}}}x+2 \end{align} The slope of the first equation is m=2m=2 and the slope of the second equation is the negative reciprocal, m=−12m=-\frac{1}{2}.

Another thing to keep in mind is that horizontal lines have a zero slope, and vertical lines have an undefined slope.

Example

Let's look at this practice problem: A line passes through the points (0,3)(0,3) and (10,−2)(10,-2). When solving for slope it is helpful to label our points for easy reference. (0,3)  (10,−2) x1 y1     x2    y2\begin{align} &(0,3)\ \ (10,-2)\\ &\ ^{x_1}\ ^{y_1}\ \ \ \ \ ^{x_2}\ \ \ \ ^{y_2} \end{align} Once we've done this we can plug our values into our slope formula. m=y2−y1x2−x1m=(−2)−(3)(10)−(0)m=−510m=−12\begin{align} m&=\frac{y_2-y_1}{x_2-x_1}\\ m&=\frac{{\color{#8925AE}{(-2)}}-{\color{#8925AE}{(3)}}}{{\color{#8925AE}{(10)}}-{\color{#8925AE}{(0)}}}\\ m&=\frac{-5}{10}\\ m&=-\frac{1}{2} \end{align}

Practice 1

Find the slope of the line through the points (−2,−3)(-2,-3) and (3,22)(3,22).

Choose one answer

Interactive · 1 question

Slope

If you know any two points on a line, you can find the slope of the line!

If you know any two points on a line, (x1, y1) and (x2, y2), you can find the slope of the line! Slope = (y2-y1)/(x2-x1).

Image source: By Caroline Kulczycky

If the slope of a line is 4,4, what could two of the points be?

Choose one answer

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems