How can I able to show that $S^1$ is homeomorphic to $[0, 1]/ \{0, 1\}.$
I am learning quotient topology from K.D.Joshi's Introduction to GENERAL TOPOLOGY book. Where he mentioned that,
"Let $f: X\to Y$ be a surjective function. Then $f$ determines an equivalence relation $R$ on $X$ defined by $x R y$ iff $f(x) = f(y)$. The equivalence classes of $R$ are precisely the inverse images of singleton subsets of $Y$. Now let $D$ be the collection of all equivalence classes under $R$. $D$ is called the quotient set of $X$ by $R$ and is also denoted by $X/R$.
There is a canonical function $p : X \to X/R$, called the projection which assigns to each $x \in X$, its equivalence class under $R$. The function $\theta : Y \to
X/R$ defined by $\theta(y) = p(x)$ for any $x \in f^{-1}(y)$ is obviously a well-defined
bijection.
Suppose now that $X, Y$ are topological spaces and that $f$ is a quotient map. On $X/R$, we put the strong topology generated by the projection function $p$. The function $\theta$ then becomes continuous as its composite with $f$ viz., $\theta\circ f$ is continuous. Similarly $\theta^{-1}$ is continuous. Thus $\theta$ is now not merely a bijection but a homeomorphism. Thus, up to a topological equivalence, we may identify the quotient space $Y$ with the quotient space $X/R$ and the quotient map $f$ with the projection $p$.
$S^1$ is homeomorphic to the quotient space of $[0, 1]$ obtained from the
decomposition $D$ whose members are ${0, 1}$ and all singleton sets $\{x\}$ for $0 < x < 1$.
By his notations How can I find $f$ and $\theta$. Can someone help me please? Please explain elaborately since I am very new to the subject and I have no teacher to learn from. Thank you.