Math for Computer Science

2 | Negative numbers

Back to Table of Contents
Previous Lesson Next Lesson

Examples
Practice Problems

Introduction

What are negative numbers?

  • Any number less than zero is a negative number.
  • All of the negative whole numbers, along with zero and all of the positive whole numbers, are known as integers.
  • On a number line, numbers always increase (become "more positive") to the right and decrease (become "more negative") to the left.

Examples

Points on a number line

Your browser does not support the canvas element.

Q: Where is the blue dot on the number line?

A: Since numbers become "more negative" to the left on a number line, we can count back from zero to find that the blue dot is located at -3.


Distance between points

Your browser does not support the canvas element.

Q: What is the distance between -3 and 5?

A: Since -3 is 3 units from zero and 5 is 5 units from zero, the distance between -3 and 5 is a total of 8 units.

Practice | Negative Numbers

Click "Create Report" upon completion of any practice set to document your progress: Example