Suppose that you sent out a text message to all of your friends, asking them what information was needed to write the equation of a line. One of your friends responded that all you need is the slope of the line and a point on the line. Do you think that your friend was correct? If so, does it matter what point you have, and how could you use this information to come up with the equation? In this Concept, you'll get answers to these questions so that you can judge the merits of your friend's advice.

### Guidance

Previously, you learned how to graph solutions to two-variable equations in slope-intercept form. This Concept focuses on how to write an equation for a graphed line when given the slope and a point. There are two things you will need from the graph to write the equation in slope-intercept form:

- The
y− intercept of the graph - The slope of the line

Having these two pieces of information will allow you to make the appropriate substitutions in the slope-intercept formula. Recall the following:

Slope-intercept form:

#### Example A

Write the equation for a line with a slope of 4 and a

**Solution:** Slope-intercept form requires two things: the slope and

You can also use a graphed line to determine the slope and

#### Example B

*Use the graph below to write an equation in slope-intercept form.*

**Solution:**

The

**Writing an Equation Given the Slope and a Point**

You will not always be given the

**Step 1:** Begin by writing the formula for slope-intercept form:

**Step 2:** Substitute the given slope for

**Step 3:** Use the ordered pair you are given

**Step 4:** Solve for

**Step 5:** Rewrite the original equation in Step 1, substituting the slope for

#### Example C

*Write an equation for a line with a slope of 4 that contains the ordered pair (–1, 5).*

**Solution:**

**Step 1:** Begin by writing the formula for slope-intercept form.

**Step 2:** Substitute the given slope for

**Step 3:** Use the ordered pair you are given, (–1, 5), and substitute these values for the variables

**Step 4:** Solve for

**Step 5:** Rewrite

### Guided Practice

Write the equation for a line with a slope of –3 containing the point (3, –5).

**Solution:**

Using the five-steps from above:

### Practice

Sample explanations for some of the practice exercises below are available by viewing the following video. Note that there is not always a match between the number of the practice exercise in the video and the number of the practice exercise listed in the following exercise set. However, the practice exercise is the same in both. CK-12 Basic Algebra: Linear Equations in Slope-Intercept Form (14:58)

- What is the formula for slope-intercept form? What do the variables
m andb represent? - What are the five steps needed to determine the equation of a line given the slope and a point on the graph (not the
y− intercept)?

In 3 – 13, find the equation of the line in slope–intercept form.

- The line has a slope of 7 and a
y− intercept of –2. - The line has a slope of –5 and a
y− intercept of 6. - The line has a slope of -2 and a
y− intercept of 7. - The line has a slope of
23 and ay− intercept of45 . - The line has a slope of
−14 and contains the point (4, –1). - The line has a slope of
23 and contains the point(12,1) . - The line has a slope of –1 and contains the point
(45,0) . - The slope of the line is
−23 , and the line contains the point (2, –2). - The slope of the line is –3, and the line contains the point (3, –5).