Even and Odd Functions
\subsection{Even and Odd Functions}
For a function $f$ in the form $y=f(x)$, we describe its type of symmetry by
calling the function \textbf{even}\index{even functions} or
\textbf{odd}\index{odd functions}.
An \textbf{even function} means $f(-x)=f(x)$.
An example of an even function is the function $f(x)=x^2$.
\begin{figure}[H]
\begin{center}
\begin{tikzpicture}
\begin{axis}[
ylabel={$f(x)=x^2$},
axis x line=bottom,
axis y line=center,
tick align=outside,
yticklabels={,,}
xticklabels={,,}
xtickmax=10,
]
\addplot[smooth,red]{x^2};
\end{axis}
\end{tikzpicture}
\end{center}
\caption{$f(x)=x^2$ is an \emph{even function}.}
\end{figure}
An \textbf{odd function} means $f(-x)=-f(x)$. An example of this is the
function $f(x)=x^3$.
\begin{figure}[H]
\begin{center}
\begin{tikzpicture}
\begin{axis}[
ylabel={$f(x)=x^3$},
axis x line=bottom,
axis y line=center,
tick align=outside,
yticklabels={,,}
xticklabels={,,}
xtickmax=10,
]
\addplot[smooth,red]{x^3};
\end{axis}
\end{tikzpicture}
\end{center}
\caption{$f(x)=x^3$ is an \emph{odd function}.}
\end{figure}
\subsection{Surjective, Injective, and Bijective Functions}
\index{one-to-one}
\index{injective}
If each $f(x)$ value produced by a function $f$ can only be obtained by one
unique $x$ value, then we say $f$ is \textbf{injective}, or
\textbf{one-to-one}.
$ f: D \to R $ is injective or one-to-one iff
\[
\forall{(x_1 \wedge x_2 \in D)}
\big[f(x_1)=f(x_2)
\to x_1=x_2\big].
\]
\begin{remark}
This also means that for injective functions,
$ x_1 \neq x_2 \to f(x_1) \neq f(x_2)$.
\end{remark}
\begin{figure}[H]
\begin{center}
\subfigure[The function $f(x)=x^2$ is not \emph{one-to-one} because
there are two possible $x$-values that can produce each given
$y$-value.]
{\
\begin{tikzpicture}
\begin{axis}[
ylabel={$f(x)=x^2$},
axis x line=bottom,
axis y line=center,
tick align=outside,
yticklabels={,,}
xticklabels={,,}
xtickmax=10,
]
\addplot[smooth,red]{x^2};
\end{axis}
\end{tikzpicture}
}
\hspace{0.2in}%
\subfigure[The function $f(x)=x^3$ is \emph{one-to-one} because every
given $y$-value is mapped from a unique $x$-value.]
{\
\begin{tikzpicture}
\begin{axis}[
ylabel={$f(x)=x^3$},
axis x line=bottom,
axis y line=center,
tick align=outside,
yticklabels={,,}
xticklabels={,,}
xtickmax=10,
]
\addplot[smooth,blue]{x^3};
\end{axis}
\end{tikzpicture}
}
\end{center}
\end{figure}
A function $y=f(x)$ is one-to-one iff its graph intersects each horizontal
line at most once.\index{horizontal line test}
\index{onto}
\index{surjective}
$f: D \to R $ is \textbf{surjective} or \textbf{onto} iff
\[\forall (y \in R) \exists (x \in D) \big[f(x)=y\big]. \]
\begin{figure}[H]
\begin{center}
\subfigure[The function $f(x)=x^2$ is not \emph{surjective} because
the values $(-\infty, 0)$ are never reached in its range.]
{\
\begin{tikzpicture}
\begin{axis}[
ylabel={$f(x)=x^2$},
axis x line=bottom,
axis y line=center,
tick align=outside,
yticklabels={,,}
xticklabels={,,}
xtickmax=10,
]
\addplot[smooth,red]{x^2};
\end{axis}
\end{tikzpicture}
}
\hspace{0.2in}%
\subfigure[The function $f(x)=x^3$ is \emph{one-to-one} because all $y$ values from $-\infty, \infty)$ have corresponding $x$-values.]
{\
\begin{tikzpicture}
\begin{axis}[
ylabel={$f(x)=x^3$},
axis x line=bottom,
axis y line=center,
tick align=outside,
yticklabels={,,}
xticklabels={,,}
xtickmax=10,
]
\addplot[smooth,blue]{x^3};
\end{axis}
\end{tikzpicture}
}
\end{center}
\end{figure}
\index{bijective}
A function $f:A \to B$ is \textbf{bijective} iff it is \emph{both injective and surjective}.
\begin{figure}[H]
\begin{center}
\subfigure[The function $f(x)=x^2$ is not bijective.]
{\
\begin{tikzpicture}
\begin{axis}[
ylabel={$f(x)=x^2$},
xlabel={$x$},
axis x line=bottom,
axis y line=center,
tick align=outside,
yticklabels={,,}
xticklabels={,,}
xtickmax=10,
]
\addplot[smooth,red]{x^2};
\end{axis}
\end{tikzpicture}
}
\hspace{0.2in}%
\subfigure[The function $f(x)=x^3$ is bijective.]
{\
\begin{tikzpicture}
\begin{axis}[
ylabel={$f(x)=x^3$},
xlabel={$x$},
axis x line=bottom,
axis y line=center,
tick align=outside,
yticklabels={,,}
xticklabels={,,}
xtickmax=10,
]
\addplot[smooth,blue]{x^3};
\end{axis}
\end{tikzpicture}
}
\end{center}
\end{figure}
\subsection{Graphs} \index{graphs}
\index{graph}
If $f$ is a function with a domain $D$, then its \textbf{graph} is the set
\[ \Big\{ \big( x,f(x) \big) \Big | x \in D \Big\},\]
that is, it is the set of all points $(x, f(x))$ where $x$ is in the domain of the function.%
\footnote{Here, the difference between the words \emph{graph} and \emph{plot} is sometimes confusing. Technically speaking, a \emph{graph} is the set defined explicitly here, while a function's \emph{plot} refers to any pictorial representation of a data set. However, since the usage is inconsistent in this text, these formal definitions will usually not apply. It can be safely assumed that as long as we are within the realm of real numbers, all uses of either \emph{graph} or \emph{plot} hereafter simply refer to the pictorial representation of a function's graph in the form of a curve on the cartesian plane.}
If $ (x,y) $ is a point on $f$, then $y=f(x)$ is the height of the graph above point $x$.
This height might be positive or negative, depending on the sign of $f(x)$.
We use this height relationship to plot functions.
\begin{figure}[H]
\begin{center}
\begin{tikzpicture}
\begin{axis}[
ylabel={$f(x)$},
xlabel={$x$},
axis x line=bottom,
axis y line=center,
tick align=outside,
yticklabels={,,}
xticklabels={,,}
xtickmax=10,
]
\addplot[smooth,red]{x+2};
\end{axis}
\end{tikzpicture}
\caption{A plot of the function $f(x)=x+2$}
\end{center}
\end{figure}
Even and Odd Functions的更多相关文章
- 【JavaScript】Understanding callback functions in Javascript
Callback functions are extremely important in Javascript. They’re pretty much everywhere. Originally ...
- UNDERSTANDING CALLBACK FUNCTIONS IN JAVASCRIPT
转自: http://recurial.com/programming/understanding-callback-functions-in-javascript/ Callback functio ...
- 理解callback function in javascript
以下内容主要摘自[1,2] (1)In javascript, functions are first-class objects, which means functions can be used ...
- Legendre polynomials
In mathematics, Legendre functions are solutions to Legendre's differential equation: In particular, ...
- (转) Functions
Functions Functions allow to structure programs in segments of code to perform individual tasks. In ...
- ES6 In Depth: Arrow functions
Arrows <script language="javascript"> <!-- document.bgColor = "brown"; ...
- SQL Fundamentals || Single-Row Functions || 数字函数number functions
SQL Fundamentals || Oracle SQL语言 SQL Fundamentals: Using Single-Row Functions to Customize Output使用单 ...
- How to create functions that can accept variable number of parameters such as Format
http://www.chami.com/tips/delphi/112696D.html Sometimes it's necessary to pass undefined number of [ ...
- Clausen Functions (and related series, functions, integrals)
Since the Clausen functions are intimately related to a number of other important special functions, ...
随机推荐
- 关于EL表达式取值的问题
EL表达式取值时,如果没有指定作用域,EL表达式会自动按照作用域的大小,从小到大依次去找;比如${s},会自动按照"pageContext,request,session,applicati ...
- R包和python对应的库
数据库 类别 Python R MySQL mysql-connector-python(官方) RMySQL Oracle cx_Oracle ROracle Redis redis rredis ...
- sublimetext 2 编译文件带input时 提示 EOFError: EOF when reading a line
昨天在网下下载了个什么sublimetxt 2 的破解版,然后让我折腾了半天,没错 ,就是因为这个 EOFError: EOF when reading a line错误让我搞的半死.怨自己,贪图中文 ...
- 自对齐(self-aligned)
C语言是自对齐的,32位以4字节对齐,64位以8字节对齐(1字节=8 bits) 自对齐的好处:在一条指令内完成数据的取或者存的操作,使得内存访问更快:否则,如果一个变量跨机器字存储,那么要做两次或更 ...
- 41-json.decoder.JSONDecodeError: Invalid control character at: line 6894 column 12 (char 186418)
在使用python中将单词本的单词用正则匹配成字典后,以json存储,仪json读入,但是一直报错: 原因是: 正则处理后的数据有的出了点问题,导致一个字典的 有多个相同的键!!!,则肯定会报错啊!! ...
- 9-sort使用时的错误
/* 矩形嵌套 题目内容: 有n个矩形,每个矩形可以用a,b来描述,表示长和宽.矩形X(a,b)可以嵌套在矩形 ...
- JSP页面中的EL表达式介绍
1.什么是EL? Expression Language(表达式语言) 2.EL的功能 替代JSP页面中数据访问时的复杂编码. 3.EL的特点 自动转换类型 使用简单 4.EL表达式的语法 ${EL ...
- Spring框架的AOP的底层实现之JDK的动态代理(代码了解,理解原理)
1.创建接口UserDao: package com.huida.demo1; public interface UserDao { public void save(); public void u ...
- AssemblyVersion,AssemblyFileVersion解释以及获取
简而言之,AssemblyVersion: 是程序集的版本,.NET的CLR用,用于标识出该dll的版本信息,用于定义强名称的版本号: AssemblyFileVersion: 为编译器生成的文件加入 ...
- PAT 1035 插入与归并(25)(代码+思路+测试点分析)
1035 插入与归并(25 分) 根据维基百科的定义: 插入排序是迭代算法,逐一获得输入数据,逐步产生有序的输出序列.每步迭代中,算法从输入序列中取出一元素,将之插入有序序列中正确的位置.如此迭代直到 ...