How do I graph the absolute value function with multiple layers?

In summary, the conversation discusses how to draw the graph of the function f(x)=|x+|x+|x-1|||. It is suggested to break the function down into smaller sub-functions and graph them individually. The key points where the function changes are identified as x= -1 and x= 1. It is also suggested to start by drawing simpler functions, such as x-1 and |x-1|, and then build up to the more complex function.
  • #1
charm_quark
1
0

Homework Statement



The problem is: Draw the graph of the following function:

[tex]f(x)=|x+|x+|x-1|||[/tex]

Homework Equations



[tex]|x|=\left\{\begin{array}{cc}x,&\mbox{ if } x \geq 0\\-x,&\mbox{ if }x<0\end{array}\right[/tex]

The Attempt at a Solution


If the function were, for instance, [tex]g(x)=|x+1|-|x-1|[/tex], the solution wouldn't be a problem, because the two important points (x=-1 and x=1) can be recognized immediately, which implies analysing the three intervals ([tex]<-\infty,-1>[/tex] , [tex][-1,1>[/tex] , [tex][1,+\infty>[/tex]), and therefore the function g(x) can be seen as a compound of three different "sub-functions" on those intervals, ie:

[tex]g(x)=\left\{\begin{array}{ll}
g(x)=-2,&\mbox{ if } x \in <-\infty,-1>\\
g(x)=2x,&\mbox{ if }x \in [-1,1>\\
g(x)=2,&\mbox{ if }x \in [1,+\infty>\end{array}\right[/tex]

and as such, its graph can be easily drawn.

The same should be done for [tex]f(x)=|x+|x+|x-1|||[/tex]. But how? Where to start? If starting from the "inside", there would be, at the first step, two cases: [tex]x-1\geq 0[/tex] or [tex]x-1<0[/tex], which would lead to more sub-cases, so I'm not sure if this is the right approach to arrive at the graph of f(x).

Any help would be much appreciated.
 
Physics news on Phys.org
  • #2
Perhaps start by drawing x-1, then |x-1|, then x, then x+|x-1| etc.
Or else the method you describe is the only one I can think of.
 
  • #3
First find the key points where the function changes. There are only 2 points where it changes. For example, plug in 10 for x.
[tex]f(x)=|10+|10+|10-1|||[/tex]
f(x) = 29
the key points should not be that hard to find.
 

Related to How do I graph the absolute value function with multiple layers?

1. What is the absolute value function graph?

The absolute value function graph is a mathematical representation of the absolute value function, which is a function that returns the distance of a number from 0 on a number line. It is represented by the equation |x|, where x is any real number.

2. How do you graph the absolute value function?

To graph the absolute value function, you need to plot points on a coordinate plane. The points will form a "V" shape, with the vertex at the origin (0,0) and the arms of the "V" extending in opposite directions. You can also use the equation y = |x| to graph the function.

3. What are the key features of the absolute value function graph?

The key features of the absolute value function graph include the vertex at the origin, the "V" shape, and the fact that the function is always positive. The graph is also symmetric about the y-axis, meaning that if you reflect one side of the "V" over the y-axis, it will match the other side.

4. How do you find the domain and range of the absolute value function graph?

The domain of the absolute value function graph is all real numbers, as the function can take any input value. The range is also all real numbers greater than or equal to 0, as the function always outputs a positive value.

5. What is the significance of the absolute value function graph in real life?

The absolute value function graph is commonly used in real life situations to model distance, such as calculating the distance between two points on a map or the displacement of an object. It is also used in areas such as physics and engineering to represent the magnitude of a quantity without regard to its direction.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
9
Views
803
  • Precalculus Mathematics Homework Help
Replies
7
Views
422
  • Precalculus Mathematics Homework Help
Replies
11
Views
550
  • Precalculus Mathematics Homework Help
Replies
3
Views
930
  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
13
Views
332
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
18
Views
2K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
Back
Top