# Find the equation of the line that has a slope of 4 and a y-intercept of 2.

A straight line is a figure formed when two points are connected with minimum distance between them, and both the ends extend to infinity.

## Answer: The equation of the line that has a slope of 4 and a y-intercept of 2 is y = 4x + 2.

Let's look into the steps below.

**Explanation:**

Given: A line with a slope of 4 and a y-intercept of 2.

The slope of a line is defined as the change in y coordinate with respect to the change in x coordinate of that line.

The y-intercept is a point where the graph intersects the y-axis.

We know that the equation of a straight line is given as:

y = mx + c

Here,

- 'm' is the slope of the line.
- 'c' is the y-intercept.

For a line with a slope of 4 and a y-intercept of 2, we have m = 4 and c = 2.

Thus, the equation of the line is y = 4x + 2.

We can also use Cuemath's online equation of a line calculator to find the equation of a line.

### Hence, the equation of a line with a slope of 4 and a y-intercept of 2 is y = 4x + 2.

Math worksheets and

visual curriculum

visual curriculum