795 B
795 B
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)
也是偶函数