Samjhake
Real Analysis I
Notes›Real Analysis I›Real Quiz 1 Solution

MTH-301 · Page 7 of 8

Real Quiz 1 Solution

MTH303 · Quiz 1 · 30 Marks

Real Quiz 1 — Complete Concept-Based Solutions

IISER Bhopal · Semester I 2026–27

How to Study These Solutions

These solutions are written not only to answer the questions, but also to explain the concepts used in each answer.

For every problem, try to identify:

  1. What mathematical concept is being tested?
  2. Which definition or theorem can be used?
  3. Why does that theorem apply here?
  4. What is the final conclusion?

Yahan hum sirf answer ya proof yaad nahi karenge. Har question mein pehle samjhenge ki question actually kis concept ko test kar raha hai.

Har question ko solve karte waqt ye 4 cheezein socho:

  1. Question kis definition ya theorem se related hai?
  2. Us theorem ka simple meaning kya hai?
  3. Yahan theorem kaise apply ho raha hai?
  4. Final conclusion exactly kya milega?
Important Concepts Before Starting

Open Set: A subset \(U\subseteq\mathbb{R}\) is open if every point \(x\in U\) has some small interval around it that lies completely inside \(U\).

\[ x\in U \quad\Longrightarrow\quad \exists \varepsilon>0 \text{ such that } (x-\varepsilon,x+\varepsilon)\subseteq U. \]

Closed Set: A set is closed if it contains all of its limit points.

Closure: The closure \(\overline A\) is obtained by taking \(A\) together with all of its limit points.

Dense: A subset \(D\subseteq\mathbb{R}\) is dense in \(\mathbb{R}\) if every nonempty open interval contains a point of \(D\).

Bounded Sequence: A sequence \((x_n)\) is bounded if all its terms stay inside some fixed finite interval.

Cauchy Sequence: A sequence is Cauchy when its terms eventually become arbitrarily close to one another.

\[ \forall\varepsilon>0,\; \exists N \text{ such that } m,n\ge N \Longrightarrow |x_m-x_n|<\varepsilon. \]

Compact Set in \(\mathbb{R}\): By the Heine–Borel theorem,

\[ K\subseteq\mathbb{R} \text{ is compact } \iff K\text{ is closed and bounded}. \]

Open set: Agar \(x\) set ke andar hai, to \(x\) ke around thoda sa left-right move karne par bhi hum set ke andar hi reh sakein.

Closed set: Set apne saare limit points ko contain karta hai.

Closure \(\overline A\): \(A\) mein jo missing limit/boundary points hain unko bhi add kar do.

Dense: Agar kisi set ke elements har chhote interval mein mil jaate hain, to woh set dense hai. Example: \(\mathbb Q\) real numbers mein dense hai.

Bounded sequence: Sequence infinity ki taraf bhaag nahi rahi; saare terms kisi fixed range ke andar hain.

Cauchy sequence: Sequence ke terms aage jaakar ek dusre ke bahut paas aa jaate hain.

Compact in \(\mathbb R\): Real line mein easiest test hai:

\[ \boxed{\text{compact}=\text{closed}+\text{bounded}} \]

Section A · 5 × 2 = 10 Marks

Section A — True or False

Question A1

Every nonempty open subset of \(\mathbb{R}\) contains a rational number.

English Solution

Answer: TRUE.

Step 1 — Understand the statement. We are given a set

\[ U\subseteq\mathbb{R} \]

which is both nonempty and open.

Nonempty means that \(U\) contains at least one point. Therefore choose

\[ x\in U. \]

Step 2 — Use the definition of open set.

Because \(U\) is open, there exists some \(\varepsilon>0\) such that

\[ (x-\varepsilon,x+\varepsilon)\subseteq U. \]

Thus \(U\) contains an entire open interval.

Step 3 — Use density of the rational numbers.

The rational numbers \(\mathbb Q\) are dense in \(\mathbb R\). This means that every nonempty open interval contains a rational number.

Therefore there exists some

\[ q\in\mathbb Q \]

such that

\[ x-\varepsilon<q<x+\varepsilon. \]

Hence

\[ q\in(x-\varepsilon,x+\varepsilon) \subseteq U. \]

Therefore \(U\) contains a rational number.

