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, ...
随机推荐
- node集成mysql——pool连接池
安装 mysql npm install mysql or cnpm install mysql 创建db.js,实现mysql操作模块 var mysql = require('mysql'); v ...
- bat cmd dos 通过拖拽参数 上传 截取拖拽上传文件名
echo off setlocal enabledelayedexpansion :: L 小写 for /l %%i in (1,1,10000) do ( :con set /p a= selec ...
- SpringCloud——Eureka服务注册和发现
一.SpringCloud和Dubbo SpringCloud整合了一套较为完整的微服务解决方案框架,而Dubbo只是解决了微服务的几个方面的问题. content Dubbo SpringCloud ...
- KMS激活win10专业版失败
关闭防火墙.杀毒软件之类,激活就成功了. 有个小发现,选择更改产品密钥,输入W269N-WFGWX-YVC9B-4J6C9-T83GX,同时用KMS激活,可能成功率比较高!(专业版的,来自http:/ ...
- html&css精华总结
1.标题标签 h标签 2.段落标签 p 3.换行 br 4.空格 5.大于号,小于号 > < 6.双引号 " 7.版权符号 © 8.注册符 ® --------------- ...
- apache配置防盗链
1.确保apache已开启rewrite. 2.在.htaccess文件中添加如下: RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://X ...
- Jmeter如何把CSV文件的路径设置成一个变量,且变量的值是一个相对路径
首先,在Jmeter中,通过User Defined Variables设置一个变量用来存储CSV文件所在文件夹的相对路径 备注: 这个相对路径前面不要加.\ 加了的话在运行的时候会报错,提示找不到那 ...
- 5条面经,助你成功拿到UX设计师Offer
为什么成为 UX设计师? 如果你经常逛推酷, 知乎, 设计达人或者一些专业的设计师论坛,博客,你会发现,第一批成为UX设计师的人,其实是误打误撞地落入这个行业的.那时候人们并不清楚UX设计师是什么 ...
- 2.自己搭建的一个简易的ioc容器
1.persondao类namespace MyselfIoC{ public class PersonDao { public override string ToStri ...
- pca总结,非常详细
#coding=utf- from numpy import * '''通过方差的百分比来计算将数据降到多少维是比较合适的, 函数传入的参数是特征值和百分比percentage,返回需要降到的维度数n ...