Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Shopping at the store helps maintain the site. Thank you.
Learning Math Online
Sites for teachers
Sites for parents
Terms of use
Awards
Interactive Activities

CTK Exchange
CTK Wiki Math
CTK Insights - a blog
Math Help

III Millennium Olympiad

Games & Puzzles
What Is What
Arithmetic
Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Sites for parents

Education & Parenting

Manifesto  |  Bookstore  |  Contents  |  Amazon store  |  Term index  |  What changed?  |  Contact  |  Recommend
RSS Feed: Recent changes at CTK

Factoring with the Factor Tree

Factoring, i.e., listing all the prime factors, of an integer is a useful skill that often helps to solve math problems. For example, one of the ways to find the GCD (Greatest Common Divisor) or LCM (Least Common Multiple) of two integers is by listing all their prime factors. The GCD is then the product of all the common factors; the LCM is the product of all the remaining ones.

The applet below is a tool for finding such prime factorizations with the device known as the Factor Tree, meaning that you proceed a step at a time. At the beginning you are given a number, say N, which is to be factored and two boxes beneath it. The boxes are to be filled with two numbers, say, N1 and N2 - factors of N - such that N = N1 × N2. (You only need to find one factor. If one is found correctly, the other is filled out automatically. (In "real life," you may use a calculator or the long division algorithm.) Note that the two numbers need not be prime. The one which is not will grow two boxes beneath it so that you'll be able to proceed with further factoring until all the prime factors have been found.

Do not be intimidated if you can't list all the factors right away. You do not have to. Just finding one factor will simplify the problem. Remember the divisibility rules. An even number is divisible by 2. A number is divisible by 3 if the sum of its digits is divisible by 3. The number that ends in 5 is divisible by 5 and the one that ends in 10 is divisible by 10.

While the prime factorization is unique (up to the order of factors), the factor tree reflects the order in which the factors were found, and is by no means unique. So you do not have to worry about finding a "correct" factor at any step. Any factor will do. Check the three examples of factoring of 108:

  A factor tree for 108, #1  A factor tree for 108, #2  A factor tree for 108, #3

(There is a button at the bottom of the applet that allows you to repeat a problem and see for yourself that different factor trees still produce the same prime factorizaion for any number.)

At any time there may be several boxes to type in the factors. Choose any of them. After typing in a number Press the Enter key. How do you choose a box? You may click on it or you may press the Tab key 1 or more times to get to the box of your choice.

 

This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Buy this applet
What if applet does not run?

(Elsewhere we use two factor trees simultaneously to find the greatest common divisor and the least common multiple of two numbers.)

Copyright © 1996-2010 Alexander Bogomolny

35694599Page copy protected against web site content infringement by Copyscape

Search:
Keywords:

Google
Web CTK