Algebraic Greatest Common Factor

This article shows how to calculate algebraic Greatest Common Factor by means of simple examples.

In Case 1 the method produces a unique GCF (if there is one).

In Case 2 the method produces several possibilities, any one of which could be the GCF depending on parameters supplied.

In Case 3 the method solves for a given variable if there are two equations containing two variables.

Case 1: the unique GCF edit


Let two functions (f1) and (f2) be defined as follows:


  .... (f1)


  .... (f2)


The aim is to produce the GCF of (f1) and (f2).


(f1) and (f2) both have maximum power of x equal to 3 and they are not identical. Continue. Use (f1) and (f2) to produce two functions in which the maximum power of x equals 2.


2(f1) - (f2),   .... (f3)


715(f1) - 231(f2),   .... (f4)


(f3) and (f4) both have maximum power of x equal to 2 and they are not identical. Continue. Use (f3) and (f4) to produce two functions in which the maximum power of x equals 1.


15(f4) - 69(f3),   .... (f5)


2167(f3) - 253(f4),   .... (f6)


(f5) and (f6) are identical. Therefore   is the GCF of (f1) and (f2).


Case 2: solving the cubic edit


We will use the method to predict whether or not a given cubic function contains equal roots and, if so, how to calculate equal roots.

Equal roots occur where the function and the slope of the function both equal 0.


 


The cubic is given by (f0) and its derivative by (f1). The aim is to find the GCF of (f0) and (f1).

(f0) contains maximum power of x equal to 3. (f1) contains maximum power of x equal to 2.

Combine (f0) and (f1) to produce a second function containing maximum power of x equal to 2.


 


(f1) and (f2) both have maximum power of x equal to 2. Use (f1) and (f2) to produce two functions in which the maximum power of x equals 1.


 


(f3) and (f4) both have maximum power of x equal to 1. Use (f3) and (f4) to produce two values in which the variable x has been eliminated.


 


(f5) and (f6) are identical, showing that we have not made any mistakes. Note that (f5) is the discriminant of the solution of the cubic equation.

Look at (f3) and (f4) again. From (f3) and (f4):


 


where  

= the discriminant of the solution of the cubic equation.


Example 1



 


Produce (f3) and (f4) for (e1).


 


(f3) and (f4) are not identical. (f5) is non-zero and there are no equal roots.


Example 2



 


Produce (f3) and (f4) for (e2).


 


(f3) and (f4) are identical. (f5) is zero and (e2) contains exactly two roots equal to 7/2.


Example 3



 


Produce (f3) and (f4) for (e3).


0 .... (f3)

0 .... (f4)


(f3) and (f4) are identical, although null. (f5) is zero and (e3) contains equal roots. To identify the roots, produce (f1) and (f2) for (e3).


 


(f1) and (f2) are identical with discriminant 0, as expected.


From   and (e3) contains three roots equal to -11/3.

Case 3: Solving for a given variable in two equations with two unknowns. edit


Let two functions in   and   be defined as follows:


 


In functions (f0) and (f1) the values   are constants. The aim is to eliminate   and produce a function in  . Express both functions as functions in  .


 


(f2) contains maximum power of   equal to 3. (f3) contains maximum power of   equal to 2.

Combine (f2) and (f3) to produce a second function containing maximum power of   equal to 2.


 


(f3) and (f4) both have maximum power of   equal to 2. Use (f3) and (f4) to produce two functions in which the maximum power of   equals 1.


 


(f5) and (f6) both have maximum power of   equal to 1. Use (f5) and (f6) to produce two values in which the variable   has been eliminated.


from (f5), let

 

and let

 


from (f6), let

 

and let

 


 


(f7) and (f8) are identical.   has been eliminated from (f7). Express (f7) as a function in Q.

 

The constant term of (f9)

 


where   is the discriminant of the solution of the cubic.


This method has combined (f0) and (f1) to eliminate   and produce a function in Q.