$u_{i,j}=frac{u_{i-1,j}+u_{i+1,j}+u_{i,j-1}+u_{i,j+1}}{4}$
$begingroup$
Let your living room be the unit square. We denote the coordinates in the square by x and y. The dots are at locations $(x_i,y_j)$ (see the image here: https://imgur.com/a/IPbyuzp). We denote the temperature in $(x_i ,y_j)$ by $u_{i,j}$. The temperature is the average of the temperatures in the four neighboring points:
$$u_{i,j}=frac{u_{i-1,j}+u_{i+1,j}+u_{i,j-1}+u_{i,j+1}}{4} (1).$$
Now assume that $u_{i,j}=u(x_i,y_j)$ with $u(x,y)=x^2-y^2$. Show that $(1)$ holds.
My attempt: The average of the temperatures in the four neighboring points is
$$frac{x_{i-1}^2-y_j^2+x_{i+1}^2-y_j^2+x_i^2-y_{j-1}^2+x_i^2-y_{j+1}^2}{4}.$$ We note that $frac{x_{i-1}+x_{i+1}}{2}=x_i, frac{y_{j-1}+y_{j+1}}{2}=y_j$. Then consider x coordinates first: $x_{i-1}^2+x_{i+1}^2+2x_i^2=(x_{i-1}+x_{i+1})^2-2x_{i-1}x_{i+1}+2x_i^2=4x_i^2-2x_{i-1}x_{i+1}+2x_i^2$. So we get $4x_i^2$, which is what we need, but I don't know how to deal with the rest...
numerical-linear-algebra
$endgroup$
add a comment |
$begingroup$
Let your living room be the unit square. We denote the coordinates in the square by x and y. The dots are at locations $(x_i,y_j)$ (see the image here: https://imgur.com/a/IPbyuzp). We denote the temperature in $(x_i ,y_j)$ by $u_{i,j}$. The temperature is the average of the temperatures in the four neighboring points:
$$u_{i,j}=frac{u_{i-1,j}+u_{i+1,j}+u_{i,j-1}+u_{i,j+1}}{4} (1).$$
Now assume that $u_{i,j}=u(x_i,y_j)$ with $u(x,y)=x^2-y^2$. Show that $(1)$ holds.
My attempt: The average of the temperatures in the four neighboring points is
$$frac{x_{i-1}^2-y_j^2+x_{i+1}^2-y_j^2+x_i^2-y_{j-1}^2+x_i^2-y_{j+1}^2}{4}.$$ We note that $frac{x_{i-1}+x_{i+1}}{2}=x_i, frac{y_{j-1}+y_{j+1}}{2}=y_j$. Then consider x coordinates first: $x_{i-1}^2+x_{i+1}^2+2x_i^2=(x_{i-1}+x_{i+1})^2-2x_{i-1}x_{i+1}+2x_i^2=4x_i^2-2x_{i-1}x_{i+1}+2x_i^2$. So we get $4x_i^2$, which is what we need, but I don't know how to deal with the rest...
numerical-linear-algebra
$endgroup$
1
$begingroup$
Hint: Get rid of redundant variables. If $d$ is the unit length of the grid, and $left(a, bright)$ is the lower left corner of the room, then $x_i = a + id$ for all $i$, and $y_j = b + jd$ for all $j$. Now substitute these into the left and right hand sides of the equation.
$endgroup$
– darij grinberg
Jan 28 at 1:12
add a comment |
$begingroup$
Let your living room be the unit square. We denote the coordinates in the square by x and y. The dots are at locations $(x_i,y_j)$ (see the image here: https://imgur.com/a/IPbyuzp). We denote the temperature in $(x_i ,y_j)$ by $u_{i,j}$. The temperature is the average of the temperatures in the four neighboring points:
$$u_{i,j}=frac{u_{i-1,j}+u_{i+1,j}+u_{i,j-1}+u_{i,j+1}}{4} (1).$$
Now assume that $u_{i,j}=u(x_i,y_j)$ with $u(x,y)=x^2-y^2$. Show that $(1)$ holds.
My attempt: The average of the temperatures in the four neighboring points is
$$frac{x_{i-1}^2-y_j^2+x_{i+1}^2-y_j^2+x_i^2-y_{j-1}^2+x_i^2-y_{j+1}^2}{4}.$$ We note that $frac{x_{i-1}+x_{i+1}}{2}=x_i, frac{y_{j-1}+y_{j+1}}{2}=y_j$. Then consider x coordinates first: $x_{i-1}^2+x_{i+1}^2+2x_i^2=(x_{i-1}+x_{i+1})^2-2x_{i-1}x_{i+1}+2x_i^2=4x_i^2-2x_{i-1}x_{i+1}+2x_i^2$. So we get $4x_i^2$, which is what we need, but I don't know how to deal with the rest...
numerical-linear-algebra
$endgroup$
Let your living room be the unit square. We denote the coordinates in the square by x and y. The dots are at locations $(x_i,y_j)$ (see the image here: https://imgur.com/a/IPbyuzp). We denote the temperature in $(x_i ,y_j)$ by $u_{i,j}$. The temperature is the average of the temperatures in the four neighboring points:
$$u_{i,j}=frac{u_{i-1,j}+u_{i+1,j}+u_{i,j-1}+u_{i,j+1}}{4} (1).$$
Now assume that $u_{i,j}=u(x_i,y_j)$ with $u(x,y)=x^2-y^2$. Show that $(1)$ holds.
My attempt: The average of the temperatures in the four neighboring points is
$$frac{x_{i-1}^2-y_j^2+x_{i+1}^2-y_j^2+x_i^2-y_{j-1}^2+x_i^2-y_{j+1}^2}{4}.$$ We note that $frac{x_{i-1}+x_{i+1}}{2}=x_i, frac{y_{j-1}+y_{j+1}}{2}=y_j$. Then consider x coordinates first: $x_{i-1}^2+x_{i+1}^2+2x_i^2=(x_{i-1}+x_{i+1})^2-2x_{i-1}x_{i+1}+2x_i^2=4x_i^2-2x_{i-1}x_{i+1}+2x_i^2$. So we get $4x_i^2$, which is what we need, but I don't know how to deal with the rest...
numerical-linear-algebra
numerical-linear-algebra
edited Jan 28 at 0:13
dxdydz
asked Jan 27 at 16:51
dxdydzdxdydz
42110
42110
1
$begingroup$
Hint: Get rid of redundant variables. If $d$ is the unit length of the grid, and $left(a, bright)$ is the lower left corner of the room, then $x_i = a + id$ for all $i$, and $y_j = b + jd$ for all $j$. Now substitute these into the left and right hand sides of the equation.
$endgroup$
– darij grinberg
Jan 28 at 1:12
add a comment |
1
$begingroup$
Hint: Get rid of redundant variables. If $d$ is the unit length of the grid, and $left(a, bright)$ is the lower left corner of the room, then $x_i = a + id$ for all $i$, and $y_j = b + jd$ for all $j$. Now substitute these into the left and right hand sides of the equation.
$endgroup$
– darij grinberg
Jan 28 at 1:12
1
1
$begingroup$
Hint: Get rid of redundant variables. If $d$ is the unit length of the grid, and $left(a, bright)$ is the lower left corner of the room, then $x_i = a + id$ for all $i$, and $y_j = b + jd$ for all $j$. Now substitute these into the left and right hand sides of the equation.
$endgroup$
– darij grinberg
Jan 28 at 1:12
$begingroup$
Hint: Get rid of redundant variables. If $d$ is the unit length of the grid, and $left(a, bright)$ is the lower left corner of the room, then $x_i = a + id$ for all $i$, and $y_j = b + jd$ for all $j$. Now substitute these into the left and right hand sides of the equation.
$endgroup$
– darij grinberg
Jan 28 at 1:12
add a comment |
0
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',
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%2f3089808%2fu-i-j-fracu-i-1-ju-i1-ju-i-j-1u-i-j14%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f3089808%2fu-i-j-fracu-i-1-ju-i1-ju-i-j-1u-i-j14%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
1
$begingroup$
Hint: Get rid of redundant variables. If $d$ is the unit length of the grid, and $left(a, bright)$ is the lower left corner of the room, then $x_i = a + id$ for all $i$, and $y_j = b + jd$ for all $j$. Now substitute these into the left and right hand sides of the equation.
$endgroup$
– darij grinberg
Jan 28 at 1:12