Find the average value of a function

Click For Summary
To find the average value of the function f(x) = |x+1| sgn(x) on the interval [-2, 2], it is suggested to split the function into three intervals: [-2, -1], [-1, 0], and [0, 2]. In the interval [-2, -1], |x+1| is negative, resulting in |x+1| sgn(x) = x + 1, which should be integrated from -2 to -1. In the interval [-1, 0], |x+1| is positive, leading to |x+1| sgn(x) = -(x+1), and this is integrated from -1 to 0. Finally, in the interval [0, 2], both components are positive, yielding |x+1| sgn(x) = x + 1, which is integrated from 0 to 2. This method ensures the correct evaluation of the average value of the function over the specified interval.
~Sam~
Messages
70
Reaction score
0

Homework Statement


Find the average value of a function of f(x)= |x+1| sgnx on the interval [-2,2]

Homework Equations



The average value formula.

The Attempt at a Solution



I know I can divide |x+1| into two integrals from [-2,0] and [0,2] (I think?? can anyone confirm this is the proper split?) and add and solve. But what can I do about sgnx?
 
Last edited:
Physics news on Phys.org
I would split |x+1| into two intervals. x<(-1) and x>=(-1). And sgn(x) I would split at x=0. You might want to think about splitting |x+1|*sgn(x) into three intervals [-2,-1], [-1,0] and [0,2].
 
Dick said:
I would split |x+1| into two intervals. x<(-1) and x>=(-1). And sgn(x) I would split at x=0. You might want to think about splitting |x+1|*sgn(x) into three intervals [-2,-1], [-1,0] and [0,2].

Ohh I see why you would split into three pieces. But...if I do split sgn(x) at x=0, which would mean [-2,0] and [0,2] and evaluate with |x| as my integral, wouldn't I get 0? (I know I'm suppose to get 4)
 
No, [-2,0] and [0,2} is not three pieces! Dick said to use [-2,-1], [-1,0], and [0,2].
On [-2,-1], x+1< 0 so |x+1|= -(x+1). x< 0 so sgn(x)= -1. |x+1|sgn(x)= -(x+1)(-1)= x+1. Integrate that from -2 to -1.

On [-1,0], x+1> 0 so |x+1|= x+1. x< 0 so sgn(x)= -1. |x+1|sgn(x)= (x+1)(-1)= -(x+1). Integrate that from -1 to 0.

On [0,1], x+1> 0 so |x+1|= x+1. x>0 so sgn(x)= 1. |x+1|sgn(x)= (x+1)(1)= x+ 1. Integrate that from 0 to 2.
 
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 13 ·
Replies
13
Views
2K
Replies
5
Views
2K
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K