Hence the statement is TRUE.

Hinglish Explanation

Answer: TRUE.

Pehle statement ka meaning samjho.

\(U\) ek nonempty open set hai. Nonempty ka matlab \(U\) ke andar kam se kam ek point hai.

Koi point le lo:

\[ x\in U. \]

Ab \(U\) open hai. Open hone ka matlab sirf \(x\) set mein hona nahi hai. \(x\) ke around ek chhota sa complete interval bhi \(U\) ke andar hoga.

\[ (x-\varepsilon,x+\varepsilon)\subseteq U. \]

Ab ek important fact use hota hai:

\[ \boxed{\mathbb Q\text{ is dense in }\mathbb R} \]

Iska simple meaning: kisi bhi do real numbers ke beech rational number mil jayega.

To interval

\[ (x-\varepsilon,x+\varepsilon) \]

ke andar koi rational number \(q\) zaroor milega. Aur kyunki ye interval \(U\) ke andar hai, \(q\) bhi \(U\) ke andar hoga.

Isliye har nonempty open subset of \(\mathbb R\) mein rational number zaroor hota hai.

Memory trick:

\[ \boxed{ \text{Open set} \Rightarrow \text{contains interval} \Rightarrow \text{interval contains rational} } \]
Question A2

The union of an arbitrary family of closed subsets of \(\mathbb{R}\) is closed.

English Solution

Answer: FALSE.

The important topology rules are:

\[ \boxed{ \begin{aligned} &\text{Arbitrary union of open sets is open},\\ &\text{Finite intersection of open sets is open},\\ &\text{Arbitrary intersection of closed sets is closed},\\ &\text{Finite union of closed sets is closed}. \end{aligned}} \]

Notice carefully: an arbitrary union of closed sets need not be closed.

To disprove the statement, it is enough to give one counterexample.

Define

\[ F_n= \left[ \frac1n,1 \right]. \]

Every \(F_n\) is a closed interval, hence every \(F_n\) is closed in \(\mathbb R\).

Now take their union:

\[ \bigcup_{n=1}^{\infty}F_n. \]

The left endpoints are

\[ 1,\frac12,\frac13,\frac14,\ldots \]

and these numbers approach \(0\).

Therefore

\[ \bigcup_{n=1}^{\infty} \left[\frac1n,1\right] =(0,1]. \]

The point \(0\) is a limit point of \((0,1]\), but

\[ 0\notin(0,1]. \]

Therefore \((0,1]\) is not closed.

Hence an arbitrary union of closed sets need not be closed.

Therefore the statement is FALSE.

Hinglish Explanation

Answer: FALSE.

Yahan ek bahut important rule yaad rakhna hai:

\[ \boxed{ \text{Closed sets ka finite union closed hota hai} } \]

Lekin infinitely many closed sets ka union closed ho, ye guaranteed nahi hai.

Example lo:

\[ F_n= \left[\frac1n,1\right]. \]

Kuch sets hain:

\[ F_1=[1,1], \] \[ F_2=\left[\frac12,1\right], \] \[ F_3=\left[\frac13,1\right], \] \[ F_4=\left[\frac14,1\right]. \]

Har ek individually closed hai.

Lekin sabko union karne par:

\[ (0,1] \]

milta hai.

Ab \(0\) set mein nahi hai, lekin set ke points \(0\) ke jitna chahein paas aa sakte hain:

\[ \frac12,\frac13,\frac14,\ldots\to0. \]

To \(0\) ek limit point hai jo set mein missing hai. Isliye set closed nahi hai.

Exam memory:

\[ \boxed{ \begin{array}{c} \text{Open: arbitrary UNION works}\\ \text{Closed: arbitrary INTERSECTION works} \end{array} } \]
Question A3

If \(A\subseteq\mathbb{Q}\) is open in \(\mathbb{Q}\), then \(A\) is open in \(\mathbb{R}\).

English Solution

Answer: FALSE.

The key concept here is subspace topology.

If \(A\subseteq\mathbb Q\), saying that \(A\) is open in \(\mathbb Q\) means that there exists an open set \(V\subseteq\mathbb R\) such that

\[ A=V\cap\mathbb Q. \]

This does not imply that \(A\) itself is open in \(\mathbb R\).

