Find $U^{dagger}$ for a quadratic form.
I'm really lost at this:
Let q be the quadratic form on $mathbb{R}^3$ given by
$q(x_1, x_2, x_3) = x_1x_2 + 2x_1x_3 + x_3^2$.
Find an invertible linear operator U on $mathbb{R}^3$ such that
$(U^{dagger}q) (x_1, x_2, x_3) = x_1^2-x_2^2 + x_3^2$.
$(U^{dagger}q)(x_1, x_2, x_3) = q(U(x_1, x_2, x_3))$. I'm guessing that $U^{dagger}$ is like the pseudoinverse
Any advices?
linear-algebra
add a comment |
I'm really lost at this:
Let q be the quadratic form on $mathbb{R}^3$ given by
$q(x_1, x_2, x_3) = x_1x_2 + 2x_1x_3 + x_3^2$.
Find an invertible linear operator U on $mathbb{R}^3$ such that
$(U^{dagger}q) (x_1, x_2, x_3) = x_1^2-x_2^2 + x_3^2$.
$(U^{dagger}q)(x_1, x_2, x_3) = q(U(x_1, x_2, x_3))$. I'm guessing that $U^{dagger}$ is like the pseudoinverse
Any advices?
linear-algebra
add a comment |
I'm really lost at this:
Let q be the quadratic form on $mathbb{R}^3$ given by
$q(x_1, x_2, x_3) = x_1x_2 + 2x_1x_3 + x_3^2$.
Find an invertible linear operator U on $mathbb{R}^3$ such that
$(U^{dagger}q) (x_1, x_2, x_3) = x_1^2-x_2^2 + x_3^2$.
$(U^{dagger}q)(x_1, x_2, x_3) = q(U(x_1, x_2, x_3))$. I'm guessing that $U^{dagger}$ is like the pseudoinverse
Any advices?
linear-algebra
I'm really lost at this:
Let q be the quadratic form on $mathbb{R}^3$ given by
$q(x_1, x_2, x_3) = x_1x_2 + 2x_1x_3 + x_3^2$.
Find an invertible linear operator U on $mathbb{R}^3$ such that
$(U^{dagger}q) (x_1, x_2, x_3) = x_1^2-x_2^2 + x_3^2$.
$(U^{dagger}q)(x_1, x_2, x_3) = q(U(x_1, x_2, x_3))$. I'm guessing that $U^{dagger}$ is like the pseudoinverse
Any advices?
linear-algebra
linear-algebra
asked Nov 19 '18 at 3:06
Bayesian guy
47110
47110
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The matrix identity that follows, divided through by $2,$ says
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + frac{1}{4} y^2 = z^2 + 2 zx + xy $$
This can be revised quickly to
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + left( frac{y}{2} right)^2 = z^2 + 2 zx + xy $$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
Algorithm discussed at http://math.stackexchange.com/questions/1388421/reference-for-linear-algebra-books-that-teach-reverse-hermite-method-for-symmetr
https://en.wikipedia.org/wiki/Sylvester%27s_law_of_inertia
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
$$ D_0 = H $$
$$ E_j^T D_{j-1} E_j = D_j $$
$$ P_{j-1} E_j = P_j $$
$$ E_j^{-1} Q_{j-1} = Q_j $$
$$ P_j Q_j = Q_j P_j = I $$
$$ P_j^T H P_j = D_j $$
$$ Q_j^T D_j Q_j = H $$
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
==============================================
$$ E_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
$$
$$ P_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; Q_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{1} = left(
begin{array}{rrr}
2 & 0 & 2 \
0 & 0 & 1 \
2 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{2} = left(
begin{array}{rrr}
1 & 0 & - 1 \
0 & 1 & 0 \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{2} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & - 1 \
end{array}
right)
, ; ; ; Q_{2} = left(
begin{array}{rrr}
1 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{2} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & - 2 \
end{array}
right)
$$
==============================================
$$ E_{3} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
$$ P_{3} = left(
begin{array}{rrr}
0 & 1 & 0 \
0 & 0 & 1 \
1 & - 1 & 0 \
end{array}
right)
, ; ; ; Q_{3} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & 0 & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{3} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{4} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{4} = left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
, ; ; ; Q_{4} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{4} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
==============================================
$$ P^T H P = D $$
$$left(
begin{array}{rrr}
0 & 0 & 1 \
1 & 0 & - 1 \
frac{ 1 }{ 2 } & 1 & - frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
= left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
Then my U is H, right?
– Bayesian guy
Nov 19 '18 at 3:28
@Bayesianguy, no, $U$ is $Q.$ The symmetric matrix $H$ is the Hessian of second partial derivatives of the quadratic form, which I wrote with variables $x,y,z$
– Will Jagy
Nov 19 '18 at 3:30
oh I see, sorry. Thank you. I got lost with this problem.
– Bayesian guy
Nov 19 '18 at 3:58
How did you come up with that quadratic form at the beginning?
– Bayesian guy
Nov 19 '18 at 4:02
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
});
}
});
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%2f3004467%2ffind-u-dagger-for-a-quadratic-form%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
The matrix identity that follows, divided through by $2,$ says
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + frac{1}{4} y^2 = z^2 + 2 zx + xy $$
This can be revised quickly to
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + left( frac{y}{2} right)^2 = z^2 + 2 zx + xy $$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
Algorithm discussed at http://math.stackexchange.com/questions/1388421/reference-for-linear-algebra-books-that-teach-reverse-hermite-method-for-symmetr
https://en.wikipedia.org/wiki/Sylvester%27s_law_of_inertia
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
$$ D_0 = H $$
$$ E_j^T D_{j-1} E_j = D_j $$
$$ P_{j-1} E_j = P_j $$
$$ E_j^{-1} Q_{j-1} = Q_j $$
$$ P_j Q_j = Q_j P_j = I $$
$$ P_j^T H P_j = D_j $$
$$ Q_j^T D_j Q_j = H $$
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
==============================================
$$ E_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
$$
$$ P_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; Q_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{1} = left(
begin{array}{rrr}
2 & 0 & 2 \
0 & 0 & 1 \
2 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{2} = left(
begin{array}{rrr}
1 & 0 & - 1 \
0 & 1 & 0 \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{2} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & - 1 \
end{array}
right)
, ; ; ; Q_{2} = left(
begin{array}{rrr}
1 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{2} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & - 2 \
end{array}
right)
$$
==============================================
$$ E_{3} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
$$ P_{3} = left(
begin{array}{rrr}
0 & 1 & 0 \
0 & 0 & 1 \
1 & - 1 & 0 \
end{array}
right)
, ; ; ; Q_{3} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & 0 & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{3} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{4} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{4} = left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
, ; ; ; Q_{4} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{4} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
==============================================
$$ P^T H P = D $$
$$left(
begin{array}{rrr}
0 & 0 & 1 \
1 & 0 & - 1 \
frac{ 1 }{ 2 } & 1 & - frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
= left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
Then my U is H, right?
– Bayesian guy
Nov 19 '18 at 3:28
@Bayesianguy, no, $U$ is $Q.$ The symmetric matrix $H$ is the Hessian of second partial derivatives of the quadratic form, which I wrote with variables $x,y,z$
– Will Jagy
Nov 19 '18 at 3:30
oh I see, sorry. Thank you. I got lost with this problem.
– Bayesian guy
Nov 19 '18 at 3:58
How did you come up with that quadratic form at the beginning?
– Bayesian guy
Nov 19 '18 at 4:02
add a comment |
The matrix identity that follows, divided through by $2,$ says
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + frac{1}{4} y^2 = z^2 + 2 zx + xy $$
This can be revised quickly to
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + left( frac{y}{2} right)^2 = z^2 + 2 zx + xy $$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
Algorithm discussed at http://math.stackexchange.com/questions/1388421/reference-for-linear-algebra-books-that-teach-reverse-hermite-method-for-symmetr
https://en.wikipedia.org/wiki/Sylvester%27s_law_of_inertia
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
$$ D_0 = H $$
$$ E_j^T D_{j-1} E_j = D_j $$
$$ P_{j-1} E_j = P_j $$
$$ E_j^{-1} Q_{j-1} = Q_j $$
$$ P_j Q_j = Q_j P_j = I $$
$$ P_j^T H P_j = D_j $$
$$ Q_j^T D_j Q_j = H $$
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
==============================================
$$ E_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
$$
$$ P_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; Q_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{1} = left(
begin{array}{rrr}
2 & 0 & 2 \
0 & 0 & 1 \
2 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{2} = left(
begin{array}{rrr}
1 & 0 & - 1 \
0 & 1 & 0 \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{2} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & - 1 \
end{array}
right)
, ; ; ; Q_{2} = left(
begin{array}{rrr}
1 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{2} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & - 2 \
end{array}
right)
$$
==============================================
$$ E_{3} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
$$ P_{3} = left(
begin{array}{rrr}
0 & 1 & 0 \
0 & 0 & 1 \
1 & - 1 & 0 \
end{array}
right)
, ; ; ; Q_{3} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & 0 & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{3} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{4} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{4} = left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
, ; ; ; Q_{4} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{4} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
==============================================
$$ P^T H P = D $$
$$left(
begin{array}{rrr}
0 & 0 & 1 \
1 & 0 & - 1 \
frac{ 1 }{ 2 } & 1 & - frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
= left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
Then my U is H, right?
– Bayesian guy
Nov 19 '18 at 3:28
@Bayesianguy, no, $U$ is $Q.$ The symmetric matrix $H$ is the Hessian of second partial derivatives of the quadratic form, which I wrote with variables $x,y,z$
– Will Jagy
Nov 19 '18 at 3:30
oh I see, sorry. Thank you. I got lost with this problem.
– Bayesian guy
Nov 19 '18 at 3:58
How did you come up with that quadratic form at the beginning?
– Bayesian guy
Nov 19 '18 at 4:02
add a comment |
The matrix identity that follows, divided through by $2,$ says
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + frac{1}{4} y^2 = z^2 + 2 zx + xy $$
This can be revised quickly to
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + left( frac{y}{2} right)^2 = z^2 + 2 zx + xy $$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
Algorithm discussed at http://math.stackexchange.com/questions/1388421/reference-for-linear-algebra-books-that-teach-reverse-hermite-method-for-symmetr
https://en.wikipedia.org/wiki/Sylvester%27s_law_of_inertia
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
$$ D_0 = H $$
$$ E_j^T D_{j-1} E_j = D_j $$
$$ P_{j-1} E_j = P_j $$
$$ E_j^{-1} Q_{j-1} = Q_j $$
$$ P_j Q_j = Q_j P_j = I $$
$$ P_j^T H P_j = D_j $$
$$ Q_j^T D_j Q_j = H $$
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
==============================================
$$ E_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
$$
$$ P_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; Q_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{1} = left(
begin{array}{rrr}
2 & 0 & 2 \
0 & 0 & 1 \
2 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{2} = left(
begin{array}{rrr}
1 & 0 & - 1 \
0 & 1 & 0 \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{2} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & - 1 \
end{array}
right)
, ; ; ; Q_{2} = left(
begin{array}{rrr}
1 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{2} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & - 2 \
end{array}
right)
$$
==============================================
$$ E_{3} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
$$ P_{3} = left(
begin{array}{rrr}
0 & 1 & 0 \
0 & 0 & 1 \
1 & - 1 & 0 \
end{array}
right)
, ; ; ; Q_{3} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & 0 & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{3} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{4} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{4} = left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
, ; ; ; Q_{4} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{4} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
==============================================
$$ P^T H P = D $$
$$left(
begin{array}{rrr}
0 & 0 & 1 \
1 & 0 & - 1 \
frac{ 1 }{ 2 } & 1 & - frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
= left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
The matrix identity that follows, divided through by $2,$ says
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + frac{1}{4} y^2 = z^2 + 2 zx + xy $$
This can be revised quickly to
$$ (x+z)^2 - left(x - frac{y}{2} right)^2 + left( frac{y}{2} right)^2 = z^2 + 2 zx + xy $$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
Algorithm discussed at http://math.stackexchange.com/questions/1388421/reference-for-linear-algebra-books-that-teach-reverse-hermite-method-for-symmetr
https://en.wikipedia.org/wiki/Sylvester%27s_law_of_inertia
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
$$ D_0 = H $$
$$ E_j^T D_{j-1} E_j = D_j $$
$$ P_{j-1} E_j = P_j $$
$$ E_j^{-1} Q_{j-1} = Q_j $$
$$ P_j Q_j = Q_j P_j = I $$
$$ P_j^T H P_j = D_j $$
$$ Q_j^T D_j Q_j = H $$
$$ H = left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
==============================================
$$ E_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
$$
$$ P_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; Q_{1} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{1} = left(
begin{array}{rrr}
2 & 0 & 2 \
0 & 0 & 1 \
2 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{2} = left(
begin{array}{rrr}
1 & 0 & - 1 \
0 & 1 & 0 \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{2} = left(
begin{array}{rrr}
0 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & - 1 \
end{array}
right)
, ; ; ; Q_{2} = left(
begin{array}{rrr}
1 & 0 & 1 \
0 & 1 & 0 \
1 & 0 & 0 \
end{array}
right)
, ; ; ; D_{2} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & - 2 \
end{array}
right)
$$
==============================================
$$ E_{3} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 0 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
$$ P_{3} = left(
begin{array}{rrr}
0 & 1 & 0 \
0 & 0 & 1 \
1 & - 1 & 0 \
end{array}
right)
, ; ; ; Q_{3} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & 0 & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{3} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 1 \
0 & 1 & 0 \
end{array}
right)
$$
==============================================
$$ E_{4} = left(
begin{array}{rrr}
1 & 0 & 0 \
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
end{array}
right)
$$
$$ P_{4} = left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
, ; ; ; Q_{4} = left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
, ; ; ; D_{4} = left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
==============================================
$$ P^T H P = D $$
$$left(
begin{array}{rrr}
0 & 0 & 1 \
1 & 0 & - 1 \
frac{ 1 }{ 2 } & 1 & - frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
left(
begin{array}{rrr}
0 & 1 & frac{ 1 }{ 2 } \
0 & 0 & 1 \
1 & - 1 & - frac{ 1 }{ 2 } \
end{array}
right)
= left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
$$
$$ Q^T D Q = H $$
$$left(
begin{array}{rrr}
1 & 1 & 0 \
0 & - frac{ 1 }{ 2 } & 1 \
1 & 0 & 0 \
end{array}
right)
left(
begin{array}{rrr}
2 & 0 & 0 \
0 & - 2 & 0 \
0 & 0 & frac{ 1 }{ 2 } \
end{array}
right)
left(
begin{array}{rrr}
1 & 0 & 1 \
1 & - frac{ 1 }{ 2 } & 0 \
0 & 1 & 0 \
end{array}
right)
= left(
begin{array}{rrr}
0 & 1 & 2 \
1 & 0 & 0 \
2 & 0 & 2 \
end{array}
right)
$$
answered Nov 19 '18 at 3:19
Will Jagy
101k599199
101k599199
Then my U is H, right?
– Bayesian guy
Nov 19 '18 at 3:28
@Bayesianguy, no, $U$ is $Q.$ The symmetric matrix $H$ is the Hessian of second partial derivatives of the quadratic form, which I wrote with variables $x,y,z$
– Will Jagy
Nov 19 '18 at 3:30
oh I see, sorry. Thank you. I got lost with this problem.
– Bayesian guy
Nov 19 '18 at 3:58
How did you come up with that quadratic form at the beginning?
– Bayesian guy
Nov 19 '18 at 4:02
add a comment |
Then my U is H, right?
– Bayesian guy
Nov 19 '18 at 3:28
@Bayesianguy, no, $U$ is $Q.$ The symmetric matrix $H$ is the Hessian of second partial derivatives of the quadratic form, which I wrote with variables $x,y,z$
– Will Jagy
Nov 19 '18 at 3:30
oh I see, sorry. Thank you. I got lost with this problem.
– Bayesian guy
Nov 19 '18 at 3:58
How did you come up with that quadratic form at the beginning?
– Bayesian guy
Nov 19 '18 at 4:02
Then my U is H, right?
– Bayesian guy
Nov 19 '18 at 3:28
Then my U is H, right?
– Bayesian guy
Nov 19 '18 at 3:28
@Bayesianguy, no, $U$ is $Q.$ The symmetric matrix $H$ is the Hessian of second partial derivatives of the quadratic form, which I wrote with variables $x,y,z$
– Will Jagy
Nov 19 '18 at 3:30
@Bayesianguy, no, $U$ is $Q.$ The symmetric matrix $H$ is the Hessian of second partial derivatives of the quadratic form, which I wrote with variables $x,y,z$
– Will Jagy
Nov 19 '18 at 3:30
oh I see, sorry. Thank you. I got lost with this problem.
– Bayesian guy
Nov 19 '18 at 3:58
oh I see, sorry. Thank you. I got lost with this problem.
– Bayesian guy
Nov 19 '18 at 3:58
How did you come up with that quadratic form at the beginning?
– Bayesian guy
Nov 19 '18 at 4:02
How did you come up with that quadratic form at the beginning?
– Bayesian guy
Nov 19 '18 at 4:02
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f3004467%2ffind-u-dagger-for-a-quadratic-form%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