- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What will be the result when adding a positive integer to a negative integer?
Addition of integers means there are three possibilities. They are:
Addition between two positive numbers,
Addition between two negative numbers and
Addition between a positive number and a negative number.
Addition of two positive integers always gives a positive integer.
$(2+3=5)$.
Addition of two negative integers always give a negative integer.
$[-2+(-3)=-(2+3)=-5]$.
To add integers with different signs, keep the sign of the number with the largest absolute value and subtract the smallest absolute value from the largest.
$[-10+8=-(10-8)=-2]$.
If the absolute value of the positive number is greater than the absolute value of the negative number then the result is positive.
For example,
$10+(-7) = 10-7 = 3$.
If the absolute value of the negative number is greater than the absolute value of the positive number then the result is negative.
For example,
$5+(-8) = -(8-5) = -3$. Here, absolute value of -8 which is 8 is greater than absolute value of 5 which is 5.