LCM

From iMath
Jump to navigation Jump to search

Syntax

LCM ( expression, expression )


Implemented in iMath since version 2.2.0 or earlier.

Explanation

Calculate the lowest common multiple of two expressions. The expressions may be polynomials or numbers.


Example

EXDEF LCM(4 x y + x z + 20 y^2 + 21 y z + 4 z^2, x y + 3 x z + 5 y^2 + 19 y z + 12 z^2) will give the result (x + 5y + 4z)(y + 3z)(4y + z).

See also

LCM