Piecewise function of the following function given

Click For Summary
The function f(x) = ||x|-1| can be rewritten as a piecewise function by analyzing the absolute value components. The first step involves understanding |x|, which is defined as x for x ≥ 0 and -x for x < 0. The second part, |x-1|, is defined as x-1 for x ≥ 1 and -(x-1) for x < 1. A more effective approach is to consider y = |x| - 1, which shifts the graph of |x| downward. The final piecewise function will have a "W" shape, with specific equations defined over different intervals based on the behavior of the function.
francis21
Messages
8
Reaction score
0

Homework Statement


Question: Rewrite the function f(x) =||x|-1| as a piecewise function.


Homework Equations





The Attempt at a Solution


I tried considering the following absolute value functions:

1)|x|
|x| = x, if x \geq 0
= -x, if x < 0

2) |x-1|
|x-1| = x-1, if x \geq 1
=-(x-1), if x < 1

But I'm not sure on how to go from there, or if I did something wrong with the process shown above. I was thinking that the there might be something wrong with part 2).
 
Physics news on Phys.org
francis21 said:

Homework Statement


Question: Rewrite the function f(x) =||x|-1| as a piecewise function.


Homework Equations





The Attempt at a Solution


I tried considering the following absolute value functions:

1)|x|
|x| = x, if x \geq 0
= -x, if x < 0

2) |x-1|
|x-1| = x-1, if x \geq 1
=-(x-1), if x < 1
This one won't do you much good, as it isn't at all like your function. A better choice is y = |x| - 1
francis21 said:
But I'm not sure on how to go from there, or if I did something wrong with the process shown above. I was thinking that the there might be something wrong with part 2).

First, graph y = |x| - 1. The graph is similar to y = |x|, but with a downward translation.
Second, graph y = ||x| - 1|. This graph is identical to the graph of y = |x| - 1 on the points for which y >= 0. For the points at which y < 0, that part of the graph is reflected across the y-axis. Your final graph should have a W shape.

Write the equation of each piece of the W and specify the interval on which that equation is defined, then you'll have your piecewise definition of y = ||x| - 1|.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
Replies
8
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K