How To Write Linear Equations
25 views
Feb 19, 2025
In our last section( 2.3), we learned how to determine slopes/ or rate of change of lines. In Section 2.4, we'll learn first how to write the equation of a line given the slope and point of the line. We'll also learn how to write an equation of a line parallel or perpendicular to a given line. Chapters: 00:00 Introduction 00:39 Introducing the slope intercept form 01:56 How to write an equation of a line given its graph 06:45 How to write an equation of a line given its y intercept and a point 09:01 How to write an equation of a line given two points 12:22 Perpendicular and parallel lines' equations
View Video Transcript
0:00
all right so we are going to start like
0:02
writing linear equations and I'm sure
0:05
you guys love the y = mx plus b a lot of
0:07
people like that so this section should
0:10
be fine okay now before we start we need
0:14
to understand what what is a linear
0:16
equation we've been talking about linear
0:17
functions and linear equation for the
0:19
last two weeks so a linear equation
0:23
first of all it forms a line right
0:25
that's why the word linear is there
0:27
second a linear equation
0:30
equation is always written in the form
0:33
yals what mx + b that should be like
0:37
second nature now we should know this by
0:39
Heart Right algebra one prealgebra we've
0:42
learned it so a linear equation is
0:44
always in the form yal MX plus B and M
0:48
and and m stands for what the slope
0:51
right the slope is it tells you what
0:52
direction the line is going is either
0:54
going up down uh uh slanted is it flat
1:00
so the slope gives you that right it
1:02
gives you the direction of the line and
1:04
then B is the Y intercept the Y
1:06
intercept meaning where the line crosses
1:09
the Y AIS right so these are the most
1:12
important one m and b they always going
1:14
to be there
1:16
now B the Y intercept is written this
1:19
way zero and B Because when you have a y
1:21
intercept that means that the line is
1:23
crossing the y axis and at that specific
1:25
point the x coordinate is what zero this
1:29
this is why he crossing the y axis CU
1:32
you you're going through the y axis that
1:34
means the x coordinate is zero right now
1:37
this equation here y = mx + b is called
1:41
the
1:41
slope intercept from slope incept form
1:46
that's what you call it all right this
1:48
is what you call that y = mx plus v now
1:52
the first thing that we're going to do
1:53
with this equation is we're going to
1:55
learn how to write an equation given the
1:57
graph of the line so when you see the
2:00
graph of a line can you graph an
2:02
equation given the graph of a line right
2:05
we're going to learn how to do that
2:07
because we know now that every line is
2:09
in the form what y = mx + b correct so
2:16
now I have this line here right before
2:18
we even start if you look at the Blue
2:19
Line right do you think the slope is
2:22
going to be positive or
2:24
negative negative why it's going it's
2:27
going down right so we already know it's
2:30
going to be a negative slope that's the
2:31
first indication right so that means if
2:33
you find your slope and it's positive
2:35
that means that you did something wrong
2:38
right so always start with that you know
2:40
that the slope is negative now that we
2:42
know that the slope is negative the best
2:44
way to do this is this we need to find
2:46
the Y intercept is the easiest to find
2:48
isn't it what's the Y
2:51
intercept uh
2:53
Co what's the Y intercept on this line
2:56
your blue line what's the y intercept
3:02
um
3:05
negative what does that mean the Y
3:08
intercept like where it starts kind no
3:11
what's the Y who knows the definition
3:14
yeah um it's -2 cross I
3:18
said2 no you Saida one or something I no
3:21
I said2 so did you mean this side this
3:23
here yeah okay but if that's yeah all
3:26
right so where the line crosses the Y
3:28
AIS wait I
3:30
right I right you got it right why why
3:33
did you say no I don't know I I don't
3:35
think I heard -2 so where the line
3:38
crosses the y axis right right here 0 so
3:41
0 -2 okay now what is the letter for the
3:45
Y intercept in our equation K what's the
3:49
letter for the Y intercept in the
3:53
equation x that's not x what is
3:56
it b b we talk we just talked about B is
4:00
the Y intercept in the equation B is the
4:03
Y intercept right so that means B is
4:06
equal to
4:08
what -2 -2 so now we know that b is
4:11
equal to -2 so we know that right so we
4:14
can build our equation now we're going
4:16
to go y = mx + -2 because we know the Y
4:21
intercept right now what is missing so
4:23
that our equation is
4:25
complete what is missing slope the slope
4:29
now how do I find the slope you
4:32
do
4:36
uh 1 + 2
4:39
over uh2 right 0 - 2 yeah because to
4:44
find a slope you need to have any points
4:45
to find the slope two points right so
4:48
since we already have this I've already
4:49
given you this one we have 0 -2 and -2 1
4:53
now we can find the
4:55
slope because now we have everything
4:57
right so we're going to go the slope
4:58
formula this is going to follow you for
5:00
a long time until you leave the school
5:02
and probably go to college you're always
5:04
going to talk about the slope right m is
5:07
Y 2 - y1 over X2 - X1 this is how you
5:11
find the slope right now my Y2 in this
5:15
case is I chose -2 1 X2 Y2 and y1 X1 I
5:20
chose -2 and zero does that make sense
5:23
are we good right and now I can find my
5:26
slope so I'm going to do -1 - -2 now be
5:29
careful because on the homework
5:31
assignment that I just gave back some of
5:33
you guys have the X up and the y in the
5:37
denominator you have to really be
5:38
careful when you do that you need to be
5:40
able to recognize what's Y 2 what's y1
5:44
because if you don't do that you're
5:45
going to get it wrong and then once you
5:47
you the slope is wrong everything else
5:48
is wrong so you got to make sure you do
5:50
that correctly okay so our slope is -2
5:54
so the rest is just plugging the slope
5:56
value right so now that we know the
5:58
slope is2 we're going to replace it or
6:01
substitute it in the equation and now we
6:03
have y = -1x + -2 or simply -1x - 2 does
6:11
that make sense okay so again recap find
6:15
this find the Y intercept if it is given
6:18
in the equation and then find the slope
6:20
all right now case number two how do you
6:24
write the equation given the slope and
6:28
the point
6:30
here we did what we had the Y intercept
6:34
and then the point right now we have the
6:36
slope and then we have a point so how do
6:38
you find the
6:41
equation right so we start again our
6:44
starting point is always going to be
6:45
what y = mx + b always start with your
6:50
foundation right at the outset you
6:53
already know that this is a linear
6:54
equation so this is going to be where we
6:56
going to start does that make sense
7:01
yes or no yeah all right so if I know y
7:04
= mx plus b now what do I go from here
7:06
sh what I know that this is my equation
7:09
Y = MX plus b I know slope is4 so what
7:11
do I do first you plug it in I plug it
7:14
in right yeah I have 4x + B now what am
7:17
I missing your b b so how do I find
7:21
B is the question right how do we find B
7:25
we know that this is -4x + B now here's
7:28
what we do we know that the line is
7:31
going to go through what 6
7:33
and -2 right so to find B we're going to
7:38
replace X by what 6 and Y by -2 and
7:43
solve
7:44
for b right easy stuff so you going to
7:49
go -2 = -4 * 6 + B why are we doing this
7:53
because we know that the line is going
7:54
through what 6 and -2 so we can choose
7:58
to plug here to solve for
8:01
b does that make sense and now when we
8:04
solve it so we know -2 is -4 + b b just
8:08
going to be plus 24 B is 22 and then you
8:11
replace it back into your equation right
8:14
once you find B now we know what B is in
8:16
first we know B we can replace it and
8:19
substitute it and B is POS 22 so the
8:23
equation is -4x +
8:26
22 does that make sense all right so now
8:30
case number three we're going to have
8:33
another case is when we have two points
8:36
and now how do we graph the line okay so
8:39
let's say I have -27 can I raise this
8:43
one in the middle yeah all
8:50
right so basically how to write an
8:53
equation
8:55
given two points
8:57
right and
9:00
let's assume that we have the two points
9:03
are uh
9:08
-27 and then three and -3 right so I
9:11
have two points like this and now I want
9:14
to graph my equation where do I start
9:16
what's my Foundation
9:18
again pck where do I
9:24
start so I I first have to write what
9:27
down my equation right what is it y YX
9:32
plus b you start here always right now
9:36
what am I missing in this
9:39
case huh both of them right I'm missing
9:42
what M and I'm also missing B right I'm
9:46
missing both of them so the first thing
9:47
I can find is what I can find I'm giving
9:51
two point what can I do here I can find
9:54
not graphic slope slope right I can find
9:58
the slope and how am I going find
10:00
it uh tell me how am I going to find
10:06
it y all
10:09
right all right so we going to call this
10:11
Y2 X2 right so we're going to go 7 - -3
10:15
right over what -2 - 3 so that is 7 + 3
10:21
that's 10 over5 so the slope
10:25
is -2 right the slope is so we know we
10:30
go back -2x + B now we are only missing
10:33
one piece which is the B right so to
10:37
find B what are we going to do we're
10:38
going to do use the same method that we
10:40
use here I can choose either one of
10:42
these it doesn't matter which one I
10:44
choose right I can choose this or I can
10:49
choose this point because I know that
10:50
the line is going through e both of
10:52
those points anyway so let me say I
10:54
choose 3 and3 so I'm going to replace X
10:56
here by what
11:00
what three and then y
11:03
by3 right so I'm going to go -3 = -2 * 3
11:08
+ B and then solve for b right so that
11:12
is -3 = -6 + B and we going to add six 6
11:18
so 3 is equal to B so now I have B now I
11:22
can write my equation because B is known
11:24
so Y is =
11:27
-2X do you need to do the one or can you
11:30
do the two I can do either one it's
11:33
going to give me the same answer you can
11:35
choose this or that because the line is
11:36
going through either one of those so the
11:38
outcome is always going to be the same
11:41
all right so the outcome is is going to
11:43
be the same because it doesn't matter
11:45
which one I choose I'm going to get the
11:48
same thing all right now we're going to
11:51
talk about
11:53
two other things right we're going to
11:56
talk about can I erase this
12:00
we're going to talk about perpendicular
12:02
lines and parallel lines okay
12:04
perpendicular and
12:06
parallel
12:14
perpendicular and then par
12:17
lines so what do you know about
12:19
perpendicular lines what do they have if
12:22
two lines are perpendicular what what am
12:23
I saying um yeah they intersect of the
12:26
right angle they intersect at the right
12:28
angle right so perpendicular line will
12:30
look like this they're going to
12:32
intersect at a right angle right that's
12:36
perpendicular line okay what about
12:38
parallel
12:40
lines somebody else beside JD they're
12:42
beside other never touch they never
12:44
touch right they never touch those are
12:48
going to be parallel lines they're going
12:49
to be like this now there's a
12:51
relationship between the two
12:53
right with line they have what the same
12:57
what line have the same SL slope so if I
13:01
have y = 3x - 1 and y = 3x + 2 these two
13:07
lines are going to be parallel lines
13:10
because they have the same slope so in
13:14
other words parallel
13:17
line lines
13:20
have the
13:23
same slope that's just a given it's
13:27
always going to be true no matter where
13:28
you go China Africa wherever you go par
13:31
lines are always going to have the same
13:32
slope it doesn't matter where you go
13:34
this is an objective truth right they
13:37
always going to have the same slope what
13:39
about perpendicular line what's the
13:41
relationship between their slope yes sir
13:43
does that what you do with reciprocal
13:45
reciprocal and what else 0 no reciprocal
13:49
and negative opposite reciprocal and
13:52
opposite yeah so let's say for examp
13:54
have y
13:55
= 14 x + five the if a line is
14:01
perpendicular to this line the slope
14:03
will be
14:05
-4x over 1 + 5 right that inverse and
14:10
opposite be yeah but I just did it to
14:13
just show what's going on I could just
14:15
leave at4 but I wanted to show that you
14:17
actually reverse it right so for example
14:19
if I have a line with the slope n = 23
14:23
and I want to find a line that's
14:24
perpendicular to this line what would be
14:25
the slope of that new line uh3 to 32
14:30
right 32 because you reverse it and it's
14:33
negative or opposite right cuz if this
14:36
is opposite then will be positive that
14:38
one will be positive but reversed does
14:39
that make sense yeah now we're going to
14:42
try to build an equation of a line using
14:45
this information so let's assume
14:49
that um
14:59
time is class uh I don't know
15:03
25 really 2 oh we just warming up we
15:07
just
15:08
warming we just warming up end actually
15:11
just goes right to the beginning like
15:12
Groundhog Day
15:15
oh we
15:18
just we're just warming up right all
15:20
right I hate that
15:24
movie can I get water goe so what what's
15:29
the what's the
15:30
purpose what's the purpose of a
15:33
groundhog I don't know what's the
15:35
groundhog doing I know he comes out of
15:37
the hole and tells us that we're going
15:38
to have a early winter or
15:40
whatever he's trying his best he's
15:47
accurate anyway hold let me finish this
15:49
so we can go back to let me finish this
15:52
real quick all right so here's the thing
15:55
now let's say I want to find a line
15:57
right that's perpendicular this line
15:59
find the
16:01
equation find the equation Mr yeah why
16:05
are you all dressed up today I'm not
16:07
dressed
16:09
up Ain dressed up I ain't got no dress
16:12
shoes
16:13
on that's
16:17
prepic to this to the line
16:22
above and that
16:27
goes through
16:30
5 -6 so we want to find a line that's
16:33
perpendicular to this line right and
16:36
that goes to 5 -6 so where do I start
16:39
what's my starting point
16:41
Nate what's my starting
16:44
point
16:49
M before we do that before we even do
16:52
that yx+ b right I I always want to
16:56
start here that's point1 now i' I've
16:59
been given some information I want to
17:01
find the equation of the line that is
17:02
perpendicular to this
17:04
line right so what does that say about
17:07
the slope of that line it's going to
17:09
be it's going to be 2/3 there you go 2/3
17:13
that's perfect so the slope M will be 23
17:16
because it's what it's inverse and
17:18
opposite right so be y = 23 X plus b now
17:23
I'm only missing what I'm only missing
17:25
one thing here what am I missing the Y
17:27
intercept y intercept I find it replace
17:30
5 and6 that's it we replace X by 5 and Y
17:35
by -6 right so we're going to go 23 * -5
17:39
+ B okay now we have this so we have
17:43
-6 oh yeah posit 5 you right so that
17:46
would be 10 over 3 + B right now check
17:49
this out so I want to get rid of the
17:51
fraction right cuz I don't want to deal
17:53
with a fraction so what do I do here
17:54
multiply by multiply everything by three
17:57
right from last chapter everything by
18:00
3 so we get -8 = 10 + 3 B and then we
18:06
just solve for b from here does that
18:08
make sense the
18:10
-10 -10 so I get
18:13
-28 = to 3B and then divide this by
18:17
3 so B is 28 3 so Y is =
18:22
23 x - 28 / 3 and that's the equation of
18:28
the line does that make sense right and
18:31
if you wanted to find a line that is
18:33
parallel to this line going through this
18:35
you would do the same thing but the
18:36
differences the slope will be what the
18:39
same right when they parallel line the
18:41
slope is the samees that make sense
18:44
parallel lines same slope perpendicular
18:46
line reverse and opposite all right so
18:50
that concludes this section so remember
18:53
this week we're going to have a
#Mathematics
#Teaching & Classroom Resources