Graph y=x-|x|: Is There a Solution?

  • Thread starter Thread starter mikebc
  • Start date Start date
  • Tags Tags
    Confused
Click For Summary

Homework Help Overview

The problem involves graphing the equation y = x - |x|, which requires understanding the behavior of the absolute value function in different domains of x.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the implications of the absolute value on the equation, considering both positive and negative values of x. There are attempts to isolate the absolute value and derive separate equations for different cases. Some participants question the initial assumptions about the values of x and the resulting graph.

Discussion Status

Participants are actively engaging with the problem, exploring different interpretations and approaches to graphing the equation. Some guidance has been offered regarding the behavior of the function in different domains, but there is no explicit consensus on the final graphing approach.

Contextual Notes

There are indications of confusion regarding the treatment of absolute values and the implications for graphing, with some participants expressing uncertainty about the initial conditions and the resulting outputs.

mikebc
Messages
20
Reaction score
0
confused ... y=x-|x|

The problem is to graph this equation y=x-|x|.



From what I understand of absolute values, this x would be positive. If it is positive then y=0 and there would be no points to graph. Is there something that I am missing? The question is worth 4 points, so I can't see the answer just being 0. Thanks for any suggestions.
 
Physics news on Phys.org
What happens when x is negative?
 
What I was taught to do when dealing with absolute value, is to rewrite the equation so that the absolute value is isolated, then find the 2 equations.

so you'll have:
x=x-y
y=o

and also:
x=-x+y
2x=y
 
The absolute value of -x would be x. But I remember with inequalities there are 2 possible answers with absolute value (-,+). From what you are explaining it sounds like that is what you are saying to do, use both possible values. Then I would graph by beginning with y at 0 and continue by substituting values into 2x=y? That seems to make sense to me. Thank you both for your help!
 
Also just try plugging in some numbers:
For 2 -> Y = 2 - |2| = 0
For -2 - > Y = -2 -|-2| = -2 -2 = -4
see?
So for negatives you have Y = 2X, X<0
 
Solve or graph y = x - |x|.

If x>0, then y = x - x, meaning y=0.

If x<0, then y = x - (-x) [ notice those are parentheses, not absolute value notation symbols ], meaning y = x + x = 2x.
 
mikebc said:
The problem is to graph this equation y=x-|x|.



From what I understand of absolute values, this x would be positive.
Surely you didn't mean to say that! x itself can be any number. |x| is always positive (or 0- don't forget that!

dranseth said:
What I was taught to do when dealing with absolute value, is to rewrite the equation so that the absolute value is isolated, then find the 2 equations.

so you'll have:
x=x-y
y=o
Why did you switch to x=? If x\ge 0 y= x- x= 0. The graph is just the x-axis from x= 0 to the right.

and also:
x=-x+y
2x=y
If x< 0, don't forget that. Then y= x- (-x)= 2x.

mikebc said:
The absolute value of -x would be x.
No, no, no! |-x|= |x| which may be eigther x or -x depending upon what x is.

But I remember with inequalities there are 2 possible answers with absolute value (-,+). From what you are explaining it sounds like that is what you are saying to do, use both possible values. Then I would graph by beginning with y at 0 and continue by substituting values into 2x=y? That seems to make sense to me. Thank you both for your help!
Draw the graph of y= 2x, to the left of x= 0. To the right, the graph is just y= 0, the x-axis.
 
I rearranged the formula to isolate the absolute value.
 
Wow, you guys couldn't have made it any more clear for me. Thanks a lot!
 

Similar threads

Replies
8
Views
4K
Replies
10
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
4
Views
3K
Replies
4
Views
3K
Replies
10
Views
3K