Adapting the Chinese Remainder Theorem (CRT) for integers to polynomials Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)mod Distributive Law, factoring $!!bmod!!:$ $ abbmod ac = a(bbmod c)$Remainder of polynomial by product of 2 polynomials$f$ dividing by $x + 1$ have remainder 4, when dividing with $x^2 + 1$ have remainder 2x+3. Find remainder dividing polynomial with($x+1$)($x^2+1$)chinese remainder theorem proofChinese Remainder Theorem InterpretationChinese Remainder Theorem clarificationI can't use Chinese Remainder Theorem.Chinese Remainder Theorem for $xequiv 0 pmody$Comparing two statements of Chinese Remainder Theorem (Sun-Ze Theorem)Chinese remainder theorem methodChinese Remainder Theorem problem 7Chinese Remainder Theorem with 0 mod nSolve a system of congruences using the Chinese Remainder Theorem

Is it OK to use the testing sample to compare algorithms?

What was the last profitable war?

Twin's vs. Twins'

Why is there so little support for joining EFTA in the British parliament?

NIntegrate on a solution of a matrix ODE

How to ask rejected full-time candidates to apply to teach individual courses?

Adapting the Chinese Remainder Theorem (CRT) for integers to polynomials

Why not use the yoke to control yaw, as well as pitch and roll?

Are there any irrational/transcendental numbers for which the distribution of decimal digits is not uniform?

Is the time—manner—place ordering of adverbials an oversimplification?

Did pre-Columbian Americans know the spherical shape of the Earth?

Inverse square law not accurate for non-point masses?

What does 丫 mean? 丫是什么意思?

Does the universe have a fixed centre of mass?

Keep at all times, the minus sign above aligned with minus sign below

How could a hydrazine and N2O4 cloud (or it's reactants) show up in weather radar?

Table formatting with tabularx?

In musical terms, what properties are varied by the human voice to produce different words / syllables?

Can two people see the same photon?

Any stored/leased 737s that could substitute for grounded MAXs?

Determine whether an integer is a palindrome

Centre cell vertically in tabularx

Did John Wesley plagiarize Matthew Henry...?

Does a random sequence of vectors span a Hilbert space?



Adapting the Chinese Remainder Theorem (CRT) for integers to polynomials



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)mod Distributive Law, factoring $!!bmod!!:$ $ abbmod ac = a(bbmod c)$Remainder of polynomial by product of 2 polynomials$f$ dividing by $x + 1$ have remainder 4, when dividing with $x^2 + 1$ have remainder 2x+3. Find remainder dividing polynomial with($x+1$)($x^2+1$)chinese remainder theorem proofChinese Remainder Theorem InterpretationChinese Remainder Theorem clarificationI can't use Chinese Remainder Theorem.Chinese Remainder Theorem for $xequiv 0 pmody$Comparing two statements of Chinese Remainder Theorem (Sun-Ze Theorem)Chinese remainder theorem methodChinese Remainder Theorem problem 7Chinese Remainder Theorem with 0 mod nSolve a system of congruences using the Chinese Remainder Theorem










2












$begingroup$


I did a few examples using the CRT to solve congruences where everything was in terms of integers. I'm trying to use the same technique for polynomials over $mathbbQ$, but I'm getting stuck.




Here's an example with integers:



$begincasesx equiv 1 , (mathrmmod , 5) \
x equiv 2 , (mathrmmod , 7) \
x equiv 3 , (mathrmmod , 9) \
x equiv 4 , (mathrmmod , 11).
endcases$



Since all the moduli are pairwise relatively prime, we can use the CRT. Here's some notation I'm using:



$bullet , M$ denotes the product of the moduli (in this case, $M = 5 cdot7 cdot 9 cdot 11$)



$bullet , m_i $ denotes the modulus in the $i^mathrmth$ congruence



$bullet , M_i$ denotes $dfracMm_i$



$bullet , y_i$ denotes the inverse of $M_i$ (mod $m_i$), i.e. $y_i$ satisfies $y_i M_i equiv 1$ (mod $m_i$).



Then $x = displaystyle sum_i = 1^n a_iM_iy_i$, and this solution is unique (mod $M$).




Now I want to apply the same technique to the following:



$begincases
f(x) equiv 1 , (mathrm mod , x^2 + 1) \
f(x) equiv x , (mathrmmod , x^4),
endcases$



