Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Calculus > Discrete Calculus >
Mathematica > Mathematics and Algorithms > Discrete Mathematics > Discrete Calculus >

DiscreteShift

DiscreteShift[f, i]
gives the discrete shift TemplateBox[{{f, (, i, )}, i}, DiscreteShift2]=f(i+1).
DiscreteShift[f, {i, n}]
gives the multiple shift .
DiscreteShift[f, {i, n, h}]
gives the multiple shift of step h.
DiscreteShift[f, i, j, ...]
computes partial shifts with respect to i, j, ....
  • All quantities that do not explicitly depend on the variables given are taken to have constant partial shift.
Shift with respect to i:
Shift with step h:
Multiple shifts with respect to i:
Enter DiscreteShift using Esc shift Esc, and subscripts using Ctrl+_:
The shift with respect to i of scoped operators:
Compute the first and second shift:
First and second shift with step h:
The first partial shifts wrt i and j _(i,j)f(i,j) :
Higher partial shifts:
Partial shifts with steps r and s:
Elementary functions:
Integer functions:
Holonomic sequences satisfy a linear difference equation:
Sums:
Shifting inside the summation sign:
In this case i is not a free variable:
Products:
Differencing product limits:
Integrals:
Shifting integration limits:
Limits:
Here the i is not a free variable:
Define a symbolic mean operator using DiscreteShift:
It also works with scoping constructs:
Use on special functions:
Use DiscreteShift to define derivatives:
DiscreteShift is a linear operator:
Product rule:
Quotient rule:
Chain rule:
DiscreteShift can be expressed in terms of DifferenceDelta:
DifferenceDelta can be expressed in terms of DiscreteShift:
DiscreteRatio can be expressed in terms of DiscreteShift:
Using ReplaceAll to implement DiscreteShift can be dangerous:
DiscreteShift understands scoping rules:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team