# How do you write an equation of a line passing through (-2, -2), perpendicular to #y=x+1#?

##### 1 Answer

See the entire solution process below:

#### Explanation:

Because the equation given in the problem is in slope-intercept form we can easily determine the slope. The slope-intercept form of a linear equation is:

Where

Therefore the slope of the line from the problem is:

Let's call the slope of a perpendicular line

The slope of a perpendicular line is:

Substituting

Because we are given a point we can use the point-slope formula to find an equation for the line. The point-slope formula states:

Where

Substituting the slope we calculated and the point from the problem gives:

Solution 1)

We can also substitute the values from the problem and the slope we calculated into the slope-intercept formula and solve for

Solution 2)