gives a numerical approximation to the product .


uses a step di in the product.

Details and Options

  • NProduct can be used for products with both finite and infinite limits.
  • NProduct[f,{i,},{j,},] can be used to evaluate multidimensional products.
  • The following options can be given:
  • AccuracyGoalInfinitynumber of digits of final accuracy sought
    EvaluationMonitorNoneexpression to evaluate whenever f is evaluated
    MethodAutomaticmethod to use
    PrecisionGoalAutomaticnumber of digits of final precision sought
    VerifyConvergenceTruewhether to explicitly test for convergence
    WorkingPrecisionMachinePrecisionthe precision used in internal computations
  • Possible settings for the Method option include:
  • "EulerMaclaurin"EulerMaclaurin summation method
    "WynnEpsilon"Wynn epsilon extrapolation method
  • With the EulerMaclaurin method, the options AccuracyGoal and PrecisionGoal can be used to specify the accuracy and precision to try and get in the final answer. NProduct stops when the error estimates it gets imply that either the accuracy or precision sought has been reached.
  • You should realize that in sufficiently pathological cases, the algorithms used by NProduct can give wrong answers. In most cases, you can test the answer by looking at its sensitivity to changes in the setting of options for NProduct.
  • VerifyConvergence is only used for products with infinite limits.
  • N[Product[]] calls NProduct.
  • NProduct first localizes the values of all variables, then evaluates f with the variables being symbolic, and then repeatedly evaluates the result numerically.
  • NProduct has attribute HoldAll, and effectively uses Block to localize variables.


open all close all

Basic Examples  (1)

Approximate an infinite product numerically:

Click for copyable input

The error versus the exact value of :

Click for copyable input

Scope  (5)

Options  (8)

Applications  (2)

Properties & Relations  (2)

Possible Issues  (1)

Introduced in 1988