What Is the Mathematical Operator That Returns 1 for Equal Variables?

  • Context: High School 
  • Thread starter Thread starter rhenretta
  • Start date Start date
  • Tags Tags
    Operator
Click For Summary

Discussion Overview

The discussion revolves around identifying a mathematical operator that returns 1 when two variables are equal and 0 when they are not. The context includes mathematical operations and their applications, particularly in relation to summation.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification

Main Points Raised

  • One participant expresses difficulty recalling the operator that returns 1 for equal variables and 0 for unequal ones.
  • Another participant suggests the XNOR operator as a potential solution.
  • A different participant recalls seeing a mathematical operation in a book that relates to summation and provides similar functionality.
  • A later post presents a conditional programming example to illustrate the concept.
  • Ultimately, one participant identifies the Kronecker delta as the operator in question.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the operator until the Kronecker delta is mentioned, which appears to be accepted as the correct answer by one participant.

Contextual Notes

The discussion includes references to different contexts in which the operator might be used, but there are no detailed mathematical definitions or assumptions provided.

Who May Find This Useful

This discussion may be of interest to those studying mathematics, particularly in areas involving operators and summation techniques.

rhenretta
Messages
65
Reaction score
0
Sorry, pretty basic, but for the life of me I can't think of the operator... if i=j it would return 1, and if i != j it would return 0...
 
Mathematics news on Phys.org
no, I remember seeing in a math or physics book once, a mathematical operation that could be done, I believe it was used in context with a summation operator, to obtain a value of 1 if i and j were the same value, and 0 if not.
 
...
k=0;
if i==j, then k=1;
...
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
13K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 46 ·
2
Replies
46
Views
4K