freeCodeCamp/guide/chinese/mathematics/even-and-odd-functions/index.md

795 B
Raw Blame History

title localeTitle
Even and Odd Functions 偶数和奇数函数

偶数和奇数函数

一般功能

函数f是从集合A输入/域到集合B输出/共域)的映射。它可以是基于许多分类的不同类型。

甚至功能:

当且仅当f(x) = f(-x)函数f(x)才是偶数。

偶函数的示例将是f(x) = x^2因为f(2) = 2^2 = 4 = (-2)^2 = f(-2)

三角函数 - cos(x)sec(x)也是偶函数

奇怪的功能

当且仅当f(x) = -f(-x)函数f(x)才是偶数

奇函数的一个例子是f(x) = x^3因为f(2) = 2^3 = 8 = -(-8) = -(-2)^3 = -f(-2)

三角函数 - sin(x) tan(x) cot(x)cosec(x)也是偶函数

更多信息: