How Do You Calculate the Total Variation of the Sign Function Over an Interval?

In summary: C^1_c(\Omega)^n \text{ with } \left \| v \right \|_{\infty,\Omega}\leq 1 \right \} Now, we can use properties of the Lebesgue integral to show that the integral in the supremum is actually equal to the integral of the absolute value of the derivative of v, which is just the norm of the derivative. So, we have: \left \| f \right \|_{V(\Omega)} = \sup\left \{ - \frac{1}{n+1} \left \| \frac{\partial v}{\partial
  • #1
brian_m.
6
0
Hello,

I want to calculate the total variation [itex]\left \| f \right \|_{V(\Omega)}[/itex] with [itex]\Omega=(-1,1)[/itex] and [itex]f(x)=\mathrm{sgn}(x)[/itex].

The total variation of a function is defined as follows:

[itex] \left \| f \right \|_{V(\Omega)} :=\sup\left \{ \int_\Omega f\ \mathrm{div} (v)\ dx \ | \ v \in C^1_c(\Omega)^n \text{ with } \left \| v \right \|_{\infty,\Omega}\leq 1 \right \} [/itex]

So, this is a very abstract definition and I don't know how to apply it...

Can you please help me?

Thank you in advance!

Bye,
Brian
 
Physics news on Phys.org
  • #2


Hello Brian,

The total variation of a function is a measure of the "roughness" or "variation" of the function over a given domain. In your case, the function f(x) is the sign function, which takes on values of -1 for x < 0 and 1 for x > 0. Since this function is not continuous, it may seem difficult to calculate its total variation using the given definition.

However, we can still apply the definition by considering a sequence of smooth functions v_n that converge to f(x) as n approaches infinity. For example, we could consider the sequence v_n(x) = x^n, which approaches the sign function as n approaches infinity. Then, we can use the definition to calculate the total variation of each v_n and take the supremum over all of these values to get the total variation of f(x).

In this case, we have:

\left \| f \right \|_{V(\Omega)} = \sup\left \{ \int_\Omega x^n\ \mathrm{div} (v)\ dx \ | \ v \in C^1_c(\Omega)^n \text{ with } \left \| v \right \|_{\infty,\Omega}\leq 1 \right \}

We can then use integration by parts to calculate the integral:

\int_\Omega x^n\ \mathrm{div} (v)\ dx = \int_{-1}^1 x^n\frac{\partial v}{\partial x}\ dx = \frac{1}{n+1} \left [x^{n+1}v\right ]_{-1}^1 - \frac{1}{n+1} \int_{-1}^1 x^{n+1}\frac{\partial v}{\partial x}\ dx

Since v is a smooth function with compact support, its derivative will also have compact support and we can apply the fundamental theorem of calculus to the first term to get:

\frac{1}{n+1} \left [x^{n+1}v\right ]_{-1}^1 = \frac{2}{n+1}

As n approaches infinity, this term goes to 0 and we are left with:

\left \| f \right \|_{V(\Omega)} = \sup\left \{ - \frac{1}{n+1} \int_{-1}^
 

FAQ: How Do You Calculate the Total Variation of the Sign Function Over an Interval?

1. What is total variation of a function?

Total variation of a function measures the amount of change or variation in the values of a function over a given interval. It is calculated by taking the sum of the absolute values of the differences between consecutive points on the function.

2. How is total variation related to the derivative of a function?

Total variation is related to the derivative of a function because it can be thought of as a measure of the "smoothness" or "roughness" of a function. A function with a larger total variation tends to have a larger derivative, indicating more rapid changes in the function's values.

3. Can total variation be negative?

Yes, total variation can be negative. This occurs when the function has a decreasing trend over the given interval, resulting in negative differences between consecutive points. However, the absolute value of the total variation is usually used to measure the overall variation of a function.

4. How is total variation used in real-world applications?

Total variation is commonly used in image processing and signal processing to measure the amount of noise or changes in a signal. It is also used in economics to measure the volatility or variation in a financial time series.

5. Is there a relationship between total variation and the integral of a function?

Yes, there is a relationship between total variation and the integral of a function. The total variation of a function can be seen as the "total change" in the function over a given interval, which is similar to the concept of integration. In fact, the total variation of a function can be calculated using the integral of its absolute value.

Similar threads

Replies
17
Views
4K
Replies
3
Views
4K
Replies
11
Views
2K
Replies
16
Views
2K
Replies
1
Views
2K
Replies
3
Views
2K
Replies
19
Views
1K
Back
Top