Is the Modulus Function One or Two Functions?

  • Context: High School 
  • Thread starter Thread starter Aeneas
  • Start date Start date
  • Tags Tags
    Function Modulus
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
3 replies · 6K views
Aeneas
Messages
26
Reaction score
0
Is "The modulus function" one function or two? f(x) = |x| suggests one, but f(x)=x, x>=0, f(x)=-x, x<0, suggests two.
 
Mathematics news on Phys.org
It's one function. Many other functions are written like this, where one function is defined by one function on one interval and defined by another function on another interval, they're called piece-wise functions.
 
Many thanks neutrino and bel.