I am really confused with the definitions regarding not nowhere dense and dense. I know that for a set $A$ to be dense, I need to show that for any open interval $I \subseteq \mathbb{R}$, $I \cap A \neq \emptyset$
In general talking , for something to be dense, if I were to pick any point in $\mathbb{R}$, that point is either in the dense set or close to that set (the neighborhood of that point has points from that set).
Now I was working on a proof , to show $\mathbb{Q}$ is dense in $\mathbb{R}$ . But then I encounter a question asking to prove Rationals are not nowhere dense,immediately I say this statement is equivalent to rationals are dense in R (same proof as $\mathbb{Q}$ is dense in $\mathbb{R}$) but i guess i am wrong because my teacher didn't approve my proof( ironically) I used the theorem " between any two reals there is a rational " to prove.
We haven't learned about dense sets yet (I am doing some esearch, reading some definitions in our textbook and trying to solve the questiona given) but I didn't find much about nowhere dense and not nowhere dense definitions that I could understand clearly and start my proof. Kindly if anyone could make it clear for me ? A Simple proof could also help