# A-level Mathematics/OCR/C3/Special Functions and Transformations

< A-level Mathematics‎ | OCR‎ | C3

## The Modulus FunctionEdit

The modulus function is written as ${\displaystyle {\begin{vmatrix}x\end{vmatrix}}}$  and it is defined as ${\displaystyle {\begin{vmatrix}x\end{vmatrix}}={\begin{cases}-x,&{\mbox{if }}x\leq 0\\x,&{\mbox{if }}x\geq 0\end{cases}}}$ . You can also write ${\displaystyle {\begin{vmatrix}a\end{vmatrix}}={\begin{vmatrix}b\end{vmatrix}}\Longleftrightarrow a^{2}=b^{2}}$ , because the quadratic power will make any negative positive and then you take the surd and the function becomes the original function. The modulus function has a many:1 mapping, and therefore there is no inverse function. The modulus function is used when the value of the resultant is important not its sign. Only in British English is the term Modulus Function used otherwise it is called the Absolute Value Function. So on most calculator you will see abs().

### Solving Modulus InequalitiesEdit

When solving an inequality involving a modulus it is important to remember that you cannot simply ignore the modulus. Instead you need to use the rule: ${\displaystyle |x|\leq b\iff -b\leq x\leq b}$ . Then you solve as you would a regular problem. In example:

Solve for x ${\displaystyle |3x-2|\leq 4}$

${\displaystyle -4\leq 3x-2\leq 4}$

${\displaystyle -2\leq 3x\leq 6}$

${\displaystyle -2/3\leq x\leq 2}$

## Graphing The Modulus FunctionEdit

### The Graph of y=|f(x)|Edit

In the graph of ${\displaystyle y={\begin{vmatrix}f\left(x\right)\end{vmatrix}}}$ , the negative side of the graph is reflected through the x-axis. Below is the graph of ${\displaystyle {\begin{vmatrix}f\left(x\right)\end{vmatrix}}=x^{2}-5}$

### The Graph of y=f(|x|)Edit

In the graph of ${\displaystyle y=f\left({\begin{vmatrix}x\end{vmatrix}}\right)}$ , the positive side of the graph is reflected through the y-axis. Below is the graph of ${\displaystyle f\left({\begin{vmatrix}x\end{vmatrix}}\right)=x^{2}-4x}$ .

## The Natural FunctionsEdit

### The Natural Exponent FunctionEdit

The base e is a transcendental function defined by an infinite series, which approximately is 2.71828:

${\displaystyle e=\sum _{n=0}^{\infty }{\frac {1}{n!}}={\frac {1}{0!}}+{\frac {1}{1!}}+{\frac {1}{2!}}+{\frac {1}{3!}}+{\frac {1}{4!}}+\cdots }$ .

e is one of the most important number in mathematics because of its use in most natural growth processes calculations. Since it is an exponential function it follows all the laws of exponential functions. The natural exponent is the inverse function of natural logarithm, so that ${\displaystyle e^{\ln x}=x\,}$ . On the right is the graph of ${\displaystyle e^{x}\,}$ .

### The Natural LogarithmEdit

The natural log is a logarithmic function with the base e: ${\displaystyle \log _{e}x\,}$ . It has a special notation of ${\displaystyle \ln x\,}$ . Since the natural logarithm is a logarithmic function it follows all the laws of logarithmic functions. The natural logarithm is the inverse function of natural exponent, so that ${\displaystyle \ln e^{x}=x\,}$ . On the right is the graph of ${\displaystyle \ln x\,}$ .

### Exponential growth and decayEdit

One of the primary usage of the natural functions is the calculation of natural growth or decay, which can be calculated using the following formula: ${\displaystyle y\left(t\right)=y_{0}e^{kt}\,}$ , where y(t) is the final value, ${\displaystyle y_{0}}$  is the initial value, k is the growth constant, t is the elapsed time. One special decay is the half life of an element there k is defined as: ${\displaystyle k=-{\frac {\ln 2}{\mbox{half-life}}}}$ . Exponential growth and decay have a very broad range of applications from measuring the growth bacteria colony to calculating involving interest.

#### Example of Exponential GrowthEdit

A bacterial colony was started with 200 bacteria, in 2 hours the colony has grown to 600 bacteria. Predict the quantity of bacteria in the colony in 6 hours?

From this we know:

• y(t) = 600
• ${\displaystyle y_{0}}$  = 200
• k = x
• t = 2

Now we substitute the values into the formula:

${\displaystyle 600=200e^{2k}\,}$

Now we ensure that e is alone:

${\displaystyle {\frac {600}{200}}=e^{2x}\,}$

