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,∞).
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.The set of all real values of x such that f(x)=[x]2−[x]−6[x]−1 is a real valued function is (A) [1,∞) (B) (−∞,−2)∪[4,∞) (C) [−1,3) (D) [−1,2)∪[4,∞)
›Reveal solutionSolution
With n=[x], the radicand's sign analysis restricts n to {−1,0,1,4,5,…}, which converts (via [x]=n⟺x∈[n,n+1)) into the domain [−1,2)∪[4,∞).
Concept and Intuition
For f(x)=[x]2−[x]−6[x]−1 to be real, the fraction inside the square root must be ≥0, and the denominator must be non-zero. Since the expression depends only on [x] (an integer), first solve the inequality treating n=[x] as an integer variable, then translate back to x using [x]=n⟺n≤x<n+1.
Step-by-Step Solution
- Factor the denominator: n2−n−6=(n−3)(n+2).
- Need (n−3)(n+2)n−1≥0, n=3,−2.
- Sign chart with critical points −2,1,3: for n<−2: numerator negative, denominator (neg)(neg)=positive -> ratio negative. For −2<n<1: numerator negative, denominator (neg)(pos)=negative -> ratio positive. For 1<n<3: numerator positive, denominator (neg)(pos)=negative -> ratio negative. For n>3: all positive -> ratio positive. At n=1: ratio =0 (allowed, included).
- So real-valued solution set for n: (−2,1]∪(3,∞).
- Integers in this set: n=−1,0,1 (inside (−2,1]) and n=4,5,6,… (inside (3,∞), note n=3 excluded).
- Translate to x: n=−1⇒x∈[−1,0); n=0⇒[0,1); n=1⇒[1,2) — union =[−1,2). And n≥4⇒x∈[4,∞).
- Total domain: [−1,2)∪[4,∞).
Common Mistakes
- Treating [x] as a continuous variable and writing the answer purely in terms of real-number sign analysis without converting back through the floor-function definition.
- Forgetting to exclude n=3 and n=−2 (denominator zero) from the integer set.
✓Final answerThe correct option is (D) — [−1,2)∪[4,∞).
ANSWER: D
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.The set of all real values of x for which f(x) = ∣x∣−3∣x∣−2 is a well defined function is (A) (−3,−2]∪(2,3] (B) R−[−3,−2)∪(2,3] (C) R−[−3,3] (D) (−3,3)
›Reveal solutionSolution
The domain requires ∣x∣−3∣x∣−2≥0; solving in t=∣x∣ and converting back gives (−∞,−3)∪[−2,2]∪(3,∞), i.e. option (B).
Concept and Intuition
For a square root to be a real, well-defined function, the expression under it must be ≥0, AND if that expression is a fraction, the denominator must additionally be non-zero (division by zero is never allowed, even though 0/anything nonzero=0≥0 would otherwise be fine). Working with ∣x∣ makes the problem symmetric, so it helps to substitute t=∣x∣≥0 and solve the resulting rational inequality in t first, then translate back to x.
Step-by-Step Solution
- Domain condition: ∣x∣−3∣x∣−2≥0 and ∣x∣=3.
- Let t=∣x∣≥0. Solve t−3t−2≥0. The critical points are t=2 (numerator zero, included) and t=3 (denominator zero, excluded).
- Sign analysis: for t<2, both t−2<0 and t−3<0, so the quotient is positive. At t=2, quotient =0 (included, since ≥0). For 2<t<3, t−2>0,t−3<0: quotient negative (excluded). For t>3, both positive: quotient positive (included). So the solution in t is t∈[0,2]∪(3,∞) (recall t≥0 always).
- Convert back: t≤2⟺∣x∣≤2⟺x∈[−2,2]. And t>3⟺∣x∣>3⟺x∈(−∞,−3)∪(3,∞).
- Combined domain: x∈(−∞,−3)∪[−2,2]∪(3,∞).
- Check this equals R∖([−3,−2)∪(2,3]): removing [−3,−2) from R leaves (−∞,−3)∪[−2,∞); further removing (2,3] leaves (−∞,−3)∪[−2,2]∪(3,∞) — an exact match.
Common Mistakes
- Forgetting to also exclude the point where the denominator vanishes (∣x∣=3), which is easy to lose when just solving the sign pattern.
- Sign-analysis errors at the boundary points — check with test values whether each endpoint is included or excluded.
✓Final answerThe correct option is (B) — R−[−3,−2)∪(2,3].
ANSWER: B
- AP EAPCET 2022Set eng-2022-07-04-AN1 markMCQQ.{x∈R/log(2−x−x2)∣x∣2−2∣x∣−8 is a real number}= (A) (−∞,−4]∪[4,∞) (B) ϕ (C) (−1,2) (D) (−∞,−4]∪(−1,2)∪[4,∞)
›Reveal solutionSolution
The numerator forces ∣x∣≥4 while the denominator forces −2<x<1; these two conditions can never hold simultaneously, so the solution set is the empty set ϕ.
Concept and Intuition
For the given expression to be a real number, two separate conditions must both hold:
- The quantity under the square root in the numerator must be non-negative.
- The argument of the logarithm in the denominator must be strictly positive (log undefined for zero/negative arguments), and the denominator itself must not vanish.
The domain is the intersection of all such conditions.
Step-by-Step Solution
- Numerator condition: ∣x∣2−2∣x∣−8≥0. Let u=∣x∣≥0. Then u2−2u−8≥0⇒(u−4)(u+2)≥0⇒u≤−2 or u≥4. Since u≥0 always, only u≥4 survives, giving ∣x∣≥4, i.e. x≤−4 or x≥4.
- Denominator condition: need 2−x−x2>0⇒x2+x−2<0⇒(x+2)(x−1)<0⇒−2<x<1.
- Intersection: (x≤−4 or x≥4)∩(−2<x<1). The first set lies entirely outside (−2,1), so the intersection is empty.
- Hence the set of real x satisfying both conditions simultaneously is ϕ.
Common Mistakes
- Forgetting that u=∣x∣≥0 restricts which factor of the quadratic in u is admissible (discarding u≤−2 is essential).
- Solving the numerator and denominator conditions independently and picking one, instead of correctly taking their intersection.
✓Final answerThe correct option is (B) — ϕ.
ANSWER: B
- AP EAPCET 2022Set eng-2022-07-04-AN1 markMCQQ.The domain of the real valued function f(x)=sin(log(1−x4−x2)) is (A) (1,4) (B) (−1,1) (C) (−2,1) (D) (−2,4)
›Reveal solutionSolution
The domain combines "real square root" (−2≤x≤2), "positive log argument" (needs 1−x>0), and excludes the endpoints where the numerator vanishes, giving (−2,1).
Concept and Intuition
f(x)=sin(log(g(x))) is defined wherever g(x)=1−x4−x2 is a well-defined positive real number (since log needs a strictly positive argument; sin itself is defined for all reals, so it imposes no further restriction).
Step-by-Step Solution
- Square root real: 4−x2≥0⇒−2≤x≤2.
- Log argument positive: g(x)=1−x4−x2>0. The numerator 4−x2≥0, being exactly zero only at x=±2. For g(x) to be strictly positive (log of 0 is undefined), we need x=±2 so the numerator is strictly positive, and then the sign of g(x) matches the sign of the denominator 1−x.
- So we need 1−x>0⇒x<1.
- Combine with step 1 (excluding the endpoints ±2 automatically once x<1 excludes x=2, and we must separately also exclude x=−2 since it lies in x<1 but makes the numerator 0): so from −2≤x≤2 and x<1, excluding x=−2 (where numerator is 0), the valid domain is −2<x<1.
- This matches (−2,1).
Common Mistakes
- Forgetting to exclude x=−2 (where 4−x2=0, making the log argument zero — undefined) even though it satisfies x<1.
- Not checking the sign of the denominator (1−x) and instead assuming the whole expression is automatically positive because of the square root.
✓Final answerThe correct option is (C) — (−2,1).
ANSWER: C
- AP EAPCET 2022Set eng-2022-07-06-AN1 markMCQQ.The domain of the real valued function f(x) = x+32−x+1+x is (A) [−1,2] (B) (−1,2) (C) [−1,∞) (D) [2,∞)
›Reveal solutionSolution
The domain is fixed by three simultaneous conditions — two square-root non-negativity conditions and one strict positivity for the denominator — giving [−1,2].
Concept and Intuition
For a real-valued function built from square roots, every expression under a radical must be ≥0 for the square root to be a real number, and any radical sitting in the denominator must additionally be strictly positive (since division by zero is undefined, and a square root can equal zero when its argument is zero). The domain is the intersection of all these individual conditions.
Step-by-Step Solution
- Numerator term 2−x requires 2−x≥0⇒x≤2.
- Numerator term 1+x requires 1+x≥0⇒x≥−1.
- Denominator term x+3 requires x+3>0 (strict, since it's a denominator) ⇒x>−3.
- Intersecting all three: x≥−1, x≤2, and x>−3 (automatically satisfied whenever x≥−1). The combined domain is −1≤x≤2, i.e. [−1,2].
Common Mistakes
- Forgetting that the denominator's radical needs a strict inequality (excluding the point where it would be zero), though here that point (x=−3) already falls outside the range fixed by the other two conditions, so it doesn't change the final answer.
- Incorrectly making the interval open at −1 or 2 (it should be closed, since equality is allowed for the numerator's square roots).
✓Final answerThe correct option is (A) — [−1,2].
ANSWER: A
- AP EAPCET 2022Set eng-2022-07-08-AN1 markMCQQ.The domain of the real valued function f(x)=3−∣x∣2−∣x∣ is (A) (−∞,∞) (B) (−∞,−3)∪(2,∞) (C) (−∞,−3]∪(−2,2)∪[3,∞) (D) (−∞,−3)∪[−2,2]∪(3,∞)
›Reveal solutionSolution
The domain reduces to a sign analysis of a rational expression in t=∣x∣, then translating the valid t-range back through the even function ∣x∣.
Concept and Intuition
For a square root to be real, the radicand must be ≥0, and the denominator must never vanish. Substituting t=∣x∣ turns this into an ordinary rational-inequality problem.
Step-by-Step Solution
- Need 3−∣x∣2−∣x∣≥0 and ∣x∣=3.
- Let t=∣x∣≥0. Critical points are t=2 and t=3.
- For 0≤t<2: numerator 2−t>0, denominator 3−t>0 ⇒ ratio >0. Valid.
- At t=2: ratio =0. Valid (square root of 0 is defined).
- For 2<t<3: numerator negative, denominator positive ⇒ ratio <0. Invalid.
- At t=3: denominator zero — excluded.
- For t>3: numerator negative, denominator negative ⇒ ratio >0. Valid.
- So valid t: t∈[0,2]∪(3,∞).
- Translate to x via t=∣x∣: t∈[0,2]⇒x∈[−2,2]. t>3⇒∣x∣>3⇒x<−3 or x>3.
- Domain =(−∞,−3)∪[−2,2]∪(3,∞).
Common Mistakes
- Forgetting that t=2 (numerator zero) is allowed since 0 is defined, while t=3 must be excluded.
- Sign errors when translating strict/non-strict inequalities on t back to symmetric intervals on x.
✓Final answerThe correct option is (D) — (−∞,−3)∪[−2,2]∪(3,∞).
ANSWER: D
- AP EAPCET 2021Set eng-2021-08-23-AN1 markMCQQ.The domain of the function defined by f(x)=4x2+1−5+x2−4 is (A) R (B) (−∞,−2) (C) (−∞,−2]∪[2,∞) (D) (2,∞)
›Reveal solutionSolution
The rational term is defined everywhere; the square-root term restricts the domain to x2≥4, giving (−∞,−2]∪[2,∞).
Concept and Intuition
The domain of a sum of functions is the intersection of each piece's individual domain — every term must be simultaneously defined.
Step-by-Step Solution
- For 4x2+1−5: the denominator 4x2+1≥1 for all real x (since x2≥0), so this term is defined for every real x — domain =R.
- For x2−4: need x2−4≥0⇒x2≥4⇒x≤−2 or x≥2 — domain =(−∞,−2]∪[2,∞).
- Intersecting the two domains: since the first is all of R, the overall domain is exactly the second piece's domain: (−∞,−2]∪[2,∞).
Common Mistakes
- Forgetting to check whether x=±2 (boundary) should be included — since ⋅≥0 requires only ≥0 (not strictly >0), the endpoints are included, giving closed brackets.
- Mistakenly restricting the domain further using the rational term, which actually places no restriction at all.
✓Final answerThe correct option is (C) — (−∞,−2]∪[2,∞).
ANSWER: C
- AP EAPCET 2021Set eng-2021-08-24-AN1 markMCQQ.The domain of the function f(x)=∣x∣−x1 is (A) (0,∞) (B) (−∞,0) (C) (−∞,∞)∖{0} (D) (−∞,∞)
›Reveal solutionSolution
The expression under the square root, ∣x∣−x, must be strictly positive (it's in the
denominator); checking cases shows this holds only for negative x.
Concept and Intuition
∣x∣−x measures "how far x is below zero, doubled": for non-negative x it's identically
zero (since ∣x∣=x), and for negative x it becomes 2∣x∣, always positive. Since this
quantity sits under a square root that is itself in a denominator, we need it to be strictly
greater than zero — zero would make the denominator zero (undefined), and any negative value
would make the square root undefined.
Step-by-Step Solution
- Require ∣x∣−x>0 (strict inequality, both for the square root to be real and non-zero, and to avoid division by zero).
- Case x≥0: ∣x∣=x⇒∣x∣−x=0, which fails the strict inequality for every such x.
- Case x<0: ∣x∣=−x⇒∣x∣−x=−x−x=−2x. Since x<0, −2x>0 — always true.
- Combining: the domain is precisely {x:x<0}=(−∞,0).
Common Mistakes
- Allowing x=0 by mistake (thinking ≥0 is enough) — but at x=0 the expression under the root is 0, giving a zero denominator, which is undefined.
✓Final answerThe correct option is (B) — (−∞,0).
ANSWER: B
- AP EAPCET 2021Set eng-2021-08-24-FN1 markMCQQ.The domain of defined of the function f(x)=2−∣x∣1−∣x∣ is ____ (A) [−1,1]∪(−∞,−2]∪[2,∞) (B) [−1,1]∪(−∞,−2)∪(2,∞) (C) (∞,2)∪(2,∞) (D) R
›Reveal solutionSolution
Solving 2−∣x∣1−∣x∣≥0 (with ∣x∣=2) via sign analysis on t=∣x∣ gives the domain [−1,1]∪(−∞,−2)∪(2,∞), with the points x=±2 excluded since the denominator vanishes there.
Concept and Intuition
For a square root to be real, the expression inside must be ≥0, and since this is a ratio, we also need the denominator to be nonzero (division by zero is undefined). Substituting t=∣x∣≥0 turns this into a one-variable rational-inequality problem, which is solved by sign analysis across the critical points where numerator or denominator vanish.
Step-by-Step Solution
- Let t=∣x∣≥0. We require 2−t1−t≥0 and 2−t=0 (i.e. t=2).
- Critical points of the rational expression: t=1 (numerator zero) and t=2 (denominator zero).
- For t∈[0,1): 1−t>0, 2−t>0 → ratio positive. At t=1: ratio =0, allowed since ≥0 is satisfied (square root of 0 is defined). So [0,1] is valid.
- For t∈(1,2): 1−t<0, 2−t>0 → ratio negative. Invalid (would need square root of a negative number).
- At t=2: denominator is zero — undefined, excluded.
- For t>2: 1−t<0, 2−t<0 → ratio =negneg>0. Valid, so (2,∞) works.
- Combining: t∈[0,1]∪(2,∞). Since t=∣x∣, this means ∣x∣≤1 (giving x∈[−1,1]) or ∣x∣>2 (giving x∈(−∞,−2)∪(2,∞), both open since ∣x∣=2 is excluded).
- Final domain: [−1,1]∪(−∞,−2)∪(2,∞).
Common Mistakes
- Including x=±2 as closed endpoints — but the denominator is zero there, so it must be strictly excluded (open interval).
- Forgetting to translate the condition on t=∣x∣ back into a condition on x correctly (symmetric intervals about zero).
✓Final answerThe correct option is (B) — [−1,1]∪(−∞,−2)∪(2,∞).
ANSWER: B
- AP EAPCET 2021Set eng-2021-08-25-AN1 markMCQQ.What is the range the function h(x)=x+3x−2? (A) (−∞,2)∪(2,∞) (B) (−∞,1)∪(1,∞) (C) (−∞,−3)∪(−3,∞) (D) (−∞,−1)∪(−1,∞)
›Reveal solutionSolution
Solving y=h(x) for x in terms of y shows every real value except y=1 is attainable. Answer: (B).
Concept and Intuition
For a rational function of the form cx+dax+b, the range excludes exactly the value of y for which solving for x produces a zero denominator — this corresponds to the horizontal asymptote value a/c.
Step-by-Step Solution
- Let y=x+3x−2.
- Cross-multiply: y(x+3)=x−2⇒yx+3y=x−2⇒x(y−1)=−2−3y.
- x=y−1−2−3y, defined for every y except y=1.
- So every real number except 1 is in the range.
Common Mistakes
- Excluding the domain value x=−3 instead of correctly identifying the range exclusion, which is the horizontal asymptote y=1 (the ratio of leading coefficients, 1/1).
✓Final answerThe correct option is (B) — (−∞,1)∪(1,∞).
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.