You already know how to find the H.C.F of two num­bers such as 1212 and 1818. In alge­bra the same ques­tion is asked about terms that con­tain let­ters, like 6x3y6x^{3}y and 18x2y318x^{2}y^{3}. The answer is again the biggest thing that divides every term exactly. You need this skill the moment you start fac­toris­ing: to fac­torise 6x3y+18x2y36x^{3}y + 18x^{2}y^{3} you first take out the H.C.F of the two terms.

What a mono­mial is

A mono­mial is a sin­gle alge­braic term: a num­ber mul­ti­plied by let­ters, with whole-num­ber pow­ers. 5xy5xy, 7a2-7a^{2} and 1212 are mono­mi­als. 3x+23x + 2 is not, because it has two terms joined by a plus sign.

Every mono­mial has two parts. The coef­fi­cient is the num­ber in front. The vari­able part is the let­ters with their pow­ers. In 18x2y318x^{2}y^{3} the coef­fi­cient is 1818 and the vari­able part is x2y3x^{2}y^{3}.

Remem­ber what a power means. x3x^{3} is x×x×xx \times x \times x, three xxs mul­ti­plied together. So a power sim­ply counts how many copies of a let­ter the term holds. That count­ing is the whole secret of this les­son.

The rule

The H.C.F of given mono­mi­als is the com­mon fac­tor hav­ing great­est coef­fi­cient and high­est pow­ers of the vari­ables.

Remem­ber. The rule above works in two halves. For the num­bers, find the H.C.F of the coef­fi­cients. For each let­ter, take it only if it appears in every term, and take the small­est power that appears. The phrase "high­est pow­ers" means the high­est power that still divides every term, and that is always the small­est power you can see.

Why the small­est power? Take x3x^{3} and x2x^{2}. The first holds three copies of xx, the sec­ond only two. A com­mon fac­tor can use only as many copies as both terms can spare, so it can use two. x3x^{3} would not divide x2x^{2}.

The method, step by step

  1. Write each mono­mial as its coef­fi­cient bro­ken into primes, times its let­ters.
  2. Find the H.C.F of the coef­fi­cients.
  3. List the let­ters that appear in every mono­mial. A let­ter miss­ing from even one term is left out.
  4. For each of those let­ters, take the small­est power.
  5. Mul­ti­ply the results together.

The acad­e­my's exam­ples

Ex: 1) Find H.C.F of 6x3y6x^{3}y and 18x2y318x^{2}y^{3}.

Sol: 6x3y=2×3×x3×y6x^{3}y = 2 \times 3 \times x^{3} \times y

 18x2y3=2×32×x2×y3\quad \quad \ 18x^{2}y^{3} = 2 \times 3^{2} \times x^{2} \times y^{3}

 H.C.F=2×3×x2×y\quad \quad \ \text{H.C.F} = 2 \times 3 \times x^{2} \times y

 =6x2y\quad \quad \quad \quad \quad \quad \ = 6x^{2}y

Here is what hap­pened in Exam­ple 1. The coef­fi­cients 66 and 1818 share 2×3=62 \times 3 = 6. The pow­ers of xx are 33 and 22, so we take x2x^{2}. The pow­ers of yy are 11 and 33, so we take yy. The pic­ture lines the fac­tors up in columns so you can see this.

Factor boxes for 6x cubed y and 18x squared y cubed lined up in columns; the shared boxes 2, 3, x, x, y are green and multiply to the H.C.F 6x squared y.
The fac­tors both mono­mi­als share, shown in green, give the H.C.F 6x2y6x^{2}y.

Check it by divid­ing: 6x3y÷6x2y=x6x^{3}y \div 6x^{2}y = x and 18x2y3÷6x2y=3y218x^{2}y^{3} \div 6x^{2}y = 3y^{2}. Both divi­sions come out with noth­ing left over, and xx and 3y23y^{2} share noth­ing more, so 6x2y6x^{2}y really is the high­est.

Ex: 2) Find H.C.F of 5xy5xy and 10x10x.

