The test of factorization

Parent Previous Next

A test of factorization  is a value allowing to know if the formula of a calculation or a function is factorized by the formula of another calculation or function.

The returned value is 1 if the factorization is possible and else 0.

This type of object is used to publish online exercises with MathGraph32 applet or JavaScript library.

For instance, if the function f  contains the formula 2*(2*x+3)*(1-x^2) and if the function g contains the formula 3+x*2, a test of factorization of f through g will return 1 for value. But if g contains the formula 1+x, it will return 0.

To create such an object you must use icon of the calculations expandable bar (third from the bottom).

A dialog box pops up.

You must select in the left and right list boxes the calculations to be compared. If you check the Replacement of values through comparison checkbox, the calls to variables or calculations will be replaced with their numerical value before the comparison.

For instance, if a et b are two real calculations containing the values 2 and 3, if calc1 is a calculation containing formula sqrt(3)*5*sqrt(2)*3 and if calc2 is a calculation containing formula b*sqrt(a), a test of factorization created by checking the checkbox Replacement of values through comparison for calc2 will return value 1.