Is there a shorthand for an indicator function of a positive integer?

  • Context: Graduate 
  • Thread starter Thread starter bruno67
  • Start date Start date
  • Tags Tags
    Function
Click For Summary

Discussion Overview

The discussion revolves around finding a shorthand notation for an indicator function that identifies positive integers based on their parity, specifically one that equals 1 for even integers and 0 for odd integers. The scope includes mathematical notation and potential representations of the function.

Discussion Character

  • Technical explanation

Main Points Raised

  • One participant proposes the notation \mathbb{1}_{\{\mathrm{mod}(n,2)=0\}}(n) as a potential shorthand for the indicator function.
  • Another participant suggests the expression \frac{(-1)^n+ 1}{2} as an alternative representation.
  • A third participant offers (1 + (-1)n)/2 as another possible shorthand, along with a playful suggestion of using δ(sin(nπ)).

Areas of Agreement / Disagreement

Participants present multiple competing notations without reaching a consensus on a single preferred shorthand.

Contextual Notes

There is no discussion of the formal acceptance of these notations in mathematical literature, and the implications of using each notation are not explored.

Who May Find This Useful

Mathematicians, students, or anyone interested in mathematical notation related to indicator functions and parity.

bruno67
Messages
32
Reaction score
0
Is there a convenient shorthand for an "indicator function" of a positive integer n which vanishes if n is odd and is equal to 1 otherwise? I was thinking about something like

\mathbb{1}_{\{\mathrm{mod}(n,2)=0\}}(n),
but I'm not sure if this would be considered acceptable mathematical notation.
 
Physics news on Phys.org
What about
\frac{(-1)^n+ 1}{2}
 
(1 + (-1)n)/2 ?

δ(sin(nπ)) ? :smile:
 
Thanks!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
27
Views
4K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
20
Views
3K