Take the simplest possible example:

\[ A=\mathbb Q. \]

In the subspace \(\mathbb Q\), the whole space \(\mathbb Q\) is open.

Indeed,

\[ \mathbb Q = \mathbb R\cap\mathbb Q, \]

and \(\mathbb R\) is open in itself.

However, \(\mathbb Q\) is not open in \(\mathbb R\).

To see this, choose any rational number \(q\in\mathbb Q\). Every interval

\[ (q-\varepsilon,q+\varepsilon) \]

contains irrational numbers as well.

Therefore no open interval around \(q\) can lie completely inside \(\mathbb Q\).

Hence \(\mathbb Q\) is not open in \(\mathbb R\).

Therefore the statement is FALSE.

Hinglish Explanation

Answer: FALSE.

Yahan confusion usually open in \(\mathbb Q\) aur open in \(\mathbb R\) ke beech hota hai.

Dono same baat nahi hain.

Agar hum universe sirf \(\mathbb Q\) maan rahe hain, to \(\mathbb Q\) khud open hai.

Example:

\[ A=\mathbb Q. \]

\(\mathbb Q\) ke andar dekho to poora space open hota hai.

Lekin \(\mathbb R\) ke andar \(\mathbb Q\) open nahi hai.

Koi rational number \(q\) lo. Uske around kitna bhi chhota interval bana lo:

\[ (q-\varepsilon,q+\varepsilon). \]

Us interval mein rational ke saath irrational numbers bhi milenge.

Isliye interval completely \(\mathbb Q\) ke andar nahi hoga.

Hence \(\mathbb Q\) is not open in \(\mathbb R\).

Main idea:

\[ \boxed{ \text{Open relative to a smaller space} \neq \text{open in the whole real line} } \]
Question A4

If \((x_n)\) is Cauchy and \((y_n)\) is bounded, then \((x_ny_n)\) is Cauchy.

English Solution

Answer: FALSE.

We must distinguish between bounded and Cauchy.

A bounded sequence is only required to remain inside some fixed interval. It may still oscillate forever.

Choose

\[ x_n=1 \]

for every \(n\).

The sequence

\[ 1,1,1,1,\ldots \]

is clearly Cauchy.

Now let

\[ y_n=(-1)^n. \]

Then

\[ y_n=-1,1,-1,1,\ldots \]

depending on the starting convention.

This sequence is bounded because

\[ |y_n|\le1. \]

However, it is not Cauchy.

Now

\[ x_ny_n = 1\cdot(-1)^n = (-1)^n. \]

Consider consecutive terms:

\[ |x_{n+1}y_{n+1}-x_ny_n| = 2. \]

Their distance does not approach \(0\).

Hence the product sequence is not Cauchy.

Therefore the statement is FALSE.

A correct related theorem is: if both \((x_n)\) and \((y_n)\) are convergent, then \((x_ny_n)\) is convergent and hence Cauchy.

Hinglish Explanation

Answer: FALSE.

Sabse pehle ye samjho:

\[ \boxed{ \text{bounded} \not\Rightarrow \text{Cauchy} } \]

Bounded ka matlab sirf itna hai ki sequence ek fixed range ke andar reh rahi hai.

Example:

\[ (-1)^n. \]

Ye sequence sirf \(-1\) aur \(1\) ke beech hai, so bounded hai.

Lekin:

\[ -1,1,-1,1,-1,1,\ldots \]

continuously oscillate kar rahi hai. Terms ek dusre ke paas settle nahi ho rahe.

Ab Cauchy sequence lo:

\[ x_n=1. \]

Ye constant sequence hai, so definitely Cauchy.

Bounded sequence lo:

\[ y_n=(-1)^n. \]

Product:

\[ x_ny_n=(-1)^n. \]

Same oscillating sequence mil gayi. So product Cauchy nahi hai.

Isliye statement false.

Question A5

If \(A\subseteq\mathbb{R}\) is connected and \(f:A\to\mathbb{R}\) is continuous, then \(f(A)\) is an interval.

English Solution

Answer: TRUE.

Two important theorems are being used.

Theorem 1: The continuous image of a connected set is connected.

\[ A\text{ connected} \quad\text{and}\quad f\text{ continuous} \Longrightarrow f(A)\text{ connected}. \]

Theorem 2: The connected subsets of \(\mathbb R\) are exactly the intervals.

Therefore, because \(A\) is connected and \(f\) is continuous,

\[ f(A) \]

must be connected.

Since \(f(A)\subseteq\mathbb R\), every connected subset of \(\mathbb R\) is an interval.

Hence \(f(A)\) is an interval.

Therefore the statement is TRUE.

Hinglish Explanation

Answer: TRUE.

Connected ka intuitive meaning hai: set ek piece mein hai; uske beech gap nahi hai.

Example:

\[ [0,1] \]

connected hai.

Lekin

\[ [0,1]\cup[3,4] \]

connected nahi hai, kyunki beech mein gap hai.

Important theorem:

\[ \boxed{ \text{continuous image of connected set is connected} } \]

Matlab continuous function connected set ko achanak do separated pieces mein nahi tod sakta.

Since \(A\) connected hai,

\[ f(A) \]

bhi connected hoga.

Ab real line \(\mathbb R\) mein connected sets exactly intervals hote hain.

Isliye:

\[ \boxed{f(A)\text{ is an interval}} \]

Single point bhi degenerate interval maana ja sakta hai.

Section B · 2 × 4 = 8 Marks

Section B — Examples & Counterexamples

Question B1

Let

\[ A= \left\{ \frac{n}{n+1}:n\in\mathbb N \right\} \cup(2,3). \]

Find \(\sup A\), \(\inf A\), and \(\overline A\). Is \(A\) compact?

English Solution

First split the set into two parts:

\[ A=A_1\cup A_2, \]

where

\[ A_1= \left\{ \frac{n}{n+1}:n\in\mathbb N \right\} \]

and

\[ A_2=(2,3). \]

This makes the problem much easier.

Step 1 — Understand the sequence part

Rewrite

\[ \frac{n}{n+1} = 1-\frac{1}{n+1}. \]

Hence

\[ \frac{n}{n+1}<1 \]

for every \(n\), and

\[ \frac{n}{n+1}\to1. \]

The sequence begins

\[ \frac12,\frac23,\frac34,\frac45,\ldots \]

and increases toward \(1\).

Step 2 — Find the infimum

The smallest sequence term occurs at \(n=1\):

\[ \frac{1}{1+1} = \frac12. \]

Every point of \((2,3)\) is much larger than \(1/2\).

Therefore

\[ \boxed{\inf A=\frac12}. \]

Since

\[ \frac12\in A, \]

\(1/2\) is also the minimum of \(A\).

Step 3 — Find the supremum

The largest values of \(A\) come from the interval

\[ (2,3). \]

Every element of this interval is less than \(3\), so \(3\) is an upper bound.

However, for every \(\varepsilon>0\), there are elements of \(A\) between

\[ 3-\varepsilon \quad\text{and}\quad 3. \]

Thus no number smaller than \(3\) can be an upper bound.

Hence

\[ \boxed{\sup A=3}. \]

But

\[ 3\notin A, \]

so \(A\) has no maximum.

Step 4 — Find the closure

Closure means:

\[ \boxed{\text{set + all missing limit points}} \]

The sequence

\[ \frac{n}{n+1} \]

approaches \(1\), but \(1\) is not one of the sequence terms. Therefore \(1\) must be added.

Also,

\[ \overline{(2,3)}=[2,3]. \]

Therefore

\[ \boxed{ \overline A = \left\{ \frac{n}{n+1}:n\in\mathbb N \right\} \cup\{1\} \cup[2,3] }. \]

Step 5 — Is \(A\) compact?

In \(\mathbb R\), by the Heine–Borel theorem,

\[ A\text{ compact} \iff A\text{ closed and bounded}. \]

\(A\) is bounded because

\[ \frac12\le x<3 \]

for every \(x\in A\).

But \(A\) is not closed because it does not contain the limit points

\[ 1,\;2,\;3. \]

Therefore

\[ \boxed{A\text{ is not compact}.} \]
Hinglish Explanation

Sabse pehle set ko do parts mein tod do:

\[ A= \left\{ \frac{n}{n+1} \right\} \cup(2,3). \]

Sequence part hai:

\[ \frac12,\frac23,\frac34,\frac45,\ldots \]

Isko useful form mein likho:

\[ \frac{n}{n+1} = 1-\frac{1}{n+1}. \]

Isse turant pata chalta hai ki sequence \(1\) ke towards ja rahi hai:

\[ \frac{n}{n+1}\to1. \]

Infimum

Sabse chhota term:

\[ \frac12. \]

Isliye:

\[ \boxed{\inf A=\frac12}. \]

Aur kyunki \(1/2\) set mein present hai, ye minimum bhi hai.

Supremum

Interval part

\[ (2,3) \]

ki wajah se hum \(3\) ke jitna chahein paas ja sakte hain.

Lekin \(3\) included nahi hai.

Therefore:

\[ \boxed{\sup A=3} \]

but maximum does not exist.

Closure

Closure banane ke liye missing limit points add karo.

Sequence se missing limit:

\[ 1. \]

Interval se missing endpoints:

\[ 2,\;3. \]

Therefore:

\[ \boxed{ \overline A = \left\{ \frac{n}{n+1}:n\in\mathbb N \right\} \cup\{1\} \cup[2,3] }. \]

Compact?

Real line mein:

\[ \boxed{\text{compact}=\text{closed}+\text{bounded}} \]

\(A\) bounded hai.

Lekin closed nahi hai, because

\[ 1,2,3 \]

limit points hain but \(A\) mein missing hain.

Hence:

\[ \boxed{A\text{ is not compact}.} \]
Question B2

Give a counterexample to each false statement and state how to repair it.

  1. If \[ F_1\supseteq F_2\supseteq F_3\supseteq\cdots \] are nonempty closed subsets of \(\mathbb R\), then \[ \bigcap_{n=1}^{\infty}F_n\ne\varnothing. \]
  2. If \(f:\mathbb R\to\mathbb R\) is continuous and \(U\) is open, then \(f(U)\) is open.
English Solution

(i) Nested closed sets

The statement is false.

Take

\[ F_n=[n,\infty). \]

For example,

\[ F_1=[1,\infty), \] \[ F_2=[2,\infty), \] \[ F_3=[3,\infty), \]

and so on.

These satisfy

\[ F_1\supseteq F_2\supseteq F_3\supseteq\cdots. \]

Each \(F_n\) is nonempty and closed.

We claim that

\[ \bigcap_{n=1}^{\infty}F_n=\varnothing. \]

Suppose \(x\in\mathbb R\). Choose an integer \(n>x\).

Since

\[ x<n, \]

we have

\[ x\notin[n,\infty)=F_n. \]

Thus no real number can belong to every \(F_n\).

Therefore the intersection is empty.

How to repair the statement: Require the sets to be compact.

A standard nested compact set theorem says that a decreasing sequence of nonempty compact sets has nonempty intersection.

In \(\mathbb R\), we may equivalently require the sets to be closed and bounded.

(ii) Continuous image of an open set

This statement is also false.

Let

\[ f(x)=x^2 \]

and let

\[ U=(-1,1). \]

\(U\) is open.

Its image under \(f\) is

\[ f(U)=[0,1). \]

Why is \(0\) included? Because

\[ f(0)=0. \]

Why is \(1\) not included? Because \(x=\pm1\) are not in \(U\).

The set

\[ [0,1) \]

is not open in \(\mathbb R\).

Hence continuous functions do not necessarily send open sets to open sets.

Correct theorem:

\[ \boxed{ f\text{ continuous} \iff f^{-1}(V)\text{ is open whenever }V\text{ is open} } \]

Continuity controls preimages of open sets, not images of open sets.

Hinglish Explanation

(i) Nested closed sets

Statement false hai.

Example lo:

\[ F_n=[n,\infty). \]

Matlab:

\[ [1,\infty), [2,\infty), [3,\infty), \ldots \]

Har next set previous set ke andar hai.

Ab koi fixed real number \(x\) lo.

Hum hamesha koi integer \(n\) choose kar sakte hain jiske liye

\[ n>x. \]

Then

\[ x\notin[n,\infty). \]

Isliye koi bhi real number sabhi sets mein nahi reh sakta.

Hence:

\[ \bigcap_{n=1}^{\infty}F_n=\varnothing. \]

Problem kya tha? Sets closed to hain but bounded nahi hain.

Correct version ke liye compactness add karo.

\[ \boxed{ \text{nested nonempty compact sets} \Rightarrow \text{nonempty intersection} } \]

(ii) Image of open set

Bahut common confusion:

\[ \boxed{ \text{continuous function} \not\Rightarrow \text{open map} } \]

Example:

\[ f(x)=x^2 \]

and

\[ U=(-1,1). \]

\(U\) open hai.

Lekin square karne par:

\[ f(U)=[0,1). \]

\(0\) included hai because \(0^2=0\).

Aur \([0,1)\) open nahi hai.

To continuous function open set ki image ko open rakhe, ye necessary nahi.

Correct continuity theorem image ke baare mein nahi, preimage ke baare mein hai:

\[ \boxed{ U\text{ open} \Rightarrow f^{-1}(U)\text{ open} } \]

provided \(f\) is continuous.

Section C · 2 × 6 = 12 Marks

Section C — Proofs

Question C1

Let \(f:\mathbb{R}\to\mathbb{R}\) be continuous and \(A\subseteq\mathbb{R}\).

  1. Prove \[ f(\overline A) \subseteq \overline{f(A)}. \]
  2. Give a continuous \(f\) for which \[ f(\overline{\mathbb R}) \ne \overline{f(\mathbb R)}. \]
English Solution

Part (i)

We want to prove

\[ f(\overline A) \subseteq \overline{f(A)}. \]

To prove one set is contained in another, take an arbitrary element of the first set and prove that it belongs to the second set.

Let

\[ y\in f(\overline A). \]

By the definition of image, there exists some

\[ x\in\overline A \]

such that

\[ y=f(x). \]

Now use the sequential characterization of closure:

\[ x\in\overline A \]

means that there exists a sequence

\[ (x_n)\subseteq A \]

satisfying

\[ x_n\to x. \]

Since \(f\) is continuous,

\[ x_n\to x \Longrightarrow f(x_n)\to f(x). \]

But every \(x_n\in A\). Therefore

\[ f(x_n)\in f(A). \]

Thus we have a sequence of points from \(f(A)\) converging to

\[ f(x)=y. \]

Hence, by the definition of closure,

\[ y\in\overline{f(A)}. \]

Since \(y\) was arbitrary,

\[ \boxed{ f(\overline A) \subseteq \overline{f(A)} }. \]

Part (ii)

We need an example where the inclusion in part (i) is strict.

Choose

\[ f(x)=\frac{1}{1+x^2}. \]

This function is continuous on all of \(\mathbb R\).

Since \(\mathbb R\) is closed,

\[ \overline{\mathbb R} = \mathbb R. \]

Therefore

\[ f(\overline{\mathbb R}) = f(\mathbb R). \]

Now

\[ 0< \frac{1}{1+x^2} \le1. \]

The maximum value \(1\) occurs at

\[ x=0. \]

Therefore \(1\) belongs to the image.

However,

\[ \frac{1}{1+x^2}>0 \]

for every real \(x\), so the function never equals \(0\).

Also,

\[ \lim_{|x|\to\infty} \frac{1}{1+x^2} = 0. \]

Therefore values of the function can approach \(0\) arbitrarily closely.

Hence

\[ f(\mathbb R)=(0,1]. \]

Consequently,

\[ \overline{f(\mathbb R)} = [0,1]. \]

Therefore

\[ f(\overline{\mathbb R}) = (0,1] \]

while

\[ \overline{f(\mathbb R)} = [0,1]. \]

Hence

\[ \boxed{ f(\overline{\mathbb R}) \ne \overline{f(\mathbb R)} }. \]
Hinglish Explanation

Part (i)

Hume prove karna hai:

\[ f(\overline A) \subseteq \overline{f(A)}. \]

Subset prove karne ka standard method:

Left side ka arbitrary element lo aur prove karo ki woh right side mein bhi hai.

So let

\[ y\in f(\overline A). \]

Image ke meaning se koi

\[ x\in\overline A \]

hoga such that

\[ y=f(x). \]

Ab \(x\in\overline A\) ka simple meaning hai: \(A\) ke points \(x\) ke arbitrarily close aa sakte hain.

