Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
gcdex - extended Euclidean algorithm for polynomials
Calling Sequence
gcdex(A, B, x, 's', 't')
gcdex(A, B, C, x, 's','t')
Parameters
A, B, C
-
polynomials in the variable x
x
variable name
s, t
(optional) unevaluated names
Description
If the number of parameters is less than six, gcdex applies the extended Euclidean algorithm to compute unique polynomials s, t and g in x such that where g is the monic GCD (Greatest Common Divisor) of A and B. The results computed satisfy and . The GCD g is returned as the function value.
In the case of six parameters, gcdex solves the polynomial Diophantine equation for polynomials s and t in x. Let g be the GCD of A and B. The input polynomial C must be divisible by g. The polynomial s computed satisfies . If then the polynomial t will satisfy . The NULL value is returned as the function value.
Note that if the input polynomials are multivariate then, in general, s and t will be rational functions in variables other than x.
Examples
See Also
degree, gcd, Gcdex, igcdex
Download Help Document