What is a Centered Difference Matrix?

  • Context: Undergrad 
  • Thread starter Thread starter Septimra
  • Start date Start date
  • Tags Tags
    Difference Matrix
Click For Summary

Discussion Overview

The discussion revolves around the concept of a centered difference matrix, exploring its definition, application, and the differences between standard and centered difference matrices. Participants engage in clarifying the mathematical formulation and implications of these matrices.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant describes a difference matrix as computing differences between entries of a vector, providing specific examples of differences calculated from a vector x.
  • Another participant questions the application of centered difference matrices, expressing uncertainty about their benefits without context.
  • A different participant clarifies that the discussion is not focused on a specific application but rather on understanding centered difference matrices.
  • One participant challenges the initial definition of the centered difference matrix, suggesting that it should involve even steps and providing examples for both 3D and 4D spaces.
  • Another participant proposes that a centered difference matrix represents the difference between preceding and following entries in the vector, questioning the role of zero in the context of the matrix.
  • A later reply supports the idea that zero serves as a placeholder, indicating the absence of a value in that position.

Areas of Agreement / Disagreement

Participants express differing interpretations of the definition and formulation of centered difference matrices, with no consensus reached on a singular definition or application. The discussion remains unresolved regarding the correct understanding of the concept.

Contextual Notes

Participants highlight potential misunderstandings regarding the definition of centered difference matrices and the role of zero in their formulation. There are references to specific mathematical sources and examples, but the discussion does not resolve these points.

Septimra
Messages
27
Reaction score
0
A difference matrix takes the entries of a vector and computes the differences between the entries like
[x1 - 0 ] = difference from 0 and x1: 1 step
[x2 - x1] = difference from x2 and x1: 1 step
[x3 - x2] = difference from x3 and x2: 1 step

assuming we had a vector x in Ax = b

So why now when it becomes centered, does it become
[x2 - 0 ] = difference from x2 and 0: 1 step
[x3 - x1] = difference from x3 and x1: 1 step
[0 - x3] = difference from 0 and x3: -3 steps!
 
Last edited by a moderator:
Physics news on Phys.org
What is the application for this? It is tough to tell what the benefit would be without seeing how it is used.
 
its not for a particular application, just for better understanding of centered difference matrices
 
I think you might have the wrong definition for the centered difference matrix.
See the exercises in this source: http://math.mit.edu/~gs/linearalgebra/ila0103.pdf
They should be even steps. For a 3D space, you might get something like:
##\pmatrix{x2\\x3-x1\\-x2} ##
In a 4D space, you might get something like:
##\pmatrix{x2\\x3-x1\\x4-x2\\-x3} ##
These originate from matrices that look like:
##\pmatrix{0 &1& 0\\-1 &0 &1 \\ 0&-1& 0 } ## or ##\pmatrix{0 &1 &0 &0\\-1 &0 &1& 0 \\ 0 &-1& 0 & 1 \\ 0 &0 &-1& 0 } ##
times your x vector.
 
A centered difference matrix is the difference between the preceding and following entries in x. I hope that's correct.
So it follows that your 3D centered difference matrix,

x1 is the difference between x2 - 0
x2 is the difference between x3 - x1

However
x3 is NOT the difference between 0 - x3

Is it because there is no x4 value in which to center x3 around i.e. x4 - x2?

When its not centered via the link you prescribed, it's easy to understand.
 
That's how I understand it. Zero does not refer to any value, it simply is a placeholder to show that there is no x value in that place.
 
  • Like
Likes   Reactions: Septimra

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K