← Back to course

Math — Mechina

Domain and the sign chart method

Summary

The domain of an expression is all values of xx for which it is defined. Check it before anything else.

  • The denominator is not zero: 1x−2\frac{1}{x-2} is defined only for x≠2x\neq 2.
  • An expression under an even root is non-negative: x+3\sqrt{x+3} is defined only for x≥−3x\geq -3.
  • With several conditions, the domain is the intersection of all of them.

An inequality with a fraction or a product is solved with a sign chart (the interval method):

  • Move everything to one side, so that 00 remains on the other.
  • Factor the numerator and the denominator.
  • Mark the zeros of the numerator and denominator on the number line. Denominator points are always open (not in the solution).
  • Check the sign on each interval and choose the matching intervals.
−+−+-213
(x−1)(x+2)x−3≥0\frac{(x-1)(x+2)}{x-3}\geq 0: the solution is −2≤x≤1-2\leq x\leq 1 or x>3x>3. The point 33 is open because it makes the denominator zero.

A squared factor, such as (x−2)2(x-2)^2, does not change sign when passing through x=2x=2. At that point the expression only becomes zero.

Question types

1

Domain of an expression

Usually the first part of a function-analysis question, or a condition checked before solving an equation.

Worked example

Find the domain of f(x)=x+3x−2f(x)=\frac{\sqrt{x+3}}{x-2}.

Solution

  1. Root: x+3≥0x+3\geq 0, i.e. x≥−3x\geq -3.
  2. Denominator: x−2≠0x-2\neq 0, that is x≠2x\neq 2.
  3. Intersection of the conditions: x≥−3x\geq -3 and x≠2x\neq 2.
-32

Variants of this type · 3

1.1Root in the denominator

Worked example

Find the domain of f(x)=25−xf(x)=\frac{2}{\sqrt{5-x}}.

Solution

IdeaRoot in the denominator — the expression under the root must be strictly positive (not just non-negative).
  1. 5−x>05-x>0.

    Why: ≥\geq would allow 00 in the denominator.

  2. x<5x<5.
Checkx=5x=5: 20\frac{2}{0} ✓ excluded.
Common mistakeWriting 5−x≥05-x\geq 0 and including x=5x=5.
1.2Root of a fraction

Worked example

Find the domain of f(x)=x−1x+2f(x)=\sqrt{\frac{x-1}{x+2}}.

Solution

Ideax−1x+2≥0\frac{x-1}{x+2}\geq 0 — a sign-chart inequality, and the denominator ≠0\neq 0.
  1. Points: −2-2 (excluded) and 11 (allowed).
  2. Signs: ++ before −2-2, −- between −2-2 and 11, ++ after 11.
  3. x<−2x<-2 or x≥1x\geq 1.
Checkx=0x=0: −12<0\frac{-1}{2}<0 ✓ not in the domain.
Common mistakeSplitting into two roots x−1\sqrt{x-1} and x+2\sqrt{x+2} and losing x<−2x<-2.
+−+-21
1.3Several conditions together

Worked example

Find the domain of f(x)=x+4+1x2−1f(x)=\sqrt{x+4}+\frac{1}{x^2-1}.

Solution

IdeaEach condition separately, then the intersection.
  1. x+4≥0x+4\geq 0: x≥−4x\geq -4.
  2. x2−1≠0x^2-1\neq 0: x≠±1x\neq\pm 1.
  3. Domain: x≥−4x\geq -4, x≠−1x\neq -1, x≠1x\neq 1.
Checkx=−4x=-4: 0+1150+\frac{1}{15} — defined ✓.
Common mistakeChecking only one of the conditions.
2

Inequality with a fraction

There is an xx in the denominator. The common mistake: multiplying by the denominator without knowing its sign.

Worked example

Solve: x+4x−1≥2\frac{x+4}{x-1}\geq 2.

Solution

  1. Move everything to one side: x+4x−1−2≥0\frac{x+4}{x-1}-2\geq 0.
  2. Common denominator: x+4−2(x−1)x−1=6−xx−1≥0\frac{x+4-2(x-1)}{x-1}=\frac{6-x}{x-1}\geq 0.
  3. Points: x=6x=6 (numerator, filled) and x=1x=1 (denominator, open).
  4. Signs: left of 11 negative, between 11 and 66 positive, right of 66 negative.
  5. Answer: 1<x≤61<x\leq 6.
