What are the rules to know when to use absolute value?

Click For Summary
When integrating functions, the use of absolute value is often necessary to ensure the logarithm remains defined. For instance, the integral of cos(x)/(sin(x) + 1) should include absolute values, resulting in ln|sin(x) + 1| + C, unless specific conditions indicate otherwise. If a variable is constrained to positive values, such as in the integral of 1/x from 1 to 2, absolute values can be omitted. The discussion emphasizes the importance of parentheses in expressions to avoid misinterpretation. Overall, understanding when to apply absolute values in integration is crucial for accurate results.
Fancypen
Messages
25
Reaction score
6
Specifically when doing integration problems. I know the indef integral of cosx/sinx+1 is ln(sinx+1) + C, but absvalue is not required here. I think it's because the sine fn must be >= 0 or it's undefined? What about in other cases, is there a general rule to know when to use absvalue?

Thanks
 
Physics news on Phys.org
Fancypen said:
Specifically when doing integration problems. I know the indef integral of cosx/sinx+1 is ln(sinx+1) + C
The integrand should be written as cosx/(sinx + 1). Without parentheses what you wrote is ##\frac{cosx}{sinx} + 1 = cotx + 1##.

Also, ##\int \frac{\cos(x) dx}{\sin(x) + 1} = \ln|\sin(x) + 1| + C##
Fancypen said:
, but absvalue is not required here.
You really should have it, unless there is information given that it's not needed.
Fancypen said:
I think it's because the sine fn must be >= 0 or it's undefined?
No, that's not true. ##-1 \le \sin(x) \le 1##. Take a look at a graph of y = sin(x).
Fancypen said:
What about in other cases, is there a general rule to know when to use absvalue?

Thanks
 
I see. So the answer SHOULD have it. We actually don't use a book, so the answers I find to the worksheet problems aren't consistent. Some use absvalue and some do not.

There definitely should be a parenthesis around the denominator there. I am aware, but neglected it!

Thanks
 
\int \frac{1}{x}dx= ln|x|+ C. If you know that x will not be negative then you do not need the absolute values.

For example, \int_1^2 \frac{1}{x}dx= \left[ln(x)\right]_1^2= ln(2). Since x runs between 1 and 2, it is never negative and the absolute value is not needed.
 
Last edited by a moderator:
Fancypen said:
There definitely should be a parenthesis around the denominator there.
In fact, there should be two of them -- parentheses -- not just a single parenthesis. :oldbiggrin:
 
Last edited:
Mark44 said:
In fact, there should be two of them -- parentheses -- not just a single parenthesis. :oldbiggrin:
Yeah, one set around the the angle of sine too.
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
16K