Expressions without absolute value signs

AI Thread Summary
The discussion centers on rewriting the expression a - |a - |x|| without absolute value signs by analyzing different cases. Initially, it is suggested that there may be two cases, but further examination reveals that there are actually four distinct cases to consider based on the values of x relative to a. The cases involve evaluating the expression for x being greater than or less than zero, as well as comparing x to a. The use of the Heaviside step function is mentioned as a way to express the function more compactly. Ultimately, the conclusion is that four cases are necessary for a complete understanding of the expression.
garyljc
Messages
103
Reaction score
0

Homework Statement


Rewrite the following expressions without absolute value signs, treating various cases separately where neccesary


Homework Equations


a-Abs[(a-(abs)a)]


the question is do i have 2 answers to this ?
 
Physics news on Phys.org
garyljc said:
the question is do i have 2 answers to this ?
Yes there will be two cases. At first inspection one might conclude that there would be four cases, but you should note that one of the absolute functions is not necessary.
 
There is only one[/b\] function for this, which may have different parts.

If f(x)= a- |a- |x||, then, of course, you need to look at x< 0 and x> 0, then at the cases |x|> a and |x|< a.

You could also write this as a single "formula" using the Heaviside step function which is defined as H(x)= 0 if x< 0, H(x)= 1 if x\ge 0.
 
Hootenanny said:
Yes there will be two cases. At first inspection one might conclude that there would be four cases, but you should note that one of the absolute functions is not necessary.

why would there be 4 cases ?
 
Hmmm, the function is a-|a- |x||. If x> 0 that is a- |a- x| so if x< a, that is if a-x> 0, we have a- (a- x)= x. If x> a, that is if a- x< 0, |a-x|= -(a-x) and we have a+(a-x)= 2a- x.

If x< 0, so we have a- |a+ x|. Now if a> -x, so x+ a> 0, that is a- (a+ x)= -x. Finally if a< -x so x+ a< 0, that is a+ (a+x)= 2a+ x. Looks like 4 cases to me.
 

Similar threads

Replies
7
Views
2K
Replies
2
Views
1K
Replies
3
Views
2K
Replies
18
Views
2K
Replies
2
Views
2K
Back
Top