# 4.5: Toolbox Functions

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

Learning the general shapes of some common function families can be helpful in analyzing various problems. This can also be helpful in applying the ideas of statistical regression. Statistical regression typically gathers a collection of data points and tries to fit a mathematical function to the data points. Choosing the type of function that will best fit the data is an important step in determining a suitable regression function.
Below is an example of a Linear Regression: The graph below is an example of a Quadratic Regression: Being familiar with the typical shape of the various function families can help in analyzing experimental data.
The standard function families are:    Some other function families that we won't discuss are:

Exponential function: $$\quad f(x)=a^{x}$$
Logarithmic function: $$f(x)=\log _{b} x$$
Trigonometric function: $$\quad f(x)=\sin x$$

Exercises 4.5
Sketch the graph for each of the following transformations.
1) $$\quad f(x)=x^{2}+3$$
2) $$\quad f(x)=x^{2}-4$$
3) $$\quad f(x)=(x-5)^{2}+3$$
4) $$\quad f(x)=(x+1)^{2}-4$$
5) $$\quad f(x)=|x|-2$$
6) $$\quad f(x)=|x|+5$$
7) $$\quad f(x)=|x+3|-2$$
8) $$\quad f(x)=|x-1|+5$$

Match each of the following equations to the appropriate graph.
9) $$\quad f(x)=\sqrt{x+4}-1$$
10) $$\quad h(x)=x^{2}+x-6$$
11) $$\quad g(x)=|x+2|-3$$
12) $$\quad f(x)=4 x-x^{2}$$
13) $$\quad h(x)=-|x-2|+1$$
14) $$\quad g(x)=-\frac{3}{5} x+2$$
15) $$\quad h(x)=\sqrt{x}+4$$
16) $$\quad f(x)=x^{3}-3 x^{2}+3 x+2$$
17) $$\quad g(x)=-\sqrt{x+2}$$
18) $$\quad h(x)=-\sqrt{x+1}-3$$
19) $$\quad f(x)=\frac{5}{4} x-2$$
20) $$\quad f(x)=4 x-x^{3}$$    This page titled 4.5: Toolbox Functions is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Richard W. Beveridge.