An fraction is undefined when the denominator has value = 0.
x2−9x+18x2+2x−35\frac{x^{2} - 9x + 18}{x^{2} + 2x - 35}x2+2x−35x2−9x+18 is undefined when x2+2x−35=0x^{2} + 2x - 35 = 0x2+2x−35=0
x2+7x−5x−35=0 ⟹ (x+7)(x−5)=0x^2 + 7x - 5x - 35 = 0 \implies (x + 7)(x - 5) = 0x2+7x−5x−35=0⟹(x+7)(x−5)=0
x=-7 or 5x = \text{-7 or 5}x=-7 or 5