Analyzing the graphs of Greatest Integer Functions

In summary, the greatest integer function, denoted by square brackets or the floor function, gives a piecewise constant function with horizontal line segments that step down at each multiple of 4. The length of each line segment is 4 and the positive vertical separation between line segments is determined by the leading coefficient, which is multiplied by the step size of 1. The negation in the function argument does not affect the step length or height of the line segments.
  • #1
opus
Gold Member
717
131

Homework Statement


Consider ##u\left(x\right)=2\left[\frac{-x}{4}\right]##
(a) Find the length of the individual line segments of the function,
(b) Find the positive vertical separation between line segments.

Homework Equations


The output of Greatest Integer Functions are always integers.

The Attempt at a Solution



I'm honestly confused about this whole situation.

Length:
The text states that the coefficient of x within the greatest integer symbols is the length of the individual line segments of the graph.
In ##u\left(x\right)=2\left[\frac{-x}{4}\right]##, the coefficient of x is ##\frac{-1}{4}##.
However, the solution for the length of the graph states that length=4.
It explains this by stating that there's a decrease of 1 for every increase of 4 in the variable x.
This would make sense if we were talking about the slope of a line, but it doesn't make any sense at all in this context.
And since we're talking about the length of a line segment, does the negation matter?

Vertical Separation:
The text states that the coefficient of the greatest integer function is the positive vertical separation between line segments.
This is a straight forward statement, and the vertical separation=2, but I don't see why this leading coefficient determines this.

Can anyone help me get a better idea of what is going on with the graphs of these functions?
 
Physics news on Phys.org
  • #2
I haven't seen the notation you are using but I presume that the square brackets [...] denote the function that gives the greatest integer that is less than or equal to the value of the contents of the brackets. In my experience that is usually indicated by ##\lfloor...\rfloor## and is called the 'floor' function.

If that is the case then the function value is piecewise constant and steps down at each multiple of 4, ie at ...,-8, -4, 0, 4, 8, ...
So each line segment is horizontal and extends for the period that x takes to increase by 4. So its length is 4.

How much does it step down by each time? Well ##\lfloor\frac{-x}4\rfloor## always has an integer value and decreases by 1 each time ##x## reaches a new, higher multiple of 4. So that's a step size of 1, but then it is multiplied by 2 - the leading coefficient - so the step size (the vertical separation) is 2.

The impact of the negation is to make the steps go down as ##x## increases, rather than up. But it doesn't affect the step length or height.
 
  • Like
Likes scottdave and opus
  • #3
Yes we are talking about the same function. My text has the it denoted as something similar to but not exactly like [[x]]. But I looked up on Wikipedia the "floor function" that you stated and we're talking about the same thing.

That was a great explanation, thank you.

Let me see if I understand:
The length is 4 because if we were to create a table of values (leaving the leading coefficient of 2 out for simplicity's sake), it would take 4 integer x inputs for the line segment to be complete and move up or down to the next segment? For example, with an input of x = -8 gives an output of 2, and inputs x = -7, -6, -5, -4 all give an output of 1. Then when x = -3, the output is zero so there's a new line segment vertically shifted.

For the vertical displacement: the greatest integer function output is always an integer. So when we take the output of the function's argument, and multiply it by 2, we are vertically shifting by that value 2.
 
  • #4
Yes that is correct!
 
  • Like
Likes opus
  • #5
Thank you for the great explanation!
 

Related to Analyzing the graphs of Greatest Integer Functions

What is a Greatest Integer Function?

A Greatest Integer Function, also known as a floor function, is a mathematical function that rounds down any input to the nearest integer. It is denoted by the symbol ⌊x⌋ or by the notation "floor of x".

How is a Greatest Integer Function represented graphically?

A Greatest Integer Function is represented by a series of horizontal and vertical line segments. The horizontal lines represent the constant values of the function, while the vertical lines represent the points where the function changes value. The graph appears as a series of steps or "stairs".

What are some common features of a Greatest Integer Function graph?

Some common features of a Greatest Integer Function graph include a series of horizontal line segments, discontinuities at integer values, and a horizontal asymptote at y = 0. The graph is also symmetric about the line x = 0.

How do you analyze the behavior of a Greatest Integer Function graph?

To analyze the behavior of a Greatest Integer Function graph, you can look at the values of the function at different points, the intervals where the function is increasing or decreasing, and the points of discontinuity. You can also determine the domain and range of the function by looking at the graph.

How is a Greatest Integer Function used in real life?

A Greatest Integer Function has many practical applications, such as in rounding down measurements or quantities, calculating interest on loans, and modeling the behavior of discrete systems. It is also used in computer programming to round down decimal values to the nearest integer.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
819
  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
13
Views
596
  • Precalculus Mathematics Homework Help
Replies
4
Views
329
  • Precalculus Mathematics Homework Help
Replies
11
Views
843
  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
Back
Top