Write the following expression in its most factored form:
expr(["+", ["*", A, "x"], B])
To factor a polynomial, you should first try to find the greatest common factor of all the terms.
The factors of Ax are
Ax_FACTORS and the factors of
B are B_FACTORS.
The greatest common factor of Ax
and B is
GCD.
Since the greatest common factor is 1,
the expression is already in its most factored form.
Therefore the answer is the original expression,
SOLUTION.
We can factor out the GCD and
put it before the parenthesis.
If we divide each of the terms in the original
expression by GCD we get
\dfrac{Ax}{GCD} =
plus((A/GCD) + "x") and
\dfrac{B}{GCD} =
B/GCD.
So the factored expression is
SOLUTION.