Let $(X,\tau)$ be a topological space and $p:X\rightarrow X/\sim$ a natural map for $X$. Assuming the topology $\tilde{\tau}$ whose sets are the subsets $\tilde{U}$ of $X/\sim$ such that $p^{-1}(\tilde{U})$ is open in $X$, I want to show that $p$ is a quotient map. (In other words, I want to confirm that this topology $\tilde{\tau}$ is the quotient topology for the map $p$ - the topology for which $p$ is a quotient map).
My attempt:
Since for any class $[x]\in X/\sim$ there is at least one element $y$ of $X$ such that $p(y)=[x]$ (just take any element of the class), $p$ is sujective. Now, by construction of $\tilde{\tau}$, one has trivially that $p$ is continuous. Finally, I must show that, if $p^{-1}(\tilde{U})$ is open in $X$, $\tilde{U}$ is open in $X/\sim$.
I do not know how to show this last bit.
EDIT: The definition of quotient topology that I'm using is from Sutherland's book: let $(X,\tau)$ be a topological space and $\sim$ a relation on $X$. Let $p:X\rightarrow X/\sim$ denote the function that maps each element of $X$ to it's equivalence class (called the natural map).The quotient topology is the family $\tilde{\tau}$ of subsets $\tilde{U}$ of $X/\sim$ such that $p^{-1}(\tilde{U})\in \tau$.