Evaluating the integral of absolute values

Click For Summary
To evaluate the integral ∫(0 to 3π/2) -7|sinx|dx, it is essential to recognize that the absolute value affects the function differently over the interval. From 0 to π, |sinx| equals sinx, while from π to 3π/2, |sinx| equals -sinx. Therefore, the integral must be split into two parts: one from 0 to π and another from π to 3π/2. The correct approach involves integrating -7sinx from 0 to π and -7(-sinx) from π to 3π/2, ensuring to account for the negative sign in the second part. This method will yield the correct result for the integral.
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.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

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 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K