So I have been dealing with the modulus function for almost a year now , I didn't ran into it many times so didn't really tried to understand it well . But it has started to get a little bit confusing . So if someone helps me I will be really happy .(adsbygoogle = window.adsbygoogle || []).push({});

From what I know

f(x) = |x| = { x ; x >= 0 and -x ;x<=0

That means |-5| = 5 and |5| = 5

And it has a graph

But this does not satisfy my intuition , for me the function and the graph says two different thing , I mean the function says

f(x) = |x| = {-x ;x<=0

so if I plug in -5 which is less than 0 then the output should be -5 only

I know I am wrong but I am just going with function definition . What does the definition actually say ?

Also I encounter problems while sketching graphs of the mod function .

If someone can help me with the graph of

f(x) = |1-x+|x|| it would be awesome

I can graph it using wolframalpha but I want to know how it came about

Thanks

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# The Modulus function . Need a little Explanation

Loading...

Similar Threads - Modulus function Need | Date |
---|---|

I Modulus of two numbers ? | Sep 18, 2016 |

I How to do division in modulus mode ? | Aug 28, 2016 |

Inverting function that includes modulus | Jun 5, 2011 |

Multiplication with modulus of function | Nov 15, 2010 |

The Modulus function | Aug 27, 2007 |

**Physics Forums - The Fusion of Science and Community**