Files
freeCodeCamp/guide/english/mathematics/adding-and-subtracting-negative-numbers/index.md
Logan 85ef1445c3 <pre> formatting for index.md (#26986)
Examples were jumbling together, added formatting to help with readability
2019-01-16 23:03:31 -05:00

23 lines
973 B
Markdown

---
title: Adding and Subtracting Negative Numbers
---
## Adding and Subtracting Negative Numbers
Adding and subtracting positive numbers is fairly straighforward, but what does it mean to add and subtract negative numbers? Let's look at a real world example to get a better idea. Suppose we have a basket with some balloons tied to it pushing it upward and some weights tied to it pushing it down. Think of the force pulling the balloon up as a positive number and the force pulling it down as a negative number. If we add more weights, it's like we're adding a negative number and the basket gets pulled down. If we remove weights, we are subtracting a negative number and the basket gets pulled up.
### Examples
<pre>(-1) + 3 = 2</pre>
<pre>(-3) + (-3) = -6</pre>
<pre>(-2) - 4 = -6</pre>
<pre>(-10) + 2 = -8</pre>
<pre>20 + (-44) = -24</pre>
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->