Wolfram Language

Symbolic & Numeric Calculus

Compute Difference Quotients

The Wolfram Language can compute not only the well-known univariate difference quotient, but multivariate and higher-order quotients as well.

In[1]:=
Click for copyable input
DifferenceQuotient[f[x], {x, h}]
Out[1]=

The second-order difference quotient is the difference quotient of the first-order quotient.

In[2]:=
Click for copyable input
DifferenceQuotient[f[x], {x, 2, h}]
Out[2]=
In[3]:=
Click for copyable input
DifferenceQuotient[f[x], {x, h}]; DifferenceQuotient[f[x], {x, 2, h}]; % == DifferenceQuotient[%%, {x, h}]
Out[3]=

Compute a multivariate difference quotient.

In[4]:=
Click for copyable input
DifferenceQuotient[(x + y + 1)/(((x^2 + 3) (y + 5))), {x, h}, {y, k}]
Out[4]=

Create a table of increasing difference quotients of a polynomial, which produces polynomials of decreasing order.

In[5]:=
Click for copyable input
Grid[Table[ DifferenceQuotient[x^3 y^2 + 5 x y + 11, {x, i, r}, {y, j, s}], {i, 4}, {j, 3}], Spacings -> {2, 1}]
Out[5]=

Related Examples

de es fr ja ko pt-br ru zh