Why do we require that a perfect set is closed

general-topologymetric-spacesreal-analysis

Definition of Perfect Set says

$E$ is perfect if $E$ is closed and if every point of $E$ is limit point of $E$.

Is it possible that every point of $E$ is limit point of $E$ but $E$ is not closed ?
I'am unable to find an example. Because Closed set is defined as if every limit point of $E$ is a point of $E$.

If not possible. Then what is need of including in Definition of Perfect set ? ( that If $E$ is closed )
Help would be appreciated !

Best Answer

Yes, of course. Note that $\Bbb Q$ is not closed in $\Bbb R$, but every rational number is the limit of a sequence of rational numbers, all different than your proposed limit.

In other words, $\Bbb Q$ has no isolated points, but it's not closed as a subset of $\Bbb R$.

Related Question