Since ln is the inverse function we use it to remove the base e.

${\displaystyle \ln 3=\ln e^{2x}\,}$

We can now solve for x.

${\displaystyle 1.1\approx 2x\,}$ , so the growth factor for the colony is approximately .55

Now we can predict the quantity of bacteria after 6 hours.

${\displaystyle x=200e^{6\times .55}\,}$

${\displaystyle x=5423\ bacteria\,}$

#### Example of Half-life decayEdit

The element Carbon-14 has a half-life of 5730 years. When will a 100 gram sample of C-14 be reduced to 20% C-14 and 80% C-12?

• y(t) = 20% * 100 = 20
• ${\displaystyle y_{0}}$  = 100
• half-life = 5730
• t = x

We substitute all knows into the function. Note the special formula for the growth constant.

${\displaystyle 20=100e^{\left(-{\frac {\ln 2}{5730}}\times t\right)}}$

Now we ensure e is alone:

${\displaystyle .2=e^{\left(-{\frac {\ln 2}{5730}}\times t\right)}}$

Since ln is the inverse function we use it to remove the base e.

${\displaystyle \ln .2=\ln e^{\left(-{\frac {\ln 2}{5730}}\times t\right)}}$

${\displaystyle \ln .2=-{\frac {\ln 2}{5730}}\times t}$

Now we rearrange the equation to isolate t.

${\displaystyle t=-5730{\frac {\ln .2}{\ln 2}}}$

Solving for t we get that the sample will be reduced to 20% C-14 and 80% C-12 after about 13304.6 years.

${\displaystyle t\approx 13304.6\ years}$

## Transformations of FunctionsEdit

In Core 3 we finish our table of transformations with three more reflections. Below is the complete table of transformations.

#### ReflectionEdit

1. ${\displaystyle y=-f\left(x\right)\,}$  is a reflection of ${\displaystyle y=f\left(x\right)\,}$  through the x axis.
2. ${\displaystyle y=f\left(-x\right)\,}$  is a reflection of ${\displaystyle y=f\left(x\right)\,}$  through the y axis.
3. ${\displaystyle y={\begin{vmatrix}f\left(x\right)\end{vmatrix}}}$  is a reflection of ${\displaystyle y=f\left(x\right)\,}$  when y < 0, through the x-axis.
4. ${\displaystyle y=f\left({\begin{vmatrix}x\end{vmatrix}}\right)}$  is a reflection of ${\displaystyle y=f\left(x\right)\,}$  when x > 0, through the y-axis.
5. ${\displaystyle y=f^{-1}\left(x\right)\,}$  is a reflection of ${\displaystyle y=f\left(x\right)\,}$  through the line y=x. ${\displaystyle y=f\left(x\right)\,}$  must have a 1:1 mapping.

#### StretchingEdit

1. ${\displaystyle y=f\left(bx\right)\,}$  is stretched away from the y-axis if ${\displaystyle 0  and stretched towards the y-axis if ${\displaystyle b>1\,}$ . In both cases the change is by 1/b units.
2. ${\displaystyle y=af\left(x\right)\,}$  is stretched towards the x-axis if ${\displaystyle 0  and stretched away from the x-axis if ${\displaystyle a>1\,}$ . In both cases the change is by a units.

#### TranslationsEdit

1. ${\displaystyle y=f\left(x-h\right)\,}$  is a translation of f(x) by h units to the right.
2. ${\displaystyle y=f\left(x+h\right)\,}$  is a translation of f(x) by h units to the left.
3. ${\displaystyle y=f\left(x\right)+k\,}$  is a translation of f(x) by k units upwards.
4. ${\displaystyle y=f\left(x\right)-k\,}$  is a translation of f(x) by k units downwards.

### ExampleEdit

Describe how the function ${\displaystyle f\left(x\right)=x^{3}}$  can be mapped onto ${\displaystyle f\left(x\right)=|-4\left(|x|+5\right)^{\frac {1}{3}}+10|}$ .

1) A reflection through the x-axis.

2) A stretch by 4 in the x-direction

3) A shift in the x plane by 5 units to the left, alternatively written as a reflection through x = -5.

4) A shift in the y plane by 10 units up.

5) A reflection through y = x.

6)A reflection of ${\displaystyle y=f\left(x\right)\,}$  when y < 0, through the x-axis.

7)A reflection of ${\displaystyle y=f\left(x\right)\,}$  when x > 0, through the y-axis.

Now for the graph:

Not very easy to recognize as the graph of ${\displaystyle x^{3}}$  with transformations.

This is part of the C3 (Core Mathematics 3) module of the A-level Mathematics text.