A weird absolute value problem

In summary, HallsofIvy found the botton by breaking the absolute value of a sum of two positive numbers.
  • #1
lLovePhysics
169
0
Please help me out here with this problem:

37. Express the function f(x)=l x l + l x-2 l

without using absolute value signs.

Okay, I've took a sneak peak at the answer key and it is given in kinda of like piece-wise notation where they have 3 equations and different intervals of x for them.

Are you suppose to just take off the signs? [tex] f(x)= 2x-2[/tex] but know I know there is a catch... Does the range still apply or something?
 
Physics news on Phys.org
  • #2
Yes, you take of the signs carefully!

A pretty standard way to handle absolute values is to use "cases": |x|= x if [itex]x\ge 0[[/itex], [itex]|x|= -x is [itex]x< 0[/itex].

Here you have both |x| which "breaks" at x= 0 and |x-2| which "breaks" when x-2= 0 or x= 2.

Look at the three cases: [itex]x< 0[/itex], [itex]0\le x< 2[/itex], and [itex]x\ge 2[/itex].

If x< 0, then both x and x-2 are negative so |x|= -x and |x-2|= -(x-2)= 2- x. In that case, |x|+ |x-2|= -x+ 2- x= 2- 2x.
If [itex]0\le x< 2[/itex] then x is non-negative but x- 2 is still negative so |x|= x and |x-2|= -(x-2)= 2- x. In that case, |x|+ |x-2|= x+ 2-x= 2.
Finally, if [itex]2\le x[/itex], both x and x- 2 are positive so |x|= x and |x-2|= x-2. In that case, |x|+ |x-2|= x+ x-2= 2x- 2.
 
  • #3
HallsofIvy said:
Yes, you take of the signs carefully!

A pretty standard way to handle absolute values is to use "cases": |x|= x if [itex]x\ge 0[[/itex], [itex]|x|= -x is [itex]x< 0[/itex].

Here you have both |x| which "breaks" at x= 0 and |x-2| which "breaks" when x-2= 0 or x= 2.

Look at the three cases: [itex]x< 0[/itex], [itex]0\le x< 2[/itex], and [itex]x\ge 2[/itex].

If x< 0, then both x and x-2 are negative so |x|= -x and |x-2|= -(x-2)= 2- x. In that case, |x|+ |x-2|= -x+ 2- x= 2- 2x.
If [itex]0\le x< 2[/itex] then x is non-negative but x- 2 is still negative so |x|= x and |x-2|= -(x-2)= 2- x. In that case, |x|+ |x-2|= x+ 2-x= 2.
Finally, if [itex]2\le x[/itex], both x and x- 2 are positive so |x|= x and |x-2|= x-2. In that case, |x|+ |x-2|= x+ x-2= 2x- 2.

Okay, so how do you know they have three cases? Should you graph the function first to find out how it looks and then divide them up into intervals or is there a faster and easier way to do it without the graphing calculator?
 
  • #4
lLovePhysics said:
Okay, so how do you know they have three cases? Should you graph the function first to find out how it looks and then divide them up into intervals or is there a faster and easier way to do it without the graphing calculator?

I would just make a plot of this function on a piece of paper (it is faster than on a graphing calculator). Then its 3-component structure becomes obvious.

Eugene.
 
  • #5
No you don't need graph the function
You only need to understand the definition of |x|

|x|= x if x>0, |x|=-x if x<0 (and |x|=0 if x=0 naturally)
Do the same for |x-2|
|x-2|=x-2 if x-2>0 etc. as explained you above.

How the things (inside absolute value )go out depends on its sign (e.g.
|-5|=-(-5) =5 |1|=1 )
So you only have to find when the expressions inside absolute value become positive /negative depending on x

Lastly if you read HallSoftIvy's post again carefully you will understand it
 
  • #6
I know how HallsofIvy found the bototm part but I just don't understand how she found the intervals. Do you need to graph it first to find it?

I know the graph of l x l and l x-2 l

However, how come their fulls graphs don't show up? Do you just take their x-intercepts (lowest y value) to obtain the intervals and solve for f(x) in those intervals?
 
Last edited:
  • #7
lLovePhysics said:
I know how HallsofIvy found the bototm part but I just don't understand how she found the intervals.

Oh no. HallsofIvy is, atually, a he, not a she. o:)

Do you need to graph it first to find it?

Well, say, to break the absolute value of |A|, one must check if it's negative, or non-negative. So, to break the absolute value of |x| + |x - 2|, you should check whether they are negative or nonnegative.

x is negative for x < 0, and non-negative for the rest.
x - 2 is negative for x < 2, and non-negative for the rest.

So, for x < 0, both x, and x - 2 are negative.
0 <= x < 2, then x is non-negative, but x - 2 is negative.
And for x >= 2, they are both positive.

From the 3 intervals above, you can easily break the absolute value. Pretty simple, right? :)
 
  • #8