Sol: 5xy=5×x×y5xy = 5 \times x \times y

 10x=2×5×x\quad \quad \ 10x = 2 \times 5 \times x

 H.C.F=5x\quad \quad \ \text{H.C.F} = 5x

In Exam­ple 2 the let­ter yy appears in 5xy5xy but not in 10x10x. So yy can­not be part of the H.C.F. The coef­fi­cients 55 and 1010 have H.C.F 55, and xx appears once in each, giv­ing 5x5x.

The next four are given with their answers. Try each one your­self before read­ing the rea­sons below.

Ex: 3) H.C.F of 12a2b12a^{2}b and 15ab215ab^{2} is 3ab

Ex: 4) H.C.F of 2x2x and 44 is 2

Ex: 5) H.C.F of 12x12x and 3636 is 12

Ex: 6) H.C.F of 14pq14pq and 35pqr35pqr is 7pq

Why those four answers are right

  • 12a2b12a^{2}b and 15ab215ab^{2}: the H.C.F of 1212 and 1515 is 33; the smaller power of aa is aa; the smaller power of bb is bb. So 3ab3ab.
  • 2x2x and 44: the H.C.F of 22 and 44 is 22. The term 44 has no xx, so no let­ter is taken. So 22.
  • 12x12x and 3636: 1212 divides 3636, so the H.C.F of the num­bers is 1212, and again 3636 has no xx. So 1212.
  • 14pq14pq and 35pqr35pqr: the H.C.F of 1414 and 3535 is 77; pp and qq are in both; rr is in only one. So 7pq7pq.

More worked exam­ples

Exam­ple 7: three mono­mi­als

Find the H.C.F of 8a3b28a^{3}b^{2}, 12a2b412a^{2}b^{4} and 20a4b320a^{4}b^{3}.

8a3b2=23×a3×b212a2b4=22×3×a2×b420a4b3=22×5×a4×b3H.C.F=22×a2×b2=4a2b2\begin{aligned}8a^{3}b^{2} &= 2^{3} \times a^{3} \times b^{2} \\ 12a^{2}b^{4} &= 2^{2} \times 3 \times a^{2} \times b^{4} \\ 20a^{4}b^{3} &= 2^{2} \times 5 \times a^{4} \times b^{3} \\ \text{H.C.F} &= 2^{2} \times a^{2} \times b^{2} = 4a^{2}b^{2}\end{aligned}

The only prime in all three coef­fi­cients is 22, and the small­est count of it is two. The small­est power of aa is 22, and the small­est power of bb is 22.

Exam­ple 8: a let­ter in one term only

Find the H.C.F of 9x2y9x^{2}y and 15xy2z15xy^{2}z.

9x2y=32×x2×y15xy2z=3×5×x×y2×zH.C.F=3×x×y=3xy\begin{aligned}9x^{2}y &= 3^{2} \times x^{2} \times y \\ 15xy^{2}z &= 3 \times 5 \times x \times y^{2} \times z \\ \text{H.C.F} &= 3 \times x \times y = 3xy\end{aligned}

The let­ter zz is left out, because 9x2y9x^{2}y has none.

Exam­ple 9: noth­ing in com­mon

Find the H.C.F of 7m27m^{2} and 11n11n. The coef­fi­cients 77 and 1111 are dif­fer­ent primes, so their H.C.F is 11. The two terms share no let­ter. So the H.C.F is 11. That is a per­fectly good answer: it tells you the terms have no com­mon fac­tor except 11.

Where this is used

The H.C.F is exactly what you take out when you fac­torise. Because 6x2y6x^{2}y is the H.C.F of 6x3y6x^{3}y and 18x2y318x^{2}y^{3}, you can write

6x3y+18x2y3=6x2y(x+3y2)6x^{3}y + 18x^{2}y^{3} = 6x^{2}y\,(x + 3y^{2})

Mul­ti­ply the bracket back out to check: 6x2y×x=6x3y6x^{2}y \times x = 6x^{3}y and 6x2y×3y2=18x2y36x^{2}y \times 3y^{2} = 18x^{2}y^{3}.

