# Thread:

1. ## Subsequences

Suppose $\{x_n\}\to x_0$ and $\{y_n\}\to x_0$. Define a sequence $\{z_n\}$ as follows: $z_{2n}=x_n$ and $z_{2n-1}=y_n$. Prove that $\{z_n\}$ converges to $x_0$.

Let $\epsilon >0$. Then $\exists N_1, \ N_2\in\mathbb{N}$ such that for $n\geq N_1, \ N_2$ we have $|x_n-x_0|<\epsilon$ and $|y_n-x_0|<\epsilon$.

I don't know what to do now.

2. ## Re: Subsequences

Let $N:=\max(N_1,N_2)$. For $n\geq N$ we have $|z_{2n}-x_0|\leq \varepsilon$ and $|z_{2n-1}-x_0|\leq \varepsilon$ hence if $k\geq 2N-1$ we have $|z_k-x_0|\leq \varepsilon$.

3. ## Re: Subsequences

Originally Posted by dwsmith
Suppose $\{x_n\}\to x_0$ and $\{y_n\}\to x_0$. Define a sequence $\{z_n\}$ as follows: $z_{2n}=x_n$ and $z_{2n-1}=y_n$. Prove that $\{z_n\}$ converges to $x_0$.

Let $\epsilon >0$. Then $\exists N_1, \ N_2\in\mathbb{N}$ such that for $n\geq N_1, \ N_2$ we have $|x_n-x_0|<\epsilon$ and $|y_n-x_0|<\epsilon$.
Let $N=2(N_1+N_2)$. If $n\ge N$ then if $n\text{ is odd}$ we have $k = \left\lfloor {\frac{n}{2}} \right\rfloor > N_2$ and $z_n=y_k$.

Use a similar idea if $n\text{ is even}$.

4. ## Re: Subsequences

Originally Posted by Plato
Let $N=2(N_1+N_2)$. If $n\ge N$ then if $n\text{ is odd}$ we have $k = \left\lfloor {\frac{n}{2}} \right\rfloor > N_2$ and $z_n=y_k$.

Use a similar idea if $n\text{ is even}$.
Why is $N=2(N_1+N_2)$

5. ## Re: Subsequences

Originally Posted by dwsmith
Why is $N=2(N_1+N_2)$
First of all, it insures absolutely that $N>N_1~\&~N>N_2$.
Therefore, we can use anyone of the statements already restricted.

6. ## Re: Subsequences

Originally Posted by Plato
then if $n\text{ is odd}$ we have $k = \left\lfloor {\frac{n}{2}} \right\rfloor > N_2$ and $z_n=y_k$.
Can you also explain this?

7. ## Re: Subsequences

Originally Posted by dwsmith
Can you also explain this?
You do the mathematics.
Just take many cases.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 48, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9188010096549988, "perplexity_flag": "head"}