I said in my original post- there are two absolute values: |x| and |x-2|. |x| itself changes "formulas" when x= 0. |f(x)|, for any function f, changes when f(x)= 0. Therefore, |x| changes when x= 0, |x-2| changes when x- 2= 0 or x= 2. Those two values divide the number line into 3 parts: x< 0, 0< x< 2, and x> 2.
 
  • #9
VietDao29 said:
Well, say, to break the absolute value of |A|, one must check if it's negative, or non-negative. So, to break the absolute value of |x| + |x - 2|, you should check whether they are negative or nonnegative.

x is negative for x < 0, and non-negative for the rest.
x - 2 is negative for x < 2, and non-negative for the rest.

So, for x < 0, both x, and x - 2 are negative.
0 <= x < 2, then x is non-negative, but x - 2 is negative.
And for x >= 2, they are both positive.

From the 3 intervals above, you can easily break the absolute value. Pretty simple, right? :)

I still don't know what you are talking about. Negatives and non-negatives, that is. Why is it important that x is negative/non negative? Isn't the absolute value of x always positive? How do you know the graph will "break" when x=0 or x=2? How do you not know that they will keep going like the shape of a "V"?

For example, the graph f(x)=l x l has the shape of a V but it doesn't "break" when x=0... I just don't know how you guys can find where the graph changes without graphing or substituting points.


HallsofIvy said:
I said in my original post- there are two absolute values: |x| and |x-2|. |x| itself changes "formulas" when x= 0. |f(x)|, for any function f, changes when f(x)= 0. Therefore, |x| changes when x= 0, |x-2| changes when x- 2= 0 or x= 2. Those two values divide the number line into 3 parts: x< 0, 0< x< 2, and x> 2.

What do you mean by changes "formulas"? Are you saying that if x=0 then the function becomes: f(x)= l x-2 l? and when x=2 then the function becomes: f(x)=l x l? Then there will be 2 "breaks" and therefore 3 parts.. Is this what you guys are all trying to tell me??
 
  • #10
If you are trying to do problems involving absolute values, you should know exactly what |x| means! What does YOUR textbook say is the definition of |x|?
 
  • #11
HallsofIvy said:
If you are trying to do problems involving absolute values, you should know exactly what |x| means! What does YOUR textbook say is the definition of |x|?

Here's what my text says:


The absolute value of x (written) as l x l ) is defined as follows:

if x=>, then l x l = x;

if x<0, then l x l= -x ( note that -x is a positive number)

l x l=> 0 for all values of x
 
  • #12
ilovephysics, y = |x| does break at x=0. What do we mean when we say break... we mean that the equation of the line has changed...

A line has an equation of the form y = mx + b... so if we write y=|x| in this form:

when x < 0, y = -x

when x > 0, y = x

So as we go along the x-axis from the negative end to the positive end... we have a straight line going downwards (a negative slope)... but at x = 0 it changed to positive slope... so that's a break. it's a different equation...

The breaks can only occur when the value within the absolute values changes sign or in other words when that value is 0... because that's how the absolute value is defined...

First find the points when the value inside an absolute value changes sign...

For your example you have two absolute value signs |x| and |x-2|... for |x|, x changes sign when x = 0... |x-2|, x-2 changes sign when x-2 = 0 ie when x =2

So those are the only 2 points when a break can happen...

Then you can analyze what happens at x<=0, then 0<x<=2, then x>2... within each range your equation can be written as a line in the form of y=mx+b. Use the definition of absolute value to write the equation for these 3parts...
 
Last edited:
  • #13
learningphysics said:
ilovephysics, y = |x| does break at x=0. What do we mean when we say break... we mean that the equation of the line has changed...

A line has an equation of the form y = mx + b... so if we write y=|x| in this form:

when x < 0, y = -x

when x > 0, y = x

