Chapter 2 Section 4 Writing Equations of Lines. Slope-Intercept Form: Given the slope m and the...

Post on 21-Jan-2016

239 views 0 download

Tags:

Transcript of Chapter 2 Section 4 Writing Equations of Lines. Slope-Intercept Form: Given the slope m and the...

Chapter 2Section 4

Writing Equations of Lines

Slope-Intercept Form: Given the slope m and the

y-intercept b, use this equation:

f(x) = m x + bPoint Slope Form: Given the slope m and a point

(x1, y1), or given two points, (x1, y1), and (x2, y2), use this equation:

f(x) – y1 = m (x – x1)

Writing An Equation of a Line

Point – Slope FormTo write an equation of a line in point – slope form, all you need is …

… Any Point On The Line …

… The Slope …

(x1, y1)

m

Once you have these two things, you can write the equation as

f(x) – y1 = m (x – x1)

That’s “y minus the y-value of the point equals the slope times the quantity of x minus the x-value of the point”.

Example

Write an equation of the line shown.

2

3x

y

+2

+3

From the graph you can see that m =

b = -3

So the equation is 32

3)( xxf

Use f(x) = mx + b

ExampleWrite the equation of the line that goes through the point (2, 3) and has a slope of -1/2.

Point = (2, 3)

Slope = -1/2

f(x) – y1 = m (x – x1)

f(x) - 3 = -1/2 (x – 2)

Starting with the point – slope form

Plug in the y-value, the slope, and the x-value to get

f(x) – 3 = -1/2x + 1

f(x) = -1/2x + 4

GraphingGraphing

Graph your result:

42

1)( xxf

Parallel Lines have slopes that are the same.

Perpendicular Lines have slopes that are opposite reciprocals.

ExampleExample

Write an equation of the line that passes through (3, 2) and is parallel to f(x) = -3x +2

ExampleExampleWrite an equation of the line that passes

through (3, 2) and is perpendicular to f(x) = -3x +2

Graph the results

Original Linef(x) = -3x + 2

Parallel Linef(x) = -3x +11

Perpendicular Linef(x) = 1/3 x + 1

ExampleWrite the equation of the line that goes through the points (6, –4) and (2, 8) .

Point = (6, –4)

Slope = –3

f(x) + 4 = –3 (x – 6)

f(x) +4 = -3x +18

f(x) = -3x +14

We have two points, but we’re missing the slope. Using the formula for slope, we can find the slope to be

( )8 4 12 32 6 4

m- -

= = =-- -

Point = (2, 8)

Slope = –3

To use point – slope form, we need a point and a slope. Since we have two points, just pick one … IT DOESN’T MATTER … BOTH answers are acceptable… more on why later.

f(x) – 8 = –3 (x – 2)

f(x) – 8 = -3x +6

f(x) = -3x +14

Using the first point, we have, Using the second point, we have,

f(x)2 – f(x)1

x2 – x1

Other Forms of Linear EquationsSo far, we have discussed only point-slope form. There are other forms of equations that you should be able to identify as a line and graph if necessary.

Horizontal Line: f(x) = c , where c is a constant.

Vertical Line: x = c , where c is a constant.

Slope – Intercept Form: f(x) = mx + b

Standard Form: Ax + By = C

m = the slope of the line … b = the y-intercept

Example: f(x) = 3

Example: x = –6

Example: f(x) = 3x – 6

A, B, and C are integers.

Example: 3x + 4y = –36

ExampleRewrite each of the equations below in standard form.

y – 6 = (x + 4)32

f(x) = x – 423

Exit Problems1. Write the equation of the line that goes through

the point (–3, 4) and has a slope of .

2. Write the equation of the line that passes through (2, -3) and is (a) perpendicular to and (b) parallel to the line

f(x) = 2x – 3.

3. Write an equation of a line that passes through (-2, -1) and (3, 4).

3

2