What is the total variation of sin(x) on [a,b]?

Click For Summary

Homework Help Overview

The discussion revolves around computing the total variation of the function \( g(x) = \sin(x) \) over the interval \([a,b]\), where \( 0 < a < b \). Participants explore the properties of the sine function, particularly its monotonicity in relation to the total variation concept.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to break down the interval \([a,b]\) based on the monotonicity of \(\sin(x)\) and considers how to compute the total variation depending on whether \(a\) and \(b\) lie within the same monotonic segment or across different segments.
  • Some participants question the definition of total variation and inquire about simpler methods for specific differentiable functions.
  • Others discuss the potential use of integrals to compute variation and express uncertainty regarding its applicability across different intervals.
  • There is mention of a formula involving the derivative of the function, suggesting a connection between the total variation and the integral of the absolute value of the derivative.

Discussion Status

The discussion is active, with participants sharing insights and questioning assumptions about the computation of total variation. Some guidance has been offered regarding the use of integrals and the relationship between total variation and the derivative of the function, but there is no explicit consensus on a single method or approach.

Contextual Notes

Participants note the complexity of computing total variation for intervals that span more than one monotonic segment of the sine function, as well as the challenges posed by the specific values of \(a\) and \(b\). There is also a recognition of the need for a formal definition of total variation in the context of the discussion.

Ainlaen
Messages
4
Reaction score
0

Homework Statement


For a given function ##g:[a,b]→ℝ, 0 < a < b##, compute its total variation <br /> \underset{[a,b]}{\mathrm{Var}}<br /> (g) where ##g(x) = \sin(x), x\in[a,b].##

Homework Equations

The Attempt at a Solution


I know that between odd multiples of ##\frac{\pi}{2}##, ##\sin(x)## is monotone, so the interval ##[a,b]## needs to be broken up accordingly. If ##a## and ##b## are both in the same monotone interval, we simply have ##\sin(b)-\sin(a)##. If they're split over a turn, it becomes ##|1-\sin(a)| + |\sin(b)-1|##. I've so far been unable to come up with a closed form way of describing that for arbitrary ##a## and ##b## stretching over an area greater than ##\pi##, though.
 
Physics news on Phys.org
Please define the variation. Besides its formal definition, is there an easier way to compute the variation for special (differentiable) functions?
 
micromass said:
Please define the variation. Besides its formal definition, is there an easier way to compute the variation for special (differentiable) functions?
##\underset{[a,b]}{\text{Var}}(g) = \sup\{v(g,P):P\text{ is a partition of }[a,b]\}## and ##v(g,P)=\sum_{i=1}^n|g(x_i)-g(x_{i-1})|, P=\{x_0,x_1,...,x_n\}##
I'm aware of no special rules for finding variation aside from when a function is monotonic. In that case, ##\underset{[a,b]}{\mathrm{Var}}(g) = |g(b)-g(a)|##
 
Ainlaen said:
##\underset{[a,b]}{\text{Var}}(g) = \sup\{v(g,P):P\text{ is a partition of }[a,b]\}## and ##v(g,P)=\sum_{i=1}^n|g(x_i)-g(x_{i-1})|, P=\{x_1,x_2,...,x_n\}##
I'm aware of no special rules for finding variation aside from when a function is monotonic. In that case, ##\underset{[a,b]}{\mathrm{Var}}(g) = |g(b)-g(a)|##

Did you not see how to compute the variation using an integral?
 
micromass said:
Did you not see how to compute the variation using an integral?
I'm not aware of any way to compute the variation using an integral. ##\int_a^b|\sin(x)|dx## gives the correct answers for multiples of ##\frac{\pi}{2}## but not for say ##\frac{3\pi}{4}## to ##\frac{5\pi}{4}##.
 
Ainlaen said:
I'm not aware of any way to compute the variation using an integral. ##\int_a^b|\sin(x)|dx## gives the correct answers for multiples of ##\frac{\pi}{2}## but not for say ##\frac{3\pi}{4}## to ##\frac{5\pi}{4}##.

On line I have seen expressions like
\text{Var}_{[a,b]}(f) = \int_a^b |f&#039;(x)| \, dx,
at least for functions that are in ##C^1([a,b])##. In your case that would reduce to
\int_a^b |\cos(x)| \, dx
Does that give you correct results?
 
Ray Vickson said:
On line I have seen expressions like
\text{Var}_{[a,b]}(f) = \int_a^b |f&#039;(x)| \, dx,
at least for functions that are in ##C^1([a,b])##. In your case that would reduce to
\int_a^b |\cos(x)| \, dx
Does that give you correct results?

Indeed, that is what I was referring to. You can easily see it heuristically from:

\text{Var}_a^b(f) =\text{sup} \sum |f(x_{j+1}) - f(x_j)|= \text{sup} \sum \left|\frac{f(x_{j+1}) - f(x_j)}{x_{j+1} - x_j}\right|\Delta x_j = \int_a^b |f&#039;(x)|dx

While perhaps not a completely rigorous proof, it definitely gives an indication of where this formula comes from.
 
Ray Vickson said:
On line I have seen expressions like
\text{Var}_{[a,b]}(f) = \int_a^b |f&#039;(x)| \, dx,
at least for functions that are in ##C^1([a,b])##. In your case that would reduce to
\int_a^b |\cos(x)| \, dx
Does that give you correct results?
I was completely unaware of that. It seems to work perfectly, thank you.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
9K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
1K