So as we go along the x-axis from the negative end to the positive end... we have a straight line going downwards (a negative slope)... but at x = 0 it changed to positive slope... so that's a break. it's a different equation...

The breaks can only occur when the value within the absolute values changes sign or in other words when that value is 0... because that's how the absolute value is defined...

First find the points when the value within an absolute value changes sign...

For your example you have two absolute value signs |x| and |x-2|... |x| changes sign when x = 0... |x-2| changes sign when x-2 = 0 ie when x =2

So those are the only 2 points when a break can happen...

Then you can analyze what happens at x<=0, then 0<x<=2, then x>2... within each range your equation can be written as a line in the form of y=mx+b. Use the definition of absolute value to write the equation for these 3parts...

Oh ok. I think I get it now, thanks! :smile:
 
  • #14
HallsofIvy said:
Yes, you take of the signs carefully!

A pretty standard way to handle absolute values is to use "cases": |x|= x if [itex]x\ge 0[[/itex], [itex]|x|= -x is [itex]x< 0[/itex].

Here you have both |x| which "breaks" at x= 0 and |x-2| which "breaks" when x-2= 0 or x= 2.

Look at the three cases: [itex]x< 0[/itex], [itex]0\le x< 2[/itex], and [itex]x\ge 2[/itex].

If x< 0, then both x and x-2 are negative so |x|= -x and |x-2|= -(x-2)= 2- x. In that case, |x|+ |x-2|= -x+ 2- x= 2- 2x.
If [itex]0\le x< 2[/itex] then x is non-negative but x- 2 is still negative so |x|= x and |x-2|= -(x-2)= 2- x. In that case, |x|+ |x-2|= x+ 2-x= 2.
Finally, if [itex]2\le x[/itex], both x and x- 2 are positive so |x|= x and |x-2|= x-2. In that case, |x|+ |x-2|= x+ x-2= 2x- 2.

I think I finally get what they mean by " express the function without using absolute value signs." Do they mean that you need to take the absolute value sign off and instead did what you did above?

So like for l x l, if x is negative then l x l must equal -x without the absolute value signs because then -x would equal -(-x), which is a positve number. So whenever you are trying to solve these problems one should always follow that format? It is either everything instead the absolute value remains positive (unaffected) or negative (so that if the expression inside is negative it will turn positve)? Thanks! :smile:

Edit: Also, did you choose those parts because you wanted to make some negative and some positve? For example, did you want to make l x l both negative and positve and l x-2 l both negative and positive as well? I'm just not sure how you can up with the [tex]\geq, >, \;and\;<[/tex] signs.
 
Last edited:
  • #15
f(x)= |x|, itself, is "expressed without absolute value signs" exactly as you give the definition: |x|= x if [itex]x\ge 0[/itex], -x is x< 0. It changes formula, as you put it when the quantity inside the abwsolut value signs is equal to 1.; Your problem involved |x|+ |x-2| so I immediately asked myself "where do those change formula?". That would be at x= 0 and x= 2. Everything else follows from that.
 

What is an absolute value problem?

An absolute value problem is a mathematical problem that involves finding the numerical value of a number without considering its sign. It is represented by vertical bars around the number, for example, |x|.

What makes a weird absolute value problem different from a regular one?

A weird absolute value problem may involve more than one absolute value expression, or it may involve variables within the absolute value expression itself. This makes it more complex and requires different problem-solving strategies.

How do I solve a weird absolute value problem?

There are various methods that can be used to solve a weird absolute value problem, such as graphing, substitution, and using logical reasoning. It is important to carefully analyze the given problem and choose the best approach.

What are some real-life applications of weird absolute value problems?

Weird absolute value problems can be used to model real-life situations that involve finding the distance between two points, calculating the difference between two values, or determining the minimum or maximum value in a given scenario. They are also used in economics, physics, and engineering.

Are there any common mistakes made when solving weird absolute value problems?

Some common mistakes include forgetting to consider both positive and negative solutions, not simplifying the absolute value expression before solving, and incorrectly applying the properties of absolute value. It is important to carefully check the solution and ensure that it satisfies the given problem.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
2
Views
825
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
998
  • Precalculus Mathematics Homework Help
Replies
9
Views
704
  • Precalculus Mathematics Homework Help
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
833
Replies
22
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
8
Views
736
  • Precalculus Mathematics Homework Help
Replies
21
Views
706
Back
Top