How to write summation of squared divergence terms in index summation notation?
$begingroup$
Sorry if this has already been asked before, but it's really difficult to try and explain the problem in words.
Anyways, I want to express the following:
$$phi = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2$$
My first instinct would be to square the divergence of $u_i$, but this would result in:
$$ left(frac{partial u_k}{partial x_k}right)^2 = left(frac{partial u_1}{partial x_1} + frac{partial u_2}{partial x_2}+ frac{partial u_3}{partial x_3}right)^2$$
I've narrowed it down to either of the following, but they both seem more like "hacks" than correct. I've also included the general line of thinking behind the ideas as well.
Idea 1:
$$ text{Idea 1: }quad frac{partial (u_k)^2}{partial (x_k)^2}=frac{partial (u_1)^2}{partial (x_1)^2} + frac{partial (u_2)^2}{partial (x_2)^2} + frac{partial (u_3)^2}{partial (x_3)^2} = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 $$
This being analogous to:
$$ text{Inspiration for Idea 1:} quad frac{(A)^2}{(B)^2} = left(frac{A}{B}right)^2$$
Idea 2:
$$ text{Idea 2: } quad frac{partial u_k}{partial x_k}frac{partial u_k}{partial x_k} = frac{partial u_1}{partial x_1}frac{partial u_1}{partial x_1} + frac{partial u_2}{partial x_2}frac{partial u_2}{partial x_2} + frac{partial u_3}{partial x_3}frac{partial u_3}{partial x_3} = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 $$
This idea was inspired from the incompressible form of the shear stress equations for fluids:
$$ text{Inspiration for Idea 2:} quad frac{partial^2 tau_{ij}}{partial x_j partial x_j} = frac{partial^2 tau_{i1}}{partial x_1^2} + frac{partial^2 tau_{i2}}{partial x_2^2} + frac{partial^2 tau_{i3}}{partial x_3^2}$$
On a slightly related note, if anyone knows of a good resource that goes over common index summation notation forms of common math expressions or the "rules" of index summation notation, let me know!
index-notation
$endgroup$
add a comment |
$begingroup$
Sorry if this has already been asked before, but it's really difficult to try and explain the problem in words.
Anyways, I want to express the following:
$$phi = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2$$
My first instinct would be to square the divergence of $u_i$, but this would result in:
$$ left(frac{partial u_k}{partial x_k}right)^2 = left(frac{partial u_1}{partial x_1} + frac{partial u_2}{partial x_2}+ frac{partial u_3}{partial x_3}right)^2$$
I've narrowed it down to either of the following, but they both seem more like "hacks" than correct. I've also included the general line of thinking behind the ideas as well.
Idea 1:
$$ text{Idea 1: }quad frac{partial (u_k)^2}{partial (x_k)^2}=frac{partial (u_1)^2}{partial (x_1)^2} + frac{partial (u_2)^2}{partial (x_2)^2} + frac{partial (u_3)^2}{partial (x_3)^2} = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 $$
This being analogous to:
$$ text{Inspiration for Idea 1:} quad frac{(A)^2}{(B)^2} = left(frac{A}{B}right)^2$$
Idea 2:
$$ text{Idea 2: } quad frac{partial u_k}{partial x_k}frac{partial u_k}{partial x_k} = frac{partial u_1}{partial x_1}frac{partial u_1}{partial x_1} + frac{partial u_2}{partial x_2}frac{partial u_2}{partial x_2} + frac{partial u_3}{partial x_3}frac{partial u_3}{partial x_3} = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 $$
This idea was inspired from the incompressible form of the shear stress equations for fluids:
$$ text{Inspiration for Idea 2:} quad frac{partial^2 tau_{ij}}{partial x_j partial x_j} = frac{partial^2 tau_{i1}}{partial x_1^2} + frac{partial^2 tau_{i2}}{partial x_2^2} + frac{partial^2 tau_{i3}}{partial x_3^2}$$
On a slightly related note, if anyone knows of a good resource that goes over common index summation notation forms of common math expressions or the "rules" of index summation notation, let me know!
index-notation
$endgroup$
add a comment |
$begingroup$
Sorry if this has already been asked before, but it's really difficult to try and explain the problem in words.
Anyways, I want to express the following:
$$phi = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2$$
My first instinct would be to square the divergence of $u_i$, but this would result in:
$$ left(frac{partial u_k}{partial x_k}right)^2 = left(frac{partial u_1}{partial x_1} + frac{partial u_2}{partial x_2}+ frac{partial u_3}{partial x_3}right)^2$$
I've narrowed it down to either of the following, but they both seem more like "hacks" than correct. I've also included the general line of thinking behind the ideas as well.
Idea 1:
$$ text{Idea 1: }quad frac{partial (u_k)^2}{partial (x_k)^2}=frac{partial (u_1)^2}{partial (x_1)^2} + frac{partial (u_2)^2}{partial (x_2)^2} + frac{partial (u_3)^2}{partial (x_3)^2} = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 $$
This being analogous to:
$$ text{Inspiration for Idea 1:} quad frac{(A)^2}{(B)^2} = left(frac{A}{B}right)^2$$
Idea 2:
$$ text{Idea 2: } quad frac{partial u_k}{partial x_k}frac{partial u_k}{partial x_k} = frac{partial u_1}{partial x_1}frac{partial u_1}{partial x_1} + frac{partial u_2}{partial x_2}frac{partial u_2}{partial x_2} + frac{partial u_3}{partial x_3}frac{partial u_3}{partial x_3} = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 $$
This idea was inspired from the incompressible form of the shear stress equations for fluids:
$$ text{Inspiration for Idea 2:} quad frac{partial^2 tau_{ij}}{partial x_j partial x_j} = frac{partial^2 tau_{i1}}{partial x_1^2} + frac{partial^2 tau_{i2}}{partial x_2^2} + frac{partial^2 tau_{i3}}{partial x_3^2}$$
On a slightly related note, if anyone knows of a good resource that goes over common index summation notation forms of common math expressions or the "rules" of index summation notation, let me know!
index-notation
$endgroup$
Sorry if this has already been asked before, but it's really difficult to try and explain the problem in words.
Anyways, I want to express the following:
$$phi = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2$$
My first instinct would be to square the divergence of $u_i$, but this would result in:
$$ left(frac{partial u_k}{partial x_k}right)^2 = left(frac{partial u_1}{partial x_1} + frac{partial u_2}{partial x_2}+ frac{partial u_3}{partial x_3}right)^2$$
I've narrowed it down to either of the following, but they both seem more like "hacks" than correct. I've also included the general line of thinking behind the ideas as well.
Idea 1:
$$ text{Idea 1: }quad frac{partial (u_k)^2}{partial (x_k)^2}=frac{partial (u_1)^2}{partial (x_1)^2} + frac{partial (u_2)^2}{partial (x_2)^2} + frac{partial (u_3)^2}{partial (x_3)^2} = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 $$
This being analogous to:
$$ text{Inspiration for Idea 1:} quad frac{(A)^2}{(B)^2} = left(frac{A}{B}right)^2$$
Idea 2:
$$ text{Idea 2: } quad frac{partial u_k}{partial x_k}frac{partial u_k}{partial x_k} = frac{partial u_1}{partial x_1}frac{partial u_1}{partial x_1} + frac{partial u_2}{partial x_2}frac{partial u_2}{partial x_2} + frac{partial u_3}{partial x_3}frac{partial u_3}{partial x_3} = left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 $$
This idea was inspired from the incompressible form of the shear stress equations for fluids:
$$ text{Inspiration for Idea 2:} quad frac{partial^2 tau_{ij}}{partial x_j partial x_j} = frac{partial^2 tau_{i1}}{partial x_1^2} + frac{partial^2 tau_{i2}}{partial x_2^2} + frac{partial^2 tau_{i3}}{partial x_3^2}$$
On a slightly related note, if anyone knows of a good resource that goes over common index summation notation forms of common math expressions or the "rules" of index summation notation, let me know!
index-notation
index-notation
asked Jan 28 at 2:02


