- Research
- Open access
- Published:
Sharp unifying generalizations of Opial’s inequality
Journal of Inequalities and Applications volume 2023, Article number: 153 (2023)
Abstract
Opial’s inequality and its ramifications play an important role in the theory of differential and difference equations. A sharp unifying generalization of Opial’s inequality is presented that contains both its continuous and discrete versions. This generalization, based on distribution functions, is extended to the case of derivatives of arbitrary order. This extension optimizes and improves the constant given in the literature. The special case of derivatives of second order is studied in more detail. Two closely related Opial inequalities with a weight function are presented as well. The associated Wirtinger inequality is studied briefly.
1 Introduction
More than sixty years ago, Opial [15] published an inequality that happened to have an enormous influence in the field of differential and difference equations. For an early application, see Willett [22]. Its complicated proof was simplified in the early 1960s by several authors; see Chap. 1 of Agarwal and Pang [1], who present a comprehensive account of the state of the art in this field up to 1995. A more recent detailed description of the history of Opial’s inequality is given in Saker [18]. The situation in 2015 is summarized in Andrić et al. [2]. The inequality has been extended and generalized in several directions. For an exposition of Opial’s inequality for time scales, we refer to Osman, Saker and Anderson [16].
In the next section we present a very general, unifying version of the original Opial inequality in terms of integration via distribution functions. Observe that a distribution function may have its support in different time scales, like \({\mathbb{R}}\), \({\mathbb{N}}\) and \(q^{\mathbb{N}}\). In particular, our probability theoretic inequality incorporates also a discrete version, which is similar to the one presented by Lasota [10]. We also present the Opial inequality for n-th derivatives, with the optimal constant. Our inequality improves the constants given in the literature, e.g., Das [4]; see also Wang, Sun and Yang [21]. This is done in Sect. 3. However, this inequality is not sharp for distributions with atoms, in particular for the discrete case. An inequality for derivatives of second order that is sharp for these distributions as well, is proved in Sect. 4. Furthermore, we consider Opial inequalities with weights in Sect. 5. We study the related Wirtinger inequality briefly in Sect. 6. Our conclusions are presented in Sect. 7.
Formula (8) in Opial [14] states that for differentiable functions x with \(x(0) = x(h) =0\) the inequality
holds. As mentioned in (1)–(4) of Opial [15] Item 257 on page 185 of Hardy, Littlewood and Pólya [7] implies, by the substitution \(x(t) = y(\pi t/h)\), the Wirtinger inequality
which, by Cauchy–Schwarz, yields (1); cf. (7) and (8) of Opial [14]. In (5) of Opial [15] inequality (1) has been sharpened to
where \(h/4\) is the optimal constant. His complicated proof has been simplified successively by Olech [13], Beesack [3], Levinson [11], Mallows [12] and Pederson [17].
Actually, (3) is a consequence of the more fundamental inequality for differentiable functions x with just \(x(0) =0\) (cf. (3) of Beesack [3])
where \(h/2\) is the optimal constant; see also Remark 2. Often this inequality is also called Opial inequality. It is this inequality we will focus on, but consequences such as (3) will be discussed as well.
2 A probability theoretic generalization of Opial’s inequality
In this section we first generalize Opial’s fundamental inequality (4) to integration via distribution functions. Subsequently, we will discuss a simple extension to an analog of (3). Opial-type inequalities are, for obvious reasons, presented in terms of a function x and its derivatives. To formulate our results, we start with the derivative, which we call ψ, and integrate this function with respect to a distribution function F. Here we define \(F(x) = P_{F}(X \leq x)\) at \(x \in {\mathbb{R}}\) as the probability that a random variable under F equals at most x. Note that F is continuous from the right with left hand limits. To compensate for this asymmetry in the standard definition of a distribution function, we integrate a measurable function ψ with respect to such a distribution function in a special way, namely
We will also consider
Theorem 1
(Opial’s inequality)
Let X and Y be independent and identically distributed (i.i.d.) random variables with distribution function F on \(\mathbb{R}\), and let \(\psi : {\mathbb{R}} \to {\mathbb{R}}\) be a measurable function. The inequalities
and
hold with equalities if and only if ψ is constant F-almost everywhere.
Proof
Without loss of generality, we assume \(E_{F} ( \psi ^{2}(X) ) < \infty \). Since the absolute value of a (conditional) expectation of a random variable is bounded from above by the expectation of the absolute value of the random variable itself, the left-hand side of (7) is bounded by the middle term
where the equality holds because X and Y are i.i.d. In view of
and (9), the left-hand sides of (7) and (8) are bounded by
The last inequality is valid by Cauchy–Schwarz, which also shows that equality can hold only if \(\psi (X)\) is constant F-almost everywhere. Indeed, for \(\psi =1\) the left-hand sides of (7) and (8) equal
and the sum of these two terms equals
□
Remark 1
The continuous Opial inequality has also been generalized to fractional integral operators; for a recent comprehensive paper on this topic, see, e.g., Vivas-Cortez, Martínez, Nápoles Valdes and Hernández [20]. For absolutely continuous distribution functions F with density f in (5) and (6) there is some similarity to fractional integral operators, in which \(f(y)\) is replaced by a function of \((x-y)\), in the notation of (5) and (6).
Remark 2
If F has no point masses, i.e., if \(P(X=Y) =0\) holds, then (7) simplifies to
In particular, if X and Y have a uniform distribution on the interval \([0,h]\), then this reduces to Opial’s inequality (4)
In Opial’s notation we have the absolutely continuous function \(x(t) = \int _{0}^{t} \psi (y) \,dy \), which is Lebesgue almost everywhere differentiable with derivative \(x'(t) = \psi (t)\) and \(x(0)=0\).
With \(x(t) = \int _{t}^{2h} \psi (y) \,dy \), \(h \leq t \leq 2h\), we also have \(x(2h) = 0\). Then by symmetry inequality (10) implies
which combined with (10) itself yields inequality (3) of Opial, where h is replaced by 2h, namely
Note that for continuity of x at h we need \(\int _{0}^{h} \psi (y) \,dy = \int _{h}^{2h} \psi (y) \,dy \). In a similar way as above, two inequalities as in (7) may be glued together; see Corollary 2.1 below.
Remark 3
Lasota [10] presented a discrete Opial inequality, an analog of (3). Its proof contains the more basic discrete version of (4) as formulated in Theorem 5.2.4 of Agarwal and Pang [1]. With \(a_{i} = \nabla x_{i}\) denoting the backward shift operator, their Theorem 5.2.4 presents the inequality
With F uniform on \(\{ 1, \dots , N \}\) and \(\psi (i)=a_{i}\), \(i=1,\dots ,N\), the second inequality in (7) yields
which is equivalent to (11); replace \(a_{i}\) by \(|a_{i}|\).
Corollary 2.1
Let X and Y be i.i.d. with distribution function F and let c be a constant satisfying \(P_{F}(X \leq c) = p\), \(0< p<1\). Then the inequalities
hold with equalities if and only if ψ is F-almost everywhere constant on \((-\infty ,c]\) and on \((c,\infty )\) with possibly different constants.
In case F is continuous and c is a median of F, the inequalities become
Proof
Recall that X and Y are i.i.d. Consequently, they are i.i.d. under the condition \(X>c\), \(Y>c\) too. Therefore the first inequality of (13) holds; cf. (9). Applying Theorem 1 to both expectations on the right-hand side of the first inequality conditionally on \(X \leq c\), \(Y \leq c\) and \(X > c\), \(Y > c\), respectively, we see that the left-hand sides of (13) are bounded from above by
As in Theorem 1, equalities hold if and only if ψ is constant F-almost everywhere on \((-\infty ,c]\) and on \((c,\infty )\) with possibly different constants.
For the case where F is continuous and c is a median of F, we have \(P_{F}(Y=X)=0\), \(p=1/2\),
and similarly for the subsequent three terms. □
Remark 4
Taking F uniform on \([0,h]\) in (14), we obtain \(c=h/2\), \(p=1/2\) and
With \(\int _{x}^{h} \psi = - \int _{0}^{x} \psi \) these inequalities yield
our equivalent of (4); see also Remark 2.
Remark 5
With F uniform on \(\{1,\dots ,K,\dots ,N\}, c=K\), \(p=K/N\) and \(\psi (i)=a_{i}\), \(i=1, \dots ,N\), inequality (13) becomes
which for \(N=2K\) and \(\sum_{i=1}^{N} \psi (i) = \sum_{i=1}^{N} a_{i} = 0\) reduces to
This inequality is sharp, as can be seen via the choices \(a_{1} = \cdots = a_{K} =1\), \(a_{K+1} = \cdots = a_{N} = -1\). For odd N this inequality also holds, as we will show next. Define \(b_{h} = \psi (\lceil h/2 \rceil ) = a_{\lceil h/2 \rceil}\), \(h = 1, \dots , 2N\). In view of \(\sum_{h=1}^{2N} b_{h} = 2 \sum_{i=1}^{N} a_{i} =0\) inequality (15) yields
Discerning between odd and even h, we see that this inequality can be rewritten in terms of the \(a_{i}\) as
Since the absolute value function \(| \cdot |\) is convex, this inequality implies (15) for odd N.
The discrete Opial inequality in Theorem 1.2 of Lasota [10] states
see also Theorem 5.2.1 of Agarwal and Pang [1]. Again, for even \(N=2K\) equality holds for \(a_{1} = \cdots = a_{K} =1\), \(a_{K+1} = \cdots = a_{N} = -1\).
Note that the left-hand side of Lasota’s inequality (16),
lacks the symmetry that the left-hand side of our inequality (15) has.
3 A generalization of Opial’s inequality for the n-th derivative
Let X be a random variable with distribution function F, let ψ be a measurable function, and let n be a natural number. We define the n-th order integral
Note that for \(n=1\), we have
We generalize the n-th order derivative version of Opial’s inequality, as given by Das [4], and improve the constant in this generalization to its optimal value.
Theorem 2
With the above notation
holds with equality if and only if F is continuous and ψ is a constant F-almost everywhere.
Proof
Without loss of generality, we assume \(E_{F} ( \psi ^{2}(X) ) < \infty \). In terms of integrals, the left-hand side of (17) may be written as
which is bounded from above by
Let \(S_{n+1}\) be the set of permutations of \(\{0,1,\dots ,n\}\). Consider the disjoint union
Since each of the \((n+1)!\) permutations \(\pi \in S_{n+1}\) applied to (18) yields the same value, we obtain
In view of the inequality sign in (19), the first inequality in (20) can be an equality if and only if F has no point masses, i.e., if and only if F is continuous. Because of the Cauchy–Schwarz inequality, the second inequality is an equality if and only if ψ is constant F-almost everywhere. □
Remark 6
Let F be the uniform distribution function on \([a,b]\) as in Theorem 1 of Das [4]. Then we have
and we see that the n-th derivative of \((b-a)^{n} I_{F,n,\psi}(x)\) equals \(\psi (x)\). We conclude that our Theorem 2 generalizes Theorem 1 of Das [4] with its constant \(K = \sqrt{n/(2n-1)} /(2(n!))\) replaced by the optimal \(1/(n+1)!\). (We have \(K \geq 1/(n+1)!\) with equality only if \(n=1\).)
Remark 7
For \(n=1\) and F continuous, Theorem 2 yields (7) of Theorem 1.
4 A sharp inequality for \(n=2\) and distributions with atoms
If F has point masses, then the probability \(P_{F}(X_{0}=X_{1})\) is positive and hence \(P ( X \in {\mathbb{R}}^{n+1} \setminus U_{n+1} )\) is. Therefore, in order to improve inequality (17) to a sharp inequality for distributions with point masses, we have to study the gap between \(U_{n+1}\) and \({\mathbb{R}}^{n+1}\); recall the inequality sign in (19). We do this for \(n=2\) as follows. Let
Now
is a partition of \({\mathbb{R}}^{3}\) consisting of 13 sets. By analogy with (20), using the Tonelli–Fubini theorem, we have,
With the notation
we have proved the inequality.
Theorem 3
Let X be a random variable with distribution function F on \(\mathbb{R}\), and let \(\psi : {\mathbb{R}} \to {\mathbb{R}}\) be a measurable function. The inequality
holds with equality if and only if ψ is constant F-almost everywhere.
Proof
The only inequality in (21) stems from Cauchy–Schwarz, which means that equality in (22) holds if and only ψ is constant F-almost everywhere. □
If F is continuous, i.e., if F has no point masses, then inequality (22) reduces to inequality (17) with \(n=2\).
Remark 8
Let F be uniform on \(\{1,\dots ,N\}\) and denote \(|\psi (i)| = a_{i}\), \(i=1, \dots , N\). Some computation shows that inequality (22) may be rewritten then as
which for \(a_{i}, i=1,\dots ,N\), constant is an equality indeed.
5 Opial inequalities with weights
Applying our approach of Theorem 1, we derive Opial inequalities with a weight function.
Theorem 4
Let X and Y be independent and identically distributed (i.i.d.) random variables with distribution function F on \(\mathbb{R}\), let \(\psi : {\mathbb{R}} \to {\mathbb{R}}\) be a measurable function, and let \(\chi : {\mathbb{R}} \to {\mathbb{R}}\) be a nonnegative weight function. The inequalities
and
hold with equality if ψ is constant F-almost everywhere. In case χ is nonincreasing or nondecreasing, the upperbounds in (23) and (24), respectively, are bounded from above by \(\frac {1}{2} E_{F} ( \psi ^{2}(X) \chi (X) )\).
Proof
We focus on the second inequality in (23). Since X and Y are i.i.d., we have
Again, since X and Y are i.i.d., the left- and right-hand side of (23) are equal for \(\psi =1\). In case χ is nonincreasing, \(\chi (Y) {\mathbf{1}}_{[Y>X]} \leq \chi (X) {\mathbf{1}}_{[Y>X]}\) holds, which implies the last statement of the theorem for (23).
The proof for (24) is analogous. □
Remark 9
Note that inequalities (23) and (24) generalize inequalities (7) and (8), as can be seen by choosing \(\chi =1\).
Remark 10
With F uniform on the interval \((0,h)\), the inequalities from Theorem 4 yield
Troy [19] considers the special case of \(\chi (x) = x^{p}\), \(p>-1\), and states: “It remains an open problem to determine the sharpness of … and (5).”, which in our notation is
However, equalities in (7) and (10) of Troy [19] imply that \(\psi (x)\) has to be a multiple of x in order for this inequality to be an equality. With \(\psi (x) = x\), inequality (26) becomes \(h^{p+4}/(2(p+4)) \leq h^{p+4}/(6\sqrt{p+1})\), which is a strict inequality for all p. With \(\chi (x) = x^{p}\), \(p>-1\), the first one of our inequalities in (25) yields
which is less elegant than (26), but it is sharp.
Remark 11
With F uniform on \(\{ 1, \dots , N \}\) and \(\psi (i)=a_{i}\), \(\chi (i)=w_{i}\), \(i=1,\dots ,N\), the second inequality in (23) yields
which generalizes (12).
6 The Wirtinger inequality
Closely related to Opial’s inequality is Wirtinger’s inequality (2), which is an equality if and only if \(x(t)\) is a constant times \(\sin (\pi x/h)\). We apply our approach with integration with respect to a distribution function and get the following result.
Theorem 5
(Wirtinger’s inequality)
Let X and Y be independent and identically distributed random variables with absolutely continuous distribution function F on \(\mathbb{R}\), and let \(\psi : {\mathbb{R}} \to {\mathbb{R}}\) be a measurable function. With \(E_{F}(\psi (X))=0\) the inequality
holds with equality if and only if ψ is F-almost everywhere a constant times \(\cos ( \pi F )\).
Proof
We assume \(E_{F}(\psi ^{2}(X)) = \int _{-\infty}^{\infty }\psi ^{2}(x) \,dF (x) = \int _{-\infty}^{\infty }\psi ^{2}(x) f(x) \,dx < \infty \), where f is a density of F. In view of
a similar equation holds, as in a classic proof of Wirtinger’s inequality, namely
Because of \(\cot y < 1/y\), for \(0< y\) small, we have
and analogously for \(x \to \infty \). This implies that the integral with respect to x of the last term in (28) vanishes. Furthermore, the integral of the second term in (28) is clearly nonnegative and equals 0 if and only if ψ is F-almost everywhere a constant times \(\cos ( \pi F )\), as some computation shows. Integration of (28) proves the theorem. □
Remark 12
With F uniform on \([0,h]\), i.e., with \(f(x) = 1/h {\mathbf{1}}_{[0 \leq x \leq h]}\), and with \(x(t) = \int _{0}^{t} \psi (y) \,dy \), inequality (27) yields (2).
Remark 13
Theorem 5 contains a known Wirtinger inequality with a weight. In the notation of integrals, inequality (27) reads as
Writing \(\chi = \psi f\), this inequality becomes
or in the notation of Sect. 1 with \(x(t) = \int _{-\infty}^{t} \chi (y) \,dy \), \(w(t) = Wf(t)\),
where χ and \(x'\), respectively, vanish if f does; cf. (2).
This generalizes Theorem 1.1 with \(p=q=2\) of Giova and Ricciardi [6] and (2.1) of Theorem 1 with \(p=2\) of Dragomir [5].
7 Conclusion
There exist several versions of the Opial inequality. We discern two classes, namely the class of two-sided inequalities, as we will call them, with \(\int \psi \,dF = 0\) and the one-sided ones without this condition. In Theorem 1 we have presented a generalization of the classic one-sided inequality that contains both the continuous and the discrete inequalities with the optimal constants. Our two-sided general inequality from Corollary 2.1 contains the classic continuous Opial inequality with the optimal constant, but the discrete version of it deviates a little from the one by Lasota [10]. However, our discrete inequality shows symmetry and Lasota’s does not.
Theorem 2 presents a general Opial inequality for derivatives of order n. For the continuous case it has the optimal constant, not known in the literature yet as far as we can tell. The case with F having discontinuities, in particular the discrete case, is much more tricky, since one then has to partition \({\mathbb{R}}^{n+1}\) in a complicated way. Moreover, the resulting inequality then contains derivatives/differences of several orders. In Sect. 4 this is illustrated for the case \(n=2\).
Furthermore, Theorem 4 generalizes our Opial inequalities from Theorem 1 by introducing a weight function. The inequalities obtained are sharp, but less elegant for a uniform distribution on an interval than the inequalities of Troy [19], which are not sharp though.
Finally, we presented our generalization of Wirtinger’s inequality. It automatically includes a Wirtinger inequality with a weight function.
These results lead us to the conclusion that it might be worthwhile to study inequalities involving (Lebesgue) integrals of functions and their derivatives by our technique, i.e., by integration with respect to distribution functions. This approach is unifying in that the resulting inequalities often contain a discrete version of the inequality concerned as well. Typically, the continuous and discrete versions are obtained by choosing uniform distribution functions on either an interval (of reals) or on an integer interval.
This unifying, generalizing approach was applied before in Klaassen and Wellner [9] and Klaassen [8].
Availability of data and materials
Not applicable.
References
Agarwal, R.P., Pang, P.Y.H.: Opial Inequalities with Applications in Differential and Difference Equations. Mathematics and Its Applications, vol. 320. Kluwer Academic, Dordrecht (1995). ISBN 0-7923-3365-9
Andrić, M., Pečarić, J., Perić, I.: Inequalities of Opial and Jensen. Improvements of Opial-Type Inequalities with Applications to Fractional Calculus. Monographs in Inequalities, vol. 10. ELEMENT, Zagreb (2015). ISBN 978-953-197-598-8
Beesack, P.R.: On an integral inequality of Z. Opial. Trans. Am. Math. Soc. 104, 470–475 (1962)
Das, K.M.: An inequality similar to Opial’s inequality. Proc. Am. Math. Soc. 22, 258–261 (1968)
Dragomir, S.S.: Weighted integral inequalities related to Wirtinger’s result for p-norms with applications. Ann. Univ. Mariae Curie-Skłodowska, Sect. A 75, 15–36 (2021)
Giova, R., Ricciardi, T.: A sharp weighted Wirtinger inequality and some related functional spaces. Bull. Belg. Math. Soc. Simon Stevin 17, 209–218 (2010)
Hardy, G.H., Littlewood, J.E., Pólya, G.: Inequalities. Cambridge University Press, Cambridge (1952)
Klaassen, C.A.J.: Probability theoretic generalizations of Hardy’s and Copson’s inequality. Indag. Math. 34, 306–316 (2023)
Klaassen, C.A.J., Wellner, J.A.: Hardy’s inequality and its descendants: a probability approach. Electron. J. Probab. 26, 142 (2021)
Lasota, A.: A discrete boundary value problem. Ann. Pol. Math. 20, 183–190 (1968)
Levinson, N.: On an inequality of Opial and Beesack. Proc. Am. Math. Soc. 15, 565–566 (1964)
Mallows, C.L.: An even simpler proof of Opial’s inequality. Proc. Am. Math. Soc. 16, 173 (1965)
Olech, Z.: A simple proof of a certain result of Z. Opial. Ann. Pol. Math. 8, 61–63 (1960)
Opial, Z.: Sur une inégalité de C. de la Vallée Poussin dans la théorie de l’équation différentielle linéaire du second ordre. Ann. Pol. Math. 6, 87–91 (1959)
Opial, Z.: Sur une inégalité. Ann. Pol. Math. 8, 29–32 (1960)
Osman, M.M., Saker, S.H., Anderson, D.R.: Two weighted higher-order dynamic inequalities of Opial type with two functions. Qual. Theory Dyn. Syst. 21, Paper No. 57 (2022)
Pederson, R.N.: On an inequality of Opial, Beesack and Levinson. Proc. Am. Math. Soc. 16, 174 (1965)
Saker, S.H.: Some Opial-type inequalities on time scales. Abstr. Appl. Anal. 2011, Article ID 265316 (2011)
Troy, W.C.: On the Opial–Olech–Beesack inequalities. In: Proceedings of the USA-Chile Workshop on Nonlinear Analysis. Electron. J. Differ. Equ. Conf., vol. 6, pp. 297–301. Southwest Texas State University, San Marcos (2001)
Vivas-Cortez, M., Martínez, F., Nápoles Valdes, J.E., Hernández, J.E.: On Opial-type inequality for a generalized fractional integral operator. Demonstr. Math. 55, 695–709 (2022)
Wang, Y., Sun, W., Yang, J.: Some new Opial-type inequalities involving higher order derivatives. Ann. Pol. Math. 112, 185–193 (2014)
Willett, D.: The existence-uniqueness theorem for an nth order linear ordinary differential equation. Am. Math. Mon. 75, 174–178 (1968)
Acknowledgements
The author would like to thank the reviewers for their suggestions.
Authors’ information
The authors background is in mathematical statistics and probability theory.
Funding
As professor emeritus of mathematical statistics at the Korteweg-de Vries Institute for Mathematics at the University of Amsterdam, the author had no external funding.
Author information
Authors and Affiliations
Contributions
The sole author is responsible for the whole manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Klaassen, C.A.J. Sharp unifying generalizations of Opial’s inequality. J Inequal Appl 2023, 153 (2023). https://doi.org/10.1186/s13660-023-03041-w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s13660-023-03041-w