# Positive integral for two functions

• ChrisVer
In summary, if f(x) is 0 where g(x) is +ve and f(x) > 0 where g(x) is -ve, then the equal sign holds.
ChrisVer
Gold Member
I am feeling stupid today...so:
Is the following statement true?

$\int_{-\infty}^{+\infty} f(x) g(x) \ge 0$
if $f(x) \ge 0$ and $0< \int_{-\infty}^{+\infty} g(x) < \infty$ (integral converges)?

If yes, then how could I show that? (It's not a homework) I am trying to understand how the expectation value $E[XY] = <X,Y>$ for two variables $X,Y$ can indeed be that inner product. Which would need that $<X,X>=E[X^2] \ge 0 \Rightarrow \int_{-\infty}^{+\infty} x^2 g(x) dx \ge 0$. Here $f(x)=x^2 >0$ and $\int g(x) = 1$ (normalized pdf). Obviously it's true since all the negative values of the $X$ will become positive and so their expectation should be positive, but I'm trying to look in it mathematically.

Last edited:
ChrisVer said:
I am feeling stupid today...so:
Is the following statement true?

$\int_{-\infty}^{+\infty} f(x) g(x) \ge 0$
if $f(x) \ge 0$ and $0< \int_{-\infty}^{+\infty} g(x) < \infty$ (integral converges)?

If yes, then how could I show that? (It's not a homework) I am trying to understand how the expectation value $E[XY] = <X,Y>$ for two variables $X,Y$ can indeed be that inner product. Which would need that $<X,X>=E[X^2] \ge 0 \Rightarrow \int_{-\infty}^{+\infty} x^2 g(x) dx \ge 0$. Here $f(x)=x^2 >0$ and $\int g(x) = 1$ (normalized pdf). Obviously it's true since all the negative values of the $X$ will become positive and so their expectation should be positive, but I'm trying to look in it mathematically.

Suppose f(x) is 0 where g(x) is +ve. Can you get a counterexample from that?

If $f(x)=0$ then the equal sign holds...?

ChrisVer said:
If $f(x)=0$ then the equal sign holds...?

I don't think you understood my idea. f(x) = 0 where g(x) is +ve and f(x) > 0 where g(x) is -ve.

It's not that hard to see.

I see... those statements are not sufficient then... :/

## 1. What is a positive integral for two functions?

A positive integral for two functions is a mathematical concept that represents the area between two functions on a graph when the area is above the x-axis and is therefore positive. It is also known as a definite integral.

## 2. How is a positive integral for two functions calculated?

The calculation of a positive integral for two functions involves taking the definite integral of the function on top and subtracting the definite integral of the function on the bottom. This can be done using various methods such as the fundamental theorem of calculus or integration by parts.

## 3. What is the significance of a positive integral for two functions?

A positive integral for two functions has several applications in mathematics and science. It can be used to calculate areas under curves, volumes of 3D shapes, and probabilities in statistics. It also has applications in physics, economics, and engineering.

## 4. Can a positive integral for two functions have a negative value?

No, a positive integral for two functions represents the area above the x-axis and is therefore always positive. If the area between the two functions is below the x-axis, it is considered a negative integral and the value is subtracted from the positive integral to get the overall value.

## 5. Are there any limitations to calculating a positive integral for two functions?

While the concept of a positive integral for two functions is widely applicable, there are certain limitations to its calculation. For example, if the functions have infinite discontinuities or do not have a closed form, it may not be possible to calculate the integral using standard methods.

• Calculus
Replies
4
Views
1K
• Calculus
Replies
1
Views
1K
• Calculus
Replies
3
Views
2K
• Calculus
Replies
3
Views
1K
• Calculus
Replies
3
Views
2K
• Calculus
Replies
5
Views
964
• Calculus
Replies
4
Views
2K
• Calculus
Replies
2
Views
1K
• Calculus
Replies
9
Views
2K
• Calculus
Replies
25
Views
2K