# What is the equation of a line passing through the point (a, b) and having a slope of b?

We will use the concept of the point-slope form of a straight line to find the equation.

## Answer: y = b (x - a + 1)

Let us see how we will use the concept of the point-slope form of the straight line to find the equation.

**Explanation:**

We will use the definition of slope to find the slope

Let us consider another point on the line that is (x, y).

Hence, the slope of the line passing through the points (x, y) and (a, b) is equal to

Slope = (y - b) / (x - a) = b

Therefore, y - b = b (x - a)