Exams › JEE Main › Maths
Consider the function f: N -> Z defined by f(x) = (-1)^(x-1). Determine its range.
- (A) {-1, 1}
- (B) [-1, 1]
- (C) {0, 1}
- (D) {0, 1, -1}
Correct answer: (A) {-1, 1}
Solution
For x in N: f(1) = (-1)⁰ = 1, f(2) = (-1)¹ = -1, f(3) = 1, f(4) = -1, alternating. The only outputs are +1 and -1, so the range is the discrete set {-1, 1}, not the interval [-1, 1].
Related JEE Main Maths questions
⚔️ Practice JEE Main Maths free + battle 1v1 →