−+−16

Variants of this type · 2

2.1Fraction with a quadratic denominator

Worked example

Solve: x+3x2−4≤0\frac{x+3}{x^2-4}\leq 0.

Solution

IdeaFactor the denominator and mark all the points on one axis.
  1. x+3(x−2)(x+2)\frac{x+3}{(x-2)(x+2)}. Points: −3-3 (allowed), −2-2, 22 (excluded).
  2. Signs from the right: ++ after 22, −- between −2-2 and 22, ++ between −3-3 and −2-2, −- before −3-3.
  3. ≤0\leq 0: x≤−3x\leq -3 or −2<x<2-2<x<2.
Checkx=0x=0: 3−4<0\frac{3}{-4}<0 ✓.
Common mistakeIncluding ±2\pm 2 — the denominator is zero there.
−+−+-3-22
2.2Inequality between two fractions

Worked example

Solve: 1x<12\frac{1}{x}<\frac{1}{2}.

Solution

IdeaYou may not multiply by xx (unknown sign). Move everything to one side.
  1. 1x−12<0\frac{1}{x}-\frac{1}{2}<0, that is, 2−x2x<0\frac{2-x}{2x}<0.
  2. Points 00 and 22; signs: −-, ++, −-.
  3. x<0x<0 or x>2x>2.
Checkx=−1x=-1: −1<12-1<\frac{1}{2} ✓; x=1x=1: 1<121<\frac12 ✗ ✓.
Common mistakeMultiplying by 2x2x and getting only x>2x>2.
3

Squared factor

A factor of the form (x−a)2(x-a)^2: the sign does not change at that point, but you must check whether the point itself belongs to the solution.

Worked example

Solve: (x−2)2(x+1)x−4<0\frac{(x-2)^2(x+1)}{x-4}<0.

Solution

  1. Points: x=−1x=-1, x=2x=2 (numerator) and x=4x=4 (denominator).
  2. (x−2)2≥0(x-2)^2\geq 0 always, so the sign is set by x+1x−4\frac{x+1}{x-4}.
  3. x+1x−4<0\frac{x+1}{x-4}<0 for −1<x<4-1<x<4.
  4. At x=2x=2 the expression equals 00, and 0<00<0 is false, so we exclude it.
  5. Answer: −1<x<4-1<x<4, x≠2x\neq 2.
+−−+-124

Variants of this type · 2

3.1Factor cubed

Worked example

Solve: (x−1)3(x+2)>0(x-1)^3(x+2)>0.

Solution

IdeaAn odd power behaves like the factor itself — it changes sign.
  1. (x−1)3(x-1)^3 changes sign at 11, just like (x−1)(x-1).
  2. Signs: ++ before −2-2, −- between −2-2 and 11, ++ after 11.
  3. x<−2x<-2 or x>1x>1.
Checkx=0x=0: (−1)⋅2<0(-1)\cdot 2<0 ✓.
Common mistakeTreating (x−1)3(x-1)^3 like a square and not changing sign.
3.2Squared factor and a non-strict inequality

Worked example

Solve: (x−3)2x+1≥0\frac{(x-3)^2}{x+1}\geq 0.

Solution

Idea(x−3)2≥0(x-3)^2\geq 0 always; the sign is set by the denominator, and x=3x=3 makes the expression zero.
  1. x+1>0x+1>0: x>−1x>-1 — there the expression is ≥0\geq 0.
  2. x=3x=3 is already inside x>−1x>-1.

    Why: If it were outside, we would add it as a single point.

  3. Answer: x>−1x>-1.
Checkx=−2x=-2: 25−1<0\frac{25}{-1}<0 ✓ not in the solution.
Common mistakeForgetting that x=−1x=-1 is excluded (denominator).

Exam-style problems

One problem with several parts on the same data, as on the exam. Each part adds something to the drawing.

Practice · 20

Test yourself with problems and full solutions.

Go to practice