domain of f(x)=sqrt((x^2-5x+4)/(3-x))
We save the definition: f(x) = x2 -5x + 43 -x
1) Let's find the domain of x2 -5x + 43 -x
For the expression x2 -5x + 43 -x to be defined, we must have: x2 -5x + 43 -x ≥ 0
For the expression x2 -5x + 43 -x to be defined, we must have: 3 -x ≠ 0
2) Let's solve in ℝ: x2 -5x + 43 -x ≥ 0
We study the sign of the numerator
Let's study the sign of x2 -5x + 4 by solving in ℝ: x2 -5x + 4 ≥ 0
Given the quadratic form ax2 + bx + c, let's compute the discriminant: Δ = b2 -4ac. Here a = 1, b = -5 and c = 4
Δ = (-5)2 -4·1·4
ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-5)2 = (-5)·(-5) = 25
Δ = 25 -4·4
ⓘ Multiplications are done before additions and subtractions: 4·4 = 16
Δ = 25 -16
ⓘ Start from 25 and move back 16 on the number line: 25 -16 = 9
Δ = 9
Since Δ > 0, the equation has two roots:
The quadratic formula gives x1 = -b -Δ2a = -(-5) -92·1
x1 = 5 -92
ⓘ The square root of a number is the positive number whose square is that number: 9 = 3; 32 = 9
x1 = 5 -32
ⓘ The numerator and the denominator are computed before the division: 5 -3 = 2
x1 = 22
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 22 = 1
x1 = 1
The quadratic formula gives x2 = -b + Δ2a = -(-5) + 92·1
x2 = 5 + 92
ⓘ The square root of a number is the positive number whose square is that number: 9 = 3; 32 = 9
x2 = 5 + 32
ⓘ The numerator and the denominator are computed before the division: 5 + 3 = 8
x2 = 82
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 82 = 4
x2 = 4
The quadratic has the sign of a = 1 outside its roots, so it is indeed positive outside its roots; the roots, where it is zero, are included.
Solution obtained: x ∈ (-∞, 1] ∪ [4, +∞)
⇥So the expression x2 -5x + 4 is positive or zero on (-∞, 1] ∪ [4, +∞) and negative otherwise
We study the sign of the denominator, which must not be zero
⇥The expression 3 -x is zero at:
⇥ x = 3
⇥Its coefficient of x, -1, being negative, it is positive before and negative after 3 (forbidden value)
3) Let's draw up the sign table:
x-∞ 1 3 4 +∞
x2 -5x + 4+0--0+
3 -x++0--
x2 -5x + 43 -x+0-❌+0-
Solution found: x ∈ (-∞, 1] ∪ (3, 4]
4) Let's solve in ℝ: 3 -x ≠ 0
ⓘ We add x to both sides
3 ≠ x
Solution obtained: x ≠ 3
Let's build the table of the different terms to determine the global solution:
x-∞ 1 3 4 +∞
x2 -5x + 43 -x ≥ 0✅✅❌❌✅✅❌
3 -x ≠ 0✅✅✅❌✅✅✅
Domain of definition: ✅✅❌❌✅✅❌
▶Domain of definition:   x ∈ (-∞, 1] ∪ (3, 4]