There are many equivalent definitions of topology [Ref 2]. I pick the one based on the simplified notion of nearness. Following [Ref 1], I shall
only consider circular neighborhoods which if applied consistently lead to exactly same
definition of a topological space.
Examples of sets
Below I'll use common notations Z, N, R, Q, C, for whole, integer (whole and positive), real, rational, and complex numbers.
Also, let's agree that on a straight line dist2 coincides with the usual one - absolute value of the difference of two numbers. So that on a straight line, say, x-axis, the ball D(a,r)={x: |a-x|<r} is just an open interval (a-r,a+r).
The set Q of all rational numbers is dense in R, thick, neither open nor closed, and without internal points.
The same is true for the set of all rational pairs Q×Q in R2 = R×R.
The set Z of all whole numbers is thin, has no near points outside itself, closed, hence nowhere dense in R.
A straight line is thick, closed and nowhere dense in R2.
A neighborhood is open.
Segment [a,b]={x: a
x
b} is closed in R and dense in itself.
Segment [a,b]x0={(x,0): a
x
b} is closed, thick and nowhere dense in R2 and dense in itself.
Sequence xn=1/n, where n>0, outside itself has only one near point - the origin. It's thin and neither closed nor open. Augmented by 0, it becomes closed but remains nowhere dense. Its closure is neither thin nor thick.
Examples of transformations
Continuous transformations below are continuous because each transforms a ball into a ball
Shift (or translation) f: D(0,r)->D(a,r), where f(x)=a+x is continuous and topological. For the vector addition it's also true in R2.
Reflection in y-axis f: D((a,b),r)->D((-a,b),r), where f(x,y)=(-x,y) is continuous and topological.
Stretching f: D(0,r)->D(0,ar), where f(x)=ax is continuous and topological.
Folding f: R2->R2+, where R2+ is the right half-plane and f(x, y) = (|x|, y) is continuous but not topological.
Shuffling f: [-1, 1]->[-1, 1], where f(x) = 1 + x if x
0, f(x)=-x if x>0, is discontinuous but 1-1.
Hilbert function f: [0,1]->[0,1]x[0,1] is continuous but not topological.
There are nonhomeomorphic sets that are continuous 1-1 images of each other.
The notion of normality characterizes whole topological spaces rather than individual sets.