I've watched several videos, but they seemed to be doing different ways to write it. For example some domain would be; D [ 0, ∞] and some will be; Domain: { xER | x ≠ 0} Can anyone explain what's the difference between the two?
notation - How to denote domain and range - Mathematics Stack Exchange
functions - How to represent domain, and range? - Mathematics Stack Exchange
How to write the domain and range of a function?
How to write domain and range?
Videos
Notations vary. You should pick something straightforward, and state it clearly up front. One common choice would be
another reasonable choice might be
Principia Mathematica used:
Unfortunately the term range means different things for different people.
In a function , we call
the codomain of
; it's the set where
takes its values.
The image of is the set of values of
; it's a subset of the codomain, but usually smaller.
The term range means either codomain or image, and so is better avoided.
If you need notation, you may use ,
,
.
You can write the domain as , which is the more "normal" convention and the range
or
or even
.
I would write for the domain. For the image notations vary; I would refer to the range as the image and write
Alternatively, many people prefer notation such as
or
for the range.
Note that the way you have written the range is incorrect only because you haven't written the intervals correctly. What I presume you meant is which is correct.