Simple question, is there any difference between $x\in (1,5)$, $x\in [1,5]$ and $x\in (1,5]$? and what is the value of $x$ in those cases?
Thank you.
Simple question, is there any difference between $x\in (1,5)$, $x\in [1,5]$ and $x\in (1,5]$? and what is the value of $x$ in those cases?
Thank you.
We have $$[1,5] = \{ x\in \mathbb R \mid 1 \leq x \leq 5 \},$$ $$(1,5) = \{ x\in \mathbb R \mid 1 < x < 5 \},$$ $$(1,5] = \{ x\in \mathbb R \mid 1 < x \leq 5 \},$$ so they all are sets that include all real numbers strictly between $1$ and $5$, but the first one also contains both $1$ and $5$, the second contains neither $1$ nor $5$ and the third one contains $5$, but not $1$.
When we write $x\in [1,5]$, we don't assign a particular value to $x$, we just say that $x$ is a real number such that $1 \leq x \leq 5$, and similarly for the others.