Evaluating the integral of absolute values

Click For Summary

Homework Help Overview

The problem involves evaluating the integral of the function -7|sinx| over the interval from 0 to 3π/2. The presence of the absolute value in the integrand raises questions about how to properly handle the integration across the specified limits.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants discuss the treatment of the absolute value in the integral, with some suggesting that the integral can be simplified by removing constants. Others emphasize the need to consider the behavior of sinx over the integration interval, particularly how it affects the absolute value.

Discussion Status

Several participants are exploring different interpretations of the integral and the implications of the absolute value. There is an ongoing examination of when |sinx| equals sinx and when it equals -sinx, indicating a productive discussion about the conditions under which these equalities hold.

Contextual Notes

Participants note that the integral spans from 0 to 3π/2, which includes points where sinx changes sign, prompting a need to break the integral into cases based on the sign of sinx.

doctordiddy
Messages
53
Reaction score
0

Homework Statement



∫(0 to 3pi/2) -7|sinx|dx

Homework Equations





The Attempt at a Solution



I am not sure how to treat it as it has an absolute value

i assumed that you could remove the -7 to get

-7∫|sinx| dx

then integrate sinx into -cosx but since there is absolute value i tried to change -cosx to cosx which ended up as

-7cosx

and then doing -7cos(3pi/2)-(-7cos(0))

but this was incorrect. Can anyone give me any hints?

thanks
 
Physics news on Phys.org
doctordiddy said:

Homework Statement



∫(0 to 3pi/2) -7|sinx|dx

Homework Equations





The Attempt at a Solution



I am not sure how to treat it as it has an absolute value

i assumed that you could remove the -7 to get

-7∫|sinx| dx

then integrate sinx into -cosx but since there is absolute value i tried to change -cosx to cosx which ended up as

-7cosx

and then doing -7cos(3pi/2)-(-7cos(0))

but this was incorrect. Can anyone give me any hints?

thanks

Usually for absolute values you have to break things into cases depending on what values of x you're integrating over.

Notice that from 0 to 3π/2, x≥0? If x≥0, then |sinx| = sinx.

Consider integrating from x=-2 to x=-1, x<0. If x<0, then |sinx| = -sinx.
 
doctordiddy said:

Homework Statement



∫(0 to 3pi/2) -7|sinx|dx

Homework Equations





The Attempt at a Solution



I am not sure how to treat it as it has an absolute value

i assumed that you could remove the -7 to get

-7∫|sinx| dx

then integrate sinx into -cosx but since there is absolute value i tried to change -cosx to cosx which ended up as

-7cosx

and then doing -7cos(3pi/2)-(-7cos(0))

but this was incorrect. Can anyone give me any hints?

thanks
Sketch the graph of y = sinx from 0 to 3pi/2. From this, can you see what g = |sinx| would look like? Do you then see why integrating sinx to simply -cosx is wrong?
 
Zondrina said:
Usually for absolute values you have to break things into cases depending on what values of x you're integrating over.

Notice that from 0 to 3π/2, x≥0? If x≥0, then |sinx| = sinx.
This is NOT true. If 0 ≤ x ≤ π, then |sinx| = sinx, but for π ≤ x ≤ 2π, sin(x) ≤ 0.
Zondrina said:
Consider integrating from x=-2 to x=-1, x<0. If x<0, then |sinx| = -sinx.

This is not true, either. There are infinitely many intervals for which x < 0 but sin(x) ≥ 0.
 
It is still not right. Can you use |sinx| = sinx if sinx ≥ 0 and |sinx| = -sinx if sinx < 0? This is key to solving the problem.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K