Dirichlet composition of quadratic forms.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Lemma: $f(x,y)=ax^2+bxy+cy^2$ and $g(x,y)=a'x^2+b'xy+c'y^2$ have discriminant $D$ and satisfy $gcd(a,a',fracb+b'2)=1$ (b and b' have the same parity, $fracb+b'2$ is an integer). Then there is a unique integer B modulo 2aa' such that $$Bequiv bpmod2a$$ $$Bequiv b'pmod2a'$$ $$B^2 equiv Dpmod4aa'$$.
I know the existence and uniqueness of B of this Lemma, I want to know how to explicitly calculate this constant B given any two quadratic forms. for eg. $f(x,y)=x^2+2xy+3y^2$ and $g(x,y)=4x^2+5xy+6y^2$. Then their comsposition will be $aa'x^2+Bxy+fracB^2-D4aa'y^2$ where $ D (discriminant) = b^2-4ac$.







share|cite|improve this question





















  • you have given discriminants $-8$ and $-71.$ Nothing to be done. Recommend Buell, Binary Quadratic Forms. Also in Cox, Primes of the form $x^2 + n y^2$ which seems to be your source.
    – Will Jagy
    2 days ago










  • @WillJagy Why did you say nothing to be done since both are positive definite quadratic forms since $D<0$ and $a>0$? What if I give you 2 quadratic forms with same D, for eg, $f(x,y)=x^2+xy+4y^2$ and $g(x,y)=2x^2+xy+2y^2$ with $D= -15$.
    – antony james
    yesterday










  • With the same $D$ and primitive forms you do get composition. Since the middle coefficients already match most of the work is done. Note that you still need to know about equivalence of forms... if you compose $g$ with itself you get $4x^2 + xy + y^2.$ This is, however, equivalent to $x^2 + xy + 4 y^2.$
    – Will Jagy
    yesterday














up vote
0
down vote

favorite












Lemma: $f(x,y)=ax^2+bxy+cy^2$ and $g(x,y)=a'x^2+b'xy+c'y^2$ have discriminant $D$ and satisfy $gcd(a,a',fracb+b'2)=1$ (b and b' have the same parity, $fracb+b'2$ is an integer). Then there is a unique integer B modulo 2aa' such that $$Bequiv bpmod2a$$ $$Bequiv b'pmod2a'$$ $$B^2 equiv Dpmod4aa'$$.
I know the existence and uniqueness of B of this Lemma, I want to know how to explicitly calculate this constant B given any two quadratic forms. for eg. $f(x,y)=x^2+2xy+3y^2$ and $g(x,y)=4x^2+5xy+6y^2$. Then their comsposition will be $aa'x^2+Bxy+fracB^2-D4aa'y^2$ where $ D (discriminant) = b^2-4ac$.







share|cite|improve this question





















  • you have given discriminants $-8$ and $-71.$ Nothing to be done. Recommend Buell, Binary Quadratic Forms. Also in Cox, Primes of the form $x^2 + n y^2$ which seems to be your source.
    – Will Jagy
    2 days ago










  • @WillJagy Why did you say nothing to be done since both are positive definite quadratic forms since $D<0$ and $a>0$? What if I give you 2 quadratic forms with same D, for eg, $f(x,y)=x^2+xy+4y^2$ and $g(x,y)=2x^2+xy+2y^2$ with $D= -15$.
    – antony james
    yesterday










  • With the same $D$ and primitive forms you do get composition. Since the middle coefficients already match most of the work is done. Note that you still need to know about equivalence of forms... if you compose $g$ with itself you get $4x^2 + xy + y^2.$ This is, however, equivalent to $x^2 + xy + 4 y^2.$
    – Will Jagy
    yesterday












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Lemma: $f(x,y)=ax^2+bxy+cy^2$ and $g(x,y)=a'x^2+b'xy+c'y^2$ have discriminant $D$ and satisfy $gcd(a,a',fracb+b'2)=1$ (b and b' have the same parity, $fracb+b'2$ is an integer). Then there is a unique integer B modulo 2aa' such that $$Bequiv bpmod2a$$ $$Bequiv b'pmod2a'$$ $$B^2 equiv Dpmod4aa'$$.
I know the existence and uniqueness of B of this Lemma, I want to know how to explicitly calculate this constant B given any two quadratic forms. for eg. $f(x,y)=x^2+2xy+3y^2$ and $g(x,y)=4x^2+5xy+6y^2$. Then their comsposition will be $aa'x^2+Bxy+fracB^2-D4aa'y^2$ where $ D (discriminant) = b^2-4ac$.







share|cite|improve this question