where $f(x) in mathbbQ(x)$. Having checked that the moduli are relatively prime, we should be able to use the CRT. Using the notation above, I have the following:



$M = (x^4)(x^2 + 1)$



$M_1 = x^4$



$M_2 = x^2 + 1$



Here's where I run into a problem. I need to find $y_1, y_2$ such that



$begincases
y_1 (x^4) equiv 1 , (mathrmmod , x^2 + 1) \
y_2 (x^2+1) equiv 1 , (mathrmmod , x^4).
endcases$



But how does one find $y_1, y_2$?










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    "Having checked that the moduli are relatively prime..." but that means precisely that there exist $p_1(x)$ and $p_2(x)$ such that $p_1(x)x^4 + p_2(x)(x^2+1)=1$.
    $endgroup$
    – kccu
    5 hours ago










  • $begingroup$
    Are you saying that I can find $p_1(x)$ and $p_2(x)$ in general by using the extended Euclidean algorithm, and that $p_1(x)$ and $p_2(x)$ are precisely my $y_1$ and $y_2$?
    $endgroup$
    – Junglemath
    5 hours ago















2












$begingroup$


I did a few examples using the CRT to solve congruences where everything was in terms of integers. I'm trying to use the same technique for polynomials over $mathbbQ$, but I'm getting stuck.




Here's an example with integers:



$begincasesx equiv 1 , (mathrmmod , 5) \
x equiv 2 , (mathrmmod , 7) \
x equiv 3 , (mathrmmod , 9) \
x equiv 4 , (mathrmmod , 11).
endcases$



Since all the moduli are pairwise relatively prime, we can use the CRT. Here's some notation I'm using:



$bullet , M$ denotes the product of the moduli (in this case, $M = 5 cdot7 cdot 9 cdot 11$)



$bullet , m_i $ denotes the modulus in the $i^mathrmth$ congruence



$bullet , M_i$ denotes $dfracMm_i$



$bullet , y_i$ denotes the inverse of $M_i$ (mod $m_i$), i.e. $y_i$ satisfies $y_i M_i equiv 1$ (mod $m_i$).



Then $x = displaystyle sum_i = 1^n a_iM_iy_i$, and this solution is unique (mod $M$).




Now I want to apply the same technique to the following:



$begincases
f(x) equiv 1 , (mathrm mod , x^2 + 1) \
f(x) equiv x , (mathrmmod , x^4),
endcases$



where $f(x) in mathbbQ(x)$. Having checked that the moduli are relatively prime, we should be able to use the CRT. Using the notation above, I have the following:



$M = (x^4)(x^2 + 1)$



$M_1 = x^4$



$M_2 = x^2 + 1$



Here's where I run into a problem. I need to find $y_1, y_2$ such that



$begincases
y_1 (x^4) equiv 1 , (mathrmmod , x^2 + 1) \
y_2 (x^2+1) equiv 1 , (mathrmmod , x^4).
endcases$



But how does one find $y_1, y_2$?










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    "Having checked that the moduli are relatively prime..." but that means precisely that there exist $p_1(x)$ and $p_2(x)$ such that $p_1(x)x^4 + p_2(x)(x^2+1)=1$.
    $endgroup$
    – kccu
    5 hours ago










  • $begingroup$
    Are you saying that I can find $p_1(x)$ and $p_2(x)$ in general by using the extended Euclidean algorithm, and that $p_1(x)$ and $p_2(x)$ are precisely my $y_1$ and $y_2$?
    $endgroup$
    – Junglemath
    5 hours ago













2












2








2





$begingroup$


I did a few examples using the CRT to solve congruences where everything was in terms of integers. I'm trying to use the same technique for polynomials over $mathbbQ$, but I'm getting stuck.




Here's an example with integers:



$begincasesx equiv 1 , (mathrmmod , 5) \
x equiv 2 , (mathrmmod , 7) \
x equiv 3 , (mathrmmod , 9) \
x equiv 4 , (mathrmmod , 11).
endcases$



Since all the moduli are pairwise relatively prime, we can use the CRT. Here's some notation I'm using:



$bullet , M$ denotes the product of the moduli (in this case, $M = 5 cdot7 cdot 9 cdot 11$)



$bullet , m_i $ denotes the modulus in the $i^mathrmth$ congruence



$bullet , M_i$ denotes $dfracMm_i$



$bullet , y_i$ denotes the inverse of $M_i$ (mod $m_i$), i.e. $y_i$ satisfies $y_i M_i equiv 1$ (mod $m_i$).



Then $x = displaystyle sum_i = 1^n a_iM_iy_i$, and this solution is unique (mod $M$).




Now I want to apply the same technique to the following:



$begincases
f(x) equiv 1 , (mathrm mod , x^2 + 1) \
f(x) equiv x , (mathrmmod , x^4),
endcases$



where $f(x) in mathbbQ(x)$. Having checked that the moduli are relatively prime, we should be able to use the CRT. Using the notation above, I have the following:



$M = (x^4)(x^2 + 1)$



$M_1 = x^4$



$M_2 = x^2 + 1$



Here's where I run into a problem. I need to find $y_1, y_2$ such that



$begincases
y_1 (x^4) equiv 1 , (mathrmmod , x^2 + 1) \
y_2 (x^2+1) equiv 1 , (mathrmmod , x^4).
endcases$



But how does one find $y_1, y_2$?










share|cite|improve this question









$endgroup$




I did a few examples using the CRT to solve congruences where everything was in terms of integers. I'm trying to use the same technique for polynomials over $mathbbQ$, but I'm getting stuck.




Here's an example with integers:



$begincasesx equiv 1 , (mathrmmod , 5) \
x equiv 2 , (mathrmmod , 7) \
x equiv 3 , (mathrmmod , 9) \
x equiv 4 , (mathrmmod , 11).
endcases$



Since all the moduli are pairwise relatively prime, we can use the CRT. Here's some notation I'm using:



$bullet , M$ denotes the product of the moduli (in this case, $M = 5 cdot7 cdot 9 cdot 11$)



$bullet , m_i $ denotes the modulus in the $i^mathrmth$ congruence



$bullet , M_i$ denotes $dfracMm_i$



$bullet , y_i$ denotes the inverse of $M_i$ (mod $m_i$), i.e. $y_i$ satisfies $y_i M_i equiv 1$ (mod $m_i$).



Then $x = displaystyle sum_i = 1^n a_iM_iy_i$, and this solution is unique (mod $M$).




Now I want to apply the same technique to the following:



$begincases
f(x) equiv 1 , (mathrm mod , x^2 + 1) \
f(x) equiv x , (mathrmmod , x^4),
endcases$



where $f(x) in mathbbQ(x)$. Having checked that the moduli are relatively prime, we should be able to use the CRT. Using the notation above, I have the following:



$M = (x^4)(x^2 + 1)$



$M_1 = x^4$



$M_2 = x^2 + 1$



Here's where I run into a problem. I need to find $y_1, y_2$ such that



$begincases
y_1 (x^4) equiv 1 , (mathrmmod , x^2 + 1) \
y_2 (x^2+1) equiv 1 , (mathrmmod , x^4).
endcases$



But how does one find $y_1, y_2$?







abstract-algebra ring-theory chinese-remainder-theorem






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked 5 hours ago









JunglemathJunglemath

6016




6016







  • 1




    $begingroup$
    "Having checked that the moduli are relatively prime..." but that means precisely that there exist $p_1(x)$ and $p_2(x)$ such that $p_1(x)x^4 + p_2(x)(x^2+1)=1$.
    $endgroup$
    – kccu
    5 hours ago










  • $begingroup$
    Are you saying that I can find $p_1(x)$ and $p_2(x)$ in general by using the extended Euclidean algorithm, and that $p_1(x)$ and $p_2(x)$ are precisely my $y_1$ and $y_2$?
    $endgroup$
    – Junglemath
    5 hours ago












  • 1




    $begingroup$
    "Having checked that the moduli are relatively prime..." but that means precisely that there exist $p_1(x)$ and $p_2(x)$ such that $p_1(x)x^4 + p_2(x)(x^2+1)=1$.
    $endgroup$
    – kccu
    5 hours ago










  • $begingroup$
    Are you saying that I can find $p_1(x)$ and $p_2(x)$ in general by using the extended Euclidean algorithm, and that $p_1(x)$ and $p_2(x)$ are precisely my $y_1$ and $y_2$?
    $endgroup$
    – Junglemath
    5 hours ago







1




1




$begingroup$
"Having checked that the moduli are relatively prime..." but that means precisely that there exist $p_1(x)$ and $p_2(x)$ such that $p_1(x)x^4 + p_2(x)(x^2+1)=1$.
$endgroup$
– kccu
5 hours ago




$begingroup$
"Having checked that the moduli are relatively prime..." but that means precisely that there exist $p_1(x)$ and $p_2(x)$ such that $p_1(x)x^4 + p_2(x)(x^2+1)=1$.
$endgroup$
– kccu
5 hours ago












$begingroup$
Are you saying that I can find $p_1(x)$ and $p_2(x)$ in general by using the extended Euclidean algorithm, and that $p_1(x)$ and $p_2(x)$ are precisely my $y_1$ and $y_2$?
$endgroup$
– Junglemath
5 hours ago




$begingroup$
Are you saying that I can find $p_1(x)$ and $p_2(x)$ in general by using the extended Euclidean algorithm, and that $p_1(x)$ and $p_2(x)$ are precisely my $y_1$ and $y_2$?
$endgroup$
– Junglemath
5 hours ago










2 Answers
2






active

oldest

votes


















3












$begingroup$

To find $y_1$ and $y_2$ consider solving the problem
$$y_1x^4+y_2(x^2+1)=1.$$
This is not always easy to solve, but in this case a solution comes to mind. Note that by difference of squares
$$(x^2-1)(x^2+1)=x^4-1,$$
hence
$$x^4+[(-1)(x^2-1)](x^2+1)=1.$$
This tells us that we can choose
$$y_1=1,$$
$$y_2=(1-x^2).$$






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Is there an algorithmic way of solving these, rather than relying on intuition?
    $endgroup$
    – Junglemath
    5 hours ago










  • $begingroup$
    @Junglemath By Euclidean algorithm you can find two polynomials $p(x), q(x) in mathbbQ[x]$ such that $p(x) x^4 + q(x) (x^2 + 1) = 1$.
    $endgroup$
    – Paolo
    5 hours ago







  • 1




    $begingroup$
    @Junglemath The polynomials over a field form a Euclidean Domain, so yes, there is. If the gcd of $f_1,f_2inmathbbQ[x]$ is a unit, then you can perform the Euclidean Algorithm to find their gcd. Now, you can reverse the algorithm to write them as a linear combination of their gcd the same way you would for integers. I said not easy, because the process can be time consuming and very tedious.
    $endgroup$
    – Melody
    5 hours ago







  • 1




    $begingroup$
    @Junglemath I didn't really convert it. I knew in advanced the single equation had a solution. This is because $x^4$ and $x^2+1$ have no common roots, hence no common irreducible factors. This means they are relatively prime, in which case we can write $1$ as a linear combination. Knowing that, I knew solving the single equation would give rise to a solution to the congruence equations. This is completely analogous to how you can solve everything over the integers.
    $endgroup$
    – Melody
    4 hours ago







  • 1




    $begingroup$
    @Junglemath I describe here at length this method of scaling the Bezout equation into a CRT solution.
    $endgroup$
    – Bill Dubuque
    3 hours ago



















1












$begingroup$

Bu applying $ abbmod ac, =, a(bbmod c) $ [Mod Distributive Law] $ $ it is a bit simpler:



