Is subtraction commutative and consistent with other mathematical operations?

  • Thread starter lLovePhysics
  • Start date
  • Tags
    Properties
In summary, subtraction is not commutative. This means that the order of the terms in a subtraction equation matters and switching them around will result in a different answer. However, there are certain properties that can be applied to manipulate the terms in equations, such as multiplying by -1 or using the property that the square of any non-zero real number is positive. These properties are used in formulas like the slope and distance formulas to rearrange the terms and simplify the equations.
  • #1
lLovePhysics
169
0
Are there any communative properties of subtraction because there are many formulas like the slope and distance formulas where you can switch the two terms around right? For example:

Slope Formula: [tex]m=\frac{y1-y2}{x1-x2}[/tex]

You can switch the terms around so that it would be y2-y1, x2-x1 right?

Also for the distance formula:

[tex]\sqrt{(x1-x2)^{2}+(y1iy2)^{2}[/tex]


Btw, the numbers are suppose to be subscripts.
 
Mathematics news on Phys.org
  • #2
No, subtraction does not commute, but you could say something like [itex]|x-y|=|y-x|[/itex].

The reason you can swap the terms in the first equation you give is, since y1<y2 and x1<x2, swapping both the values of x on the top and y on the bottom will introduce a minus sign in both the numerator and denominator, which will cancel.

In the distance formula, you are squaring the difference between x1 and x2, and y1 and y2, which will make sure the answer is always positive.
 
  • #3
Subtraction is not commutative. In your example of the slope formula, you're just multiplying the numerator and denominator by -1. In the case of the dist. formula, you're using the property the square of any non-zero real number is positive.

P.S. For subsripts, use underscore, as in x_1. [tex]x_1[/tex]
 
  • #4
lLovePhysics said:
Are there any communative properties of subtraction ...

Well, as others have pointed out, the answer is no, there isn't. You can pick up a simple example and see:

3 - 2 = 1
whereas: 2 - 3 = -1.

Well, 1 and -1 are, of course, different. So, no, subtraction is not commutative. :)
 
  • #5
But you can also see that
[tex]3 - 2 = - (2 - 3)[/tex]
which you can read as shorthand for
[tex]-1 \times (2 - 3).[/tex]
Now this does always hold and explains why the formulas in your first post work out:
  • What happens if you multiply numerator and denominator by the same number in a fraction?
  • What happens if you square the opposite of a number (e.g. [itex]x^2 = x \times x[/itex] versus [itex](-x)^2 = (-x) \times (-x)[/itex].
 
Last edited:

1. What is subtraction?

Subtraction is a mathematical operation that involves taking away one number from another to find the difference or remainder.

2. What are the properties of subtraction?

The properties of subtraction include the commutative property, associative property, and the identity property.

3. What is the commutative property of subtraction?

The commutative property of subtraction states that the order of the numbers being subtracted does not affect the result. In other words, a-b and b-a will have the same difference.

4. What is the associative property of subtraction?

The associative property of subtraction states that when subtracting more than two numbers, the grouping of the numbers does not affect the result. In other words, (a-b)-c and a-(b-c) will have the same difference.

5. What is the identity property of subtraction?

The identity property of subtraction states that when subtracting a number from itself, the result will always be 0. In other words, a-a = 0.

Similar threads

Replies
2
Views
2K
  • Programming and Computer Science
Replies
6
Views
870
Replies
11
Views
6K
Replies
7
Views
2K
  • Precalculus Mathematics Homework Help
Replies
11
Views
8K
Replies
12
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Calculus
Replies
5
Views
1K
  • General Math
Replies
11
Views
3K
Back
Top