f(x)=1/(x+2)

The given function is f(x) = 1/(x+2).

To find the domain of a function, you need to identify any restrictions on the values of x that would cause the function to be undefined. In this case, the function is undefined when the denominator (x+2) is equal to zero because division by zero is not defined.

To solve x+2 = 0 for x, we subtract 2 from both sides of the equation: x = -2.

Therefore, x cannot equal -2, as it would make the denominator zero. Hence, the domain of the function f(x) = 1/(x+2) is all real numbers except for x = -2.