Identifying a function from a graph, or sketching a function after a transformation of the form \(k\tiny\ \normalsize f(x),\) \(f(kx),\) \(f(x)+k,\) \(f(x+k)\) or a combination of these
Sketching the inverse of a logarithmic or an exponential function
Knowing the meaning and use of the terms domain and range
Determining a composite function given \(f(x)\) and \(g(x),\) where \(f(x)\) and \(g(x)\) can be trigonometric, logarithmic, exponential or algebraic functions
Determining the inverse function \(f^{-1}(x)\) of given functions.
So the maximal domain of \(g\) is \(\{x : x\in \mathbb R , x\leqslant -4, x\geqslant 3\}. \)
Example 3 (non-calculator)
Function \(h\) is defined by \(h(x)=1+cos\,x\) on the domain \( \{x : x\in \mathbb R , \frac{\pi}{2} \leqslant x \leqslant \frac{3\pi}{2}\}. \) Identify the range of \(h.\)
From Nat 5, you should know that this is the basic \(y=cos\,x\) graph translated up \(1\).
The domain is restricted to the real values between \(\frac{\pi}{2}\) radians \((=90^\circ)\) and \(\frac{3\pi}{2}\) radians \((=270^\circ),\) inclusive.
A quick, rough sketch of the graph should let you confirm that the range of \(h\) is \(\{y : y\in \mathbb R , 0 \leqslant y \leqslant 1\}. \)
Functions \(f\) and \(g\) are defined on \(\mathbb R\) by \(f(x)=1-2x\) and \(g(x)=3x^2-5.\) Find and simplify expressions for the composite functions: (a) \(f\left(g(x)\right)\) (b) \(g\left(f(x)\right)\)
(a) Note that \(f\left(g(x)\right)\) means that \(g(x)\) is the input for \(f\). So:
Functions \(f\) and \(g\) are defined on \(\mathbb R\).
The inverse functions \(f^{-1}\) and \(g^{-1}\) both exist. (a) Given \(f(x)=3-2x,\) find \(f^{-1}(x).\) (b) Given \(g(4)=5,\) write down the value of \(g^{-1}(5).\) (c) Write down an expression for \(g(g^{-1}(x)).\)
(a) The SQA will accept two different methods of finding an inverse function.
Method 1:
Use the definition of \(f^{-1}\) as the function for which \(f\left(f^{-1}(x)\right)=x,\) and rearrange:
(b) This would only be a one-mark question. We are not told the rule for the function \(g\) so it relies upon us understanding that an inverse function performs the opposite operation to the original function. So if \(g(4)=5,\) then \(g^{-1}(5)=4.\) It's as simple as that!
(c) This would also only be worth one mark. Again, we need to understand that substituting any value into a function and then feeding the output into its inverse function takes us back to the original value. So without any need for working, \(g(g^{-1}(x))=x.\) Similarly, if we had been asked to write down an expression for \(g^{-1}(g(x)),\) that would also just be \(x.\)
The graph of a function \(f\) has turning points at \((0,2)\) and \((3,-\!1)\small.\) State the coordinates of each of these turning points on the following graphs: (a) \(y=f(x\!-\!3)\) (b) \(y=2f(x)\) (c) \(y=-4f(x\!+\!2)\) (d) \(y=f(3x)-1\) (e) \(y=\frac{1}{2}f(x)+4\)
(a) \(y\!=\!f(x\!-\!3)\) translates the graph of \(y\!=\!f(x)\) to the right by \(3\) units. So the turning points become \((3,2)\) and \((6,-\!1)\small.\)
(b) \(y\!=\!2f(x)\) 'stretches' the graph \(y\!=\!f(x)\) vertically. Each \(y\)-coordinate is multiplied by \(2\small.\) So the turning points are \((0,4)\) and \((3,-\!2)\small.\)
(c) \(y\!=\!-\!4f(x\!+\!2)\) involves both a vertical and a horizontal transformation. The \(y\)-coordinates are multiplied by \(-4\small,\) which has the effect of 'stretching' the graph to \(4\) times its original height and also reflecting it in the \(x\)-axis. The graph is also translated \(2\) units to the left. So the turning points are \((-\!2,-\!8)\) and \((1,4)\small.\)
(d) \(y\!=\!f(3x)\!-\!1\) also involves both a vertical and a horizontal transformation. The \(y\)-coordinates are reduced by \(1\) and the \(x\)-coordinates are divided by \(3.\) So the turning points are \((0,1)\) and \((1,-\!2)\small.\)
(e) \(y=\frac{1}{2}f(x)\!+\!4\) involves two vertical transformations. First, each \(y\)-coordinate is multiplied by \(\frac{1}{2}\) (that is, divided by \(2\)) and then \(4\) is added, which translates the graph up \(4\) units. So the turning points are \((0,5)\) and \((3,\frac{7}{2})\small.\)
Example 8 (non-calculator)
SQA Higher Maths 2019 Paper 1 Q12
Functions \(f\) and \(g\) are defined by
• \(f(x)=\large\frac{1}{\sqrt{x}}\small,\) where \(x\gt 0\)
• \(g(x)=5-x\small,\) where \(x\in \mathbb R\small.\) (a) Determine an expression for \(f(g(x))\small.\) (b) State the range of values of \(x\) for which \(f(g(x))\) is undefined.
(a) Note that \(f\left(g(x)\right)\) means that \(g(x)\) is the input for \(f\). So:
(b) We cannot square root a negative number or divide by zero, so \(f(g(x)\) is undefined when:
$$
\begin{eqnarray}
5-x &\leq& 0 \\[6pt]
5 &\leq& x \\[6pt]
x &\geq& 5
\end{eqnarray}
$$
Example 9 (calculator)
SQA Higher Maths 2019 Paper 2 Q8
A function, \(f\small,\) is given by \(f(x)=\sqrt[\leftroot{-1}\uproot{6}\scriptstyle 3]{x}+8\small.\)
The domain of \(f\) is \(1\leqslant x\leqslant 1000\small,\normalsize\ x\in\mathbb R\small.\)
The inverse function, \(f^{-1}\small,\) exists. (a) Find \(f^{-1}\small.\) (b) State the domain of \(f^{-1}\small.\)
(a) The SQA will accept two different methods of finding an inverse function.
Method 1:
Use the definition of \(f^{-1}\) as the function for which \(f\left(f^{-1}(x)\right)=x,\) and rearrange:
A function, \(h\small,\) is defined by \(h(x)=4+\large\frac{1}{3}\normalsize x\small,\) where \(x\in\mathbb R\small.\)
Find the inverse function, \(h^{-1}(x)\small.\)
The SQA will accept two different methods of finding an inverse function.
Method 1:
Use the definition of \(h^{-1}\) as the function for which \(h\left(h^{-1}(x)\right)=x,\) and rearrange: