Concept 08 / 10Sets, Relations and Functions
Special Functions: Modulus, Greatest Integer, Fractional Part and Signum
Definitions, graphs and working identities for |x|, [x], {x} and sgn x, the triangle inequality and its equality case, the distance meaning of |x - a|, and solving equations and inequalities that mix these functions.
These four piecewise functions appear throughout JEE, from domain and range questions to limits, continuity and integration. Each is simple to define, but each has properties that are easy to misuse.
Modulus (absolute value): if and if . Equivalently . The best way to think about it is geometrically: is the distance between and on the number line. That view makes inequalities obvious: , and or . Algebraic facts: , , and . The triangle inequality states , with equality if and only if (the numbers do not point in opposite directions). Its companion is . The graph of is a V with its vertex at the origin, and is obtained from by reflecting in the -axis every part that lies below it.
Greatest integer (floor) function: , also written , is the greatest integer less than or equal to . So , and, importantly, , not , since is the greatest integer that does not exceed . Its defining property is the sandwich
, or equivalently .
The graph is a staircase: constant on each and jumping up by at every integer. At each step the left end is filled and the right end is open. Identities: for any integer (you may pull integers out); if is an integer and otherwise; ; and Hermite's identity . To solve an equation involving , set , an integer, solve for , and convert back using .
Fractional part: , so always, and . For example and . Note that the fractional part of a negative number is not simply the digits after the decimal point. The graph is a sawtooth: on each it is the line , rising from towards and then dropping back. It is periodic with period . Also if is an integer and otherwise.
Signum: for , for , and for . For , , and in general . Composites such as are best handled by drawing a sign chart for the inner expression.
How these interact with other ideas. and are discontinuous at every integer, so they appear constantly in limit and continuity questions: at , has left limit and right limit . is continuous everywhere but not differentiable at . In integrals, the standard move is to split the interval at the integers, where is constant on each piece.
Key Takeaways:
- is distance; .
- , with equality iff ; also .
- ; for integer ; .
- for integer and otherwise; or correspondingly.
- ; has period .
- for , and .
- To solve with : let , then use .
- Pitfall: and in general (take ).
Brain-Teaser 1: Solve , and then solve for .
Solution: In the first equation let . Then gives or . Now and , so the solution set is the whole interval . An equation in usually has intervals of solutions, not isolated points. The second equation is different, because . Let with ; then , so lies between and . The equation requires , so . The left part gives , and the right part always holds. For : with , so , giving . For : with , so . So the solution set is .
Brain-Teaser 2: Solve .
Solution: Substitute : , so . The right side lies in , and the left side is an integer, so . If , then and . If , then and . Both satisfy the original equation (, and ). The technique is to split into its integer and fractional parts, then use the fact that one is an integer and the other lies in to reduce to a few cases.
Brain-Teaser 3: How many real solutions does have? What about and ?
Solution: Read as the total distance from to the points and . For any between and that total is exactly the gap, , and outside that segment it is more than . So the equation with holds for every , infinitely many solutions. With , there is one solution on each side: and . With , there are no solutions, because the total distance can never be less than . This is the triangle inequality in action: , with equality exactly when and have the same sign, which is the interval .
Practice this concept
Free · no account required · instant solutions