The domain of the function is (0, ∞). For negative input values and zero, the function's behavior is undefined, resulting in `nan` and `-inf` respectively.

Now I will try to approximate the function's behavior for positive values in Python code.

