Intro to Graphs

advertisement
Intro to Graphs
2 is a real number, and 3 is a real number. We can take those two numbers
and write them as a pair of real numbers: (2, 3). When we write a pair of
real numbers, the order is important. That is to say that (2, 3) is not the
same pair as (3, 2).
Unfortunately, (2, 3) is also the way we write the interval of real numbers
between 2 and 3. We have to try hard to never confuse a pair of numbers
for an interval, but it’s usually clear from the context of a problem whether
(2, 3) refers to a pair of numbers or to an interval.
R2 √
is the set of all pairs of real numbers. So (2, 3) ∈ R2 , and (3, 2) ∈ R2 ,
and ( 2, −7) ∈ R2 , etc.. Any pair of real numbers is called a point in R2 .
Suppose f : A → B is a function with A ⊆ R and B ⊆ R. The graph of f
is the subset of R2 consisting of all points of the form (a, f (a)).
Examples.
• If f : R → R is the function f (x) = 5x, then f (3) = 5(3) = 15. We
put 3 in, and got 15 out. That means the point (3, 15) is in the graph of f .
Also, f (1) = 5, so (1, 5) is a point in the graph of f , and (2, f (2)) = (2, 10)
is a point in the graph of f as well.
• Suppose g : R → R is the function where g(x) = x − 2. If you put 2
in to g, then 0 comes out. That means the point (2, 0) is in the graph of g.
*
*
*
*
*
*
*
50
*
*
*
*
*
*
Drawing R22
Drawing
2a plane. The first coordinate of a point in R2 measures the
The set R2Ris
Drawing
R
2
2
The set RThe
is a plane.number
The first
coordinate
of a point in R 2measures the
horizontal.
measures
the vertical.
The set R2 issecond
a plane. The first
coordinate
of a point in R measures the
horizontal. The second number measures the vertical.
horizontal.
second
thecreates
vertical.
The set of The
points
in R2number
of the measures
form (x, 0)
a horizontal line called
2
The
set
of
points
in
R
of
the
form
(x,
0)
creates
a
horizontal line called
theThe
x-axis.
set of points in R2 of the form (x, 0) creates a horizontal line called
the x-axis.
the
Thex-axis.
set of points in R2 of the form (0, y) creates a vertical line called the
The set of points in R2 2of the form (0, y) creates a vertical line called the
y-axis.
The set of points in R of the form (0, y) creates a vertical line called the
y-axis.
y-axis.
2
51
46
Drawing
graphs
Drawing
graphs
Drawing
graphs
2
The
graph
of aisfunction
isofa R
subset
R2 . You
it byall
marking
The graph
of
a
function
a
subset
.
You
it bydraw
ofall of all of
2 ofdraw
The graph of a function is a subset of R . You draw
itmarking
by marking
the
points
in the graph.
Drawing
the points
in the
graph.
the points
ingraphs
the graph.
TheGraphs
graph of aoffunction
is a subset
of R2 . You draw it by marking all of
important
functions
Graphs
of important
functions
Graphs
ofthe
important
functions
the
points in
graph.
Some
functions
are
important
in mathematics
that you
be
SomeSome
functions
are important
enough
in enough
mathematics
that that
you should
be should
functions
are important
enough
in mathematics
you should
be
able their
to
their
graphs
quickly
you will be to
required to do so on
of draw
important
functions
able Graphs
to draw
graphs
quickly
(and
you (and
will
able
to draw
their
graphs
quickly
(and
you be
willrequired
be requireddotosodoonso on
A list
ofimportant
these important
functions
includesthat
constant
functions;
exams).
Aexams).
list
these
important
functions
includes
constant
functions;
the the
Some
functions
are
enough
in mathematics
you
should
be the
exams).
Aoflist
of these
important
functions
includes
constant
functions;
n
n
n f (x) = x for n ∈ N odd
identity
function
id;
ffor
(x)
= even
x (and
forn an
even
n be
∈=N;
identity
function
id;
f (x)
=(x)
xn =
∈you
N;
f (x)
xrequired
for nn ∈toNdo
oddso on
nan
able
to
draw
their
graphs
quickly
will
identity
function
id;
f
x
for
an
even
n
∈
N;
f
(x)
1
1= x for n ∈ N odd
1
1
n ≥=3ofn; fthese
(x)
=important
forN;odd
n f∈(x)
N; =and
f (x) =
even n ∈ N.the
n ∈
and nexams).
≥ 3nand
;≥f A
(x)
for
and
∈ N.
1 odd
xn
xnn for
functions
includes
constant
x =
xn for1 even
and
3 ;list
f (x)
nfunctions;
∈ N.
xn for oddn n ∈ N; and f (x) = xn for even
n
identity function id; f (x) = x for an even n ∈ N; f (x) = x for n ∈ N odd
and n ≥ 3 ; f (x) = x1n for odd n ∈ N; and f (x) = x1n for even n ∈ N.
3
47
52
3
48
53
4
4
Vertical line test
Vertical you’ll
line see
test
Sometimes
something drawn in R2 that looks like it might be the
Vertical
line
test
Sometimes you’ll see something drawn in R2 that looks like it might be the
graph of a function. To know for sure if it is, use
the vertical line test:
2
Sometimes
you’ll
see
something
drawn
in
R
that
looks
like itline
might
graph of a function. To know for sure if it is, use the
vertical
test:be the
graphIf of
a function.
know for
sure ifinit more
is, usethan
the one
vertical
line
test:
a vertical
line To
intersects
a thing
point,
then
a vertical
intersects a thing in more than one point, then
theIf thing
is notline
a graph.
Ifthe
a vertical
line
intersects
thing is not a graph. a thing in more than one point, then
the thing
a graph.
The reason
suchisa not
thing
is not a graph, is because if a vertical line intersects
such
a thingthen
is not
graph,would
is because
if a two
vertical
line intersects
it inThe
tworeason
different
points,
thea thing
include
different
points
The
reason
such
a
thing
is
not
a
graph,
is
because
if
a
vertical
line
intersects
it
in
two
different
points,
then
the
thing
would
include
two
different
points
with the same first coordinate – for example, (1, 4) and (1, 9). This could
itwith
in two
different
points,
then
the
thing
would
include
two
different
points
the graph
same first
– for example,
(1,then
4) and
9). This
could
not be the
of a coordinate
function, because
if it were,
the(1,
function
would
with
the
same
first
coordinate
–
for
example,
(1,
4)
and
(1,
9).
This
could
not be
graph numbers
of a function,
because
it were,
then the
function
would
assign
twothe
different
– 4 and
9 – toifthe
same object
of the
domain
–
not
be the
graph
of numbers
a function,
because
iftoitthe
were,
then
the of
function
would–
assign
two
different
–
4
and
9
–
same
object
the
domain
1. Functions can’t do that.
assign
two different
numbers
1. Functions
can’t do
that. – 4 and 9 – to the same object of the domain –
1. Functions
that.the graph of a function. It fails the vertical line
Example.
A can’t
circle do
is not
Example. A circle is not the graph of a function. It fails the vertical line
test.
Example.
A circle is not the graph of a function. It fails the vertical line
test.
test.
49
54
5
Intercepts
Intercepts
Intercepts
If
the
graph
of
function
contains
point
of
the
form
(a,
0)
for
some
∈
R,
If the
the graph
graph of
of aaa function
function contains
contains aaa point
point of
of the
the form
form (a,
(a,0)
0) for
for some
some aaa ∈
∈ R,
R,
If
then
is
called
an
x-intercept
of
the
graph.
then aaa is
is called
called an
an x-intercept
x-intercept of
of the
the graph.
graph.
then
If
the
graph
of
function
contains
point
of
the
form
(0,
b)
for
some
∈
R,
If the
the graph
graph of
of aaa function
function contains
contains aaa point
point of
of the
the form
form (0,
(0,b)
b) for
for some
some bbb ∈
∈ R,
R,
If
then
b
is
called
the
y-intercept
of
the
graph.
then bb isis called
called the
the y-intercept
y-intercept of
of the
the graph.
graph.
then
Example.
Below
is
the
graph
of
function
The
x-intercepts
of
the
graph
Example. Below
Below is
is the
the graph
graph of
of aaa function
function fff... The
The x-intercepts
x-intercepts of
of the
the graph
graph
Example.
are
and
−2.
The
y-intercept
of
the
graph
is
3.
are 222 and
and −2.
−2. The
The y-intercept
y-intercept of
of the
the graph
graph is
is 3.
3.
are
*
**
*
**
*
**
*
**
*
**
*
**
*
**
50
55
6
*
**
*
**
*
**
*
**
*
**
*
**
Little
circles
vs.
giant
dots
Little
circles
vs.
giant
dots
Little
circles
vs.
dots
Little
circles
vs.
giant
dots
Little
circles
vs.giant
giant
dots
Drawing
giant
dot
in
graph
means
that
point
ininthe
the
graph
ofofthe
the
Drawing
giant
dot
graph
means
that
point
in
the
graph
the
Drawing
aaaagiant
dot
inin
aaaagraph
means
that
point
isisisisin
graph
ofof
Drawing
giant
dot
inin
graph
means
that
point
the
graph
the
Drawing
a
giant
dot
a
graph
means
that
point
is
in
the
graph
of
the
function.
function.
function.
function.
function.
Drawing
little
circle
in
graph
means
that
point
not
inin
the
graph
ofof
Drawing
circle
aagraph
means
that
point
not
the
graph
Drawing
aaalittle
circle
inin
ain
means
that
point
isisisis
not
inin
the
graph
ofof
Drawing
aalittle
little
circle
in
agraph
graph
means
that
point
not
the
graph
Drawing
little
circle
a
graph
means
that
point
is
not
in
the
graph
of
the
function,
but
some
nearby
points
are.
the
function,
but
some
nearby
points
are.
the
function,
but
some
nearby
points
are.
the
function,
but
some
nearby
points
are.
the function, but some nearby points are.
Example.
Below
the
graph
ofof
the
function
: [1,
4)
→
where
Example.
Below
the
graph
the
function
4)
→
RRR
where
Example.
Below
isisisis
the
graph
ofof
the
function
fff:f:f[1,
4)
→
R
where
Example.
Below
the
graph
the
function
:[1,
[1,
4)
→
where
Example.
Below
is
the
graph
of
the
function
:
[1,
4)
→
R
where
f
(x)
=
x
+
2.
The
number
1
is
in
the
domain
of
f
,
and
f
(1)
=
3,
so
the
point
f
(x)
=
x
+
2.
The
number
1
is
in
the
domain
of
f
,
and
f
(1)
=
3,
so
the
point
f (x)
=
x
+
2.
The
number
1
is
in
the
domain
of
f
,
and
f
(1)
=
3,
so
the
point
ff(x)
=
x
+
2.
The
number
1
is
in
the
domain
of
f
,
and
f
(1)
=
3,
so
the
point
(x)
=
x
+
2.
The
number
1
is
in
the
domain
of
f
,
and
f
(1)
=
3,
so
the
point
(1,
3)
is
in
the
graph
of
f
.
We
can
label
it
with
a
giant
dot.
(1,
3)
is
in
the
graph
of
f
.
We
can
label
it
with
a
giant
dot.
(1,(1,
3)
is
in
the
graph
of
f
.
We
can
label
it
with
a
giant
dot.
3)
is
in
the
graph
of
f
.
We
can
label
it
with
a
giant
dot.
(1,
3)number
is in the44 graph
of
fthe
. We
can label
itbut
with
a giant
dot. really
The
number
not
in
domain
ofof
but
some
numbers
really
close
to
The
isisis
not
in
the
domain
of
ff,f,,but
some
numbers
close
to
The
number
4
is
not
in
the
domain
of
f
some
numbers
really
close
to
The
number
4
not
in
the
domain
,
but
some
numbers
really
close
toto
The
number
4
is
not
in
the
domain
of
f
,
but
some
numbers
really
close
4
are.
If
4
was
in
the
domain,
then
f
(4)
=
6,
and
(4,
6)
would
be
a
point
in
4
are.
If
4
was
in
the
domain,
then
f
(4)
=
6,
and
(4,
6)
would
be
a
point
in
4 are.
If If
4Ifwas
in in
the
domain,
then
f (4)
==
6,
and
(4,(4,
6)6)
would
bebe
a point
in inin
44 are.
44was
domain,
then
ff(4)
and
would
aapoint
are.
was
inthe
the
domain,
then
(4)
=6,
6,
and
(4,
6)
would
be
point
the
graph
of
f
.
But
4
isn’t
in
the
domain,
so
(4,
6)
isn’t
a
point
in
the
graph
the
graph
of
f
.
But
4
isn’t
in
the
domain,
so
(4,
6)
isn’t
a
point
in
the
graph
the
graph
of of
fof.ffBut
4 isn’t
in in
the
domain,
soso
(4,
6)6)
isn’t
a point
in in
the
graph
the
graph
. . But
44isn’t
the
domain,
(4,
isn’t
aapoint
the
graph
the
graph
But
isn’t
in
the
domain,
so
(4,
6)
isn’t
point
in
the
graph
of
f
.
The
graph
does
go
all
the
way
up
to
the
point
(4,
6),
but
it
doesn’t
of
f
.
The
graph
does
go
all
the
way
up
to
the
point
(4,
6),
but
it
doesn’t
of ofof
f .ff.The
graph
does
go
all
the
way
up
to
the
point
(4,
6),
but
it
doesn’t
The
graph
does
go
all
the
way
up
to
the
point
(4,
6),
but
it
doesn’t
. the
The
graph(4,
does
go
all
the
way
uppoint
to the
point
(4,a6),
but circle
it doesn’t
include
the
point
(4,
6).
So
we
label
the
point
(4,
6)
with
aalittle
little
circle
to
include
point
6).
So
we
label
the
(4,
6)
with
little
to
include
the
point
(4,
6).
So
we
label
the
point
(4,
6)
with
a
circle
to
include
the
point
(4,
6).
So
we
label
the
point
(4,
6)
with
little
circle
toto
include
the
point
(4,
6).
So
we
label
the
point
(4,
6)
with
a
little
circle
remind
us
that
it’s
not
actually
in
the
graph.
remind
us
that
it’s
not
actually
in
the
graph.
remind
usus
that
it’sit’s
not
actually
in in
the
graph.
remind
that
not
actually
graph.
remind
us
that
it’s
not
actually
inthe
the
graph.
Little
circles
vs.
Little
circles
vs. giant
giant dots
dots
e
circles
vs.
giant
dots
le circles Drawing
vs. giant
dots
aa giant
dot
means
that
point
Drawing
giant means
dot inin athat
a graph
graph
means
that
point isof
is in
in the
thegraph
graphofofthe
the
wing
a
giant
dot
in
a
graph
point
is
in
the
graph
the
awing a giant
dot
in
a
graph
means
that
point
is
in
the
graph
of
the
function.
function.
on.
ion.
Drawing
aa little
inin aagraph
means
that
point
isisnot
ininthe
Drawing
little circle
circle
graph
means
that
point
not
thegraph
graphofof
wing
a
little
circle
in
a
graph
means
that
point
is
not
in
the
graph
of
awing a little
circle
in abut
graph
means
that
pointare.
is not in the graph of
the
function,
some
nearby
points
the
function,
but
some
nearby
points
are.
nction,
but
some
nearby
points
are.
unction, but
some nearby
points
are.
Example.
Below
isisthe
graph
function
ff: :[1,
Example.
Below
the
graphfofof: the
the4)
function
[1,4)4)→
→RRwhere
where
mple.
Below
is
the
graph
of
the
function
[1,
→
R
where
ff(x)
=
x
+
2.
The
number
1
is
in
the
domain
of
f
,
and
f
(1)
=
mple. Below
is
the
graph
of
the
function
f
:
[1,
4)
→
R
where
(x) = x + 2. The number 1 is in the domain of f , and f (1) =3,3,sosothe
thepoint
point
==xx++2.2. The
number
1
is
in
the
domain
of
f
,
and
f
(1)
=
3,
so
the
point
(1,
3)
is
in
the
graph
of
f
.
We
can
label
it
with
a
giant
dot.
The
is in
the domain
f , and
= 3,asogiant
the point
(1,number
3) is in 1the
graph
of f . Weofcan
labelf (1)
it with
dot.
isisin
the
graph
of
f
.
We
can
label
it
with
a
giant
dot.
The
number
4
is
not
in
the
domain
of
f
,
but
some
numbers
in the graph
of
f
.
We
can
label
it
with
a
giant
dot.
The number 4 is not in the domain of f , but some numbersreally
reallyclose
closetoto
number
4
is
not
in
the
domain
of
f
,
but
some
numbers
really
close
to
was
in
ff(4)
(4,
e number 444isare.
notIfIfin44the
of
f , butthen
some
numbers
really
close
to be
are.
wasdomain
inthe
thedomain,
domain,
then
(4)==6,6,and
and
(4,6)
6)would
would
beaapoint
pointinin
If
4
was
in
the
domain,
then
f
(4)
=
6,
and
(4,
6)
would
be
a
point
in
graph
ofofffBelow
.Below
But
isn’t
in
domain,
so
6)
a{2}
point
inin
the
. If 4 was the
in
the
domain,
then
fis
(4)
=
6,the
and
(4,
6)
would
aR
point
in→
Example.
the
graph
of
the
function
:isn’t
RR
−−
→
where
Example.
the
graph
the
function
gg6)
−
{2}
where
the
graph
.Below
Butis4is
4is
isn’t
in
the
domain,
so(4,
(4,gbe
isn’t
a{2}
point
thegraph
graph
Example.
Below
the
graph
ofof
the
function
:g:R
−
{2}
→
RRRR
where
Example.
the
graph
of
the
function
:
→
where
aph
of
f
.
But
4
isn’t
in
the
domain,
so
(4,
6)
isn’t
a
point
in
the
graph
Example.
Below
is
the
graph
of
the
function
g
:
R
−
{2}
→
R
where
of
f
.
The
graph
does
go
all
the
way
up
to
the
point
(4,
6),
but
it
doesn’t
g(x)
==4.4.
4.4.
Since
not
in
the
domain
ofofg,
g,g,the
the
point
(2,
4)
not
inin
the
g(x)
=
Since
not
the
domain
of
g,
the
point
(2,
4)
not
the
raph of f . But
isn’t
in
the
domain,
so
(4,
6)domain
isn’t
point
in
the
graph
ofg(x)
fg(x)
.4 =
The
graph
does
go
all
the
way
upa of
to
the
point
(4,(2,
6),
but
it
doesn’t
Since
2222isisisisnot
inin
the
point
4)
isisisis
not
inin
the
Since
not
in
the
domain
the
point
(2,
4)
not
the
The
graph
does
go
all
the
way
up
to
the
point
(4,
6),
but
it
doesn’t
g(x)
=
4.
Since
2
is
not
in
the
domain
of
g,
the
point
(2,
4)
is
not
in
the
include
the
point
(4,
6).
So
we
label
the
point
(4,
6)
with
aalittle
circle
to
graph
of
g,
so
we
label
it
with
a
little
circle
to
remind
us
that
it’s
not
in
the
graph
of
g,
so
we
label
it
with
a
little
circle
to
remind
us
that
it’s
not
in
the
The graph
does
go
all
the
way
up
to
the
point
(4,
6),
but
it
doesn’t
include
the
point
(4,
6).
So
we
label
the
point
(4,
6)
with
little
circle
to
graph
of
g,
so
we
label
it
with
a
little
circle
to
remind
us
that
it’s
not
in
the
graph
of
g,
so
we
label
it
with
a
little
circle
to
remind
us
that
it’s
not
in
the
graph
of
g,
so
we
label
it
with
athe
little
circle
to remind
us
e the
(4,
6).
we
label
the
point
(4,
6)
with
aalittle
circle
remind
that
not
actually
in
graph.
graph.
de
the point
point
(4,
6).us
So
weit’s
label
the
point
(4,
6)graph.
with
little
circleto
to that it’s not in the
remind
usSo
that
it’s
not
actually
in
the
graph.
graph.
graph.
graph.
d us
actually
nd
usthat
thatit’s
it’snot
not
actuallyininthe
thegraph.
graph.
5651751
7
Domainsand
and
Ranges
for
graphs
Domains
Ranges
for
graphs
Domains
and
Ranges
for
graphs
Suppose you
are given
a graph,
and you’re
told that
it is the
graph of
Suppose
Supposeyou
youare
aregiven
givena agraph,
graph,and
andyou’re
you’retold
toldthat
thatit itis isthe
thegraph
graphofof
a function.ToTo
find
the
domain
the
function,
draw
its
“shadow”
on
the
a afunction.
find
the
domain
ofofof
the
function,
draw
itsits
“shadow”
onon
the
function.
To
find
the
domain
the
function,
draw
“shadow”
the
x-axis.
x-axis.
x-axis.
To
find the
range of the
function, draw
its “shadow”
on the
y-axis.
ToTo
find
findthe
therange
rangeofofthe
thefunction,
function,draw
drawitsits“shadow”
“shadow”ononthe
they-axis.
y-axis.
Example.
Drawn
below
is the
graph
the
function
. The
domain
Example.
Drawn
below
is isthe
graph
ofofof
the
function
f .ffThe
domain
ofoffoffisf isis
Example.
Drawn
below
the
graph
the
function
.
The
domain
the
set
real
numbers
the
x-axis
that
lie
directly
below
the
graph.
Those
the
setset
ofofof
real
numbers
ininin
the
x-axis
that
lielie
directly
below
the
graph.
Those
the
real
numbers
the
x-axis
that
directly
below
the
graph.
Those
are
all
the
numbers
between
2 and
Because
there
a giant
dot
on
the
are
allall
ofofof
the
numbers
between
2 2and
5.5.5.
Because
there
is isaisagiant
dot
onon
the
are
the
numbers
between
and
Because
there
giant
dot
the
2
point
(5,
3)
∈2R
, we
know
that
is in
the
domain.
But
since
there
a little
point
(5,(5,
3)3)
∈ ∈R
, 2we
know
that
5 5is5isin
the
domain.
But
since
there
is isaisalittle
point
R
,
we
know
that
in
the
domain.
But
since
there
little
2
circle
point
∈2R
, we
know
that
is not
domain.
That
circle
onon
thethe
point
(2,(2,
1) 1)
∈R
, 2we
know
that
2 is2 not
in in
thethe
domain.
That
is, is,
circle
on
the
point
(2,
1)
∈
R
,
we
know
that
2
is
not
in
the
domain.
That
is,
domain
f the
is the
interval
thethe
domain
of of
f is
interval
(2,(2,
5]. 5].
theThe
domain
of f fis isthe
interval
(2, 5].
range
numbers
y-axis
that
directly
The range
of of
f is thethe
setset
of of
realreal
numbers
on on
thethe
y-axis
that
lie lie
directly
to to
The
range
of
f
is
the
set
of
real
numbers
on
the
y-axis
that
lie
directly
to
graph
. The
range
is the
interval
thethe
leftleft
of of
thethe
graph
of of
f . fThe
range
of of
f isf the
interval
(1,(1,
5]. 5].
the left of the graph of f . The range of f is the interval (1, 5].
* * * * * * * * * * * * * * * * * * * * * * * ** *
*
*
*
*
*
*
*
*
*
*
*
*
*
57 8
52
Exercises
~‘tS~‘tS
-z
i -z i
Exercises
For #1-4, decide whether Exercises
or not
each of the drawings in R2 is the graph of
Exercises
aFor
function.
#1-4, decide whether or not each of the drawings in R2 is the graph of
For #1-4,
decide
whether
or each
not each
of drawings
the drawings
the graph
#1-4,
decide
whether
or not
of the
in R2inisR2theis graph
of of
aFor
function.
a function.
a function.
2 is the graph of
For#1-4,
#1-4,decide
decidewhether
whetherorornot
noteach
eachofofthe
thedrawings
drawingsininRJR2
For
is the graph of
function.
a afunction.
Exercises
Exercises
00
00
#3) #3)
4tq.)4tq.)
UU
For
For#5-6,
#5-6,list
listthe
thexzand
andy-intercepts
y-interceptsofofthe
thegraphs
graphsbelow.
below.
3
2
53
—2
-5-4 4-z 4
58
53
53
-3
5858
~i.4
For #5-8, determine the domains and ranges for the functions that are
drawn.
For #5-8, determine the domains and ranges for the functions that are
drawn.
For #7-12, determine the domains and ranges for the functions that are
drawn.
*7)
(s, q)
*7)
(s, q)
(‘i~,z)
(‘i~,z)
(I-I)
(a,’)
(I-I)
(a,’)
49)
49)
(L,-I)
(-2,-5)
(L,-I)
*i*i
i)(-2,-5)
i)
#12)
#12)
aa
S S
59
59
59
-a-a
Download