Question: If f and g are continuous mappings of a metric space X into a metric space Y, let E be a dense subset of X. if g(p) = f(p) for all p $\in$ E, prove that g(p)= f(p) for all p$\in$ X.
Answer: Now, suppose f(p) = g(p) for all p ∈ E. Let x ∈ X\E. Since E is dense in X we have a sequence q$_n$ ∈ E such that q$_n$ → x. So, f(x) = f(lim q$_n$) = lim f(q$_n$) = lim g(q$_n$) = g(lim q$_n$) = g(x). Thus, f(x) = g(x) for all x ∈ X
Hi, I founded the above answer and I'm not sure if the bold line is true and how so if it is. Could you help me understand the equalities in the bold line?
Thank you!