Min 命令

Min( <List> )

返回列表中数字的最小值。

Min({-2, 12, -23, 17, 15}) 得出 -23 .

If the input consists of non-numeric objects, then this command considers the numbers associated with those objects. If you have a list of segments for example, the command Min( <List> ) will yield the minimum segment length.

Min( <Interval> )

返回区间的下界。

Min(2 < x < 3) 得出 2 .

不区分开区间和闭区间。

Min( <Number>, <Number> )

返回两个给定数字的最小值。

Min(12, 15) 得出 12 .

Min( <Function>, <Start x-Value>, <End x-Value> )

计算(数值上)给定区间内函数的 局部 极小值点。函数应连续 且仅有 一个局部 极小值点(且无局部极大值)。

Min(exp(x) x^3,-4,-2) 创建点 (-3, -1.34425)。

对于多项式,您应使用 Extremum .

Min( <List of Data>, <List of Frequencies> )

返回具有相应频率的数据列表的最小值。

Min({1, 2, 3, 4, 5}, {0, 3, 4, 2, 3}) 得出 2,即第一个列表中频率大于 0 的最小数字。

  • 如果您想求两个函数的最小值 f(x) g(x) 那么您可以定义 (f(x) + g(x) - abs(f(x) - g(x)))/2

  • 另请参阅 Max , ExtremumFunction_Inspector .

CAS 语法

Min( <Function>, <Start x-Value>, <End x-Value> )

与代数视图不同,此语法将给出区间上的最小值,包括端点

  • Min(x^2,-1,2) 生成点 (0,0)

  • Min(-x^2,-1,2) 生成点 (2,-4)