Let $[\cdot]$ denote greatest integer function. If $f(x)=[x]$ and $g(x)=3\left[\frac{x}{3}\right]$, then the set of all real $x$ such that $f(x)=g(x)$ is
- (1)
$\mathbb{R}$
- (2)
$\{x\in\mathbb{R}/x=3k, k\in\mathbb{Z}\}$
- (3)
$\{x\in\mathbb{R}/3k-1<x\le 3k, k\in\mathbb{Z}\}$
- (4)
$\{x\in\mathbb{R}/3k\le x<3k+1, k\in\mathbb{Z}\}$
Show answer
Option (4) is correct.
Official TGCHE final key