Message Boards Message Boards

0
|
3080 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Polynomial rest (can i use Mod-command?)

Posted 10 years ago

If I want to know a rest polynomial divided by a lower ponomial

Tried

Mod[{ x^3 + 6x^2 + 13x + 9},{x^2+2*x+1}]

that did not work

POSTED BY: peter B
3 Replies

PolynomialQuotientRemainder returns a list with the quotient in the first position and the remainder in the second. You only asked for the remainder, that his why I chose the second entry of that list.

Cheers,

Marco

POSTED BY: Marco Thiel
Posted 10 years ago

Thanks, it worked! But what does the [[2]] for?

POSTED BY: peter B

Hi,

what about

PolynomialQuotientRemainder[x^3 + 6 x^2 + 13 x + 9, x^2 + 2*x + 1, x][[2]]

Cheers, Marco

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract