# Limsup and liminf

## Homework Statement

Let 1A stand for an indicator function and
Let fn = 1{n} and gn={1{1} n odd, 1{1} n even.
Find limn->∞sup{fn} and limsupn->∞{gn}

## The Attempt at a Solution

The limits are pointwise so I found given x, then
limn->∞sup{fn} = 0
limsupn->∞{gn} = {1 for x=1 or x=2 and 0 elsewhere}
Do you agree? I just wanted to check basically :)

Office_Shredder
Staff Emeritus
Gold Member
2021 Award

oops no 1{1} for n odd, 1{2} for n even

Ray Vickson
Homework Helper
Dearly Missed
oops no 1{1} for n odd, 1{2} for n even

What is fn? Your definition means that fn is a function, with fn(x) = 1 if x = n and fn(x) = 0 for x ≠ n. However, that does not seem to be what you really mean. Just tell us in words what are fn and gn---forget about trying to (mis)use indicator functions.

fn(x) = {1 if x=n, 0 elsewhere} How am I misusing indicator functions?
By definition an indicator 1A = {1 x$\in$ A, 0 else}

jbunniii
Homework Helper
Gold Member
I think you have the right answer, but it could be stated better. First, you need to include the argument ##(x)## of the functions, and second, you should try to typeset it so it will be clearer what you mean. I assume you meant the following:
$$f_n(x) = 1_{\{n\}}(x) = \begin{cases}1 & \text{ if }x = n \\ 0 & \text{ otherwise}\end{cases}$$
$$g_n(x) = \begin{cases}1_{\{1\}}(x) & \text{ if }n\text{ is even} \\ 1_{\{2\}}(x) & \text{ if }n\text{ is odd}\end{cases}\text{ (for all }x\text{)}$$
$$\limsup_{n \rightarrow \infty} f_n(x) = 0 \text{ (for all }x\text{)}$$
and
$$\limsup_{n \rightarrow \infty} g_n(x) = \begin{cases} 1 & \text{ if }x = 1\text{ or }x = 2 \\ 0 & \text{ otherwise} \end{cases}$$
You can right click on my equations to see how they are typeset. If you show your work, we can check whether your reasoning is right.

Last edited:
Ray Vickson
By definition an indicator 1A = {1 x$\in$ A, 0 else}