Example — GCD and LCM with factorisation
Calculate the GCD and LCM of and .
Factorisation of (partial grouping):
2x^3+3x^2-2x-3 &= x^2(2x+3) - (2x+3) \\ &= (x^2-1)(2x+3) = \boxed{(x-1)(x+1)(2x+3)} \end{aligned}$$ **Factorisation of $P_2$** (substitution $t=x^2$): $$\begin{aligned} x^4+2x^2-3 &= t^2+2t-3 = (t-1)(t+3) \\ &= (x^2-1)(x^2+3) = \boxed{(x-1)(x+1)(x^2+3)} \end{aligned}$$
Observation
is irreducible in : it is always positive, so it has no real roots.
Comparing the factors of the two polynomials:
| ✓ | ✓ | ✓ | ||
| ✓ | ✓ | ✓ | ||
| GCD | ✓ | ✓ | ||
| LCM | ✓ | ✓ | ✓ | ✓ |
The GCD collects the common factors, the LCM all the factors:
Links
Topics: Algebraic calculation
Concepts: GCD · LCM · Irreducible polynomial · Factorisation
Skills: Calculating · Factorising