A definite trigonometric absolute integral

Click For Summary

Homework Help Overview

The discussion revolves around evaluating the integral ## \int_0^{nπ+v} |sinx| dx ##, where ##n## is a parameter and ##v## is a variable. Participants explore the implications of the periodic nature of the sine function and the behavior of the absolute value of sine over different intervals.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the integral's evaluation over specific intervals, questioning how the values of ##n## (even or odd) and ##v## affect the outcome. There are attempts to derive the integral's value based on the periodic properties of the sine function and the behavior of the absolute value.

Discussion Status

The discussion is active, with various interpretations being explored regarding the effects of ##n## being even or odd. Some participants suggest visualizing the problem through graphs, while others share insights about periodic properties that could simplify the evaluation of the integral.

Contextual Notes

There is an underlying assumption that ##n## is a natural number and that ##0 \leq v < \pi##, although some participants question the implications of ##n## being a fraction. The discussion also touches on the need to clarify the limits of integration and the behavior of the sine function in different intervals.

Raghav Gupta
Messages
1,010
Reaction score
76

Homework Statement



Find ## \int_0^{nπ+v} |sinx| dx ##
Options are,
2n+ 1+ cosv
2n+1-cosv
2n+1
2n+cosv

Homework Equations


Integration of sinx is -cosx.

The Attempt at a Solution


Sin x is + ve from 0 to π,
Negative from π to 2π
We can make |sinx| as sinx in 0 to π,
And - sinx in π to 2π
But here n is confusing.
We will rotate in a cycle?
 
Physics news on Phys.org
What is the integral up to pi, up to 2pi, 3pi, ... n pi?
What is the integral from n pi to n pi + v?
 
Upto pi it is 2, upto 2 pi it is 4.
So for upto n pi it is 2n.
But for integral from n pi to n pi +v , we should know whether n is even or odd, isn't it?
 
If n is fraction , then what?
 
Raghav Gupta said:
If n is fraction , then what?
It's pretty clear that ##n## is intended to be a natural number. ##v## takes care of any extra fractional part beyond ##n\pi## .
 
Should we know that n is even or odd?
 
Raghav Gupta said:
Should we know that n is even or odd?
Look at a graph, or try some cases.
 
Raghav Gupta said:
Should we know that n is even or odd?

Does it matter in the answer? And I don't see where you stated it anywhere but I guess we are assuming ##0\le v <\pi##, right?
 
Wouldn't the sign change in modulus function for even pi?
 
  • #10
Raghav Gupta said:
Wouldn't the sign change in modulus function for even pi?
I don't know. Would it? Have your tried both?
 
  • #11
The sign of the sine changes, but the sign of |sin(x)| does not.
 
  • #12
mfb said:
The sign of the sine changes, but the sign of |sin(x)| does not.
...as both SammyS and I have been trying to get the OP to discover for himself.
 
  • Like
Likes   Reactions: SammyS
  • #13
I'm getting diff. Answers considering even and odd.
For n to be even,
-[ cosx ] from n pi to v,
It's
-(cosv - 1)= 1-cosv
For odd,
[cosx] from n pi to v,
cosv +1.
 
Last edited:
  • #14
What does ##[\cos x]## mean? Are you saying that you think the antiderivative of ##|\sin x|## is ##\cos x##?
 
  • #15
None of the two is right.
 
  • #16
LCKurtz said:
What does ##[\cos x]## mean? Are you saying that you think the antiderivative of ##|\sin x|## is ##\cos x##?
No ant iderivative of sin x is -cosx and of -sinx is cosx.
 
  • #17
mfb said:
None of the two is right.
I see that there was a time lapse of 1 min between my editing of 13th post and your reply.
Can you reconsider it?
Regards.
 
  • #18
Raghav Gupta said:
I
For odd,
[cosx] from n pi to v,
cosv +1.
The upper limit is not ##v##, it is ##n\pi + v##.
 
  • #19
