Q.Range of Greatest Integer function is:
(A) Z
(B) R
(C) N
(D) Z+
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Piecewise Function Definition
What is a Piecewise Function? — The Intuition
Imagine you're describing how much a taxi ride costs. The fare might be: ₹25 for the first kilometer, then ₹15 for every kilometer after that. That's not a single, simple rule — the rule changes depending on how far you've gone. That's exactly what a piecewise function captures: a function whose rule is made of different "pieces," each applying to a different part of the input.
In everyday life, piecewise rules are everywhere:
- Income tax slabs (different rates for different income ranges)
- Mobile data plans (different speeds after a limit)
- Postage rates (different costs for different weights)
A piecewise function lets you write all these different rules in one clean mathematical statement.
The Precise Definition
A piecewise function is a function defined by multiple sub-functions, each applying to a specific interval (or "piece") of the domain.
Here's the standard notation:
f(x)=⎩⎨⎧f1(x),f2(x),⋮fn(x),x∈D1x∈D2⋮x∈Dn
Where:
- f1,f2,…,fn are the sub-functions (each is a rule)
- D1,D2,…,Dn are disjoint intervals that together cover the entire domain
- Each input x belongs to exactly one of these intervals
A piecewise function is still one function — not several functions glued together. For every x in the domain, there is exactly one output f(x).
A Concrete Example
Let's write the taxi fare example properly. Suppose the first kilometer costs ₹25, and every subsequent kilometer costs ₹15 per km. For a ride of x kilometers:
f(x)={25,25+15(x−1),0<x≤1x>1
Let's test it:
- For x=0.5 km: f(0.5)=25 (first piece)
- For x=1 km: f(1)=25 (first piece, includes the endpoint)
- For x=3 km: f(3)=25+15(3−1)=25+30=55 (second piece)
Notice how the second piece uses x−1 — that's because the ₹15 rate only applies to the distance beyond the first kilometer.
Common Pitfalls (Watch Out!)
Don't forget the domain conditions. A piecewise definition is incomplete without specifying which x values go with which rule. Writing just f(x)={x2,2x+1} is meaningless — you must say when each applies.
Check the boundaries carefully. At the point where two pieces meet (like x=1 in the taxi example), the function must give only one output. If both pieces try to claim the same x, you have a problem — it's no longer a function.
Why This Matters …
The greatest integer function [x] always outputs an integer, and every integer is attained, so its range is the …
[x] returns an integer for every real x and hits every integer, so its range is Z.
The greatest integer (floor) function f(x)=[x] gives the greatest integer ≤x.
…
- CBSE 2023Set ANNUAL1 markMCQQ.The function f(x)=∣x∣ is:(a) Identity function(b) Constant function(c) Modulus function(d) Signum function
›Reveal solutionSolution
f(x)=∣x∣ is called the modulus (absolute value) function.
By definition, f(x)=∣x∣=x if x≥0 and f(x)=−x if x<0.
An identity function would be f(x)=x for all real x (including negative x, where ∣x∣=x), so it is not the identity function.
…
- CBSE 2023Set ANNUAL1 markMCQQ.The function f:R→R defined by f(x)=[x] for all x∈R is(a) One-one(b) Onto(c) One-one and onto(d) None of these
›Reveal solutionSolution
f(x)=[x] is neither one-one nor onto; option (d).
…
- CBSE 2022Set ANNUAL1 markMCQQ.The function f:R→R defined by f(x)=∣x∣ (for all) x∈R is(a) one-one(b) onto(c) one-one-onto(d) None of these
›Reveal solutionSolution
f(x)=∣x∣ is neither one-one nor onto, so the answer is (d).
Not one-one: f(1)=1=f(−1) with 1e−1.
Not onto: the range is [0,∞), so no negative real (like −1) is an image.
…
- CBSE 2021Set annual1 markQ.The range of the Signum function f:R→R is the set {−1,0,1}. (True/False)
›Reveal solutionSolution
The statement is True: the Signum function outputs only −1, 0, or 1.
The Signum function f:R→R is defined as
f(x)=⎩⎨⎧−1,0,1,x<0x=0x>0
…
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.