Definite integrals with +ve and -ve values

Click For Summary

Discussion Overview

The discussion revolves around the integration of functions that take on both positive and negative values, specifically focusing on the sine function. Participants explore methods to calculate the total area under such functions without breaking down the limits into separate intervals, and consider the implications of using absolute values or rectified functions in integration.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests that to determine the full integral of a function, it may be necessary to break down the limits into separate intervals to account for positive and negative values.
  • Another participant proposes the RMS (root mean square) value as a potential alternative, explaining its application in measuring average voltage and current in AC circuits.
  • There is a discussion about the equivalence of the integrals $$\int_a^b |sin(x)|\,dx$$ and $$\sqrt{\int_a^b f(x)^2\,dx$$, with one participant noting that they are not equivalent.
  • Some participants clarify that while $$\int_a^b |sin(x)|\,dx$$ equals $$\int_a^b \sqrt{\sin^2(x)}\,dx$$, this does not simplify the process of calculating the total area under the sine function without breaking down limits.
  • Concerns are raised about whether changing to absolute values is a reasonable shortcut, as it still requires consideration of the function's behavior over different intervals.

Areas of Agreement / Disagreement

Participants express differing views on whether it is possible to calculate the total area under a sine function without breaking down the limits. There is no consensus on a definitive method or approach to this problem.

Contextual Notes

Participants note that the question may depend on the specific interpretation of the integral versus the area under the curve, highlighting the importance of defining the problem clearly.

HuskyLab
Messages
8
Reaction score
0
I understand that if you have a function in which you want to determine the full (i.e. account for positive and negative values) integral you need to break down your limits into separate intervals accordingly.

Is there any way in which you can avoid this or is it mathematically impossible? If so, can someone explain to me why you can't?

I thought about trying to incorporate a rectified sine wave (abs(sinx) as an alternative but is such a function applicable/usable (is it even considered continuous)? How do you represent and integrate such a function algebraically?

Thanks.
 
Physics news on Phys.org
It depends what you mean by the full integral.

Perhaps what you are searching for is the RMS (root mean square) value, which is
$$\sqrt{\int_a^b f(x)^2\,dx}$$
This is used for instance as a measure of average voltage and current in AC circuits, since the simple integral will be close to zero because the positives and negatives cancel each other out.
 
andrewkirk said:
It depends what you mean by the full integral.

Perhaps what you are searching for is the RMS (root mean square) value, which is
$$\sqrt{\int_a^b f(x)^2\,dx}$$
This is used for instance as a measure of average voltage and current in AC circuits, since the simple integral will be close to zero because the positives and negatives cancel each other out.
So squaring the function will rectify it and then the subsequent values calculated in the integral of interval a->b then rooted will be the same as:
$$\int_a^b |sin(x)|\,dx$$

Is that correct?

So I just calculated it myself and they are not equivalent.

$$\int_a^b |sin(x)|\,dx \neq \sqrt{\int_a^b f(x)^2\,dx}$$
 
Last edited:
HuskyLab said:
So squaring the function will rectify it and then the subsequent values calculated in the integral of interval a->b then rooted will be the same as:
$$\int_a^b |sin(x)|\,dx$$

Is that correct?

So I just calculated it myself and they are not equivalent.

$$\int_a^b |sin(x)|\,dx \neq \sqrt{\int_a^b f(x)^2\,dx}$$
But these are equal:
$$\int_a^b |sin(x)|\,dx = \int_a^b \sqrt{\sin^2(x)}\,dx$$

for the reason that ##|x| = \sqrt{x^2}##, by definition.
 
Mark44 said:
But these are equal:
$$\int_a^b |sin(x)|\,dx = \int_a^b \sqrt{\sin^2(x)}\,dx$$

for the reason that ##|x| = \sqrt{x^2}##, by definition.
Yeah, that makes sense. Do you know of any way in which you can calculate the total area under a sine function without breaking down the limits or does the question itself not make sense? Integrating something akin to a rectified sine wave? $$|sin(x)|$$
 
HuskyLab said:
Yeah, that makes sense. Do you know of any way in which you can calculate the total area under a sine function without breaking down the limits or does the question itself not make sense? Integrating something akin to a rectified sine wave? $$|sin(x)|$$
It depends on whether the question asks for the integral, say, ##\int_a^b \sin(x)dx## or the area between the graph of y = sin(x) and the x-axis between x = a and x = b. If the question asks for area, you need to consider the intervals where the graph lies above the x-axis and those intervals where the graph is below. Changing to absolute value doesn't seem like a reasonable shortcut to me, as you still need to replace |sin(x)| by sin(x) on the intervals where sin(x) >= 0, and to -sin(x) on the intervals where sin(x) < 0.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K