# Sketching graphs

• Sep 23rd 2009, 02:46 PM
skeeterrr
Sketching graphs
The question states:

Suppose we define {x} to be the distance from x to the nearest integer.

(a) Sketch the graph f(x) = {x}
(b) Sketch the graph of g(x) = {2x}
(c) Sketch the graph of h(x) = {x} + 1/2{2x}
(d) Sketch the graph of all points (x,y) which satisfy {x} + {y} = 1
(e) Sketch the graph of all points (x,y) which satisfy |x| + |y| = 1

For (a), does the graph look like a series of repeated triangles on the x-axis? (b) and (c) are similar to (a).

And I can't figure out (d) and (e)... hints/insights would be great. Thanks in advance!
• Sep 25th 2009, 09:43 AM
apcalculus
Quote:

Originally Posted by skeeterrr
The question states:

Suppose we define {x} to be the distance from x to the nearest integer.

(a) Sketch the graph f(x) = {x}
(b) Sketch the graph of g(x) = {2x}
(c) Sketch the graph of h(x) = {x} + 1/2{2x}
(d) Sketch the graph of all points (x,y) which satisfy {x} + {y} = 1
(e) Sketch the graph of all points (x,y) which satisfy |x| + |y| = 1

For (a), does the graph look like a series of repeated triangles on the x-axis? (b) and (c) are similar to (a).

And I can't figure out (d) and (e)... hints/insights would be great. Thanks in advance!

Attached find a graph of the greatest integer function. For this problem I would suggest making a table with a few numbers and plotting the points. The graph should become obvious quickly.

Good luck!
• Jan 27th 2010, 10:12 AM
JacQUES1981
Graph Software
Quote:

Attached find a graph of the greatest integer function.
Which software did you use to create the attached graph?
• Jan 27th 2010, 10:14 AM
saumaun
That looks a bit like Maple 13, but I may be wrong.