Common Factors Calculator

Common Factors Visualization
Enter two numbers

Understanding Common Factors

What are Common Factors?

Common factors are positive integers that divide evenly into two or more numbers without leaving a remainder. They are fundamental concepts in number theory and have practical applications in various mathematical operations, including fraction simplification and problem-solving in algebra.

Formula for Finding Common Factors

To find the common factors of two numbers \(a\) and \(b\):

  1. Find the factors of \(a\): \(F(a) = \{x : a \bmod x = 0, 1 \leq x \leq a\}\)
  2. Find the factors of \(b\): \(F(b) = \{y : b \bmod y = 0, 1 \leq y \leq b\}\)
  3. Find the intersection: \(CF(a,b) = F(a) \cap F(b)\)

Where:

  • \(F(a)\) and \(F(b)\) are the sets of factors for \(a\) and \(b\) respectively
  • \(CF(a,b)\) is the set of common factors
  • \(\cap\) represents the intersection of two sets

Calculation Steps

Let's find the common factors of 12 and 18:

  1. Factors of 12: \(F(12) = \{1, 2, 3, 4, 6, 12\}\)
  2. Factors of 18: \(F(18) = \{1, 2, 3, 6, 9, 18\}\)
  3. Common factors: \(CF(12,18) = F(12) \cap F(18) = \{1, 2, 3, 6\}\)

Example and Visual Representation

Common Factors of 12 and 18 1, 2, 3, 6 Factors of 12: 1, 2, 3, 4, 6, 12 Factors of 18: 1, 2, 3, 6, 9, 18 GCF: 6

This diagram illustrates the common factors of 12 and 18, showing their individual factors and the common factors they share.