El producte de dos polinomis el trobem multiplicant cadascun dels termes d’un dels polinomis per l’altre, i sumant després els polinomis obtinguts a les multiplicacions.
Exemple:
$ P(x)=4x^3-5x+1 $
$ Q(x)=2x^2-7 $
$ P(x) \cdot Q(x)= \left ( 4x^3-5x+1 \right ) \cdot \left ( 2x^2-7 \right )= $
$ = (4 \cdot 2 ) \cdot (x^3 \cdot x^2) + (4 \cdot (-7)) \cdot (x^3) + (-5 \cdot 2) \cdot (x \cdot x^2) + (-5 \cdot (-7)) \cdot (x) + (1 \cdot 2) \cdot (x^2) + (1 \cdot (-7))= $
$ = 8x^5-28x^3-10x^3+35x+2x^2-7 = $
$ = 8x^5-38x^3+2x^2+35x-7 $
wxMaxima code:
(%i1) p:4*x^3-5*x+1;
(%o1) $ 4x^3-5x+1 $
(%i2) q:2*x^2-7;
(%o2) $ 2x^2-7 $
(%i3) expand(p*q);
(%o3) $ 8x^5-38x^3+2x^2+35x-7 $
Comentaris
Publica un comentari a l'entrada