I was wondering.. What is the difference between:

(2, infinity) and {x: x > 2}

And also:

R^+ union {0} and [2, infinity)

Are these the same things written differently? And if so, if a question had the answer {x: x > 2} for example, and I wrote [2, infinity) instead, would I get it wrong? (Especially in exams)