Sequence language mein:

\[ \exists x_n\in A \quad\text{such that}\quad x_n\to x. \]

Ab continuity ka sabse useful sequence form:

\[ x_n\to x \Rightarrow f(x_n)\to f(x). \]

Since har \(x_n\in A\),

\[ f(x_n)\in f(A). \]

Aur:

\[ f(x_n)\to f(x)=y. \]

Matlab \(f(A)\) ke points ki sequence \(y\) tak ja rahi hai.

Therefore:

\[ y\in\overline{f(A)}. \]

Hence:

\[ \boxed{ f(\overline A) \subseteq \overline{f(A)} }. \]

Part (ii)

Ab hume dikhana hai ki equality hamesha necessary nahi hai.

Function lo:

\[ f(x)=\frac1{1+x^2}. \]

Sabse pehle:

\[ \overline{\mathbb R}=\mathbb R. \]

So:

\[ f(\overline{\mathbb R}) = f(\mathbb R). \]

Function hamesha positive hai:

\[ f(x)>0. \]

Isliye value \(0\) kabhi attain nahi hoti.

At \(x=0\):

\[ f(0)=1. \]

Aur jab \(|x|\) bahut bada hota hai:

\[ f(x)\to0. \]

Isliye image:

\[ f(\mathbb R)=(0,1]. \]

Lekin image ki closure mein missing limit value \(0\) add ho jayegi:

\[ \overline{f(\mathbb R)}=[0,1]. \]

Therefore:

\[ (0,1]\ne[0,1]. \]

So equality necessary nahi hai.

Main concept: Continuous function closure ke points ko image closure ke andar bhejta hai, lekin image ke kuch extra limit points ho sakte hain jo actually function se attain na hote hon.

Question C2

Let \(K\subseteq\mathbb{R}\) be nonempty and compact, and let continuous

\[ f:K\to\mathbb R \]

satisfy

\[ f(x)>0 \]

for every \(x\in K\).

  1. Prove that some \(c>0\) satisfies \[ f(x)\ge c \] for every \(x\in K\).
  2. If \(A\subseteq\mathbb R\) is not closed, construct continuous \(f:A\to\mathbb R\) with \(f(x)>0\) for all \(x\in A\), but \[ \inf_{x\in A}f(x)=0. \]
English Solution

Part (i)

The key theorem is the Extreme Value Theorem.

It states:

\[ \boxed{ \text{A continuous real-valued function on a nonempty compact set} \text{ attains its maximum and minimum.} } \]

Since \(K\) is nonempty and compact and \(f\) is continuous, there exists some point

\[ p\in K \]

at which \(f\) attains its minimum.

Therefore

\[ f(p)\le f(x) \]

for every \(x\in K\).

Define

\[ c=f(p). \]

The hypothesis tells us that

\[ f(x)>0 \]

for every \(x\in K\).

In particular,

\[ f(p)>0. \]

Hence

\[ c>0. \]

Since \(f(p)\) is the minimum,

\[ f(x)\ge f(p)=c \]

for every \(x\in K\).

Therefore

\[ \boxed{ \exists c>0 \text{ such that } f(x)\ge c \text{ for every }x\in K }. \]

Part (ii)

Since \(A\) is not closed, it fails to contain at least one of its limit points.

Therefore there exists

\[ a\in\overline A\setminus A. \]

Define

\[ f(x)=|x-a| \]

for \(x\in A\).

This function measures the distance from \(x\) to the missing limit point \(a\).

The absolute-value function is continuous, and therefore \(f\) is continuous on \(A\).

Since

\[ a\notin A, \]

every \(x\in A\) satisfies

\[ x\ne a. \]

Therefore

\[ |x-a|>0. \]

Hence

\[ f(x)>0 \]

for every \(x\in A\).

But since

\[ a\in\overline A, \]

there exists a sequence

\[ x_n\in A \]

such that

\[ x_n\to a. \]

Therefore

\[ f(x_n) = |x_n-a| \to0. \]

Thus values of \(f\) can become arbitrarily close to \(0\).

Since

\[ f(x)>0 \]

for every \(x\in A\), \(0\) is a lower bound.

And since values can approach \(0\) arbitrarily closely, no positive number can be a larger lower bound.

