44
Straight Lines

Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Embed Size (px)

Citation preview

Page 1: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Straight Lines

Page 2: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

I. Graphing Straight Lines

Page 3: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

1. Horizontal Liney = c

Example: y = 5We graph a horizontal line through the point (0,c), for this example, the point (0,5), parallel to the x

axis

Page 4: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

2. Vertical Linex = c

Example: x = 5We graph a line through the point (c,0), for this example,

the point (5,0), parallel to the y axis

5

Page 5: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

3. Line through the Originy = cx

Example: y = 2xWe find one more point by letting x be any real number, for example x = 5.

In this example if x = 5 then y = 2(5)=10. Thus the line is also through

(5,10). We join (0,0) and (5,10) and extend in both directions.

Page 6: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

4. Line intersecting both Axesy = ax+ b, where a & b are nonzero.

Example: y = 2x +10We find the points of intersection with the axes, by first letting x = 0 and find y ( in this example, we get y = 10), then letting y = 0 and find x ( in this example, we get x = - 5). We plot the resulting two points, in this

example, the points: (0,10) and (-5,0), and extend.

Page 7: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

II. Slope

Page 8: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Slope from two Points of the Line

The slope m of a non-vertical straight line through the points (x1 , y1) and (x2 , y2) is:

m = (y2 - y2) / (x1- x2)Find, if exists, the slope of the line through:1. (5,6) and (5,7)2. (5,6) and (2,6)3. (4,3) and (8,5)3. (5,10) and (6,12)

Page 9: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Solution

1. The slope does not exist. Why?

2. The slope is zero. Why?

Is the slope of every horizontal line equal to zero?

3. The slope =(5-3)/(8-4)= 2/4=1/2

4. The slope = (12– 10)/(6-5) = 2/1 = 2

Page 10: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

The slope of a non-vertical straight line from the Equation

The slope m of a non-vertical straight having the equation ax + by + c = 0 ( What can you say about b?) is; m = - a / b

Find, if exists, the slope of the given line :

1. x = 5

2. y = 6

3. 2y - 1 = x

4. y = 2x.

Page 11: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Solution

1. The slope does not exist. Why?

2. The slope is zero. Why?

Is the slope of every horizontal line equal to zero?

3. Rewrite the equation in the general form:

First rewrite the equation in the general form: 2y - 1 = x → x – 2y + 1 = 0

The slope = - 1 / (-2) = 1 / 2

4. Rewrite the equation in the general form:

y = 2x → 2x – y = 0

The slope = - 2 / (-1) = 2

Page 12: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Finding the Equation from the Slope and a point of the Line

1. The equation of a non-vertical straight line having the slope m and through the point(x0, y0) is:

y - y0 = m ( x - x0)Find, the equation of the straight line

through the point (2 , 4) and:1. Having no slope2. Having the slope 03. Having the slope 3

Page 13: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Solution

1. x = 2 (Why?)

2. y = 4 (Why?)

3. y – 4 = 3 (x – 2)

→ y – 3x + 2 = 0

Page 14: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Finding the Equation from Two Points of the Line

1. Find, the equation of the straight line through the point (2 , 4) and ( 2 , 5)

2. Find, the equation of the straight line through the point (2 , 4) and ( 5 , 4)

3. Having the slope (2 , 4) and ( 5 , 10)

Page 15: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Solution

1. This is a vertical line. What’s the equation?

2. This is a horizontal line. What’s the equation?

3. We find the slope from the two points, and then use that together with one point to find the equation.

Page 16: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Finding the Equation from the Slope & the y-intercept

1. Find, the equation of the straight line with slope 5 and the y-intercept 3

2. Find, the equation of the straight line with slope 5 and y-intercept - 3

3. Find, the equation of the horizontal straight line y-intercept 3

4. Find, the equation of the straight line with slope 5 and the y-intercept 0

Page 17: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Solution

1. This is line with slope 5 and through the point (0,3). What’s the equation of this line?

2. This is line with slope 5 and through the point (0,-3). What’s the equation of this line?

3. This is line through the point (0,3). What’s the equation of a horizontal line through the point (0,3)?

3. This is line with slope 5 and through the point (0,0). What’s the equation of this line?

Page 18: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Parallel & Perpendicular Lines

1. Two non-vertical straight lines are parallel iff they have the same slope.

2. Two non-vertical non-horizontal straight lines are perpendicular iff they the slope of each one of them is equal negative the reciprocal of the slope of the other.

3. A vertical line is parallel only to a vertical line.

4. A vertical line is perpendicular only to a horizontal line or visa versa

Page 19: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Parallel & Perpendicular LinesThat’s:I. if a line L1 and L2 have the slopes m1 and m2

respectively, then:1. L1 // L2 iff m1 = m2

2. L1 ┴ L2 iff m2 = - 1 / m1

II.a. If a line L parallel to vertical line, then L is verticalb. If a line L perpendicular to vertical line, then L is

horizontalc. If a line L perpendicular to horizontal line, then L is

vertical

Page 20: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Examples (1)

a. The following pair of lines parallel (Why?)1. The line x - 2y + 8 = 0 and the line 10y = 5x-122. The line 3 - 2x = 0 and the line x = √23. The line 7y + 4x = 0 and the line 9 – 14y =8x 3. The line 7y – 4 = 0 and the line y = π

