How do you define absolute value function on different intervals?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
paulmdrdo1
Messages
382
Reaction score
0
Define f(x)= |x+3|-|x-3| without absolute value bars piecewise in the following intervals (-∞,-3);[-3,3);[3,+∞).

this is how i do the problem,

I removed the absolute value bars first

f(x)= x+3-x+3 = 6

now i don't know how to define it piecewise. can you show me how define it correctly. thanks!
 
Mathematics news on Phys.org
Re: absolute value function.

On the interval:

i) $$(-\infty,-3)$$

we have:

$$x+3<0\,\therefore\,|x+3|=-(x+3)$$

$$x-3<0\,\therefore\,|x-3|=-(x-3)$$

and so $$f(x)=(-(x+3))-(-(x-3))=-6$$

Can you try the other two intervals?