1
$\begingroup$

I am completely new in Mathematica, and I believe the answer to my question should be very simple. When I try to find the domain of a function, the output is not what I expected. For example, when I plug in FunctionDomain[x^2,x], the ouput comes out as "True" (when I expect to say all real numbers), and when I plug in FunctionDomain[1/(Sin[x]),x], the output comes out as x/$\pi$$\not\in \mathbb{Z}$ (even though I know this is true, I am wondering if there is a way to have it say all x such that x is not multiple of $\pi$. For the first function, is this like some standard answer given from Mathematica whenever the domain are all real numbers? For the second function, is this the only output I can obtain from Mathematica (I find the other one to be more intuitive)?

enter image description here

Thank you in advance for any help.

$\endgroup$

1 Answer 1

1
$\begingroup$

Indeed, True means that every real number is in the domain of the stated function. You will find this answer more "intuitive" as you work in Mathematica because this output can be called by other (Boolean) functions.

And yes, it is standard output of the form: ${x \over \pi} \notin \mathbb{Z}$, and as far as I'm concerned, perfectly reasonable, and "intuitive."

(By the way, you have extraneous parentheses in your first example.)

$\endgroup$
1
  • $\begingroup$ Thank you David for your response. Much appreciated. $\endgroup$
    – Stiven G
    Commented Aug 16, 2018 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.