How does one represent this in math

  • Thread starter Thread starter wildman
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on representing conditional mathematical expressions in notation. The expression "if(x >= a) then y = x-a else y=0" can be effectively represented using the Heaviside step function, H(x), leading to the formulation y = H(x-a)(x-a). Alternatively, a piecewise function notation can be utilized: y = { x - a if x ≥ a; 0 if x < a }. Both methods accurately convey the intended behavior of the function without resulting in negative values.

PREREQUISITES
  • Understanding of conditional expressions in mathematics
  • Familiarity with piecewise functions
  • Knowledge of the Heaviside step function
  • Basic algebraic manipulation skills
NEXT STEPS
  • Research the properties and applications of the Heaviside step function
  • Explore piecewise function notation in mathematical contexts
  • Learn about mathematical modeling of conditional statements
  • Study advanced algebraic techniques for function representation
USEFUL FOR

Students, mathematicians, and educators looking to enhance their understanding of mathematical notation for conditional expressions.

wildman
Messages
29
Reaction score
4
How does one represent this in math...

Homework Statement



How does one represent the following in mathematical notation:

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


Homework Equations





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 news on Phys.org
wildman said:
How does one represent the following in mathematical notation:

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

Hi wildman! :smile:

How about using min or max (or is it inf or sup :rolleyes:)? :wink:
 


I'm not sure what you kind of notation you want. I would write that as either
[tex]y= \left(\begin{array}{c} x- a if x\ge a \\ 0 if x> a\end{array}\right[/tex]

Or as y= H(x-a)(x-a) where H(x) is the Heaviside step function.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
3
Views
2K
Replies
10
Views
2K
Replies
17
Views
3K
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
11K