All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Modular Polynomial Arithmetic (Posted on 2008-04-16) Difficulty: 3 of 5
Devise an algorithm which, for any polynomial P(x), will determine the polynomial remainder of P(x)/(x^2+x+1) without actually performing the division.

See The Solution Submitted by Brian Smith    
Rating: 4.0000 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
plug in | Comment 4 of 5 |

Let r=(i*sqrt(3)-1)/2 and s=(-i*sqrt(3)-1)/2

P(x)=Q(x)(x-r)(x-s) + ax+b where Q is the quotient and ax+b is the remainder.

P(r)=ar+b  and  P(s)=as+b -->

a = ( P(r)-P(s) )/(i*sqrt(3))

b = ( P(r)+P(s)+a )/2

For example, with P(x)=2x^5 - 3x^2 + x + 4

P(r)=4+sqrt(3)*i  and  P(s)=4-sqrt(3)*i -->

a=2  and  b=5 --> remainder of 2x+5

Of course, you're going to want to use at least a graphing calculator for the computations.


  Posted by Dennis on 2008-04-17 11:12:52
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (22)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information