The areas / V15. Real analysis in one variable
Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds
40 declarations and 2 deprecated aliases. Mathlib docs · Source
Polynomial bounds for trigonometric functions
Main statements
This file contains upper and lower bounds for real trigonometric functions in terms
of polynomials. See Trigonometric.Basic for more elementary inequalities, establishing
the ranges of these functions, and their monotonicity in suitable intervals.
Here we prove the following:
sin_lt: forx > 0we havesin x < x.sin_gt_sub_cube: For0 < xwe havex - x ^ 3 / 6 < sin x.lt_tan: for0 < x < π/2we havex < tan x.arctan_lt_self: forx > 0we havearctan x < x.cos_le_one_div_sqrt_sq_add_oneandcos_lt_one_div_sqrt_sq_add_one: for-3 * π / 2 ≤ x ≤ 3 * π / 2, we havecos x ≤ 1 / sqrt (x ^ 2 + 1), with strict inequality ifx ≠ 0. (This bound is not quite optimal, but not far off)
Tags
sin, cos, tan, angle
theorem Real.sin_lt E3 #
∀ {x : ℝ}, 0 < x → Real.sin x < x
For 0 < x, we have sin x < x.
theorem Real.sin_le E1 #
∀ {x : ℝ}, 0 ≤ x → Real.sin x ≤ x
theorem Real.lt_sin E1 #
∀ {x : ℝ}, x < 0 → x < Real.sin x
theorem Real.le_sin E1 #
∀ {x : ℝ}, x ≤ 0 → x ≤ Real.sin x
theorem Real.lt_sin_mul E1 #
∀ {x : ℝ}, 0 < x → x < 1 → x < Real.sin (Real.pi / 2 * x)
theorem Real.le_sin_mul E1 #
∀ {x : ℝ}, 0 ≤ x → x ≤ 1 → x ≤ Real.sin (Real.pi / 2 * x)
theorem Real.mul_lt_sin E1 #
∀ {x : ℝ}, 0 < x → x < Real.pi / 2 → 2 / Real.pi * x < Real.sin x
theorem Real.mul_le_sin E2 #
∀ {x : ℝ}, 0 ≤ x → x ≤ Real.pi / 2 → 2 / Real.pi * x ≤ Real.sin x
One half of Jordan's inequality.
In the range [0, π / 2], we have a linear lower bound on sin. The other half is given by
Real.sin_le.
theorem Real.sin_le_mul E2 #
∀ {x : ℝ}, -(Real.pi / 2) ≤ x → x ≤ 0 → Real.sin x ≤ 2 / Real.pi * x
Half of Jordan's inequality for negative values.
theorem Real.mul_abs_le_abs_sin E2 #
∀ {x : ℝ}, |x| ≤ Real.pi / 2 → 2 / Real.pi * |x| ≤ |Real.sin x|
Half of Jordan's inequality for absolute values.
theorem Real.sin_sq_lt_sq E1 #
∀ {x : ℝ}, x ≠ 0 → Real.sin x ^ 2 < x ^ 2
theorem Real.sin_sq_le_sq E1 #
∀ {x : ℝ}, Real.sin x ^ 2 ≤ x ^ 2
theorem Real.abs_sin_lt_abs E1 #
∀ {x : ℝ}, x ≠ 0 → |Real.sin x| < |x|
theorem Real.abs_sin_le_abs E1 #
∀ {x : ℝ}, |Real.sin x| ≤ |x|
theorem Real.one_sub_sq_div_two_lt_cos E1 #
∀ {x : ℝ}, x ≠ 0 → 1 - x ^ 2 / 2 < Real.cos x
theorem Real.one_sub_sq_div_two_le_cos E1 #
∀ {x : ℝ}, 1 - x ^ 2 / 2 ≤ Real.cos x
theorem Real.one_sub_mul_le_cos E2 #
∀ {x : ℝ}, 0 ≤ x → x ≤ Real.pi / 2 → 1 - 2 / Real.pi * x ≤ Real.cos x
Half of Jordan's inequality for cos.
theorem Real.one_add_mul_le_cos E2 #
∀ {x : ℝ}, -(Real.pi / 2) ≤ x → x ≤ 0 → 1 + 2 / Real.pi * x ≤ Real.cos x
Half of Jordan's inequality for cos and negative values.
theorem Real.cos_le_one_sub_mul_cos_sq E1 #
∀ {x : ℝ}, |x| ≤ Real.pi → Real.cos x ≤ 1 - 2 / Real.pi ^ 2 * x ^ 2
theorem Real.sin_gt_sub_cube E3 #
∀ {x : ℝ}, 0 < x → x - x ^ 3 / 6 < Real.sin x
For 0 < x we have x - x ^ 3 / 6 < sin x.
This inequality is tight, in that the constant 6 is best possible.
theorem Real.sin_ge_sub_cube E2 #
∀ {x : ℝ}, 0 ≤ x → x - x ^ 3 / 6 ≤ Real.sin x
For 0 ≤ x we have x - x ^ 3 / 6 ≤ sin x.
This inequality is tight, in that the constant 6 is best possible.
theorem Real.abs_sub_sin_le E1 #
∀ (x : ℝ), |x - Real.sin x| ≤ |x| ^ 3 / 6
|x - sin x| ≤ |x|³ / 6 for every real x.
theorem Real.deriv_tan_sub_id E1 #
∀ (x : ℝ), Real.cos x ≠ 0 → deriv (fun y ↦ Real.tan y - y) x = 1 / Real.cos x ^ 2 - 1
The derivative of tan x - x is 1/(cos x)^2 - 1 away from the zeroes of cos.
theorem Real.lt_tan E3 #
∀ {x : ℝ}, 0 < x → x < Real.pi / 2 → x < Real.tan x
For all 0 < x < π/2 we have x < tan x.
This is proved by checking that the function tan x - x vanishes
at zero and has non-negative derivative.
theorem Real.le_tan E1 #
∀ {x : ℝ}, 0 ≤ x → x < Real.pi / 2 → x ≤ Real.tan x
theorem Real.arctan_lt_self E3 #
∀ {x : ℝ}, 0 < x → Real.arctan x < x
For 0 < x we have arctan x < x.
This is lt_tan reflected in the diagonal: tan lies above the identity on (0, π / 2), hence
its inverse lies below it.
theorem Real.arctan_le_self E1 #
∀ {x : ℝ}, 0 ≤ x → Real.arctan x ≤ x
theorem Real.self_lt_arctan E1 #
∀ {x : ℝ}, x < 0 → x < Real.arctan x
theorem Real.self_le_arctan E1 #
∀ {x : ℝ}, x ≤ 0 → x ≤ Real.arctan x
theorem Real.abs_arctan_lt_abs E1 #
∀ {x : ℝ}, x ≠ 0 → |Real.arctan x| < |x|
theorem Real.abs_arctan_le_abs E1 #
∀ {x : ℝ}, |Real.arctan x| ≤ |x|
theorem Real.cos_lt_one_div_sqrt_sq_add_one E3 #
∀ {x : ℝ}, -(3 * Real.pi / 2) ≤ x → x ≤ 3 * Real.pi / 2 → x ≠ 0 → Real.cos x < 1 / √(x ^ 2 + 1)
theorem Real.cos_le_one_div_sqrt_sq_add_one E3 #
∀ {x : ℝ}, -(3 * Real.pi / 2) ≤ x → x ≤ 3 * Real.pi / 2 → Real.cos x ≤ 1 / √(x ^ 2 + 1)
theorem Real.lipschitzWith_sin E1 #
LipschitzWith 1 Real.sin
theorem Real.lipschitzWith_cos E1 #
LipschitzWith 1 Real.cos
theorem Real.abs_sin_sub_sin_le E1 #
∀ (x y : ℝ), |Real.sin x - Real.sin y| ≤ |x - y|
theorem Real.abs_cos_sub_cos_le E1 #
∀ (x y : ℝ), |Real.cos x - Real.cos y| ≤ |x - y|
theorem Real.norm_exp_I_mul_ofReal_sub_one_le E1 #
∀ {x : ℝ}, ‖Complex.exp (Complex.I * ↑x) - 1‖ ≤ ‖x‖
theorem Real.eNorm_exp_I_mul_ofReal_sub_one_le E1 #
∀ {x : ℝ}, ‖Complex.exp (Complex.I * ↑x) - 1‖ₑ ≤ ‖x‖ₑ
theorem Real.nnNorm_exp_I_mul_ofReal_sub_one_le E1 #
∀ {x : ℝ}, ‖Complex.exp (Complex.I * ↑x) - 1‖₊ ≤ ‖x‖₊
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Real.enorm_exp_I_mul_ofReal_sub_one_le | Real.eNorm_exp_I_mul_ofReal_sub_one_le | 2026-11-06 |
Real.nnnorm_exp_I_mul_ofReal_sub_one_le | Real.nnNorm_exp_I_mul_ofReal_sub_one_le | 2026-10-31 |