Non-continuous integrals and discrete variables

In summary, we need to find the average value of x for a given function within a certain range, and then compare it to a discrete version of the function. To do this, we use the formula $\bar{x}=\frac{\int_{-\infty}^{\infty}x\,f(x)\,dx}{\int_{-\infty}^{\infty}f(x)\,dx}$ and solve for the integrals with the given function. We then use the same formula for the discrete version of the function, assuming $\Delta{x}=1$ and $x$ takes on integral values from 0 to 10. To solve for the integrals, we can use the fact that the function is
  • #1
skate_nerd
176
0
Quantum Phys Homework:
I am given a function:
$$f(x)=\frac{1}{10}(10-x)^2\,;\,0\leq{x}\leq{10}$$
and
$$f(x)=0$$
for all other \(x\).
I need to find the average value of \(x\) where
$$\bar{x}=\frac{\int_{-\infty}^{\infty}x\,f(x)\,dx}{\int_{-\infty}^{\infty}f(x)\,dx}$$
I am not really even sure where to start with this. If the denominator is equal to zero for every value through the integral except for 0 to 10, would I just be able to change it (just the denominator) to
$$\int_{0}^{10}f(x)\,dx$$
I don't think the same would apply for the numerator, because the function is multiplied by \(x\), making it a different function, which is possibly still integratable from \(-\infty\) to \(\infty\).
But wait, there's more. Part (b) is asking to suppose that the variable \(x\) is discrete rather than continuous. Assume \(\Delta{x}=1\) so that \(x\) takes on only integral values 0, 1, 2, ..., 10. Then I need to compute \(\bar{x}\) again and compare to the first part.
So I think after doing part (a), I could maybe know how to attack part (b) if I knew what a discrete variable was...I've never taken a class that ever dealt with discrete variables so I am kind of in the dark here. Any guidance would be very appreciated.
 
Mathematics news on Phys.org
  • #2
skatenerd said:
Quantum Phys Homework:
I am given a function:
$$f(x)=\frac{1}{10}(10-x)^2\,;\,0\leq{x}\leq{10}$$
and
$$f(x)=0$$
for all other \(x\).
I need to find the average value of \(x\) where
$$\bar{x}=\frac{\int_{-\infty}^{\infty}x\,f(x)\,dx}{\int_{-\infty}^{\infty}f(x)\,dx}$$
I am not really even sure where to start with this. If the denominator is equal to zero for every value through the integral except for 0 to 10, would I just be able to change it (just the denominator) to
$$\int_{0}^{10}f(x)\,dx$$
I don't think the same would apply for the numerator, because the function is multiplied by \(x\), making it a different function, which is possibly still integratable from \(-\infty\) to \(\infty\).
But wait, there's more. Part (b) is asking to suppose that the variable \(x\) is discrete rather than continuous. Assume \(\Delta{x}=1\) so that \(x\) takes on only integral values 0, 1, 2, ..., 10. Then I need to compute \(\bar{x}\) again and compare to the first part.
So I think after doing part (a), I could maybe know how to attack part (b) if I knew what a discrete variable was...I've never taken a class that ever dealt with discrete variables so I am kind of in the dark here. Any guidance would be very appreciated.

First of all, [tex]\displaystyle \begin{align*} E(X) = \int_{-\infty}^{\infty}{x\,f(x)\,dx} \end{align*}[/tex], not [tex]\displaystyle \begin{align*} \frac{\int_{-\infty}^{\infty}{x\,f(x)\,dx}}{\int_{-\infty}^{\infty}{f(x)\,dx}} \end{align*}[/tex], and then since the integral will be 0 everywhere where the function is 0, this would be equal in this case to [tex]\displaystyle \begin{align*} \int_0^{10}{x\,f(x)\,dx} = \int_0^{10}{x\left[ \frac{1}{10}(10 - x)^2 \right] \, dx} \end{align*}[/tex].

Go from here.
 
  • #3
I'm sorry, I don't know what \(E(X)\) means. And the problem clearly states that
$$\bar{x} = \frac{\int_{-\infty}^{\infty}xf(x)dx}{\int_{-\infty}^{\infty}f(x)dx}$$
so I don't think I can use what you just gave to go about solving it.
 
Last edited:
  • #4
Yes you can, your f(x) is 0 everywhere other than between 0 to 10, and so must be [tex]\displaystyle \begin{align*} x f(x) \end{align*}[/tex].
 
  • #5
Prove It said:
First of all, [tex]\displaystyle \begin{align*} E(X) = \int_{-\infty}^{\infty}{x\,f(x)\,dx} \end{align*}[/tex], not [tex]\displaystyle \begin{align*} \frac{\int_{-\infty}^{\infty}{x\,f(x)\,dx}}{\int_{-\infty}^{\infty}{f(x)\,dx}} \end{align*}[/tex], and then since the integral will be 0 everywhere where the function is 0, this would be equal in this case to [tex]\displaystyle \begin{align*} \int_0^{10}{x\,f(x)\,dx} = \int_0^{10}{x\left[ \frac{1}{10}(10 - x)^2 \right] \, dx} \end{align*}[/tex].

Go from here.

skatenerd said:
I'm sorry, I don't know what \(E(X)\) means. And the problem clearly states that
$$\bar{x} = \frac{\int_{-\infty}^{\infty}xf(x)dx}{\int_{-\infty}^{\infty}f(x)dx}$$
so I don't think I can use what you just gave to go about solving it.

As $\displaystyle \int_{- \infty}^{ \infty}f(x) \, dx \not=1$, this distribution function must be normalized. Prove It would be correct if the function was already normalized, but since it is not (the integral in question is equal to $100/3$), you must normalize to find the expectation value of $x$.
 

FAQ: Non-continuous integrals and discrete variables

What is a non-continuous integral?

A non-continuous integral is a type of mathematical integration that involves calculating the area under a curve or between two curves, where the function being integrated is not continuous. This means that the function has breaks or discontinuities, making it difficult to use traditional integration methods.

How do non-continuous integrals differ from continuous integrals?

Non-continuous integrals differ from continuous integrals in that the function being integrated has breaks or discontinuities, whereas continuous integrals involve functions that are smooth and continuous. This makes it more challenging to use traditional integration methods for non-continuous integrals.

What are some common examples of non-continuous integrals?

Some common examples of non-continuous integrals include step functions, piecewise functions, and functions with jump discontinuities. These types of functions often arise in real-world applications, such as in physics and engineering problems.

Can discrete variables be used in non-continuous integrals?

Yes, discrete variables can be used in non-continuous integrals. In fact, discrete variables are often used in these integrals because the function being integrated is not continuous. Discrete variables are values that are distinct and separate, rather than being continuous and connected.

What are the challenges of working with non-continuous integrals and discrete variables?

The main challenge of working with non-continuous integrals and discrete variables is that traditional integration methods cannot be applied. This means that alternative methods, such as numerical integration techniques, must be used. Additionally, working with discrete variables requires careful consideration of the intervals and boundaries of the function being integrated.

Back
Top