What defines an operator input/output for simple expressions

  • Context: Undergrad 
  • Thread starter Thread starter benno
  • Start date Start date
  • Tags Tags
    Expressions Operator
Click For Summary
SUMMARY

The discussion centers on defining operator input/output for simple mathematical expressions, specifically focusing on the operators "+" and "=". The output of the addition operation "+" on inputs "B" and "C" is definitively "B+C". The equals sign "=" is identified as a relation rather than a traditional operator, with both sides of the equation serving as inputs, resulting in a boolean output of either "true" or "false". This clarification helps distinguish the roles of operators and relations in mathematical expressions.

PREREQUISITES
  • Understanding of basic mathematical operations and expressions
  • Familiarity with the concept of functions in mathematics
  • Knowledge of relations in set theory
  • Basic algebraic manipulation skills
NEXT STEPS
  • Explore the properties of mathematical functions, particularly addition and equality
  • Study the concept of relations in set theory and their applications
  • Learn about operator precedence and its implications in mathematical expressions
  • Investigate boolean logic and its relationship with mathematical operations
USEFUL FOR

Mathematicians, educators, students in algebra, and anyone interested in the foundational concepts of mathematical operations and relations.

benno
Messages
2
Reaction score
0
Hello. I have some questions on operations.

Suppose in the course of a derivation there is a mathematical statement of the form
A+1=B+C
then "+" is an operator acting on inputs "B" and "C".
Question 1: Is the output of the operation "A" or the expression "B+C"?
The reason I think the output may be "B+C" is because in the statement X=(Y+Z)+W, wouldn't the output of the first addition be Y+Z?

Question 2: Since the equals sign "=" has two inputs, the left hand side (LHS) and right hand side (RHS) expressions, is it also an operator?
How does one distinguish whether A+1 is the input or B+C is the input?
If "=" is an operator, what is the output? If "=" is not an operator, what is it?
 
Mathematics news on Phys.org
Welcome to PF, benno! :smile:The operation "+" on B and C has as output indeed "B+C".

The symbol "=" represents a "relation".Suppose we're only talking about the real numbers ##\mathbb R## with the regular addition "+" and the regular equality "=".Then, mathematically, "+" is a function, defined as:
$$+: \mathbb R \times \mathbb R \to \mathbb R \qquad \text{ with }(x,y) \mapsto x+y$$
That is, the plus function has two real numbers as input, and one real number as output.
The relation "=" defined on the real numbers is the set:
$$\{ (x,x) : x \in \mathbb R \}$$
That is, two real numbers have an equality relation with each other if they are the same number.
In your case "A+1" has an equality relation with "B+C".Btw, "=" can also be considered an operation.
In that case both "A+1" and "B+C" are inputs, and the output is either "true" or "false".
 
Thanks very much for the clear explanation. That was exactly what I was looking for.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
7K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
31
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K