When a coef­fi­cient is neg­a­tive

Signs do not change the method. Find the H.C.F of 6x2y-6x^{2}y and 21xy321xy^{3} by ignor­ing the minus sign while you work. The H.C.F of 66 and 2121 is 33; the smaller power of xx is xx; the smaller power of yy is yy. So the H.C.F is 3xy3xy. By cus­tom the H.C.F is writ­ten as a pos­i­tive term. When you fac­torise, the minus sign sim­ply stays inside the bracket: 6x2y+21xy3=3xy(2x+7y2)-6x^{2}y + 21xy^{3} = 3xy(-2x + 7y^{2}).

How to check any answer

A good habit is to test your H.C.F in two ways before you move on.

  1. Does it divide every term? Divide each mono­mial by your answer. Each result must be a mono­mial with a whole-num­ber coef­fi­cient and no neg­a­tive pow­ers.
  2. Is it the high­est? Look at the results of those divi­sions. If they still share a num­ber big­ger than 11, or a let­ter, your answer was too small.

For Exam­ple 7, divid­ing by 4a2b24a^{2}b^{2} gives 2a2a, 3b23b^{2} and 5a2b5a^{2}b. No num­ber other than 11 divides 22, 33 and 55, and no let­ter is in all three. So 4a2b24a^{2}b^{2} passes both tests.

Sup­pose a stu­dent had writ­ten 2ab2ab instead. It does divide all three terms, so it passes the first test. But divid­ing gives 4a2b4a^{2}b, 6ab36ab^{3} and 10a3b210a^{3}b^{2}, which still share 2ab2ab. So 2ab2ab is a com­mon fac­tor, but not the high­est one.

Your turn

Find the H.C.F of each set of mono­mi­als.

  1. 4x24x^{2} and 6x6x
  2. 9ab9ab and 12b212b^{2}
  3. 10p3q10p^{3}q and 25p2q225p^{2}q^{2}
  4. 16xyz16xyz and 24x2z24x^{2}z
  5. 3m2n3m^{2}n, 6mn26mn^{2} and 9m3n39m^{3}n^{3}
  6. 18a2b3c18a^{2}b^{3}c and 27a3b227a^{3}b^{2}
  7. 5x25x^{2} and 7y27y^{2}
  8. 6x2y-6x^{2}y and 21xy321xy^{3}

Com­mon mis­takes

  • Tak­ing the largest power instead of the small­est. The H.C.F of x3x^{3} and x2x^{2} is x2x^{2}, not x3x^{3}.
  • Includ­ing a let­ter that is miss­ing from one of the terms, such as putting yy in the H.C.F of 5xy5xy and 10x10x.
  • Find­ing the L.C.M of the coef­fi­cients by mis­take, for exam­ple giv­ing 1818 instead of 66 for 66 and 1818.
  • For­get­ting the coef­fi­cient alto­gether and writ­ing only the let­ters.
  • Think­ing an answer of 11 is wrong. When terms share noth­ing, the H.C.F is 11.

Key terms

Mono­mial
A sin­gle alge­braic term, such as 6x3y6x^{3}y.
Coef­fi­cient
The num­ber that mul­ti­plies the let­ters in a term.
Vari­able
A let­ter that stands for a num­ber.
Power (expo­nent)
The small raised num­ber that counts how many copies of a let­ter are mul­ti­plied.
Com­mon fac­tor
Some­thing that divides every given term exactly.
H.C.F of mono­mi­als
The com­mon fac­tor with the great­est coef­fi­cient and the high­est pow­ers that divide every term.

Answers

  1. 2x2x
  2. 3b3b
  3. 5p2q5p^{2}q
  4. 8xz8xz
  5. 3mn3mn
  6. 9a2b29a^{2}b^{2}
  7. 11, because the terms share no fac­tor.
  8. 3xy3xy. The minus sign belongs to one term only, so the H.C.F is taken as pos­i­tive.