b. The following pair of lines perpendicular (Why?)1. The line x - 2y + 8 = 0 and the line 5y = -10x - 122. The line 3 - 2x = 0 and the line y = √23. The line 2x +3y + 8 = 0 and the line 4y = 6x + 7

Page 21: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Examples (2)

yxlinethetolarperpendicuisLIf

yxlinethetoparallelisLIf

LofequationtheFind

pontthethethrouglinestraightabeLLet

322.2

322.1

.

)5,2(

Page 22: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Solution

01132

)2(3

25:,

?)(3

2,

3

2

3

2

0232

:,

322

.1

yx

xyisLofequationtheThus

WhyLlineofslopetheThefore

linethisofslopeThe

yx

formthetoequationthistransformwe

yxlinetheofslopethefindTo

Page 23: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

01623

)2(2

35

:,

2

3

3

21

,

3

2322

:

.2

yx

xy

isLofequationtheThus

LofslopetheThefore

equalisyxlinetheofslopeThe

hadWe

Page 24: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

III. Intersection of Straight Lines

Finding the intersection of two straight lines is solving a system of two linear equation with two unknowns

Page 25: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Several methods of solving systems of two Linear equations of

two variables 1. Algebraic Method

a. Elimination by Substitution

b. Elimination by Addition

2. Cramer’s Rule

3. Geometric Method

Page 26: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

The Algebraic Method

Page 27: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

423

52

:

,

yx

yx

themdefiningequationlinearofsystemthesolve

welinesgiventheoftionecsertinthefindTo

Page 28: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

1

,

2147

,),1()3(

)3(1024

,2)1(

.

1)2(25

,,

21474)25(23

,),2(

25),1(

.

:

)2(423

)1(52

::

y

getweEquationstheofanyinthatngSubstituti

xx

getweEquationtoEquationAdding

yx

byEquationgMultiplyin

additionbyinationmliEb

y

getweEquationstheofanyinthatngSubstituti

xxxx

getweEquationinthatngSubstituti

xygetweEquationFrom

onsubstitutibyinationmliEa

Solution

yx

yx

haveWe

Page 29: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Exercises

)4,8(:

162

84

.4

)50,20(:

20025

16023

..3

)20,40(:

802

16023

.2

)2,3(:

1232

82

.1

:secintint

Answer

yx

yx

Answer

yx

xy

Answer

yx

xy

Answer

yx

yx

linestwogiventheoftionerofpotheFind

Page 30: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Using Cramer’s Rule

Page 31: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Determinants

Page 32: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Two by Two Determinants

61218)4(3)9(294

32

Example

bcaddc

ba

Page 33: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Systems of Linear Equations

Page 34: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Two Equations in Two Unknowns

00

0

221

111

222

121

2221

12110

22221

11211

0

:

yx

yx

yandx

Then

If

ca

caand

ac

ac

aa

aa

Let

Solution

cyaxa

cyaxa

systemthesolve

Page 35: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Example

221

421

21

21

,

021

4240215

82

2132431

38

2115635

32

:

135

832

:

00

0

0

yx

y

x

yandx

Hence

haveWe

haveWe

Solution

yx

yx

systemtheSolve

Page 36: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

The case when Δ0 = 0The left side of the first equation is a k multiple of the left side of the second one, for

some real number k

The right side of the first equation is a k

multiple of the right side of the second one

→ There are finitely many solutions for the system

The right side of the first equation is not a

k multiple of the right side of the second

one.

→ There is no solution for the system

1664

832

)1(

yx

yx

Case

1564

832

)2(

yx

yx

Case

Page 37: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

),0()3

)0(28,0()2,1()

3

)1(28,1(:

)()3

28,(

.3

28

)2(,2)1(

2

&2

0121264

32

1664

832

)1(

38

0

orExample

solutionaisnnumberrealanyforn

npairAny

xy

uknownstwowithequationonehaveweThus

EqgetwebyEqofsidebothgMultiplyin

firsttheofsiderigtthetimesisequationfirsttheofsidelrighttThe

firsttheofsideleftthetimesisequationfirsttheofsideleftThe

Solution

yx

yx

Case

Page 38: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Geometric Method

Page 39: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Example (1)

423

52

:int

yx

yx

linesfollowingtheoftionecsertheFindt

Page 40: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Graph the lines represented by the equations ( Notice that we have distinct lines with distinct slopes; thus they

intersect at exactly one point)

Page 41: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Example (2)

22

52

:int

yx

yx

linesfollowingtheoftionecsertheFindt

Page 42: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Graph the lines represented by the equationsThese lines are parallel and do not intersect (No solution for the

corresponding system exists).

420-2-4

12.5

10

7.5

5

2.5

0

-2.5

-5

x

y

x

y

Page 43: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Example (3)

1024

52

:int

yx

yx

linesfollowingtheoftionecsertheFindt

Page 44: Straight Lines. I. Graphing Straight Lines 1. Horizontal Line y = c Example: y = 5 We graph a horizontal line through the point (0,c), for this example,

Geometric method

Graph the lines represented by the two equations(they are equivalent equations) representing the same lines

420-2-4

12.5

10

7.5

5

2.5

0

-2.5x

y

x

y