Documentation

Books.IntroductiontoRealAnalysisVolumeI_JiriLebl_2025.Chapters.Chap03.section05

Definition 3.5.1. is a cluster point of S ⊆ ℝ if for every real M there exists x ∈ S with x ≥ M; similarly -∞ is a cluster point if for every M there is x ∈ S with x ≤ M. For a function f : S → ℝ with (resp. -∞) a cluster point of S, the limit lim_{x → ∞} f = L (resp. lim_{x → -∞} f = L) means that for every ε > 0 there exists M ∈ ℝ such that for all x ∈ S with x ≥ M (resp. x ≤ M) one has |f x - L| < ε.

Equations
Instances For

    Definition 3.5.1. -∞ is a cluster point of S ⊆ ℝ if every real bound is exceeded below by some x ∈ S.

    Equations
    Instances For

      The book notion that is a cluster point of a subset of is equivalent to the set being unbounded above.

      The book notion that -∞ is a cluster point of a subset of is equivalent to the set being unbounded below.

      def book_tendsto_atTop (S : Set ) (f : S) (L : ) :

      Definition 3.5.1. A function f : S → ℝ converges to L as x → ∞ if for every ε > 0 there exists M ∈ ℝ such that whenever x ∈ S satisfies x ≥ M, then |f x - L| < ε.

      Equations
      Instances For
        def book_tendsto_atBot (S : Set ) (f : S) (L : ) :

        Definition 3.5.1. A function f : S → ℝ converges to L as x → -∞ if for every ε > 0 there exists M ∈ ℝ such that whenever x ∈ S satisfies x ≤ M, then |f x - L| < ε.

        Equations
        Instances For

          Assuming is a cluster point of S, the book limit at coincides with the standard Tendsto formulation along Filter.atTop for functions on the subtype domain.

          The book limit at -∞ coincides with the standard Tendsto formulation along Filter.atBot for functions on the subtype domain.

          theorem limit_atTop_unique {S : Set } {f : S} {L₁ L₂ : } (hS : book_clusterPoint_atTop S) (h₁ : book_tendsto_atTop S f L₁) (h₂ : book_tendsto_atTop S f L₂) :
          L₁ = L₂

          Proposition 3.5.2. If a function has a limit at (resp. -∞) in the sense above, that limit value is unique.

          theorem limit_atBot_unique {S : Set } {f : S} {L₁ L₂ : } (hS : book_clusterPoint_atBot S) (h₁ : book_tendsto_atBot S f L₁) (h₂ : book_tendsto_atBot S f L₂) :
          L₁ = L₂

          Proposition 3.5.2. If a function has a limit at -∞ in the sense above, that limit value is unique.

          theorem example_3_5_3 :
          Filter.Tendsto (fun (x : ) => 1 / (|x| + 1)) Filter.atTop (nhds 0) Filter.Tendsto (fun (x : ) => 1 / (|x| + 1)) Filter.atBot (nhds 0)

          Example 3.5.3. The function f x = 1 / (|x| + 1) satisfies lim_{x → ∞} f x = 0 and lim_{x → -∞} f x = 0.

          The affine sequence n ↦ 2n + c diverges to .

          theorem sin_pi_two_n_add_half (n : ) :
          Real.sin (Real.pi * (2 * n + 1 / 2)) = 1

          Exact value of sin (π (2n + 1/2)).

          theorem sin_pi_two_n_add_three_halves (n : ) :
          Real.sin (Real.pi * (2 * n + 3 / 2)) = -1

          Exact value of sin (π (2n + 3/2)).

          Example 3.5.4. For f x = sin (π x), the limit lim_{x → ∞} f x does not exist, while the sequence limit lim_{n → ∞} sin (π n) equals 0; this illustrates the distinction between limits of continuous variables and limits of sequences.

          Example 3.5.4. The sequence sin (π n) converges to 0 as n → ∞.

          theorem lemma_3_5_5 {S : Set } {f : S} {L : } (_hS : book_clusterPoint_atTop S) :
          book_tendsto_atTop S f L ∀ (x : S), Filter.Tendsto (fun (n : ) => (x n)) Filter.atTop Filter.atTopFilter.Tendsto (fun (n : ) => f (x n)) Filter.atTop (nhds L)

          Lemma 3.5.5. If f : S → ℝ, is a cluster point of S ⊆ ℝ, and L ∈ ℝ, then lim_{x → ∞} f x = L if and only if for every sequence xₙ ∈ S with xₙ → ∞ one has lim_{n → ∞} f (xₙ) = L.

          def book_tendsto_atTop_top (S : Set ) (f : S) :

          Definition 3.5.6. If S ⊆ ℝ has as a cluster point, a function f : S → ℝ is said to diverge to as x → ∞ provided that for every real bound N there is some M such that whenever x ∈ S with x ≥ M, we have f x > N; this is written as lim_{x → ∞} f x = ∞.

          Equations
          Instances For

            The book notion that a function diverges to agrees with the standard Tendsto formulation to the filter atTop on .

            theorem example_3_5_7_lower_bound {x : } (hx : 1 x) :
            (1 + x ^ 2) / (1 + x) x / 2

            Helper for Example 3.5.7: for x ≥ 1, (1 + x^2) / (1 + x) dominates x / 2.

            Helper for Example 3.5.7: x / 2 diverges to .

            theorem example_3_5_7 :
            Filter.Tendsto (fun (x : ) => (1 + x ^ 2) / (1 + x)) Filter.atTop Filter.atTop

            Example 3.5.7. The limit of (1 + x^2) / (1 + x) as x → ∞ diverges to .

            theorem proposition_3_5_8 {A B : Set } {f : } {g : EReal} {a b : } {c : EReal} (_ha : ClusterPt a (Filter.principal A)) (_hb : ClusterPt b (Filter.principal B)) (hf_map : Set.MapsTo f A B) (hf : Filter.Tendsto f (nhdsWithin a A) (nhds b)) (hg : Filter.Tendsto g (nhdsWithin b B) (nhds c)) (_hbmem : b Bg b = c) :
            Filter.Tendsto (fun (x : ) => g (f x)) (nhdsWithin a A) (nhds c)

            Proposition 3.5.8. Let f : A → B and g : B → ℝ with A, B ⊆ ℝ, where a is a cluster point of A and b is a cluster point of B. Assume lim_{x → a} f x = b and lim_{y → b} g y = c for some c ∈ ℝ ∪ {±∞}; if moreover b ∈ B, suppose g b = c. Then lim_{x → a} g (f x) = c.

            theorem neg_quad_eventually_le (M : ) :
            ∀ᶠ (x : ) in Filter.atTop, -x ^ 2 + x M

            For any real bound M, the quadratic expression -x^2 + x is eventually below M along Filter.atTop.

            The quadratic polynomial -x^2 + x tends to -∞ along Filter.atTop.

            theorem example_3_5_9 :
            Filter.Tendsto (fun (x : ) => Real.exp (-x ^ 2 + x)) Filter.atTop (nhds 0)

            Example 3.5.9. For h x = e ^ (-x^2 + x), we have lim_{x → ∞} h x = 0, using that -x^2 + x → -∞ and e^y → 0 as y → -∞.