12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(y − z y) x 2 + (y + z y + 1 + z) x3.4 Polynomials • 61> collect(big_poly, z);(x y − y x 2 + x) z + x y + y x 2 + xMathematical OperationsYou can perform many mathematical operations on polynomials. Amongthe most fundamental is division, that is, to divide one polynomial intoanother and determine the quotient and remainder. Maple provides thecommands rem and quo to find the remainder and quotient of a polynomialdivision.> r := rem(x^3+x+1, x^2+x+1, x);r := 2 + x> q := quo(x^3+x+1, x^2+x+1, x);q := x − 1> collect( (x^2+x+1) * q + r, x );x 3 + x + 1On the other hand, sometimes it is sufficient to know whether onepolynomial divides into another polynomial exactly. The divide commandtests for exact polynomial division.> divide(x^3 - y^3, x - y);true> rem(x^3 - y^3, x - y, x);0You evaluate polynomials at values as you would with any expression,by using eval.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!