Solve for two quaternions that transformed another quaternionassociativity of quaternion multiplicationAre there different conventions for representing rotations as quaternions?How stable is my quaternion interpolation?Error performing multiplication of QuaternionsRotation Matrix to Quaternion(proper Orientation)Why is this algebraic manipulation of quaternions incorrect?Quaternion: composition of rotations/orientations to determine relative orientationDistance between quaternion with opposite signsSolve for rotation quaternion that rotates $x$ into $y$.Show that $q$ is a unit in $H(R)$ iff $N(q)$ is a unit in $R$
Isometric embedding of a genus g surface
Can I run 125kHz RF circuit on a breadboard?
ContourPlot — How do I color by contour curvature?
How do I tell my boss that I'm quitting in 15 days (a colleague left this week)
Overlapping circles covering polygon
Identifying "long and narrow" polygons in with PostGIS
Sound waves in different octaves
How to preserve electronics (computers, iPads and phones) for hundreds of years
Anime with legendary swords made from talismans and a man who could change them with a shattered body
How to get directions in deep space?
Language involving irrational number is not a CFL
Limit max CPU usage SQL SERVER with WSRM
Did I make a mistake by ccing email to boss to others?
What is the meaning of the following sentence?
What should be the ideal length of sentences in a blog post for ease of reading?
How do I fix the group tension caused by my character stealing and possibly killing without provocation?
Make a Bowl of Alphabet Soup
Do you waste sorcery points if you try to apply metamagic to a spell from a scroll but fail to cast it?
In One Punch Man, is King actually weak?
Why is participating in the European Parliamentary elections used as a threat?
What does "Scientists rise up against statistical significance" mean? (Comment in Nature)
Quoting Keynes in a lecture
What is the smallest number n> 5 so that 5 ^ n ends with "3125"?
Do I have to take mana from my deck or hand when tapping a dual land?
Solve for two quaternions that transformed another quaternion
associativity of quaternion multiplicationAre there different conventions for representing rotations as quaternions?How stable is my quaternion interpolation?Error performing multiplication of QuaternionsRotation Matrix to Quaternion(proper Orientation)Why is this algebraic manipulation of quaternions incorrect?Quaternion: composition of rotations/orientations to determine relative orientationDistance between quaternion with opposite signsSolve for rotation quaternion that rotates $x$ into $y$.Show that $q$ is a unit in $H(R)$ iff $N(q)$ is a unit in $R$
$begingroup$
I have the following problem:
$$
q_2 = q_aq_bq_1q_b^-1
$$
All the $q$'s are quaternions and I want to solve for $q_a$ and $q_b$, given more than one $[q_1, q_2]$ pairs, the last term is the inverse of $q_b$.
I tried to solve them like a typical simultaneous equation problem, but the inverse and the non-commutative nature is giving me a hard time.
quaternions
New contributor
$endgroup$
add a comment |
$begingroup$
I have the following problem:
$$
q_2 = q_aq_bq_1q_b^-1
$$
All the $q$'s are quaternions and I want to solve for $q_a$ and $q_b$, given more than one $[q_1, q_2]$ pairs, the last term is the inverse of $q_b$.
I tried to solve them like a typical simultaneous equation problem, but the inverse and the non-commutative nature is giving me a hard time.
quaternions
New contributor
$endgroup$
$begingroup$
Do you mean you want to find possible $q_1,,q_2$? If so, it would be clearer to say "solve for given $q_a$ and $q_b$, since "solve for" often otherwise implying you're staying what is sought and unknown.
$endgroup$
– J.G.
Mar 14 at 7:43
$begingroup$
Actually no, I want to find $q_a$ and $q_b$, let me clarify that
$endgroup$
– klWu
Mar 14 at 7:46
add a comment |
$begingroup$
I have the following problem:
$$
q_2 = q_aq_bq_1q_b^-1
$$
All the $q$'s are quaternions and I want to solve for $q_a$ and $q_b$, given more than one $[q_1, q_2]$ pairs, the last term is the inverse of $q_b$.
I tried to solve them like a typical simultaneous equation problem, but the inverse and the non-commutative nature is giving me a hard time.
quaternions
New contributor
$endgroup$
I have the following problem:
$$
q_2 = q_aq_bq_1q_b^-1
$$
All the $q$'s are quaternions and I want to solve for $q_a$ and $q_b$, given more than one $[q_1, q_2]$ pairs, the last term is the inverse of $q_b$.
I tried to solve them like a typical simultaneous equation problem, but the inverse and the non-commutative nature is giving me a hard time.
quaternions
quaternions
New contributor
New contributor
edited Mar 14 at 7:47
klWu
New contributor
asked Mar 14 at 7:33
klWuklWu
83
83
New contributor
New contributor
$begingroup$
Do you mean you want to find possible $q_1,,q_2$? If so, it would be clearer to say "solve for given $q_a$ and $q_b$, since "solve for" often otherwise implying you're staying what is sought and unknown.
$endgroup$
– J.G.
Mar 14 at 7:43
$begingroup$
Actually no, I want to find $q_a$ and $q_b$, let me clarify that
$endgroup$
– klWu
Mar 14 at 7:46
add a comment |
$begingroup$
Do you mean you want to find possible $q_1,,q_2$? If so, it would be clearer to say "solve for given $q_a$ and $q_b$, since "solve for" often otherwise implying you're staying what is sought and unknown.
$endgroup$
– J.G.
Mar 14 at 7:43
$begingroup$
Actually no, I want to find $q_a$ and $q_b$, let me clarify that
$endgroup$
– klWu
Mar 14 at 7:46
$begingroup$
Do you mean you want to find possible $q_1,,q_2$? If so, it would be clearer to say "solve for given $q_a$ and $q_b$, since "solve for" often otherwise implying you're staying what is sought and unknown.
$endgroup$
– J.G.
Mar 14 at 7:43
$begingroup$
Do you mean you want to find possible $q_1,,q_2$? If so, it would be clearer to say "solve for given $q_a$ and $q_b$, since "solve for" often otherwise implying you're staying what is sought and unknown.
$endgroup$
– J.G.
Mar 14 at 7:43
$begingroup$
Actually no, I want to find $q_a$ and $q_b$, let me clarify that
$endgroup$
– klWu
Mar 14 at 7:46
$begingroup$
Actually no, I want to find $q_a$ and $q_b$, let me clarify that
$endgroup$
– klWu
Mar 14 at 7:46
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Choose any $q_bne 0$ you want; then for given $q_1,,q_2$, we can find a unique $q_a$ that works, viz. $$q_2=q_aq_bq_1q_b^-1iff q_2q_b=q_aq_bq_1iff q_2q_bq_1^-1=q_aq_biff q_a=q_2q_bq_1^-1q_b^-1.$$ Replacing $q_1,,q_2$ with $q_3,,q_4$ allows the same $q_a,,q_b$ as a solution iff $q_4q_bq_3^-1=q_2q_bq_1^-1$, or equivalently $q_b=q_4^-1q_2q_bq_1^-1q_3$. So this gets into how one solves $q=pqr$ with $|pr|=1$. For $p:=q_4^-1q_2,,r:=q_1^-1q_3$, I recommend solving this by simultaneous equations. Once you have $q_b$ up to real scaling, you get $q_a$. If there are three or more pairs $q_a,,q_b$ have to work for, you'll get even more constraints that will still keep the same scaling redundancy, if there are still nonzero solutions.
$endgroup$
$begingroup$
Thanks, but solving for $q=pqr$ is exactly where I'm stuck on. Isn't simultaneous equation solving exactly how we get to this step? I don't know how to isolate q to one side of the equal sign.
$endgroup$
– klWu
Mar 14 at 8:46
$begingroup$
@KlWu I mean solve for the four parts of $q$ as real variables; each of the four parts of $q=pqr$ gives an equation in these variables, so in the end it's equivalent to solving $Mv=v$ for $vinBbb R^4$, for some matrix $MinBbb R^4times 4$ whose entries are expressible in terms of the components of $p,,r$. Note $M$ won't be invertible, but you can get $v$ up to scaling.
$endgroup$
– J.G.
Mar 14 at 8:49
1
$begingroup$
Oh I see what you mean!
$endgroup$
– klWu
Mar 14 at 8:51
$begingroup$
I have been solving it with the $Mv=v$ way by looking for the eigenvector of M with eigenvalue of 1. I ended up with 4 complex eigen values all with modus of 1 and 4 sets of eigen vectors with complex coefficients. What went wrong?
$endgroup$
– klWu
Mar 15 at 8:29
$begingroup$
@klwu I recommend you ask a new question in which you work through such calculations so I or others can say.
$endgroup$
– J.G.
Mar 15 at 9:51
add a comment |
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',
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
);
);
klWu is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3147678%2fsolve-for-two-quaternions-that-transformed-another-quaternion%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Choose any $q_bne 0$ you want; then for given $q_1,,q_2$, we can find a unique $q_a$ that works, viz. $$q_2=q_aq_bq_1q_b^-1iff q_2q_b=q_aq_bq_1iff q_2q_bq_1^-1=q_aq_biff q_a=q_2q_bq_1^-1q_b^-1.$$ Replacing $q_1,,q_2$ with $q_3,,q_4$ allows the same $q_a,,q_b$ as a solution iff $q_4q_bq_3^-1=q_2q_bq_1^-1$, or equivalently $q_b=q_4^-1q_2q_bq_1^-1q_3$. So this gets into how one solves $q=pqr$ with $|pr|=1$. For $p:=q_4^-1q_2,,r:=q_1^-1q_3$, I recommend solving this by simultaneous equations. Once you have $q_b$ up to real scaling, you get $q_a$. If there are three or more pairs $q_a,,q_b$ have to work for, you'll get even more constraints that will still keep the same scaling redundancy, if there are still nonzero solutions.
$endgroup$
$begingroup$
Thanks, but solving for $q=pqr$ is exactly where I'm stuck on. Isn't simultaneous equation solving exactly how we get to this step? I don't know how to isolate q to one side of the equal sign.
$endgroup$
– klWu
Mar 14 at 8:46
$begingroup$
@KlWu I mean solve for the four parts of $q$ as real variables; each of the four parts of $q=pqr$ gives an equation in these variables, so in the end it's equivalent to solving $Mv=v$ for $vinBbb R^4$, for some matrix $MinBbb R^4times 4$ whose entries are expressible in terms of the components of $p,,r$. Note $M$ won't be invertible, but you can get $v$ up to scaling.
$endgroup$
– J.G.
Mar 14 at 8:49
1
$begingroup$
Oh I see what you mean!
$endgroup$
– klWu
Mar 14 at 8:51
$begingroup$
I have been solving it with the $Mv=v$ way by looking for the eigenvector of M with eigenvalue of 1. I ended up with 4 complex eigen values all with modus of 1 and 4 sets of eigen vectors with complex coefficients. What went wrong?
$endgroup$
– klWu
Mar 15 at 8:29
$begingroup$
@klwu I recommend you ask a new question in which you work through such calculations so I or others can say.
$endgroup$
– J.G.
Mar 15 at 9:51
add a comment |
$begingroup$
Choose any $q_bne 0$ you want; then for given $q_1,,q_2$, we can find a unique $q_a$ that works, viz. $$q_2=q_aq_bq_1q_b^-1iff q_2q_b=q_aq_bq_1iff q_2q_bq_1^-1=q_aq_biff q_a=q_2q_bq_1^-1q_b^-1.$$ Replacing $q_1,,q_2$ with $q_3,,q_4$ allows the same $q_a,,q_b$ as a solution iff $q_4q_bq_3^-1=q_2q_bq_1^-1$, or equivalently $q_b=q_4^-1q_2q_bq_1^-1q_3$. So this gets into how one solves $q=pqr$ with $|pr|=1$. For $p:=q_4^-1q_2,,r:=q_1^-1q_3$, I recommend solving this by simultaneous equations. Once you have $q_b$ up to real scaling, you get $q_a$. If there are three or more pairs $q_a,,q_b$ have to work for, you'll get even more constraints that will still keep the same scaling redundancy, if there are still nonzero solutions.
$endgroup$
$begingroup$
Thanks, but solving for $q=pqr$ is exactly where I'm stuck on. Isn't simultaneous equation solving exactly how we get to this step? I don't know how to isolate q to one side of the equal sign.
$endgroup$
– klWu
Mar 14 at 8:46
$begingroup$
@KlWu I mean solve for the four parts of $q$ as real variables; each of the four parts of $q=pqr$ gives an equation in these variables, so in the end it's equivalent to solving $Mv=v$ for $vinBbb R^4$, for some matrix $MinBbb R^4times 4$ whose entries are expressible in terms of the components of $p,,r$. Note $M$ won't be invertible, but you can get $v$ up to scaling.
$endgroup$
– J.G.
Mar 14 at 8:49
1
$begingroup$
Oh I see what you mean!
$endgroup$
– klWu
Mar 14 at 8:51
$begingroup$
I have been solving it with the $Mv=v$ way by looking for the eigenvector of M with eigenvalue of 1. I ended up with 4 complex eigen values all with modus of 1 and 4 sets of eigen vectors with complex coefficients. What went wrong?
$endgroup$
– klWu
Mar 15 at 8:29
$begingroup$
@klwu I recommend you ask a new question in which you work through such calculations so I or others can say.
$endgroup$
– J.G.
Mar 15 at 9:51
add a comment |
$begingroup$
Choose any $q_bne 0$ you want; then for given $q_1,,q_2$, we can find a unique $q_a$ that works, viz. $$q_2=q_aq_bq_1q_b^-1iff q_2q_b=q_aq_bq_1iff q_2q_bq_1^-1=q_aq_biff q_a=q_2q_bq_1^-1q_b^-1.$$ Replacing $q_1,,q_2$ with $q_3,,q_4$ allows the same $q_a,,q_b$ as a solution iff $q_4q_bq_3^-1=q_2q_bq_1^-1$, or equivalently $q_b=q_4^-1q_2q_bq_1^-1q_3$. So this gets into how one solves $q=pqr$ with $|pr|=1$. For $p:=q_4^-1q_2,,r:=q_1^-1q_3$, I recommend solving this by simultaneous equations. Once you have $q_b$ up to real scaling, you get $q_a$. If there are three or more pairs $q_a,,q_b$ have to work for, you'll get even more constraints that will still keep the same scaling redundancy, if there are still nonzero solutions.
$endgroup$
Choose any $q_bne 0$ you want; then for given $q_1,,q_2$, we can find a unique $q_a$ that works, viz. $$q_2=q_aq_bq_1q_b^-1iff q_2q_b=q_aq_bq_1iff q_2q_bq_1^-1=q_aq_biff q_a=q_2q_bq_1^-1q_b^-1.$$ Replacing $q_1,,q_2$ with $q_3,,q_4$ allows the same $q_a,,q_b$ as a solution iff $q_4q_bq_3^-1=q_2q_bq_1^-1$, or equivalently $q_b=q_4^-1q_2q_bq_1^-1q_3$. So this gets into how one solves $q=pqr$ with $|pr|=1$. For $p:=q_4^-1q_2,,r:=q_1^-1q_3$, I recommend solving this by simultaneous equations. Once you have $q_b$ up to real scaling, you get $q_a$. If there are three or more pairs $q_a,,q_b$ have to work for, you'll get even more constraints that will still keep the same scaling redundancy, if there are still nonzero solutions.
answered Mar 14 at 8:32
J.G.J.G.
30.9k23149
30.9k23149
$begingroup$
Thanks, but solving for $q=pqr$ is exactly where I'm stuck on. Isn't simultaneous equation solving exactly how we get to this step? I don't know how to isolate q to one side of the equal sign.
$endgroup$
– klWu
Mar 14 at 8:46
$begingroup$
@KlWu I mean solve for the four parts of $q$ as real variables; each of the four parts of $q=pqr$ gives an equation in these variables, so in the end it's equivalent to solving $Mv=v$ for $vinBbb R^4$, for some matrix $MinBbb R^4times 4$ whose entries are expressible in terms of the components of $p,,r$. Note $M$ won't be invertible, but you can get $v$ up to scaling.
$endgroup$
– J.G.
Mar 14 at 8:49
1
$begingroup$
Oh I see what you mean!
$endgroup$
– klWu
Mar 14 at 8:51
$begingroup$
I have been solving it with the $Mv=v$ way by looking for the eigenvector of M with eigenvalue of 1. I ended up with 4 complex eigen values all with modus of 1 and 4 sets of eigen vectors with complex coefficients. What went wrong?
$endgroup$
– klWu
Mar 15 at 8:29
$begingroup$
@klwu I recommend you ask a new question in which you work through such calculations so I or others can say.
$endgroup$
– J.G.
Mar 15 at 9:51
add a comment |
$begingroup$
Thanks, but solving for $q=pqr$ is exactly where I'm stuck on. Isn't simultaneous equation solving exactly how we get to this step? I don't know how to isolate q to one side of the equal sign.
$endgroup$
– klWu
Mar 14 at 8:46
$begingroup$
@KlWu I mean solve for the four parts of $q$ as real variables; each of the four parts of $q=pqr$ gives an equation in these variables, so in the end it's equivalent to solving $Mv=v$ for $vinBbb R^4$, for some matrix $MinBbb R^4times 4$ whose entries are expressible in terms of the components of $p,,r$. Note $M$ won't be invertible, but you can get $v$ up to scaling.
$endgroup$
– J.G.
Mar 14 at 8:49
1
$begingroup$
Oh I see what you mean!
$endgroup$
– klWu
Mar 14 at 8:51
$begingroup$
I have been solving it with the $Mv=v$ way by looking for the eigenvector of M with eigenvalue of 1. I ended up with 4 complex eigen values all with modus of 1 and 4 sets of eigen vectors with complex coefficients. What went wrong?
$endgroup$
– klWu
Mar 15 at 8:29
$begingroup$
@klwu I recommend you ask a new question in which you work through such calculations so I or others can say.
$endgroup$
– J.G.
Mar 15 at 9:51
$begingroup$
Thanks, but solving for $q=pqr$ is exactly where I'm stuck on. Isn't simultaneous equation solving exactly how we get to this step? I don't know how to isolate q to one side of the equal sign.
$endgroup$
– klWu
Mar 14 at 8:46
$begingroup$
Thanks, but solving for $q=pqr$ is exactly where I'm stuck on. Isn't simultaneous equation solving exactly how we get to this step? I don't know how to isolate q to one side of the equal sign.
$endgroup$
– klWu
Mar 14 at 8:46
$begingroup$
@KlWu I mean solve for the four parts of $q$ as real variables; each of the four parts of $q=pqr$ gives an equation in these variables, so in the end it's equivalent to solving $Mv=v$ for $vinBbb R^4$, for some matrix $MinBbb R^4times 4$ whose entries are expressible in terms of the components of $p,,r$. Note $M$ won't be invertible, but you can get $v$ up to scaling.
$endgroup$
– J.G.
Mar 14 at 8:49
$begingroup$
@KlWu I mean solve for the four parts of $q$ as real variables; each of the four parts of $q=pqr$ gives an equation in these variables, so in the end it's equivalent to solving $Mv=v$ for $vinBbb R^4$, for some matrix $MinBbb R^4times 4$ whose entries are expressible in terms of the components of $p,,r$. Note $M$ won't be invertible, but you can get $v$ up to scaling.
$endgroup$
– J.G.
Mar 14 at 8:49
1
1
$begingroup$
Oh I see what you mean!
$endgroup$
– klWu
Mar 14 at 8:51
$begingroup$
Oh I see what you mean!
$endgroup$
– klWu
Mar 14 at 8:51
$begingroup$
I have been solving it with the $Mv=v$ way by looking for the eigenvector of M with eigenvalue of 1. I ended up with 4 complex eigen values all with modus of 1 and 4 sets of eigen vectors with complex coefficients. What went wrong?
$endgroup$
– klWu
Mar 15 at 8:29
$begingroup$
I have been solving it with the $Mv=v$ way by looking for the eigenvector of M with eigenvalue of 1. I ended up with 4 complex eigen values all with modus of 1 and 4 sets of eigen vectors with complex coefficients. What went wrong?
$endgroup$
– klWu
Mar 15 at 8:29
$begingroup$
@klwu I recommend you ask a new question in which you work through such calculations so I or others can say.
$endgroup$
– J.G.
Mar 15 at 9:51
$begingroup$
@klwu I recommend you ask a new question in which you work through such calculations so I or others can say.
$endgroup$
– J.G.
Mar 15 at 9:51
add a comment |
klWu is a new contributor. Be nice, and check out our Code of Conduct.
klWu is a new contributor. Be nice, and check out our Code of Conduct.
klWu is a new contributor. Be nice, and check out our Code of Conduct.
klWu is a new contributor. Be nice, and check out our Code of Conduct.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3147678%2fsolve-for-two-quaternions-that-transformed-another-quaternion%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$begingroup$
Do you mean you want to find possible $q_1,,q_2$? If so, it would be clearer to say "solve for given $q_a$ and $q_b$, since "solve for" often otherwise implying you're staying what is sought and unknown.
$endgroup$
– J.G.
Mar 14 at 7:43
$begingroup$
Actually no, I want to find $q_a$ and $q_b$, let me clarify that
$endgroup$
– klWu
Mar 14 at 7:46