# What is the slope of the line represented by the equation y = –x + 7?

The slope is one of the most important concepts related to geometry. The slope of a line is nothing but the change in y coordinate with respect to the change in x coordinate of that line. Let's solve a problem related to this concept.

## Answer: The slope of the line represented by the equation y = –x + 7 is -1.

Let's understand how did we find the slope of the given equation.

**Explanation:**

We know that the slope is nothing but the first derivative of the given function at a particular point. In the case of straight lines, the slope is constant.

Therefore, we differentiate the given equation to find dy/dx.

⇒ dy/dx = -1 + 0

⇒ dy/dx = -1

Hence, we find the slope to be -1.

Another method to find the slope is to find two random points on the straight line and then using the slope formula (y_{2} - y_{1} / x_{2} - x_{1}) we find the slope of the line.