(adsbygoogle = window.adsbygoogle || []).push({}); How does one represent this in math....

1. The problem statement, all variables and given/known data

How does one represent the following in mathematical notation:

if(x >= a) then y = x-a

else x=0

2. Relevant equations

3. The attempt at a solution

Just y= x-a will not do it because it becomes negative when x is less than a and that is not what I want....

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

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

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

# Homework Help: How does one represent this in math

**Physics Forums | Science Articles, Homework Help, Discussion**