$ f-x,bmod, x^large 4(x^large 2!+!1), =, x^large 4underbraceleft[dfraccolor#c00f-xcolor#0a0x^large 4bmod x^large 2!+!1right]_large color#0a0x^Large 4 equiv 1 rm by x^Large 2 equiv -1 =, x^large 4[1-x], $ by $,color#c00fequiv 1pmod!x^large 2!+!1$



Remark $ $ Here are further examples done using MDL (an operational form of CRT).



You can find further details here on transforming the Bezout equation into a CRT solution (the method sketched in Melody's answer).






share|cite|improve this answer











$endgroup$













    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3196235%2fadapting-the-chinese-remainder-theorem-crt-for-integers-to-polynomials%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3












    $begingroup$

    To find $y_1$ and $y_2$ consider solving the problem
    $$y_1x^4+y_2(x^2+1)=1.$$
    This is not always easy to solve, but in this case a solution comes to mind. Note that by difference of squares
    $$(x^2-1)(x^2+1)=x^4-1,$$
    hence
    $$x^4+[(-1)(x^2-1)](x^2+1)=1.$$
    This tells us that we can choose
    $$y_1=1,$$
    $$y_2=(1-x^2).$$






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Is there an algorithmic way of solving these, rather than relying on intuition?
      $endgroup$
      – Junglemath
      5 hours ago










    • $begingroup$
      @Junglemath By Euclidean algorithm you can find two polynomials $p(x), q(x) in mathbbQ[x]$ such that $p(x) x^4 + q(x) (x^2 + 1) = 1$.
      $endgroup$
      – Paolo
      5 hours ago







    • 1




      $begingroup$
      @Junglemath The polynomials over a field form a Euclidean Domain, so yes, there is. If the gcd of $f_1,f_2inmathbbQ[x]$ is a unit, then you can perform the Euclidean Algorithm to find their gcd. Now, you can reverse the algorithm to write them as a linear combination of their gcd the same way you would for integers. I said not easy, because the process can be time consuming and very tedious.
      $endgroup$
      – Melody
      5 hours ago







    • 1




      $begingroup$
      @Junglemath I didn't really convert it. I knew in advanced the single equation had a solution. This is because $x^4$ and $x^2+1$ have no common roots, hence no common irreducible factors. This means they are relatively prime, in which case we can write $1$ as a linear combination. Knowing that, I knew solving the single equation would give rise to a solution to the congruence equations. This is completely analogous to how you can solve everything over the integers.
      $endgroup$
      – Melody
      4 hours ago







    • 1




      $begingroup$
      @Junglemath I describe here at length this method of scaling the Bezout equation into a CRT solution.
      $endgroup$
      – Bill Dubuque
      3 hours ago
















    3












    $begingroup$

    To find $y_1$ and $y_2$ consider solving the problem
    $$y_1x^4+y_2(x^2+1)=1.$$
    This is not always easy to solve, but in this case a solution comes to mind. Note that by difference of squares
    $$(x^2-1)(x^2+1)=x^4-1,$$
    hence
    $$x^4+[(-1)(x^2-1)](x^2+1)=1.$$
    This tells us that we can choose
    $$y_1=1,$$
    $$y_2=(1-x^2).$$






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Is there an algorithmic way of solving these, rather than relying on intuition?
      $endgroup$
      – Junglemath
      5 hours ago










    • $begingroup$
      @Junglemath By Euclidean algorithm you can find two polynomials $p(x), q(x) in mathbbQ[x]$ such that $p(x) x^4 + q(x) (x^2 + 1) = 1$.
      $endgroup$
      – Paolo
      5 hours ago







    • 1




      $begingroup$
      @Junglemath The polynomials over a field form a Euclidean Domain, so yes, there is. If the gcd of $f_1,f_2inmathbbQ[x]$ is a unit, then you can perform the Euclidean Algorithm to find their gcd. Now, you can reverse the algorithm to write them as a linear combination of their gcd the same way you would for integers. I said not easy, because the process can be time consuming and very tedious.
      $endgroup$
      – Melody
      5 hours ago







    • 1




      $begingroup$
      @Junglemath I didn't really convert it. I knew in advanced the single equation had a solution. This is because $x^4$ and $x^2+1$ have no common roots, hence no common irreducible factors. This means they are relatively prime, in which case we can write $1$ as a linear combination. Knowing that, I knew solving the single equation would give rise to a solution to the congruence equations. This is completely analogous to how you can solve everything over the integers.
      $endgroup$
      – Melody
      4 hours ago







    • 1




      $begingroup$
      @Junglemath I describe here at length this method of scaling the Bezout equation into a CRT solution.
      $endgroup$
      – Bill Dubuque
      3 hours ago














    3












    3








    3





    $begingroup$

    To find $y_1$ and $y_2$ consider solving the problem
    $$y_1x^4+y_2(x^2+1)=1.$$
    This is not always easy to solve, but in this case a solution comes to mind. Note that by difference of squares
    $$(x^2-1)(x^2+1)=x^4-1,$$
    hence
    $$x^4+[(-1)(x^2-1)](x^2+1)=1.$$
    This tells us that we can choose
    $$y_1=1,$$
    $$y_2=(1-x^2).$$






    share|cite|improve this answer











    $endgroup$



    To find $y_1$ and $y_2$ consider solving the problem
    $$y_1x^4+y_2(x^2+1)=1.$$
    This is not always easy to solve, but in this case a solution comes to mind. Note that by difference of squares
    $$(x^2-1)(x^2+1)=x^4-1,$$
    hence
    $$x^4+[(-1)(x^2-1)](x^2+1)=1.$$
    This tells us that we can choose
    $$y_1=1,$$
    $$y_2=(1-x^2).$$







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited 5 hours ago

























    answered 5 hours ago









    MelodyMelody

    1,42212




    1,42212











    • $begingroup$
      Is there an algorithmic way of solving these, rather than relying on intuition?
      $endgroup$
      – Junglemath
      5 hours ago










    • $begingroup$
      @Junglemath By Euclidean algorithm you can find two polynomials $p(x), q(x) in mathbbQ[x]$ such that $p(x) x^4 + q(x) (x^2 + 1) = 1$.
      $endgroup$
      – Paolo
      5 hours ago







    • 1




      $begingroup$
      @Junglemath The polynomials over a field form a Euclidean Domain, so yes, there is. If the gcd of $f_1,f_2inmathbbQ[x]$ is a unit, then you can perform the Euclidean Algorithm to find their gcd. Now, you can reverse the algorithm to write them as a linear combination of their gcd the same way you would for integers. I said not easy, because the process can be time consuming and very tedious.
      $endgroup$
      – Melody
      5 hours ago







    • 1




      $begingroup$
      @Junglemath I didn't really convert it. I knew in advanced the single equation had a solution. This is because $x^4$ and $x^2+1$ have no common roots, hence no common irreducible factors. This means they are relatively prime, in which case we can write $1$ as a linear combination. Knowing that, I knew solving the single equation would give rise to a solution to the congruence equations. This is completely analogous to how you can solve everything over the integers.
      $endgroup$
      – Melody
      4 hours ago







    • 1




      $begingroup$
      @Junglemath I describe here at length this method of scaling the Bezout equation into a CRT solution.
      $endgroup$
      – Bill Dubuque
      3 hours ago

















    • $begingroup$
      Is there an algorithmic way of solving these, rather than relying on intuition?
      $endgroup$
      – Junglemath
      5 hours ago










    • $begingroup$
      @Junglemath By Euclidean algorithm you can find two polynomials $p(x), q(x) in mathbbQ[x]$ such that $p(x) x^4 + q(x) (x^2 + 1) = 1$.
      $endgroup$
      – Paolo
      5 hours ago







    • 1




      $begingroup$
      @Junglemath The polynomials over a field form a Euclidean Domain, so yes, there is. If the gcd of $f_1,f_2inmathbbQ[x]$ is a unit, then you can perform the Euclidean Algorithm to find their gcd. Now, you can reverse the algorithm to write them as a linear combination of their gcd the same way you would for integers. I said not easy, because the process can be time consuming and very tedious.
      $endgroup$
      – Melody
      5 hours ago







    • 1




      $begingroup$
      @Junglemath I didn't really convert it. I knew in advanced the single equation had a solution. This is because $x^4$ and $x^2+1$ have no common roots, hence no common irreducible factors. This means they are relatively prime, in which case we can write $1$ as a linear combination. Knowing that, I knew solving the single equation would give rise to a solution to the congruence equations. This is completely analogous to how you can solve everything over the integers.
      $endgroup$
      – Melody
      4 hours ago







    • 1




      $begingroup$
      @Junglemath I describe here at length this method of scaling the Bezout equation into a CRT solution.
      $endgroup$
      – Bill Dubuque
      3 hours ago
















    $begingroup$
    Is there an algorithmic way of solving these, rather than relying on intuition?
    $endgroup$
    – Junglemath
    5 hours ago




    $begingroup$
    Is there an algorithmic way of solving these, rather than relying on intuition?
    $endgroup$
    – Junglemath
    5 hours ago












    $begingroup$
    @Junglemath By Euclidean algorithm you can find two polynomials $p(x), q(x) in mathbbQ[x]$ such that $p(x) x^4 + q(x) (x^2 + 1) = 1$.
    $endgroup$
    – Paolo
    5 hours ago





    $begingroup$
    @Junglemath By Euclidean algorithm you can find two polynomials $p(x), q(x) in mathbbQ[x]$ such that $p(x) x^4 + q(x) (x^2 + 1) = 1$.
    $endgroup$
    – Paolo
    5 hours ago





    1




    1




    $begingroup$
    @Junglemath The polynomials over a field form a Euclidean Domain, so yes, there is. If the gcd of $f_1,f_2inmathbbQ[x]$ is a unit, then you can perform the Euclidean Algorithm to find their gcd. Now, you can reverse the algorithm to write them as a linear combination of their gcd the same way you would for integers. I said not easy, because the process can be time consuming and very tedious.
    $endgroup$
    – Melody
    5 hours ago





    $begingroup$
    @Junglemath The polynomials over a field form a Euclidean Domain, so yes, there is. If the gcd of $f_1,f_2inmathbbQ[x]$ is a unit, then you can perform the Euclidean Algorithm to find their gcd. Now, you can reverse the algorithm to write them as a linear combination of their gcd the same way you would for integers. I said not easy, because the process can be time consuming and very tedious.
    $endgroup$
    – Melody
    5 hours ago





    1




    1




    $begingroup$
    @Junglemath I didn't really convert it. I knew in advanced the single equation had a solution. This is because $x^4$ and $x^2+1$ have no common roots, hence no common irreducible factors. This means they are relatively prime, in which case we can write $1$ as a linear combination. Knowing that, I knew solving the single equation would give rise to a solution to the congruence equations. This is completely analogous to how you can solve everything over the integers.
    $endgroup$
    – Melody
    4 hours ago





    $begingroup$
    @Junglemath I didn't really convert it. I knew in advanced the single equation had a solution. This is because $x^4$ and $x^2+1$ have no common roots, hence no common irreducible factors. This means they are relatively prime, in which case we can write $1$ as a linear combination. Knowing that, I knew solving the single equation would give rise to a solution to the congruence equations. This is completely analogous to how you can solve everything over the integers.
    $endgroup$
    – Melody
    4 hours ago





    1




    1




    $begingroup$
    @Junglemath I describe here at length this method of scaling the Bezout equation into a CRT solution.
    $endgroup$
    – Bill Dubuque
    3 hours ago





    $begingroup$
    @Junglemath I describe here at length this method of scaling the Bezout equation into a CRT solution.
    $endgroup$
    – Bill Dubuque
    3 hours ago












    1












    $begingroup$

    Bu applying $ abbmod ac, =, a(bbmod c) $ [Mod Distributive Law] $ $ it is a bit simpler:



    $ f-x,bmod, x^large 4(x^large 2!+!1), =, x^large 4underbraceleft[dfraccolor#c00f-xcolor#0a0x^large 4bmod x^large 2!+!1right]_large color#0a0x^Large 4 equiv 1 rm by x^Large 2 equiv -1 =, x^large 4[1-x], $ by $,color#c00fequiv 1pmod!x^large 2!+!1$



    Remark $ $ Here are further examples done using MDL (an operational form of CRT).



    You can find further details here on transforming the Bezout equation into a CRT solution (the method sketched in Melody's answer).






    share|cite|improve this answer











    $endgroup$

















      1












      $begingroup$

      Bu applying $ abbmod ac, =, a(bbmod c) $ [Mod Distributive Law] $ $ it is a bit simpler:



      $ f-x,bmod, x^large 4(x^large 2!+!1), =, x^large 4underbraceleft[dfraccolor#c00f-xcolor#0a0x^large 4bmod x^large 2!+!1right]_large color#0a0x^Large 4 equiv 1 rm by x^Large 2 equiv -1 =, x^large 4[1-x], $ by $,color#c00fequiv 1pmod!x^large 2!+!1$



      Remark $ $ Here are further examples done using MDL (an operational form of CRT).



      You can find further details here on transforming the Bezout equation into a CRT solution (the method sketched in Melody's answer).






      share|cite|improve this answer











      $endgroup$















        1












        1








        1





        $begingroup$

        Bu applying $ abbmod ac, =, a(bbmod c) $ [Mod Distributive Law] $ $ it is a bit simpler:



        $ f-x,bmod, x^large 4(x^large 2!+!1), =, x^large 4underbraceleft[dfraccolor#c00f-xcolor#0a0x^large 4bmod x^large 2!+!1right]_large color#0a0x^Large 4 equiv 1 rm by x^Large 2 equiv -1 =, x^large 4[1-x], $ by $,color#c00fequiv 1pmod!x^large 2!+!1$



        Remark $ $ Here are further examples done using MDL (an operational form of CRT).



        You can find further details here on transforming the Bezout equation into a CRT solution (the method sketched in Melody's answer).






        share|cite|improve this answer











        $endgroup$



        Bu applying $ abbmod ac, =, a(bbmod c) $ [Mod Distributive Law] $ $ it is a bit simpler:



        $ f-x,bmod, x^large 4(x^large 2!+!1), =, x^large 4underbraceleft[dfraccolor#c00f-xcolor#0a0x^large 4bmod x^large 2!+!1right]_large color#0a0x^Large 4 equiv 1 rm by x^Large 2 equiv -1 =, x^large 4[1-x], $ by $,color#c00fequiv 1pmod!x^large 2!+!1$



        Remark $ $ Here are further examples done using MDL (an operational form of CRT).



        You can find further details here on transforming the Bezout equation into a CRT solution (the method sketched in Melody's answer).







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited 3 hours ago

























        answered 3 hours ago









        Bill DubuqueBill Dubuque

        214k29198660




        214k29198660



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3196235%2fadapting-the-chinese-remainder-theorem-crt-for-integers-to-polynomials%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Tom Holland Mục lục Đầu đời và giáo dục | Sự nghiệp | Cuộc sống cá nhân | Phim tham gia | Giải thưởng và đề cử | Chú thích | Liên kết ngoài | Trình đơn chuyển hướngProfile“Person Details for Thomas Stanley Holland, "England and Wales Birth Registration Index, 1837-2008" — FamilySearch.org”"Meet Tom Holland... the 16-year-old star of The Impossible""Schoolboy actor Tom Holland finds himself in Oscar contention for role in tsunami drama"“Naomi Watts on the Prince William and Harry's reaction to her film about the late Princess Diana”lưu trữ"Holland and Pflueger Are West End's Two New 'Billy Elliots'""I'm so envious of my son, the movie star! British writer Dominic Holland's spent 20 years trying to crack Hollywood - but he's been beaten to it by a very unlikely rival"“Richard and Margaret Povey of Jersey, Channel Islands, UK: Information about Thomas Stanley Holland”"Tom Holland to play Billy Elliot""New Billy Elliot leaving the garage"Billy Elliot the Musical - Tom Holland - Billy"A Tale of four Billys: Tom Holland""The Feel Good Factor""Thames Christian College schoolboys join Myleene Klass for The Feelgood Factor""Government launches £600,000 arts bursaries pilot""BILLY's Chapman, Holland, Gardner & Jackson-Keen Visit Prime Minister""Elton John 'blown away' by Billy Elliot fifth birthday" (video with John's interview and fragments of Holland's performance)"First News interviews Arrietty's Tom Holland"“33rd Critics' Circle Film Awards winners”“National Board of Review Current Awards”Bản gốc"Ron Howard Whaling Tale 'In The Heart Of The Sea' Casts Tom Holland"“'Spider-Man' Finds Tom Holland to Star as New Web-Slinger”lưu trữ“Captain America: Civil War (2016)”“Film Review: ‘Captain America: Civil War’”lưu trữ“‘Captain America: Civil War’ review: Choose your own avenger”lưu trữ“The Lost City of Z reviews”“Sony Pictures and Marvel Studios Find Their 'Spider-Man' Star and Director”“‘Mary Magdalene’, ‘Current War’ & ‘Wind River’ Get 2017 Release Dates From Weinstein”“Lionsgate Unleashing Daisy Ridley & Tom Holland Starrer ‘Chaos Walking’ In Cannes”“PTA's 'Master' Leads Chicago Film Critics Nominations, UPDATED: Houston and Indiana Critics Nominations”“Nominaciones Goya 2013 Telecinco Cinema – ENG”“Jameson Empire Film Awards: Martin Freeman wins best actor for performance in The Hobbit”“34th Annual Young Artist Awards”Bản gốc“Teen Choice Awards 2016—Captain America: Civil War Leads Second Wave of Nominations”“BAFTA Film Award Nominations: ‘La La Land’ Leads Race”“Saturn Awards Nominations 2017: 'Rogue One,' 'Walking Dead' Lead”Tom HollandTom HollandTom HollandTom Hollandmedia.gettyimages.comWorldCat Identities300279794no20130442900000 0004 0355 42791085670554170004732cb16706349t(data)XX5557367