Lesson 4: Expressing Size and Magnitude

Introduction

In computer science, artificial intelligence, and data analytics, numbers can become extremely large or extremely small. For example:

  • The number of parameters in deep learning models can reach billions.
  • The probability of rare events may be very small numbers.
  • Computer storage and data transfer use prefixes like kilobytes, gigabytes, and terabytes.

To work efficiently with such numbers, mathematics uses methods such as scientific notation, metric prefixes, and unit conversions. These tools allow engineers and AI developers to express quantities clearly and avoid calculation errors.

This lesson introduces methods for expressing size and magnitude, converting between measurement systems, and converting temperature units commonly used in computing environments.

4.1 Scientific Notation

Definition

Scientific notation is a way of writing very large or very small numbers using powers of 10.

A number in scientific notation has the form:

 
a × 10^n
 

Where:

 
1 ≤ a < 10
n = integer exponent
 

Why Scientific Notation Is Important in AI

Scientific notation is commonly used in:

  • Machine learning probabilities
  • Large datasets
  • Computational complexity
  • Hardware storage measurements
  • Signal processing

For example:

Number Scientific Notation
650000000 6.5 × 10^8
0.0000023 2.3 × 10^-6
34000000 3.4 × 10^7

Converting Large Numbers

Example 1

Convert:

 
5200000
 

Step 1: Move the decimal point

 
5200000 → 5.2
 

Step 2: Count moves

 
6 places
 

Result:

 
5.2 × 10^6
 

Example 2

Convert:

 
9800000000
 

Solution:

 
9.8 × 10^9
 

Converting Small Numbers

Example 3

Convert:

 
0.00047
 

Move decimal right until number is between 1 and 10.

 
4.7
 

Moves:

 
4 places
 

Result:

 
4.7 × 10^-4
 

Example 4

Convert:

 
0.00000081
 

Solution:

 
8.1 × 10^-7
 

4.2 Metric Prefixes (Giga to Pico)

In computing and science, metric prefixes represent powers of 10.

Prefix Symbol Power of 10 Example
Giga G 10^9 Gigabyte
Mega M 10^6 Megabyte
Kilo k 10^3 Kilogram
Milli m 10^-3 Millisecond
Micro µ 10^-6 Microprocessor
Nano n 10^-9 Nanotechnology
Pico p 10^-12 Picosecond

Example

Convert:

 
3 GB to MB
 

Since

 
1 GB = 1000 MB
 

Then:

 
3 × 1000 = 3000 MB
 

Example

Convert:

 
5000 millimeters to meters
 

Since:

 
1 m = 1000 mm
 

Then:

 
5000 ÷ 1000 = 5 m
 

4.3 SI Units vs Imperial Units

Two common measurement systems exist:

Measurement SI Units Imperial Units
Length meter (m) inch, foot
Mass kilogram (kg) pound
Distance kilometer (km) mile
Volume liter gallon

Common Conversions

Imperial SI Equivalent
1 mile 1.6 km
1 inch 2.54 cm
1 foot 0.3048 m

Example

Convert:

 
10 miles to kilometers
 

Solution:

 
10 × 1.6 = 16 km
 

Example

Convert:

 
25 inches to centimeters
 

Solution:

 
25 × 2.54 = 63.5 cm
 

4.4 Temperature Conversion

Temperature conversions are common in engineering, electronics, and environmental data analysis.

The two common scales are:

  • Celsius (°C)

  • Fahrenheit (°F)

Fahrenheit to Celsius Formula

 
C = (F – 32) / 1.8
 

Example

Convert:

 
86°F to Celsius
 

Solution:

 
C = (86 – 32) / 1.8
C = 54 / 1.8
C = 30°C
 

Celsius to Fahrenheit Formula

 
F = (C × 1.8) + 32
 

Example

Convert:

 
25°C to Fahrenheit
 

Solution:

 
F = (25 × 1.8) + 32
F = 45 + 32
F = 77°F
 

Key Concepts to Remember

• Scientific notation simplifies very large and very small numbers.
• Metric prefixes represent powers of ten.
• Unit conversions are essential for scientific and engineering calculations.
• SI units are used globally in science and computing.
• Temperature conversions are important for physical computing systems and sensors.