I'm sorry, I did not get you. I need to check if the denominator is zero or not. Also I need to substitute f(x) as a Dummy variable so that x doesn't get replaced in f(x)