domain of f(x)=(sqrt(2-x))/(x^2+4x)
We save the definition: f(x) = 2 -xx2 + 4x
1) Let's evaluate the domain of 2 -xx2 + 4x
For the expression 2 -xx2 + 4x to exist, you must check: x2 + 4x ≠ 0
For the expression 2 -x to exist, you must check: 2 -x ≥ 0
2) Let's solve in ℝ: x2 + 4x ≠ 0
You can factorize the expression: x2 + 4x into: x·(x + 4)
⇥2.1) Let's solve in ℝ: x ≠ 0
⇥Solution found: x ≠ 0
⇥2.2) Let's solve in ℝ: x + 4 ≠ 0
⇥Solution obtained: x ≠ -4
3) Let's solve in ℝ: 2 -x ≥ 0
ⓘ We add x to both sides
2 ≥ x
Solution obtained: x ≤ 2
Let's create the table of the different solutions to find the overall solution:
x-∞ -4 0 2 +∞
x2 + 4x ≠ 0✅❌✅❌✅✅✅
2 -x ≥ 0✅✅✅✅✅✅❌
Domain of definition: ✅❌✅❌✅✅❌
▶Domain of definition:   x ∈ (-∞, -4) ∪ (-4, 0) ∪ (0, 2]