The problem is exactly the same for odd and even n, because in both cases v is between 0 and pi and the sine goes from 0 to 1 and back to 0 again. I don't see why you make two categories.
 
  • #20
See this,
## \int_0^{nπ+v} |sinx| dx ##

= ## \int_0^π sinx dx - \int_π^{2π} sinx dx + \int_{2π}^{3π} sinx dx + ... \int_{nπ}^{v} sinx dx ##
= ##2n + \int_{nπ}^{v} sinx dx ##
= ## 2n - (cosx) ## here cos x has limits nπ to v, ( I don't know the latex for that).
= ## 2n - (cosv - cosnπ) ##
Now surely,here if n is even, odd it matters, cos value being -1 for odd π and +1 for even π ?
 
  • #21
Got it... its not np to v. Its np to np+v.
$$2n+\int_{n\pi}^{n\pi+v}|sinx|dx$$
Now apply property ##\int_{nT}^{nT+a}f(x)dx=\int_0^af(x)dx##
Since ##|sinx|## has a period of π.
Now your integral becomes very easy:
$$I=2n+\int_0^vsinxdx$$
 
  • Like
Likes   Reactions: Raghav Gupta
  • #22
Thanks very much Aditya. I don't know that time period property. Can you give a link or reference for the proof of it?
 
  • #23
Its intuitive. Draw a graph of sinx and shade the area from p to p+2 and shade the area between 0 to 2. You have to prove it using graph.
 
  • #24
Okay got the intuitive idea. I had to see Khan Academy video to clear this graph thing. Thanks.

Also thanks to other guys for giving me a approach to solve problem.
 
  • #25
Raghav Gupta said:
Thanks very much Aditya. I don't know that time period property. Can you give a link or reference for the proof of it?

Suppose that ##f## is a ##T## periodic function. Then for any real number ##\alpha##, we can write:

$$\int_{\alpha}^{\alpha + T} f(x) \space dx = \int_0^T f(x) \space dx$$

To prove this, write:

$$\int_{\alpha}^{\alpha + T} f(x) \space dx = \int_{\alpha}^0 f(x) \space dx + \int_{0}^{\alpha + T} f(x) \space dx$$

Now suppose ##u = x + T \Rightarrow x = u - T \Rightarrow dx = du## for the first integral on the right, then:

$$ \int_{\alpha}^0 f(x) \space dx + \int_{0}^{\alpha + T} f(x) \space dx = \int_{\alpha + T}^{T} f(u - T) \space du + \int_{0}^{\alpha + T} f(x) \space dx$$

Now due to the ##T## periodicity of ##f##, we may write:

$$ \int_{\alpha + T}^{T} f(u - T) \space du + \int_{0}^{\alpha + T} f(x) \space dx = \int_{\alpha + T}^{T} f(u) \space du + \int_{0}^{\alpha + T} f(x) \space dx$$

Simply replace the dummy variable ##u## by ##x## now to obtain:

$$\int_{\alpha + T}^{T} f(u) \space du + \int_{0}^{\alpha + T} f(x) \space dx = \int_{\alpha + T}^{T} f(x) \space dx + \int_{0}^{\alpha + T} f(x) \space dx$$

The integrals represent the area from ##[0, T]## because we integrate from ##0## to ##\alpha + T## and then from ##\alpha + T## to ##T##. Therefore:

$$\int_{\alpha + T}^{T} f(x) \space dx + \int_{0}^{\alpha + T} f(x) \space dx = \int_0^T f(x) \space dx$$

So really, the integral of a ##T## periodic function over any interval of length ##T## is the same.
 
  • Like
Likes   Reactions: Raghav Gupta
  • #26
Split your integral as follows:
##\displaystyle\ \int_0^{nπ+v} |sinx| dx = \int_0^{v} |sinx| dx + \int_v^{nπ+v} |sinx| dx##
and apply what Zondrina recently posted.
 
  • #27
Thank you guys, once again.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K