Q.Let f(x)=x2 and g(x)=2x+1 be two real functions. Find (f+g)(x), (f−g)(x), (fg)(x), (gf)(x).
Concept understanding — Function Operations
Function Operations: Combining Machines
Think of a function as a machine. You feed it an input (say, a number x), it does something, and out comes an output f(x). Now imagine you have two such machines, f and g. Function operations are simply ways to hook these machines together — to add, subtract, multiply, or divide their outputs, or to feed one machine's output into the other.
The core idea is simple: if you can do arithmetic with numbers, you can do arithmetic with functions. The only catch is that both functions must be "ready to work" on the same input at the same time.
The Four Arithmetic Operations
Let f and g be two functions. For any input x that belongs to both their domains (the set of numbers each can accept), we define:
| Operation | Notation | What it means |
|---|---|---|
| Sum | (f+g)(x) | f(x)+g(x) |
| Difference | (f−g)(x) | f(x)−g(x) |
| Product | (f⋅g)(x) | f(x)⋅g(x) |
| Quotient | (gf)(x) | g(x)f(x), provided g(x)=0 |
The domain of the new function is the intersection of the domains of f and g — the numbers both machines can handle. For the quotient, you must also exclude any x where g(x)=0, because division by zero is undefined.
Example. Let f(x)=x (domain: x≥0) and g(x)=x−1 (domain: all real numbers). Then:
- (f+g)(x)=x+x−1, domain: x≥0.
- (gf)(x)=x−1x, domain: x≥0 and x=1.
Composition: Feeding One Machine into Another
This is the most powerful operation. Instead of adding outputs side by side, you take the output of one function and feed it as the input to the other.
(f∘g)(x)=f(g(x))
Read "f composed with g". You do g first, then f on the result.
Intuition. Suppose g is a machine that converts Celsius to Fahrenheit, and f is a machine that converts Fahrenheit to Kelvin. Then f∘g converts Celsius directly to Kelvin — one combined machine.
Domain trap. For f(g(x)) to make sense, two conditions must hold:
- x must be in the domain of g (so g(x) exists).
- g(x) must be in the domain of f (so f can accept it).
So the domain of f∘g is: all x in the domain of g such that g(x) is in the domain of f.
Composition is not commutative. f∘g is almost never the same as g∘f. For example, if f(x)=x2 and g(x)=x+1, then:
- (f∘g)(x)=(x+1)2=x2+2x+1
- (g∘f)(x)=x2+1 These are different functions.
Why This Matters
Function operations let you build complex behaviour from simple pieces. A polynomial like 3x2+2x−5 is just a sum of products of simpler functions. A rational function like x−2x+1 is a quotient. And composition is the engine behind everything from transformations of graphs (shifting, stretching) to the chain rule in calculus.
One final exam tip. When asked to find (f+g)(x) or (f∘g)(x), always write down the domains explicitly. Many marks are lost by forgetting that the quotient excludes zeros of the denominator, or that composition requires the inner output to be valid for the outer function.
Operations on functions, including sum, difference, product, quotient, and composition, are covered in the NCERT Class 11-12 Mathematics curriculum on Relations and Functions, and "composition of functions formula and domain" is a frequently searched topic for CBSE board and JEE Main preparation. Correctly tracking the domain restrictions in these operations is also a common source of lost marks flagged in "functions important questions" for competitive exams.
Concept: Function Operations — adding, subtracting, multiplying, and dividing two functions pointwise.
We are given f(x)=x2 and g(x)=2x+1.
-
Addition: (f+g)(x)=f(x)+g(x)=x2+(2x+1)=x2+2x+1.
-
Subtraction: (f−g)(x)=f(x)−g(x)=x2−(2x+1)=x2−2x−1.
-
Multiplication: (fg)(x)=f(x)⋅g(x)=x2(2x+1)=2x3+x2.
-
Division: (gf)(x)=g(x)f(x)=2x+1x2, provided g(x)=0, i.e., x=−21.
The results are (f+g)(x)=x2+2x+1, (f−g)(x)=x2−2x−1, (fg)(x)=2x3+x2, and (gf)(x)=2x+1x2 for x=−21.
Function operations combine two functions pointwise: add, subtract, multiply, or divide their outputs for the same input. For f(x)=x2 and g(x)=2x+1, we get (f+g)(x)=x2+2x+1, (f−g)(x)=x2−2x−1, (fg)(x)=2x3+x2, and (gf)(x)=2x+1x2 (with x=−21).
When you have two functions f and g, you can combine them using ordinary arithmetic — but applied pointwise. That means for each x in the domain, you evaluate f(x) and g(x) separately, then perform the operation. The result is a new function whose rule is that combination.
This is exactly like adding or multiplying numbers, except the numbers come from plugging x into each function. The only catch is division: you must exclude any x that makes the denominator zero, because division by zero is undefined.
Let’s work through each operation step by step.
- Addition: (f+g)(x) By definition, (f+g)(x)=f(x)+g(x). So:
(f+g)(x)=x2+(2x+1)=x2+2x+1.
Notice that x2+2x+1 factors as (x+1)2, but the simplified form is perfectly fine.
- Subtraction: (f−g)(x) Here (f−g)(x)=f(x)−g(x).
(f−g)(x)=x2−(2x+1)=x2−2x−1.
No further simplification is needed — it’s a quadratic expression.
- Multiplication: (fg)(x) The product is (fg)(x)=f(x)⋅g(x).
(fg)(x)=x2⋅(2x+1)=2x3+x2.
Just distribute x2 across the binomial.
- Division: (gf)(x) For division, (gf)(x)=g(x)f(x), provided g(x)=0.
(gf)(x)=2x+1x2.
Now, g(x)=2x+1=0 when x=−21. So the domain of this new function is all real numbers except −21.
A common mistake is to forget the domain restriction for division. The expression 2x+1x2 is not defined at x=−21, so you must explicitly state that x=−21 when writing the quotient function.
Notice that (f+g)(x)=x2+2x+1=(x+1)2. This is a perfect square — a neat observation, but not required for the answer. It can help you check your work quickly.
The results are (f+g)(x)=x2+2x+1, (f−g)(x)=x2−2x−1, (fg)(x)=2x3+x2, and (gf)(x)=2x+1x2 for x=−21.
- TG EAPCET 2024Set eng-2024-05-11-FN1 markMCQQ.If f(x) is a quadratic function such that f(x)f(x1)=f(x)+f(x1), then f(32)+f(23)= (A) 1225 (B) 310 (C) 613 (D) 2041
›Reveal solutionSolution
The key idea is to find the general form of a quadratic f(x) satisfying f(x)f(1/x)=f(x)+f(1/x), then evaluate the required expression. The result is 613, which corresponds to option (C).
We start with the functional equation
f(x)f(x1)=f(x)+f(x1).
This is symmetric in x and 1/x, and it resembles the identity ab=a+b, which can be rearranged to (a−1)(b−1)=1. Indeed, subtract f(x)+f(1/x) from both sides and add 1:
f(x)f(x1)−f(x)−f(x1)+1=1
⟹(f(x)−1)(f(1/x)−1)=1.
So the product of the “shifted” function values at x and 1/x is always 1. This is the central relation.
- Assume a quadratic form. Let f(x)=ax2+bx+c, with a=0. We need to find a,b,c such that
(f(x)−1)(f(1/x)−1)=1for all x=0.
- Write f(1/x) explicitly.
f(x1)=x2a+xb+c.
Then
f(x)−1=ax2+bx+(c−1),f(1/x)−1=x2a+xb+(c−1).
- Multiply and clear denominators.
(ax2+bx+(c−1))(x2a+xb+(c−1))=1.
Multiply both sides by x2:
(ax2+bx+(c−1))(a+bx+(c−1)x2)=x2.
-
Expand and compare coefficients.
The left side is a polynomial of degree 4 in x. For it to equal x2 for all x, coefficients of x4,x3,x1,x0 must vanish, and the coefficient of x2 must be 1.
Expand systematically:
Let d=c−1. Then we have
(ax2+bx+d)(a+bx+dx2).
Multiply term by term:
- x4 term: a⋅d=ad
- x3 term: a⋅b+b⋅d=ab+bd
- x2 term: a⋅a+b⋅b+d⋅d=a2+b2+d2
- x1 term: b⋅a+d⋅b=ab+bd (same as x3 coefficient)
- x0 term: d⋅a=ad
So the polynomial is
adx4+(ab+bd)x3+(a2+b2+d2)x2+(ab+bd)x+ad.
- Set equal to x2. We require:
⎩⎨⎧ad=0,ab+bd=0,a2+b2+d2=1.
Since a=0 (quadratic), ad=0 forces d=0, i.e. c−1=0⇒c=1.
Then ab+bd=ab+b⋅0=ab=0. Since a=0, we get b=0.
Finally, a2+b2+d2=a2+0+0=1, so a=±1.
- Thus the only quadratics are
f(x)=x2+1orf(x)=−x2+1.
But note: f(x)=−x2+1 gives f(2/3)=1−4/9=5/9, f(3/2)=1−9/4=−5/4, and then f(2/3)+f(3/2)=5/9−5/4=−25/36, whose square root is not real (and not among the options). So we take the positive case.
Hence
f(x)=x2+1.
- Compute the required value.
f(32)=(32)2+1=94+1=913,
f(23)=(23)2+1=49+1=413.
Sum:
913+413=13(91+41)=13⋅364+9=13⋅3613=36169.
Then
36169=613.
Watch outA common mistake is to forget that f(x)=−x2+1 also satisfies the equation algebraically, but leads to a negative sum under the square root — so it must be discarded in this context.
TipThe transformation (f(x)−1)(f(1/x)−1)=1 is the cleanest way: it immediately suggests that f(x)−1 and f(1/x)−1 are reciprocals, which for a polynomial forces constant or very simple forms.
✓Final answerThe correct option is (C).
ANSWER: C
- TG EAPCET 2024Set eng-2024-05-11-FN1 markMCQQ.The solution set of the inequation x2+x−2>(1−x) is (A) (−∞,2) (B) (−∞,−2) (C) (1,∞) (D) (0,∞)
›Reveal solutionSolution
The key idea is to solve the inequality x2+x−2>1−x by first ensuring the square root is defined, then considering two cases based on the sign of 1−x, and finally combining conditions to get x>1; the correct option is (C).
We start with the inequality:
x2+x−2>1−x.
The presence of a square root means we must first ensure the expression inside is non-negative. Then, because the right-hand side can be positive or negative, we need to handle the inequality carefully—squaring both sides blindly can lose information about signs.
Concept and intuition:
A square root is always non-negative. So if the right-hand side is negative, the inequality automatically holds (as long as the square root is defined). If the right-hand side is non-negative, we can safely square both sides to remove the root, but we must also keep the condition that the right-hand side is non-negative. This case-splitting avoids extraneous solutions.
Step-by-step solution:
- Domain of the square root We require x2+x−2≥0. Factor:
x2+x−2=(x+2)(x−1)≥0.
This quadratic is non-negative when x≤−2 or x≥1. So the domain is (−∞,−2]∪[1,∞).
-
Case 1: 1−x<0 (i.e., x>1)
If x>1, then the right-hand side is negative. The left-hand side is a square root, hence ≥0. A non-negative number is always greater than a negative number, so the inequality holds for every x>1 that is in the domain.
Since x>1 is already part of the domain [1,∞), the solution from this case is (1,∞).
-
Case 2: 1−x≥0 (i.e., x≤1)
Here the right-hand side is non-negative, so we can square both sides without changing the inequality direction:
x2+x−2>(1−x)2.
Expand the right side:
x2+x−2>1−2x+x2.
Cancel x2 from both sides:
x−2>1−2x.
Add 2x to both sides:
3x−2>1⇒3x>3⇒x>1.
But this case requires x≤1. The condition x>1 and x≤1 cannot both be true—there is no solution from this case.
- Combine with the domain From Case 1 we have x>1, which lies entirely within the domain [1,∞). From Case 2 we have no solutions. Also check the boundary x=1: At x=1, the left side is 1+1−2=0, and the right side is 1−1=0, so the inequality is 0>0, which is false. So x=1 is not included. Thus the solution set is (1,∞).
Watch outA common mistake is to square both sides without considering the sign of 1−x. If 1−x is negative, squaring would give a false condition because the inequality direction could flip or become meaningless. Always split cases based on the sign of the right-hand side.
TipNotice that the domain already excludes (−2,1). The only part of the domain where 1−x is negative is x>1, which automatically satisfies the inequality. So the problem reduces to checking whether any x≤−2 works—and we found none.
✓Final answerThe correct option is (C).
ANSWER: C
- TG EAPCET 2023Set eng-2023-05-12-AN1 markMCQQ.The range of the function f(x)=−−x2−6x−5 is (A) [0,2] (B) [−2,0] (C) [−2,2] (D) (−∞,2]
›Reveal solutionSolution
The function is a downward-facing semicircle. The range is [−2,0], which corresponds to option (B).
The key here is to see what the expression inside the square root is doing. You have f(x)=−−x2−6x−5. The square root forces its argument to be non-negative, and the negative sign outside flips the output upside down. So the range will be a set of negative numbers (or zero), never positive.
Let’s work through it.
- Find the domain first. The expression under the square root must be ≥0:
−x2−6x−5≥0
Multiply through by −1 (which flips the inequality):
x2+6x+5≤0
Factor:
(x+1)(x+5)≤0
This holds when x is between −5 and −1, inclusive. So domain is [−5,−1].
- What does the inside quadratic look like? Let g(x)=−x2−6x−5. This is a downward-opening parabola. Complete the square:
−x2−6x−5=−(x2+6x)−5=−(x2+6x+9)+9−5=−(x+3)2+4
So g(x)=4−(x+3)2.
Over the domain [−5,−1], the vertex is at x=−3, where g(−3)=4. At the endpoints x=−5 and x=−1, g(x)=0. So g(x) runs from 0 up to 4 and back to 0.
-
Now apply the square root.
g(x) takes values from 0=0 up to 4=2, and back down to 0. So the range of g(x) is [0,2].
-
Finally, apply the negative sign.
f(x)=−g(x) flips every output to its negative. So the range becomes [−2,0].
Watch outA common mistake is to forget the negative sign and pick [0,2]. But the function is explicitly −…, so all outputs are ≤0.
TipRecognizing the form 4−(x+3)2 inside the square root immediately tells you it’s a semicircle of radius 2 centered at (−3,0), but flipped downward. The range is then just the vertical span of that semicircle: from −2 to 0.
✓Final answerThe range is [−2,0], which is option (B).
- TG EAPCET 2023Set eng-2023-05-14-FN1 markMCQQ.If nCr denotes the number of combinations of n distinct things taken r at a time, then the domain of the function g(x)=(16−x)C(2x−1) is (A) {1,2,3,4,5} (B) {0,1,2,3,4} (C) ∅ (D) {0}
›Reveal solutionSolution
The domain of g(x)=(16−x)C(2x−1) is the set of integer x such that 0≤2x−1≤16−x and x is an integer; solving gives x∈{1,2,3,4,5}, so the correct option is (A).
We need the domain of g(x)=(16−x)C(2x−1). The notation nCr is defined only when n and r are non‑negative integers with r≤n. So we must find all integer x for which these conditions hold.
1. Understand the constraints
For nCr to make sense:
- n must be a non‑negative integer: 16−x≥0.
- r must be a non‑negative integer: 2x−1≥0.
- Also r≤n: 2x−1≤16−x.
And x itself must be an integer (since n and r are integers).
2. Translate into inequalities
- From 16−x≥0: x≤16.
- From 2x−1≥0: 2x≥1⟹x≥21. Since x is integer, x≥1.
- From 2x−1≤16−x: 2x+x≤16+1⟹3x≤17⟹x≤317≈5.666…. So x≤5 (since x integer).
3. Combine the conditions
We have:
- x≤16 (automatically satisfied by the tighter bound below)
- x≥1
- x≤5
Thus x can be 1,2,3,4,5.
4. Check each value
- x=1: 15C1 valid.
- x=2: 14C3 valid.
- x=3: 13C5 valid.
- x=4: 12C7 valid.
- x=5: 11C9 valid.
All satisfy r≤n and non‑negativity.
Watch outA common mistake is to forget that r must be non‑negative, which eliminates x=0 (since 2(0)−1=−1 is invalid). Also, x=6 gives 10C11 which violates r≤n.
✓Final answerThe correct option is (A).
ANSWER: A
- TG EAPCET 2022Set eng-2022-07-19-FN1 markMCQQ.Let f(x)=sinx, g(x)=cosx, h(x)=x2 then limx→1x−1f(g(h(x)))−f(g(h(1)))= (A) 0 (B) −2sin1cos(cos1) (C) ∞ (D) −2sin1cos1
›Reveal solutionSolution
This is a limit that directly matches the definition of a derivative — we compute the derivative of the composite function f(g(h(x))) at x=1 using the chain rule, giving the result −2sin1cos(cos1).
The expression given is:
limx→1x−1f(g(h(x)))−f(g(h(1)))
This is exactly the definition of the derivative of the function F(x)=f(g(h(x))) at the point x=1. So instead of manipulating the limit algebraically, we can differentiate F and evaluate at x=1.
-
Identify the composition.
We have h(x)=x2, g(u)=cosu, and f(v)=sinv.
So F(x)=sin(cos(x2)).
-
Apply the chain rule.
Differentiate step by step from the outside in:
F′(x)=cos(cos(x2))⋅dxd[cos(x2)]
The derivative of cos(x2) is −sin(x2)⋅2x.
Therefore:
F′(x)=cos(cos(x2))⋅(−sin(x2)⋅2x)
Simplify:
F′(x)=−2xsin(x2)cos(cos(x2))
- Evaluate at x=1.
F′(1)=−2(1)sin(12)cos(cos(12))=−2sin1cos(cos1)
Watch outA common mistake is to stop at −2sin1cos1, forgetting that the argument of the outer cosine is cos1, not 1. The chain rule demands we keep cos(cos1) — the inner function's value stays inside the outer trig function.
TipRecognizing the limit as a derivative saves you from messy algebraic expansions. Whenever you see limx→ax−aF(x)−F(a), immediately think F′(a).
✓Final answerThe value is −2sin1cos(cos1), which corresponds to option (B).
-
- TG EAPCET 2022Set eng-2022-07-20-AN1 markMCQQ.If [x] denotes the greatest integer ≤x, then the range of the real valued function
[!FORMULA] f(x)=x−[x]1
is (A) (0,1) (B) (0,1] (C) (1,∞) (D) [1,∞)›Reveal solutionSolution
The function f(x)=1/x−[x] depends only on the fractional part of x, which lies in [0,1). The denominator approaches 0 from the positive side, making the range (1,∞) — option (C).
The key idea is that x−[x] is the fractional part of x, often written as {x}. For any real x, the greatest integer function [x] chops off the decimal part, leaving a number between 0 (inclusive) and 1 (exclusive). So x−[x]∈[0,1). The square root of this fractional part is then defined only when the fractional part is positive — because the denominator has a square root, and we cannot divide by zero.
Let’s walk through it carefully.
-
Understand the domain.
The expression under the square root must be positive: x−[x]>0. Since x−[x]=0 exactly when x is an integer (e.g., x=3, then [3]=3, so 3−3=0), we exclude all integers. For every non-integer x, the fractional part is a positive number less than 1. So the domain is R∖Z.
-
What values does the fractional part take?
For any real x, the fractional part {x}=x−[x] lies in [0,1). It hits 0 at integers, and can be arbitrarily close to 1 from below (e.g., x=2.9999 gives fractional part 0.9999). So the set of possible values of {x} (excluding integers) is (0,1).
-
Now look at f(x).
We have f(x)={x}1. Since {x} runs over (0,1), the square root {x} runs over (0,1) as well — because the square root of a number between 0 and 1 is also between 0 and 1, and it’s continuous and increasing.
-
Take the reciprocal.
The reciprocal of numbers in (0,1) gives numbers greater than 1. As {x}→0+, {x}→0+, so f(x)→+∞. As {x}→1−, {x}→1−, so f(x)→1+ (approaches 1 from above, but never equals 1 because {x} never reaches 1).
Therefore, f(x) takes every value greater than 1, but never 1 itself.
Watch outA common mistake is to think x−[x] can be 1 (when x is just below an integer, it’s close to 1 but never 1). Also, don’t forget that at integers the function is undefined, so f(x) never equals 0 or 1.
Thus the range is all real numbers strictly greater than 1, i.e., (1,∞).
✓Final answerThe correct option is (C) (1,∞).
-
- TG EAPCET 2022Set eng-2022-07-20-FN1 markMCQQ.Let [x] denote the greatest integer less than or equal to x and f(x)=2x−[2x]. If x→2−limf(x)=l1 and x→2+limf(x)=l2 then l1+l2= (A) 1 (B) 2 (C) 0 (D) 4
›Reveal solutionSolution
The function f(x)=2x−[2x] represents the fractional part of 2x. When x approaches 2 from the left, 2x approaches 4 from the left, making [2x]=3, so l1=1. When x approaches 2 from the right, 2x approaches 4 from the right, making [2x]=4, so l2=0. The sum l1+l2 is 1.
The problem asks us to evaluate the sum of the left-hand and right-hand limits of the function f(x)=2x−[2x] as x approaches 2. The key to solving this is understanding the behavior of the greatest integer function, denoted by [x], especially when its argument approaches an integer.
The greatest integer function [x] gives the largest integer less than or equal to x. For example, [3.9]=3, [4]=4, and [4.1]=4.
The expression x−[x] is often called the fractional part of x, denoted by {x}. It always lies in the interval [0,1). For example, 3.9−[3.9]=3.9−3=0.9, and 4.1−[4.1]=4.1−4=0.1.
So, our function f(x)=2x−[2x] is essentially the fractional part of 2x, i.e., f(x)={2x}.
Let's analyze the behavior of [2x] as x approaches 2 from the left (x→2−) and from the right (x→2+).
-
Calculate l1=x→2−limf(x):
When x→2−, it means x is slightly less than 2. We can write x=2−h, where h is a very small positive number (h→0+).
Substitute this into the argument of the greatest integer function:
2x=2(2−h)=4−2h.
Since h→0+, 2h is a very small positive number. Therefore, 4−2h is a number slightly less than 4 (e.g., 3.999...).
ImportantIf y→k− where k is an integer, then [y]=k−1.
In our case, 2x→4−, so [2x]=[4−2h]=3.
Now, substitute this back into the limit expression for f(x):
l1=limh→0+(2(2−h)−[2(2−h)])
l1=limh→0+((4−2h)−3)
l1=limh→0+(1−2h)
As h→0+, 2h→0.
l1=1−0=1.
-
Calculate l2=x→2+limf(x):
When x→2+, it means x is slightly greater than 2. We can write x=2+h, where h is a very small positive number (h→0+).
Substitute this into the argument of the greatest integer function:
2x=2(2+h)=4+2h.
Since h→0+, 2h is a very small positive number. Therefore, 4+2h is a number slightly greater than 4 (e.g., 4.000...1).
ImportantIf y→k+ where k is an integer, then [y]=k.
In our case, 2x→4+, so [2x]=[4+2h]=4.
Now, substitute this back into the limit expression for f(x):
l2=limh→0+(2(2+h)−[2(2+h)])
l2=limh→0+((4+2h)−4)
l2=limh→0+(2h)
As h→0+, 2h→0.
l2=0.
-
Calculate l1+l2:
We found l1=1 and l2=0.
Therefore, l1+l2=1+0=1.
✓Final answerThe sum l1+l2 is 1.
-
- TG EAPCET 2022Set eng-2022-07-18-FN1 markMCQQ.If [x] represents the greatest integer ≤x, then the range of the real valued function f(x)=[x]2+[x]−21 is (A) (−∞,0]∪(21,∞) (B) (0,21] (C) (−∞,0)∪[2,∞) (D) (0,2]
›Reveal solutionSolution
The function is defined only when the denominator is real and nonzero, which forces [x]2+[x]−2>0. Solving this quadratic in [x] gives [x]<−2 or [x]>1, so [x] can be any integer ≤−3 or ≥2. The corresponding values of f are 1/n2+n−2 for those integers n, and the range is (0,1/2].
Concept and intuition
The greatest integer function [x] takes only integer values. So f(x) depends only on which integer “step” x lies on. The denominator contains [x]2+[x]−2; for the square root to be real and nonzero, the expression inside must be positive. That gives a quadratic inequality in the integer n=[x]. Once we know which integers n are allowed, we plug them into f and see what outputs are possible. Because [x] jumps discontinuously, the range will be a discrete set of values (or a union of intervals if the expression varies continuously within a step — but here it’s constant on each step, so the range is just a set of numbers).
Step-by-step
- Domain condition The denominator is [x]2+[x]−2. For a real-valued function, we need
[x]2+[x]−2>0.
(It cannot be zero because division by zero is undefined; it cannot be negative because the square root of a negative is not real.)
- Solve the quadratic inequality Factor the quadratic:
n2+n−2=(n+2)(n−1)>0,
where n=[x]. The product is positive when both factors have the same sign:
- n+2>0 and n−1>0 ⇒ n>1
- n+2<0 and n−1<0 ⇒ n<−2 So n≤−3 or n≥2 (since n is an integer).
-
Values of f on each allowed integer
For a fixed integer n in the allowed set, f(x)=n2+n−21 for every x with [x]=n.
Compute a few:
- n=2: f=1/4+2−2=1/4=1/2
- n=3: f=1/9+3−2=1/10
- n=4: f=1/16+4−2=1/18=1/(32) As n increases, n2+n−2 grows, so f decreases toward 0 (but never reaches 0).
- n=−3: f=1/9−3−2=1/4=1/2
- n=−4: f=1/16−4−2=1/10
- n=−5: f=1/25−5−2=1/18 So the values for negative n mirror those for positive n (since n2+n−2 is symmetric in the sense that (−n)2+(−n)−2=n2−n−2, but here the allowed n are symmetric about −1/2; actually check: n=−3 gives 4, n=2 gives 4; n=−4 gives 10, n=3 gives 10, etc.).
-
Determine the range
The largest value occurs at the smallest ∣n∣ in the allowed set, i.e., n=2 and n=−3, both giving 1/2.
As ∣n∣ increases, the values get smaller and approach 0 from above.
So the set of outputs is {1/2,1/10,1/18,…} — all positive and at most 1/2.
In interval notation, the supremum is 1/2 (attained), and the infimum is 0 (not attained). Hence the range is (0,1/2].
Watch outA common mistake is to think [x] can be any real number, or to forget that [x] is integer-valued. Another pitfall: including n=1 or n=−2 gives denominator zero, which is not allowed.
TipBecause f is constant on each interval [n,n+1), the range is just the set of values at the allowed integers. No need to consider continuity within intervals.
✓Final answerThe correct option is (B).
ANSWER: B
🎓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.