Lemma: $f(x,y)=ax^2+bxy+cy^2$ and $g(x,y)=a'x^2+b'xy+c'y^2$ have discriminant $D$ and satisfy $gcd(a,a',fracb+b'2)=1$ (b and b' have the same parity, $fracb+b'2$ is an integer). Then there is a unique integer B modulo 2aa' such that $$Bequiv bpmod2a$$ $$Bequiv b'pmod2a'$$ $$B^2 equiv Dpmod4aa'$$.
I know the existence and uniqueness of B of this Lemma, I want to know how to explicitly calculate this constant B given any two quadratic forms. for eg. $f(x,y)=x^2+2xy+3y^2$ and $g(x,y)=4x^2+5xy+6y^2$. Then their comsposition will be $aa'x^2+Bxy+fracB^2-D4aa'y^2$ where $ D (discriminant) = b^2-4ac$.









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited 2 days ago
























asked 2 days ago









antony james

105




105











  • you have given discriminants $-8$ and $-71.$ Nothing to be done. Recommend Buell, Binary Quadratic Forms. Also in Cox, Primes of the form $x^2 + n y^2$ which seems to be your source.
    – Will Jagy
    2 days ago










  • @WillJagy Why did you say nothing to be done since both are positive definite quadratic forms since $D<0$ and $a>0$? What if I give you 2 quadratic forms with same D, for eg, $f(x,y)=x^2+xy+4y^2$ and $g(x,y)=2x^2+xy+2y^2$ with $D= -15$.
    – antony james
    yesterday










  • With the same $D$ and primitive forms you do get composition. Since the middle coefficients already match most of the work is done. Note that you still need to know about equivalence of forms... if you compose $g$ with itself you get $4x^2 + xy + y^2.$ This is, however, equivalent to $x^2 + xy + 4 y^2.$
    – Will Jagy
    yesterday
















  • you have given discriminants $-8$ and $-71.$ Nothing to be done. Recommend Buell, Binary Quadratic Forms. Also in Cox, Primes of the form $x^2 + n y^2$ which seems to be your source.
    – Will Jagy
    2 days ago










  • @WillJagy Why did you say nothing to be done since both are positive definite quadratic forms since $D<0$ and $a>0$? What if I give you 2 quadratic forms with same D, for eg, $f(x,y)=x^2+xy+4y^2$ and $g(x,y)=2x^2+xy+2y^2$ with $D= -15$.
    – antony james
    yesterday










  • With the same $D$ and primitive forms you do get composition. Since the middle coefficients already match most of the work is done. Note that you still need to know about equivalence of forms... if you compose $g$ with itself you get $4x^2 + xy + y^2.$ This is, however, equivalent to $x^2 + xy + 4 y^2.$
    – Will Jagy
    yesterday















you have given discriminants $-8$ and $-71.$ Nothing to be done. Recommend Buell, Binary Quadratic Forms. Also in Cox, Primes of the form $x^2 + n y^2$ which seems to be your source.
– Will Jagy
2 days ago




you have given discriminants $-8$ and $-71.$ Nothing to be done. Recommend Buell, Binary Quadratic Forms. Also in Cox, Primes of the form $x^2 + n y^2$ which seems to be your source.
– Will Jagy
2 days ago












@WillJagy Why did you say nothing to be done since both are positive definite quadratic forms since $D<0$ and $a>0$? What if I give you 2 quadratic forms with same D, for eg, $f(x,y)=x^2+xy+4y^2$ and $g(x,y)=2x^2+xy+2y^2$ with $D= -15$.
– antony james
yesterday




@WillJagy Why did you say nothing to be done since both are positive definite quadratic forms since $D<0$ and $a>0$? What if I give you 2 quadratic forms with same D, for eg, $f(x,y)=x^2+xy+4y^2$ and $g(x,y)=2x^2+xy+2y^2$ with $D= -15$.
– antony james
yesterday












With the same $D$ and primitive forms you do get composition. Since the middle coefficients already match most of the work is done. Note that you still need to know about equivalence of forms... if you compose $g$ with itself you get $4x^2 + xy + y^2.$ This is, however, equivalent to $x^2 + xy + 4 y^2.$
– Will Jagy
yesterday




With the same $D$ and primitive forms you do get composition. Since the middle coefficients already match most of the work is done. Note that you still need to know about equivalence of forms... if you compose $g$ with itself you get $4x^2 + xy + y^2.$ This is, however, equivalent to $x^2 + xy + 4 y^2.$
– Will Jagy
yesterday















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f2871837%2fdirichlet-composition-of-quadratic-forms%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2871837%2fdirichlet-composition-of-quadratic-forms%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?