Jump to content

Definition of |x|


triclino

Recommended Posts

That works. So does saying that |x|=x for x>0, |x|=-x for x<=0. Or a three-way case,

 

[math]|x|=\begin{cases} \phantom{-}x & \text{if~}x>0 \\ -x &\text{if~} x<0\\ \phantom{-}0 & \text{if~}x=0\end{cases}[/math]

 

I like the latter as it explicitly identifies 0 is a special case and because of the symmetry. That's just personal preference.

 

There are many other ways to write it. For example

 

[math]|x|=\sqrt{x^2}[/math]

Link to comment
Share on other sites

But ,however, logic dictates us the following:

 

If we put :

 

([math]x\geq 0[/math]): = p

 

 

(|x|=x) := r

 

(x<0): = q

 

 

(|x|= -x): = s...............then we have:

 

([math]p\Longrightarrow r[/math]) and ([math]q\Longrightarrow s[/math]) which logicaly implies:

 

[math]p\wedge q\Longrightarrow r\wedge s[/math]

 

But p&q means that we have : [math]x\geq 0[/math] and x<0 .

 

IS that possible??

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.