Q.Find the domain of the function f(x)=x2−8x+12x2+2x+1.
Concept understanding — Rational Function Domain
What is a Rational Function Domain?
Imagine you're baking a cake and the recipe says "add flour until the mixture is smooth." If you add too much flour, the mixture becomes a dry lump — it stops being a proper batter. A rational function is like that mixture: it's a fraction made of two polynomials, and it only "works" when the denominator isn't zero.
A rational function looks like this:
f(x)=Q(x)P(x)
where P(x) and Q(x) are polynomials, and Q(x)=0.
The domain of a rational function is simply the set of all real numbers x for which the function is defined — meaning, all x except those that make the denominator zero.
The Intuition First
Think of division in everyday life. You can divide 10 apples among 5 people — that's fine. You can divide 10 apples among 2 people — also fine. But can you divide 10 apples among 0 people? That doesn't make sense. You can't split something among nobody.
In the same way, a rational function is a division. The denominator tells you "how many groups" you're splitting into. If the denominator is zero, the division is impossible — the function has no value there.
So the domain is: all real numbers, except the ones that make the bottom zero.
The Precise Statement
Domain of f(x)=Q(x)P(x) is {x∈R∣Q(x)=0}
In plain words: find every x that makes Q(x)=0, and remove those from the set of all real numbers.
How to Find the Domain — Step by Step
Step 1: Write down the denominator Q(x).
Step 2: Set Q(x)=0 and solve for x.
Step 3: The domain is all real numbers except those solutions.
You only care about the denominator. The numerator P(x) can be anything — even zero — and the function is still defined (it just equals zero). Only the denominator matters for domain.
Examples
Example 1: f(x)=x−31
Denominator: x−3=0⟹x=3
Domain: all real numbers except 3. In interval notation: (−∞,3)∪(3,∞)
Example 2: f(x)=x2−4x2+1
Denominator: x2−4=0⟹(x−2)(x+2)=0⟹x=2 or x=−2
Domain: all real numbers except 2 and −2. In interval notation: (−∞,−2)∪(−2,2)∪(2,∞)
Example 3: f(x)=x2+12x+5
Denominator: x2+1=0⟹x2=−1 — no real solution.
Domain: all real numbers, i.e., (−∞,∞)
A common mistake: students sometimes set the numerator equal to zero and remove those values. Don't! The numerator being zero is fine — it just makes the function zero. Only the denominator matters for domain.
Why This Matters
In exams, you'll often be asked to find the domain of a rational function before doing anything else — graphing, finding asymptotes, or solving equations. Getting the domain wrong means everything that follows is wrong.
Also, the domain tells you where the function "lives." Those excluded points are where vertical asymptotes or holes appear on the graph — but that's a topic for another day.
Quick Check
Find the domain of f(x)=x2−5x+63x.
Denominator: x2−5x+6=(x−2)(x−3)=0⟹x=2,3
Domain: (−∞,2)∪(2,3)∪(3,∞)
Finding the domain of a rational function by excluding values that make the denominator zero is a fundamental skill in the NCERT Class 11 Mathematics chapter on Relations and Functions, and "domain of a rational function examples" is a commonly searched topic for CBSE board and JEE Main preparation. This step is also a prerequisite for correctly answering graphing and asymptote questions that appear in "functions important questions" for competitive exams.
Concept: Rational Function Domain — the domain excludes any x that makes the denominator zero.
Step 1: Set the denominator equal to zero and solve.
x2−8x+12=0
Step 2: Factor the quadratic.
(x−2)(x−6)=0
Step 3: The zeros are x=2 and x=6. These values must be excluded from the domain.
The domain is all real numbers except x=2 and x=6: (−∞,2)∪(2,6)∪(6,∞).
The domain of a rational function excludes any x that makes the denominator zero. Here, solving x2−8x+12=0 gives x=2 and x=6, so the domain is all real numbers except 2 and 6.
Why domain matters for rational functions
A rational function is a fraction of two polynomials. The only thing that can go wrong — the only place where the function is undefined — is when the denominator equals zero. Division by zero is not allowed in real numbers, so we must find every x that makes the denominator zero and remove those values from the domain.
The numerator can be anything; it doesn't affect the domain at all. Even if the numerator is also zero at the same x, the function is still undefined (that would give a 0/0 form, which is indeterminate, not a real number).
So the task reduces to: find all real zeros of the denominator, then state that the domain is R minus those points.
Step-by-step
- Identify the denominator. The denominator of f(x) is x2−8x+12. We need to solve:
x2−8x+12=0
- Factor the quadratic. Look for two numbers that multiply to +12 and add to −8. Those numbers are −2 and −6, because:
(−2)×(−6)=12and(−2)+(−6)=−8
So the factorization is:
x2−8x+12=(x−2)(x−6)
- Set each factor to zero.
x−2=0⇒x=2
x−6=0⇒x=6
- State the domain. The function is defined for every real x except 2 and 6. In set notation:
Domain={x∈R∣x=2 and x=6}
Or in interval notation:
(−∞,2)∪(2,6)∪(6,∞)
A common mistake is to also exclude values that make the numerator zero. That is not correct — the numerator can be zero safely (the function value is just 0). Only the denominator matters for domain.
If the denominator had been something like x2+1, which has no real zeros, the domain would be all real numbers. Always check the discriminant b2−4ac first: if it's negative, the denominator never hits zero, and the domain is R.
The domain is all real numbers except x=2 and x=6: (−∞,2)∪(2,6)∪(6,∞).
- KCET 2026Set UNKNOWN1 markMCQQ.The domain of the function 9−xx−7 is (A) (7,9) (B) [7,9) (C) [7,9] (D) (7,9]
›Reveal solutionSolution
The expression under the square root must be ≥0, and the denominator can never be zero; a sign chart around x=7 and x=9 gives the domain.
Step 1 — Set up the condition
For 9−xx−7 to be real, we need
9−xx−7≥0,9−x=0 (i.e. x=9).
Step 2 — Sign analysis
The critical points are x=7 (numerator zero) and x=9 (denominator zero).
- For x<7: numerator (x−7)<0, denominator (9−x)>0 ⇒ quotient <0. Rejected.
- At x=7: quotient =0≥0. Included.
- For 7<x<9: numerator >0, denominator >0 ⇒ quotient >0. Included.
- At x=9: denominator =0, undefined. Excluded.
- For x>9: numerator >0, denominator <0 ⇒ quotient <0. Rejected.
Step 3 — Combine
The domain is all x with 7≤x<9, i.e. [7,9).
✓Final answerThe correct option is (B) — [7,9).
- KCET 2025Set A-11 markMCQQ.If f(x)=sin[π2x]x−sin[−π2x]x, where [x]= greatest integer ≤x, then which of the following is not true? (A) f(0)=0 (B) f(2π)=1 (C) f(4π)=1+21 (D) f(π)=−1
›Reveal solutionSolution
Evaluate the greatest-integer constants first ([π2]=9, [−π2]=−10) to reduce f to sin9x+sin10x, then test each option; only f(π)=−1 fails.
Step 1 — Evaluate the greatest-integer constants.
π2=9.8696…⇒[π2]=9
−π2=−9.8696…⇒[−π2]=−10
Why −10 and not −9: [y] is the greatest integer not exceeding y. Since −10≤−9.87<−9, the greatest integer below −9.87 is −10. (Students routinely write −9 here — that is the whole trap of this problem.)
Step 2 — Simplify f.
f(x)=sin([π2]x)−sin([−π2]x)=sin(9x)−sin(−10x)
Since sin is odd, sin(−10x)=−sin(10x):
f(x)=sin9x+sin10x
Step 3 — Test each option.
(A) f(0):
f(0)=sin0+sin0=0⇒f(0)=0TRUE
(B) f(π/2):
f(2π)=sin29π+sin210π=sin(4π+2π)+sin(5π)
=sin2π+0=1+0=1TRUE
(C) f(π/4):
f(4π)=sin49π+sin410π=sin(2π+4π)+sin25π
=sin4π+sin(2π+2π)=21+1TRUE
(D) f(π):
f(π)=sin9π+sin10π
Both arguments are integer multiples of π, and sin(nπ)=0 for every integer n:
=0+0=0=−1NOT TRUE
Step 4 — Answer the question as asked.
The question asks which statement is not true; three statements check out and only f(π)=−1 fails (the true value is 0).
✓Final answerThe correct option is (D) f(π)=−1 — this is the statement that is not true, since f(π)=0.
ANSWER: D
- KCET 2024Set A-11 markMCQQ.Let f:R→R be defined by f(x)=x2+1. Then the pre images of 17 and −3 respectively are (A) ϕ,{4,−4} (B) {3,−3},ϕ (C) {4,−4},ϕ (D) {4,−4},{2,−2}
›Reveal solutionSolution
The pre‑image of a value is the set of all x such that f(x) equals that value. For f(x)=x2+1, the pre‑image of 17 is {4,−4} and the pre‑image of −3 is ϕ (the empty set). The correct option is (C).
The core idea here is the meaning of pre‑image (also called inverse image). For a function f:R→R, the pre‑image of a number y is the set of all x in the domain that map to y:
f−1(y)={x∈R∣f(x)=y}.
It is not about finding an inverse function — it is about solving the equation f(x)=y and collecting all solutions.
Now f(x)=x2+1 is a parabola opening upward, with minimum value 1 at x=0. So f(x) can never be less than 1. That immediately tells us something about the pre‑image of −3.
Let’s work through each case.
- Pre‑image of 17 Set f(x)=17:
x2+1=17⇒x2=16⇒x=±4.
Both 4 and −4 are real numbers, so the pre‑image is {4,−4}.
- Pre‑image of −3 Set f(x)=−3:
x2+1=−3⇒x2=−4.
No real number squared gives −4. Hence there is no x∈R satisfying this equation. The pre‑image is the empty set ϕ.
Watch outA common mistake is to think the pre‑image of −3 is {2,−2} because 22+1=5 and −22+1=5 — that’s for 5, not −3. Always solve the equation directly; don’t guess.
TipFor a quadratic like x2+1, the range is [1,∞). Any target y<1 automatically has an empty pre‑image in R. Here −3<1, so the answer for −3 must be ϕ without any calculation.
Thus the pre‑images are {4,−4} for 17 and ϕ for −3.
✓Final answerThe correct option is (C).
- COMEDK 2024Set 2024-A1 markMCQQ.
[!FORMULA] The number of points of discontinuity of the rational function f(x)=4x−x3x2−3x+2
(A) 3 (B) 2 (C) 5 (D) 1›Reveal solutionSolution
A rational function is discontinuous where its denominator is zero. Factoring the denominator gives 4x−x3=x(2−x)(2+x), so zeros at x=0,2,−2. The numerator x2−3x+2=(x−1)(x−2) cancels the factor (x−2) with the denominator, so x=2 is a removable discontinuity (a hole), not a vertical asymptote. Thus the points of discontinuity are x=0 and x=−2 only — 2 points.
Concept & Intuition
A rational function f(x)=Q(x)P(x) is defined everywhere except where Q(x)=0. At such an x, the function may have a vertical asymptote (non-removable discontinuity) or a hole (removable discontinuity) if the same factor also appears in P(x). The question asks for the number of points of discontinuity — that includes both holes and asymptotes, because at those x-values the function is not defined. So we must find all real zeros of the denominator, then check for cancellation.
Step-by-step solution
- Factor numerator and denominator Numerator: x2−3x+2=(x−1)(x−2). Denominator: 4x−x3=−x(x2−4)=−x(x−2)(x+2). So
f(x)=−x(x−2)(x+2)(x−1)(x−2).
-
Identify all zeros of the denominator
Set denominator = 0: −x(x−2)(x+2)=0 gives x=0,x=2,x=−2.
These are the only candidates for discontinuity.
-
Check for cancellation (removable vs. non-removable)
The factor (x−2) appears in both numerator and denominator. Cancel it:
f(x)=−x(x+2)x−1for x=2.
At x=2, the original function is undefined, but the limit exists (it’s a hole). So x=2 is a discontinuity (removable).
The factors x and (x+2) remain in the denominator only, so at x=0 and x=−2 the function blows up (vertical asymptotes). These are also discontinuities.
- Count the points of discontinuity All three x-values 0,2,−2 are points where f is not defined. Therefore there are 3 points of discontinuity.
Watch outA common mistake is to count only vertical asymptotes and ignore holes. The problem asks for points of discontinuity, which includes holes. Here x=2 is a hole, so it counts.
TipAlways factor completely and cancel common factors before listing discontinuities — but remember that cancelled factors still produce a hole, so they still count.
✓Final answerThe correct option is (A).
ANSWER: A
- COMEDK 2024Set 2024-E1 markMCQQ.The domain of the function y=log10(3−x)1+x+7 is (A) [−7,3]−{1} (B) (−7,3)−{0} (C) [−7,3)−{2} (D) (−7,3)
›Reveal solutionSolution
The domain is all real numbers that make both terms defined: the square root requires x+7≥0, the logarithm requires its argument positive and its base positive and not 1, and the denominator cannot be zero. The result is [−7,3)−{2}, which matches option (C).
Concept & Intuition
A function’s domain is the set of inputs for which every piece of its expression is defined. Here we have two pieces: a square root and a fraction whose denominator contains a logarithm. Each imposes its own restrictions, and the domain is the intersection of all those conditions. The trick is to handle the logarithm carefully: the argument 3−x must be positive, the base 10 is fine (positive and not 1), but the denominator log10(3−x) cannot be zero — that happens when 3−x=1.
Step-by-step reasoning
- Square root condition x+7 requires the radicand to be non‑negative:
x+7≥0⇒x≥−7.
- Logarithm argument condition log10(3−x) is defined only when its argument is positive:
3−x>0⇒x<3.
- Denominator non‑zero condition The denominator is log10(3−x). A fraction is undefined when its denominator is zero, so we need
log10(3−x)=0.
Since log10(u)=0 exactly when u=1, this gives
3−x=1⇒x=2.
- Combine all conditions From steps 1–3 we have:
x≥−7,x<3,x=2.
In interval notation, x≥−7 and x<3 together give [−7,3). Excluding x=2 yields [−7,3)−{2}.
TipA common mistake is forgetting that the base of a logarithm must also be positive and not 1. Here the base is 10, which is fine, so no extra restriction arises. But always check the base when it’s a variable.
Watch outSome might incorrectly include x=3 because they forget the logarithm argument must be strictly positive, not just non‑negative. Also, x=2 is often missed — remember log10(1)=0 makes the denominator zero.
✓Final answerThe correct option is (C).
ANSWER: C
- KCET 2019Set A-11 markMCQQ.If ∣3x−5∣≤2 then (A) −1≤x≤37 (B) 1≤x≤37 (C) 1≤x≤39 (D) −1≤x≤39
›Reveal solutionSolution
Unfold the modulus into −2≤3x−5≤2 and solve the double inequality for x.
Step 1 — The concept: what a modulus inequality means.
For any real a and any b>0,
∣a∣≤b⟺−b≤a≤b.
The reason: ∣a∣ is the distance of a from 0 on the number line, so ∣a∣≤b says "a lies within b units of the origin", i.e. a lies in the closed interval [−b,b].
(Contrast with ∣a∣≥b, which splits into a≤−b or a≥b — that one gives two separate rays, not a single interval. Here the sign is ≤, so we get one interval.)
Step 2 — Apply it with a=3x−5 and b=2.
∣3x−5∣≤2⟹−2≤3x−5≤2.
Step 3 — Add 5 to all three parts.
Adding the same number to every part of a double inequality preserves it:
−2+5≤3x−5+5≤2+5
3≤3x≤7.
Step 4 — Divide throughout by 3.
Dividing by a positive number preserves the direction of the inequalities:
33≤x≤37
1≤x≤37.
Step 5 — Sanity-check the endpoints and the options.
- At x=1: ∣3(1)−5∣=∣−2∣=2≤2 ✓ (boundary satisfied, so ≤ is right).
- At x=37: 3⋅37−5=∣7−5∣=2≤2 ✓.
- At x=0 (in option (A)'s range but not ours): ∣0−5∣=5≤2 ✗ — so (A), with its lower bound −1, is too wide.
- Options (C) and (D) carry the upper bound 39=3; at x=3, ∣9−5∣=4≤2 ✗.
Only (B) matches exactly.
✓Final answerThe correct option is (B) — 1≤x≤37.
ANSWER: B
- KCET 2018Set A-11 markMCQQ.The value of limx→0x∣x∣ is (A) 1 (B) −1 (C) 0 (D) Does not exist
›Reveal solutionSolution
The limit does not exist because the left-hand limit (−1) and the right-hand limit (+1) are different, so the two-sided limit is undefined.
The core idea here is that the absolute value function ∣x∣ behaves differently depending on whether x is positive or negative. When x is positive, ∣x∣=x; when x is negative, ∣x∣=−x. This means the expression x∣x∣ simplifies to two different constants on either side of zero. For a limit to exist at a point, the function must approach the same value from both sides. Here, it doesn't — so the limit does not exist.
-
Understand the function piecewise.
For x>0, ∣x∣=x, so x∣x∣=xx=1.
For x<0, ∣x∣=−x, so x∣x∣=x−x=−1.
The function is not defined at x=0 itself (division by zero), but that is irrelevant for a limit — we only care about values near zero.
-
Compute the right-hand limit (as x→0+).
When x approaches 0 from the positive side, x is always positive, so x∣x∣=1.
Hence, limx→0+x∣x∣=1.
-
Compute the left-hand limit (as x→0−).
When x approaches 0 from the negative side, x is always negative, so x∣x∣=−1.
Hence, limx→0−x∣x∣=−1.
-
Compare the two one-sided limits.
The right-hand limit is 1, and the left-hand limit is −1. Since 1=−1, the two-sided limit limx→0x∣x∣ does not exist.
Watch outA common mistake is to cancel ∣x∣ and x without considering the sign. Remember: ∣x∣ is not the same as x when x is negative. Always split into cases when an absolute value appears near a point where the sign changes.
TipThe function x∣x∣ is actually the sign function (without the zero case): it equals 1 for x>0, −1 for x<0, and is undefined at 0. Its graph is two horizontal lines with a jump at the origin — a clear visual clue that the limit does not exist.
✓Final answerThe correct option is (D) — the limit does not exist.
-
🎓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.