Clear Notion Academy

Sets, Relations and Functions (Beyond Advanced) Practice: The greatest integer function is denoted . Which graph shows y= | ,x- x+ 12 , | for -2 x…

Question

The greatest integer function is denoted ⌊⋅⌋\lfloor\cdot\rfloor. Which graph shows y=∣ x−⌊x+12⌋ ∣y=\big|\,x-\lfloor x+\tfrac12\rfloor\,\big| for −2≤x≤2-2\le x\le2?

Options

  1. Graph shown (curve 2)
  2. Graph shown (curve 3)
  3. Graph shown (curve 4)
  4. Graph shown (curve 1)

Answer

Correct option: D

Hint

⌊x+12⌋\lfloor x+\tfrac12\rfloor is the nearest integer to xx (rounding halves up). So x−⌊x+12⌋x-\lfloor x+\tfrac12\rfloor is the signed distance from xx to the nearest integer.

Solution

Let n=⌊x+12⌋n=\lfloor x+\tfrac12\rfloor, so n−12≤x<n+12n-\tfrac12\le x<n+\tfrac12 and nn is the integer nearest to xx. Then x−n∈[−12,12)x-n\in[-\tfrac12,\tfrac12) is the signed distance to that integer, and ∣x−n∣|x-n| is the distance to the nearest integer. This is 00 at every integer, rises linearly with slope 11 to 12\tfrac12 at each half-integer, and falls again: a continuous triangular wave of period 11, between 00 and 12\tfrac12, with its minima at the integers. The sawtooth {x}\{x\} (rising from 00 to 11, with jumps at integers) is not continuous; ∣{x}−12∣\big|\{x\}-\tfrac12\big| is a triangular wave but with its zeros at the half-integers and maxima at the integers; and x−⌊x+12⌋x-\lfloor x+\tfrac12\rfloor without the modulus is a sawtooth with negative values. Only the first triangular wave, with zeros at the integers, is the required graph.

More questions from Sets, Relations and Functions (Beyond Advanced) Practice

Practise the full set: Sets, Relations and Functions — Beyond Advanced