# The slope of a line is undefined, and the x-intercept is -7. What is the equation of the line?

**Solution:**

Given: Slope of a line is undefined and the x-intercept is -7

We have the slope-intercept form y = mx + c,

Where m is slope and c is the y-intercept

x-intercept means a point where the line cuts the x-axis

The point can be given as (x, 0) = (-7, 0)

As the given slope is undefined which means the line is parallel to the y-axis; x = k is a vertical line.

Substitute the point in x = k, we get

⇒ x = -7

Hence, the required equation of the line is x = -7

## The slope of a line is undefined, and the x-intercept is -7. What is the equation of the line?

**Summary:**

If the slope of a line is undefined, and the x-intercept is -7 then the equation of the line is x = -7.