Writing and Graphing Linear Equations 1
Writing and Graphing Linear Equations 1
Writing and Graphing Linear Equations 1
Writing and
and Graphing
Graphing
Linear
Linear Equations
Equations
Linear equations can be used to
represent relationships.
Writing Equations and Graphing
X Y = 2x + 6 Y (x, y)
1 2(1) + 6 8 (1, 8)
2 2(2) + 6 10 (2, 10)
3 2(3) + 6 12 (3, 12)
4 2(4) + 6 14 (4, 14)
5 2(5) + 6 16 (5, 16)
Real world example
The graph
(c = 5x + 10)
at the left shows the
cost for Company A
cell phone charges.
x y = 2x + 3 y (x, y)
-2
-1
0
1
2
Can you determine if the equation is linear?
The equation y = 2x + 3 is a linear equation
because it is the graph of a straight line. Each
time x increases by 1 unit, y increases by 2.
X y = 2x + 3 Y (x,y)
-2 2 (-2) + 3 -1 (-2, 1)
-1 2(-1) + 3 1 (-1, 1)
0 2(0) + 3 3 (0, 3)
1 2(1) + 3 5 (1, 5)
2 2(2) + 3 7 (2, 7)
Slope
Slope
Rate of change
Slope of a line is its rate of change. The
following example describes how slope (rate of
change) is applied.
Rate of change is also know as grade or pitch,
or rise over run. Change is often symbolized
in mathematics by a delta for which the
symbol is the Greek letter: Δ
Finding slope (rate of change) using a graph
and two points.
If an equation is linear, a constant change in
the x-value corresponds to a constant change
in the y-value. The graph shows an example
where each time the x-value increases by 3,
the y-value increases by 2.
Slopes: positive, negative, no slope (zero),
undefined.
Remember, linear equations have constant
slope. For a line on the coordinate plane, slope
is the following ratio. This ratio is often
referred to as “rise over run”.
Find the slope of the line that passes through
each pair of points.
To make finding
slope easier, find
where the line
crosses at an x and y
junction.
Finding Slope from a
Graph
2x + 3y = 6 2x + 3y = 6
Again, since 2(0) = 0,
Since 3(0) = 0,
2x = 6 3y = 6 just cover up 2x and
solve what’s left.
just cover up the
3y and solve x=3 y=2
what’s left.
2) 2x + 3y = 12
3) 4x = 12 + 3y
4) 2x + y = 7
5) 2y = 20 – 4x
Slope-intercept
Slope-intercept Form
Form
y = mx + b
• An equation
whose graph is a Slope-intercept
straight line is a Form
linear equation.
Since a function
rule is an
equation, a Y = mx + b
function can also (if you know the slope and where
be linear. the line crosses the y-axis,
use this form)
• m = slope
• b = y-intercept
For example in the equation;
y = 3x + 6
m = 3, so the slope is 3
b = +6, so the y-intercept is +6
Let’s look at another:
y = 4/5x -7
m = 4/5, so the slope is 4/5
b = -7, so the y-intercept is -7
Please note that in the slope-intercept formula;
y = mx + b
the “y” term is all by itself on the left side of the
equation.
That is very important!
WHY?
If the “y” is not all by itself, then we must first
use the rules of algebra to isolate the “y” term.
For example in the equation:
2y = 8x + 10
2) m = -½, b = 4 an equation
Y = mx + b
3) m = -3, b = -7
4) m = 1/2 , b = 0
5) m = 2, b = 4
Using slope-intercept form
to find slopes and
y-intercepts
3x – y = 14 x + 2y = 8
-y = -3x + 14 2y = -x + 8
-1 -1 -1 2 2 2
y = 3x – 14 or y = -1x + 4
3x – y = 14 2
3x = y + 14
3x – 14 = y
Write each equation in slope-intercept form.
Identify the slope and y-intercept.
2x + y = 10
-4x + y = 6
4x + 3y = 9
2x + y = 3
5y = 3x
Write the equation of a line in slope-intercept
form that passes through points (3, -4) and
Do you
(-1, 4).
remember
the slope
formula?
2) Choose either point and
substitute. Solve for b.
1) Find the
y = mx + b (3, -4)
slope.
-4 = (-2)(3) + b
4 – (-4) 8
-4 = -6 + b
-1 – 3 -4
2=b
m = -2
Substitute m and b in equation.
Y = mx + b
Y = -2x + 2
Write the equation of the line in
slope-intercept form that passes through
each pair of points.
1) (-1, -6) and (2, 6)
y2 y1
• Step one – Find the m
slope of a line with x2 x1
points (-4, 3), (-2, 1)
1 3 2
1
2 4 2
Step Two – Use either point to write the
equation in point-slope form. Use (-4, 3)
y – y1 = m(x – x1)
Y – 3 = -1[x – (-4)]
Y – 3 = -1(x + 4)
y = mx + b
m = slope
b = y-intercept
(where the line crosses the y-axis)
Point Slope Form
y – y1 = m(x – x1)
m = slope
x = -2
Lines that are vertical have no slope
(it does not exist).
They have “rise”, but no “run”. The rise/run formula
for slope always has a zero denominator and is
undefined.
These lines are described by what is happening to
their x-coordinates. In this example, the x-
coordinates are always equal to -2.
There are several ways to graph a straight line
given its equation.
Let’s quickly refresh our memories on equations of straight
lines:
a. y = 3/7x + 5 b. y = -x + 3
c. y = -x + 2 d. y = -1/3x + 3
2) Does the graph of the straight line
with slope of 2 and y-intercept of 3
pass through the point (5, 13)?
Yes
No
3) The slope of this line is 3/2?
True
False
4) What is the slope of the line
3x + 2y = 12?
a) 3
b) 3/2
c) -3/2
d) 2
5) Which is the slope of the line
through (-2, 3) and (4, -5)?
a) -4/3
b) -3/4
c) 4/3
d) -1/3
6) What is the slope of the line shown in the
chart below?
X 1 3 5 7
Y 2 5 8 11
a) 1
b) 3/2
c) 3
d) 3/5
7) Does the line 2y + x = 7 pass through
the point (1, 3)?
True
False
8) Which is the equation of a line
whose slope is undefined?
a) x = -5
b) y=7
c) x=y
d) x+y=0
9) Which is the equation of a line that
passes through (2, 5) and has slope -3?
a) y = -3x –3
b) y = -3x + 17
c) y = -3x + 11
d) y = -3x +5
10) Which of these equations
represents a line parallel to the line
2x + y = 6?
a) Y = 2x + 3
b) Y – 2x = 4
c) 2x – y = 8
d) Y = -2x + 1