u2berggeistu2berggeist
83
83
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
I think I've found a "correct" way of doing it.
Using the Kronecker delta, $delta_{ij}$:
$$ delta_{ij} =left{
begin{array}{ll}
0 & inot=j \
1 & i=j \
end{array}
right.
$$
Using that, we can get:
$$ left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 = frac{partial u_j}{partial x_k} frac{partial u_j}{partial x_k} delta_{jk} $$
This way, we use don't repeat indices more than twice and ensure that the two pair of indices are the same (and so square themselves).
$endgroup$
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%2f3090353%2fhow-to-write-summation-of-squared-divergence-terms-in-index-summation-notation%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$
I think I've found a "correct" way of doing it.
Using the Kronecker delta, $delta_{ij}$:
$$ delta_{ij} =left{
begin{array}{ll}
0 & inot=j \
1 & i=j \
end{array}
right.
$$
Using that, we can get:
$$ left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 = frac{partial u_j}{partial x_k} frac{partial u_j}{partial x_k} delta_{jk} $$
This way, we use don't repeat indices more than twice and ensure that the two pair of indices are the same (and so square themselves).
$endgroup$
add a comment |
$begingroup$
I think I've found a "correct" way of doing it.
Using the Kronecker delta, $delta_{ij}$:
$$ delta_{ij} =left{
begin{array}{ll}
0 & inot=j \
1 & i=j \
end{array}
right.
$$
Using that, we can get:
$$ left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 = frac{partial u_j}{partial x_k} frac{partial u_j}{partial x_k} delta_{jk} $$
This way, we use don't repeat indices more than twice and ensure that the two pair of indices are the same (and so square themselves).
$endgroup$
add a comment |
$begingroup$
I think I've found a "correct" way of doing it.
Using the Kronecker delta, $delta_{ij}$:
$$ delta_{ij} =left{
begin{array}{ll}
0 & inot=j \
1 & i=j \
end{array}
right.
$$
Using that, we can get:
$$ left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 = frac{partial u_j}{partial x_k} frac{partial u_j}{partial x_k} delta_{jk} $$
This way, we use don't repeat indices more than twice and ensure that the two pair of indices are the same (and so square themselves).
$endgroup$
I think I've found a "correct" way of doing it.
Using the Kronecker delta, $delta_{ij}$:
$$ delta_{ij} =left{
begin{array}{ll}
0 & inot=j \
1 & i=j \
end{array}
right.
$$
Using that, we can get:
$$ left(frac{partial u_1}{partial x_1}right)^2 + left(frac{partial u_2}{partial x_2}right)^2 + left(frac{partial u_3}{partial x_3}right)^2 = frac{partial u_j}{partial x_k} frac{partial u_j}{partial x_k} delta_{jk} $$
This way, we use don't repeat indices more than twice and ensure that the two pair of indices are the same (and so square themselves).
answered Jan 30 at 22:41


u2berggeistu2berggeist
83
83
add a comment |
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.
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%2f3090353%2fhow-to-write-summation-of-squared-divergence-terms-in-index-summation-notation%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