Hence

\[ \boxed{ \inf_{x\in A}f(x)=0 }. \]
Hinglish Explanation

Part (i)

Yahan sabse important theorem hai: Extreme Value Theorem.

Is theorem ka simple meaning:

Agar domain compact ho aur function continuous ho, to function sirf minimum value ke paas nahi jayega, balki minimum value ko actually attain karega.

Isliye koi

\[ p\in K \]

exist karega jahan:

\[ f(p)=\min_{x\in K}f(x). \]

Matlab:

\[ f(x)\ge f(p) \]

for every \(x\in K\).

Ab question ne diya hai:

\[ f(x)>0 \]

for every \(x\in K\).

So minimum point \(p\) par bhi:

\[ f(p)>0. \]

Ab simply define:

\[ c=f(p). \]

Then:

\[ c>0 \]

and

\[ f(x)\ge c \]

for every \(x\in K\).

Bas wahi prove karna tha.

Part (ii)

\(A\) not closed hai.

Iska matlab \(A\) ka kam se kam ek limit point missing hai.

So choose:

\[ a\in\overline A\setminus A. \]

\(a\), \(A\) ke points ka limit point hai, lekin \(A\) mein khud present nahi hai.

Ab function define karo:

\[ f(x)=|x-a|. \]

Ye simply \(x\) ki \(a\) se distance hai.

Since \(a\notin A\), koi bhi \(x\in A\), \(a\) ke equal nahi ho sakta.

Therefore:

\[ |x-a|>0. \]

So:

\[ f(x)>0 \]

everywhere on \(A\).

Lekin \(a\) limit point hai. Isliye \(A\) ke points \(a\) ke jitna chahein paas aa sakte hain.

Sequence language:

\[ x_n\in A, \qquad x_n\to a. \]

Then:

\[ f(x_n) = |x_n-a| \to0. \]

Important point:

Function kabhi \(0\) nahi hota, because \(a\notin A\).

Lekin function ki values \(0\) ke arbitrarily close aa sakti hain.

Isliye:

\[ \boxed{ \inf_{x\in A}f(x)=0 } \]

but minimum \(0\) attain nahi hota.

Ye minimum aur infimum ke difference ka bhi perfect example hai.

Final Concept Revision

1. Open set

\[ x\in U \Rightarrow \exists\varepsilon>0: (x-\varepsilon,x+\varepsilon)\subseteq U. \]

2. Density of rationals

\[ a<b \Rightarrow \exists q\in\mathbb Q: a<q<b. \]

3. Closed set

A closed set contains all of its limit points.

4. Closure

\[ \overline A = A \cup \{\text{all limit points of }A\}. \]

5. Compact subsets of \(\mathbb R\)

\[ \boxed{ K\text{ compact} \iff K\text{ closed and bounded} } \]

6. Continuous functions preserve connectedness

\[ A\text{ connected} \Rightarrow f(A)\text{ connected}. \]

7. Connected subsets of \(\mathbb R\)

Connected subsets of the real line are intervals.

8. Continuity and sequences

\[ x_n\to x \Rightarrow f(x_n)\to f(x). \]

9. Continuity and open sets

\[ U\text{ open} \Rightarrow f^{-1}(U)\text{ open}. \]

Be careful: \(f(U)\) need not be open.

10. Extreme Value Theorem

A continuous real-valued function on a nonempty compact set attains both its maximum and minimum.

Exam mein question dekhte hi ye associations yaad rakho:

Open + rational? → Density of \(\mathbb Q\).

Infinite union of closed? → Counterexample search karo.

Open in \(\mathbb Q\)? → Subspace topology.

Cauchy + bounded? → Bounded ko Cauchy mat samjho.

Connected + continuous? → Continuous image connected hota hai.

Compact in \(\mathbb R\)? → Closed + bounded check karo.

Closure + continuous function? → Sequence \(x_n\to x\) use karna bahut useful hota hai.

Positive continuous function on compact set? → Extreme Value Theorem → positive minimum.

Set not closed? → Missing limit point \(a\in\overline A\setminus A\) choose karna useful hota hai.

Infimum vs minimum: Infimum set mein present hona necessary nahi, but minimum present hona necessary hai.