What is the solution to the absolute function problem?

  • Thread starter Thread starter adjacent
  • Start date Start date
  • Tags Tags
    Absolute Function
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
12 replies · 2K views
adjacent
Gold Member
Messages
1,552
Reaction score
62

Homework Statement


##|x^2-2| \leq 1##
Find ##x##

The Attempt at a Solution


##x^2-2\leq 1##
##x \leq \sqrt{3}##

and

##-(x^2-2)\leq 1##
##-x^2+2 \leq 1##
##x \geq 1##

Therefore the solution is ##1 \leq x \leq \sqrt{3}##
However the book gives another solution which is ##-1 \leq x \leq -\sqrt{3}##
I don't know how the latter solution is found out. How can a range be multiplied by ##-1##?
 
Physics news on Phys.org
adjacent said:

Homework Statement


##|x^2-2| \leq 1##
Find ##x##

The Attempt at a Solution


##x^2-2\leq 1##
##x \leq \sqrt{3}##

and

##-(x^2-2)\leq 1##
##-x^2+2 \leq 1##
##x \geq 1##

Therefore the solution is ##1 \leq x \leq \sqrt{3}##
However the book gives another solution which is ##-1 \leq x \leq -\sqrt{3}##
I don't know how the latter solution is found out. How can a range be multiplied by ##-1##?

Draw the graph of ##y = x^2-2## over some reasonable x-range. On the same plot, draw horizontal lines ##y = 1## and ##y =-1##. What does your plot show?
 
BruceW said:
be careful when taking the square root.
[tex]x^2 \geq 1[/tex]
does not imply x is positive.
If that's the case, can't we write ##-1 \leq x \leq \sqrt{3}## or ##1 \leq x \leq -\sqrt{3}##
Why should we make the two square roots have the same sign?
 
Ray Vickson said:
Draw the graph of ##y = x^2-2## over some reasonable x-range. On the same plot, draw horizontal lines ##y = 1## and ##y =-1##. What does your plot show?
Here it is.

I don't see anything special in it :confused:
 

Attachments

  • graph.png
    graph.png
    5.8 KB · Views: 445
Ray Vickson said:
Oh? You can't see what points on the graph ##y = x^2-2## lie between y = -1 and y = +1?
##1## to ##\sqrt{3}## when ##x>0## and ##-\sqrt{3}## to ##-1## when ##x<0##?
But I am not supposed to draw a graph. :confused:
 
adjacent said:
##1## to ##\sqrt{3}## when ##x>0## and ##-\sqrt{3}## to ##-1## when ##x<0##?
But I am not supposed to draw a graph. :confused:

So, don't tell anybody. You just use the graph to get a "feel" for what is going on, and to help you keep your thinking straight. After you have used the graph like that you can throw it away. That is what we all do!
 
adjacent said:
If that's the case, can't we write ##-1 \leq x \leq \sqrt{3}## or ##1 \leq x \leq -\sqrt{3}##
Why should we make the two square roots have the same sign?

You should see something wrong immediately with one of these: it is really true that [itex]1 \le -\sqrt 3[/itex]?
 
adjacent said:
If that's the case, can't we write ##-1 \leq x \leq \sqrt{3}## or ##1 \leq x \leq -\sqrt{3}##
Why should we make the two square roots have the same sign?
It's easier if you look at it this way: You got to the point
$$1 \le x^2 \le 3.$$ Now take the square root, remembering that ##\sqrt {x^2} = \lvert x \rvert##.
 
  • Like
Likes   Reactions: 1 person
adjacent said:
If that's the case, can't we write ##-1 \leq x \leq \sqrt{3}## or ##1 \leq x \leq -\sqrt{3}##
Why should we make the two square roots have the same sign?
Well, your choice at the start of your solution is an if statement.
IF ##x^2 \geq 2## then ##x^2-2 \leq 1## and a bunch of stuff follows
ELSE IF ##x^2 \leq 2## then ##-x^2+2 \leq 1## and a bunch of stuff follows
So you have to treat the two IF statements as completely separate things. You cannot carry results over from one IF statement into the other IF statement. I hope that answers your question. I wasn't totally sure what you meant.

p.s. I think the other solution given by the book should be ##-\sqrt{3} \leq x \leq -1## not ##-1 \leq x \leq -\sqrt{3}##
 
Ray Vickson said:
So, don't tell anybody. You just use the graph to get a "feel" for what is going on, and to help you keep your thinking straight. After you have used the graph like that you can throw it away. That is what we all do!
Ok :smile:
statdad said:
You should see something wrong immediately with one of these: it is really true that [itex]1 \le -\sqrt 3[/itex]?
:shy: No. What about [itex]-1 \le \sqrt 3[/itex]
vela said:
It's easier if you look at it this way: You got to the point
$$1 \le x^2 \le 3.$$ Now take the square root, remembering that ##\sqrt {x^2} = \lvert x \rvert##.
Oh. This seems to be a good way. Thanks
BruceW said:
Well, your choice at the start of your solution is an if statement.
IF ##x^2 \geq 2## then ##x^2-2 \leq 1## and a bunch of stuff follows
ELSE IF ##x^2 \leq 2## then ##-x^2+2 \leq 1## and a bunch of stuff follows
So you have to treat the two IF statements as completely separate things. You cannot carry results over from one IF statement into the other IF statement. I hope that answers your question. I wasn't totally sure what you meant.
Where did ##x^2 \geq 2## come from?
BruceW said:
p.s. I think the other solution given by the book should be ##-\sqrt{3} \leq x \leq -1## not ##-1 \leq x \leq -\sqrt{3}##
Yes. It was a typo. :shy:
 
adjacent said:
Where did ##x^2 \geq 2## come from?
This was your implied "choice" when you said ##|x^2-2|=x^2-2##. The other possible choice was ##|x^2-2|=-x^2+2## which occurs iff ##x^2 \leq 2##. So anyway, the point I was hoping to get across is that the two cases ##x^2 \geq 2## and ##x^2 \leq 2## should be considered as separate solutions to the problem. It is not OK to carry over results from one case to the other. Also, as I said before, I am not totally sure if this was where you were having trouble anyway, but I was hoping it might be useful.
 
  • Like
Likes   Reactions: 1 person