Question on Cauchy-Schwarz inequality

In summary: However, this operator does not satisfy the axiom of "positive definiteness" of inner products, and requires continuity for it to be well defined.
  • #1
mnb96
715
5
Hello,

if we consider the vector spaces of integrable real functions on [a,b] with the inner product defined as: [tex]\left \langle f,g \right \rangle=\int _a^bf(x)g(x)dx[/tex] the Cauchy-Schwarz inequality can be written as: [tex]\left | \int_{a}^{b} f(x)g(x)dx\right | \leq \sqrt{\int_{a}^{b}f(x)^ 2dx} \sqrt{\int_{a}^{b}g(x)^ 2dx}[/tex]
Does it still hold true that, like in ℝn, equality holds iff [itex]g=\lambda f[/itex] for some real scalar λ?
 
Physics news on Phys.org
  • #2
iff ##g=\lambda f## or ##f=\lambda g##, yes (if ##\lambda =0## and one of ##f## and ##g## is the zero function but not the other one, then only one of these conditions can hold).
Also, we must identify all functions which differ at a set of measure zero, but in most elementary linear algebra texts it is assumed that the functions are continuous and then this problem does not occur.
 
  • Like
Likes mnb96
  • #3
Thanks for the response, Erland.

Your observation about the functions that differ at a set of zero measure clarified my doubts. And that's quite interesting, because it basically implies that if the angle between two functions is zero, it does not necessarily mean that the two functions are the same up to a multiplicative scalar.
 
  • #4
mnb96 said:
Thanks for the response, Erland.

Your observation about the functions that differ at a set of zero measure clarified my doubts. And that's quite interesting, because it basically implies that if the angle between two functions is zero, it does not necessarily mean that the two functions are the same up to a multiplicative scalar.

mnb96 said:
Hello,

if we consider the vector spaces of integrable real functions on [a,b] with the inner product defined as: [tex]\left \langle f,g \right \rangle=\int _a^bf(x)g(x)dx[/tex]

On the space of integrable functions, this is not an inner product. Can you see why?
 
  • #5
Probably I can.
It seems to me that the operator <f,g> as defined in my original post does not satisfy the axiom of "positive definiteness" of inner products. In fact, it is not true that <f,f>=0 f=0.

The easiest counter-example that comes to my mind is the zero-function with a discontinuity at the origin: [tex]f(x)=\left\{\begin{matrix}
0 & ;\,x\neq 0\\
1 & ;\,x = 0
\end{matrix}\right.[/tex]

The norm of f is 0, but f is not the zero-function.

As suggested by Erland, imposing continuity on the set of integrable functions should be sufficient (and necessary?) to make my definition of <f,g> an inner product.
 
  • #6
mnb96 said:
Probably I can.
It seems to me that the operator <f,g> as defined in my original post does not satisfy the axiom of "positive definiteness" of inner products. In fact, it is not true that <f,f>=0 f=0.

The easiest counter example that comes to my mind is the zero-function with a discontinuity at the origin: [tex]f(x)=\left\{\begin{matrix}
0 & ;\,x\neq 0\\
1 & ;\,x = 1
\end{matrix}\right.[/tex]

The norm of f is 0, but f is not the zero-function.

Correct. What can you do to fix this?
 
  • #7
...your response came so fast I didn't have time to edit and clarify my previous post. Anyway, imposing continuity should be sufficient to fix that problem.
 
  • #8
mnb96 said:
...your response came so fast I didn't have time to edit and clarify my previous post. Anyway, imposing continuity should be sufficient to fix that problem.

That excludes a large number of integrable functions. The alternative is to define an equivalence relation based on functions being equal except on a set of measure 0. The inner product is then technically defined on the vector space of equivalence classes of functions.

Note that you also need the functions to be square integrable for the inner product to be well defined (finite) in all cases.
 
  • Like
Likes mnb96
  • #9
PeroK said:
The alternative is to define an equivalence relation based on functions being equal except on a set of measure 0.
That's a very elegant way to circumvent the problem. Instead of restricting the original space to the space of continuous functions, one could simply change the meaning of the symbol "=". I guess that when I was approaching this problem I was tacitly/unwittingly assuming that: f=g ⇔ ∀x∈[a,b] f(x)=g(x), which is just another way of defining an equivalence relation between functions.

PeroK said:
Note that you also need the functions to be square integrable for the inner product to be well defined (finite) in all cases.
Oh, that's true. Otherwise we can't guarantee that the quantity <f,f> is defined for every function in our space.

In summary, the operator <f,g> defined in the OP is an inner product on the vector space of equivalence classes of square integrable functions that differ on a set of measure zero.
 
  • Like
Likes PeroK

1. What is the Cauchy-Schwarz inequality?

The Cauchy-Schwarz inequality is a fundamental theorem in mathematics that states that for any vector space, the inner product of two vectors is less than or equal to the product of their norms. In other words, it is a statement about the relationship between the lengths of two vectors and the angle between them.

2. What is the purpose of the Cauchy-Schwarz inequality?

The Cauchy-Schwarz inequality has many important applications in mathematics, physics, and engineering. It can be used to prove other theorems, solve optimization problems, and establish bounds for various mathematical expressions. It also has applications in statistics and probability theory.

3. How is the Cauchy-Schwarz inequality derived?

The Cauchy-Schwarz inequality can be derived using the concept of orthogonality and the properties of inner products. It can also be proven using the Cauchy-Schwarz inequality for integrals, which is a special case of the more general inequality.

4. Can the Cauchy-Schwarz inequality be extended to more than two vectors?

Yes, the Cauchy-Schwarz inequality can be extended to any number of vectors. This is known as the generalized Cauchy-Schwarz inequality and it states that the inner product of any set of vectors is less than or equal to the product of their norms.

5. In what areas of mathematics is the Cauchy-Schwarz inequality commonly used?

The Cauchy-Schwarz inequality is commonly used in linear algebra, analysis, and geometry. It is also used in fields such as functional analysis, abstract algebra, and number theory. In addition, it has applications in many areas of physics and engineering.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
849
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
2
Views
2K
  • Linear and Abstract Algebra
Replies
2
Views
2K
  • Linear and Abstract Algebra
Replies
13
Views
2K
  • Topology and Analysis
Replies
2
Views
1K
  • Linear and Abstract Algebra
Replies
8
Views
3K
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
3K
  • General Math
Replies
7
Views
1K
Back
Top