Graphing-Multiplying Ordinates
Every question with a fully worked solution.
- Graphing-Multiplying Ordinates - Video - Multiplication & Division of Functions Watch
Theory
Multiplying ordinates builds the graph of \(y=f(x)\times h(x)\) by multiplying the \(y\)-values of two graphs at each \(x\). This Year 11 Mathematics Extension 1 page shows how to find the domain, the zeros and the sign of a product of functions, how to use key values and end behaviour to sketch it or choose the correct graph, and how products with exponentials and logarithms behave.
The product of two functions \(f\) and \(h\) is the function \[g(x)=f(x)\times h(x).\] To graph it by multiplying ordinates, take each \(x\)-value and multiply the two heights (the ordinates). For example, if \(f(2)=3\) and \(h(2)=-2\), then \(g(2)=3\times(-2)=-6\).
The product exists only where both functions exist, so its domain is the set of \(x\)-values in both domains. Because \(\log_2 x\) needs \(x\gt 0\), any product with \(\log_2 x\) has domain \(x\gt 0\).
The zeros are the easiest points to find. A product is zero exactly when one of its factors is zero, so the \(x\)-intercepts of \(y=f(x)\times h(x)\) are the \(x\)-intercepts of \(f\) together with those of \(h\) (inside the domain).
The sign of the product comes from the signs of the factors. If \(f(x)\) and \(h(x)\) have the same sign, the product is positive and the graph is above the \(x\)-axis. If they have opposite signs, it is below. The sign can only change at a zero of a factor (or where a factor is undefined). A squared factor such as \(x^2\) is never negative, so at its zero the graph touches the \(x\)-axis instead of crossing it (as long as the other factor is not also zero there).
Where one factor equals \(1\), the product equals the other factor: the two graphs meet there. Where one factor equals \(0\), the product is \(0\) whatever the other factor is.
The ends of the graph come from the highest power once the product is expanded: \(x^2(2-x)=2x^2-x^3\), so as \(x\to+\infty\) the product \(\to-\infty\). An exponential factor shrinks to \(0\) much faster than any power of \(x\) grows, and a power of \(x\) shrinks to \(0\) faster than a logarithm grows: for example \(x^2\ln x\to0\) as \(x\to0^{+}\).
The product of two functions, and its value at \(x=a\):
Zeros of a product:
Sign of a product from the signs of the factors:
| \(f(x)\) | \(h(x)\) | \(f(x)\times h(x)\) | Graph |
|---|---|---|---|
| \(+\) | \(+\) | \(+\) | above the \(x\)-axis |
| \(-\) | \(-\) | \(+\) | above the \(x\)-axis |
| \(+\) | \(-\) | \(-\) | below the \(x\)-axis |
| \(-\) | \(+\) | \(-\) | below the \(x\)-axis |
| \(0\) | any | \(0\) | on the \(x\)-axis |
How to sketch \(y=f(x)\times h(x)\) by multiplying ordinates
- State the domain: the \(x\)-values where both \(f\) and \(h\) are defined.
- Find the zeros of each factor. These are the \(x\)-intercepts of the product.
- Decide the sign of the product in each interval between the zeros: same signs give \(+\), opposite signs give \(-\).
- Calculate a few key values, such as \(g(0)=f(0)\times h(0)\), \(g(1)\) and \(g(-1)\).
- Describe the ends: expand to find the highest power, or decide which factor wins as \(x\to\pm\infty\) or as \(x\) approaches the edge of the domain.
- Sketch through the key points: cross the axis at a simple zero, touch it at a squared factor, and show any asymptotes.
In a multiple-choice question, calculate two or three key values and the end behaviour, then reject every graph that does not match them.
Key values:
| \(g(0)\) | \(=\) | \(f(0)\times h(0)=2\times3=6\) |
| \(g(-2)\) | \(=\) | \(f(-2)\times h(-2)=0\times5=0\) |
| \(g(3)\) | \(=\) | \(f(3)\times h(3)=5\times0=0\) |
| \(g(1)\) | \(=\) | \(f(1)\times h(1)=3\times2=6\) |
Signs: for \(x\lt-2\), \(f(x)\lt0\) and \(h(x)\gt 0\), so \(g(x)\lt0\). For \(-2\lt x\lt3\), both are positive, so \(g(x)\gt 0\). For \(x\gt 3\), \(f(x)\gt 0\) and \(h(x)\lt0\), so \(g(x)\lt0\).
| \(g(x)\) | \(=\) | \((x+2)(3-x)\) |
| \(\) | \(=\) | \(-x^2+x+6\) |
A concave down parabola. Its axis is halfway between the zeros, at \(x=\dfrac{1}{2}\), and \(g\left(\dfrac{1}{2}\right)=\dfrac{5}{2}\times\dfrac{5}{2}=\dfrac{25}{4}\).
\(\therefore\) \(g\) is a concave down parabola with \(x\)-intercepts \(\mathbf{-2}\) and \(\mathbf{3}\), \(y\)-intercept \(\mathbf{6}\) and maximum \(\mathbf{\left(\dfrac{1}{2},\dfrac{25}{4}\right)}\).
Key values:
| \(g(0)\) | \(=\) | \(0\times3=0\) |
| \(g(3)\) | \(=\) | \(9\times0=0\) |
| \(g(1)\) | \(=\) | \(f(1)\times h(1)=1\times2=2\) |
| \(g(2)\) | \(=\) | \(4\times1=4\) |
| \(g(-1)\) | \(=\) | \(1\times4=4\) |
Signs: \(f(x)=x^2\ge0\), so \(g\) has the sign of \(h\). For \(x\lt3\) (\(x\ne0\)), \(g(x)\gt 0\); for \(x\gt 3\), \(g(x)\lt0\). The graph does not change sign at \(x=0\), so it touches the axis at the origin.
| \(g(x)\) | \(=\) | \(x^2(3-x)\) |
| \(\) | \(=\) | \(3x^2-x^3\) |
\(\therefore\) as \(x\to+\infty\), \(g(x)\to-\infty\); as \(x\to-\infty\), \(g(x)\to+\infty\).
\(\therefore\) the graph touches the \(x\)-axis at \(\mathbf{(0,0)}\), crosses it at \(\mathbf{x=3}\), and falls to the right.
Both functions are defined for all \(x\), so the domain is all real \(x\). Since \(2^{x}\gt 0\) for every \(x\), the sign of \(y\) is the sign of \(x\).
At \(x=0\), \(f(0)=0\ \rightarrow\ y=0\).
For \(x\lt0\), \(f(x)\lt0\) and \(g(x)\gt 0\), \(\therefore y\lt0\).
For \(x\gt 0\), \(f(x)\gt 0\) and \(g(x)\gt 0\), \(\therefore y\gt 0\).
| \(y(1)\) | \(=\) | \(1\times2=2\) |
| \(y(-1)\) | \(=\) | \(-1\times\dfrac{1}{2}=-\dfrac{1}{2}\) |
| \(y(-2)\) | \(=\) | \(-2\times\dfrac{1}{4}=-\dfrac{1}{2}\) |
As \(x\to\infty\), both factors grow, so \(y\to\infty\).
As \(x\to-\infty\), \(2^{x}\to0\) much faster than \(|x|\) grows, so \(y\to0\) from below: the \(x\)-axis is an asymptote on the left.
\(\therefore\) the graph starts just below the \(x\)-axis on the far left, dips to a low point between \(x=-2\) and \(x=-1\), passes through \(\mathbf{(0,0)}\) and rises steeply for \(x\gt 0\).
(i) State the domain.
(ii) Show that \(y\ge0\) for every \(x\) in the domain.
(iii) Sketch the graph.
(i) The domain of \(f(x)=x-1\) is all \(x\). The domain of \(g(x)=\log_2 x\) is \(x\gt 0\).
\(\therefore\) the domain of \(y=(x-1)\log_2 x\) is \(\mathbf{x\gt 0}\).
(ii) At \(x=1\), \(f(1)=0\) and \(g(1)=0\ \rightarrow\ y=0\).
For \(0\lt x\lt1\), \(f(x)\lt0\) and \(g(x)\lt0\), \(\therefore y\gt 0\).
For \(x\gt 1\), \(f(x)\gt 0\) and \(g(x)\gt 0\), \(\therefore y\gt 0\).
\(\therefore y\ge0\), with \(y=0\) only at \(x=1\): the graph touches the \(x\)-axis at \((1,0)\).
(iii) Key values:
| \(y\left(\dfrac{1}{2}\right)\) | \(=\) | \(\left(-\dfrac{1}{2}\right)\times(-1)=\dfrac{1}{2}\) |
| \(y(2)\) | \(=\) | \(1\times1=1\) |
| \(y(4)\) | \(=\) | \(3\times2=6\) |
As \(x\to0^{+}\), \(f(x)\to-1\) and \(g(x)\to-\infty\), so \(y\to+\infty\): the \(y\)-axis (\(x=0\)) is a vertical asymptote.
As \(x\to\infty\), both factors grow, so \(y\to\infty\).
Common pitfalls
Frequently asked questions
What does multiplying ordinates mean?
It means building the graph of \(y=f(x)\times h(x)\) by multiplying the \(y\)-values (ordinates) of the two graphs at each \(x\)-value.
Where does the graph of a product of functions cut the x-axis?
At every \(x\)-intercept of either factor, as long as both functions are defined there, because a product is zero exactly when one factor is zero.
How do you know if the product is above or below the x-axis?
Compare the signs of the factors. The same signs give a positive product (above the axis); opposite signs give a negative product (below the axis).
What is the domain of f(x) times g(x)?
The \(x\)-values where both \(f\) and \(g\) are defined. For example, \((x-1)\log_2 x\) has domain \(x\gt 0\).
How do you find what a product does as x gets very large?
Expand a polynomial product and look at the highest power, such as \(-x^3\). For a product with an exponential, the exponential wins: \(x\cdot2^{x}\to0\) as \(x\to-\infty\).
Why does the graph touch the x-axis instead of crossing it?
A squared factor such as \(x^2\) is never negative, so, if the other factor is not zero there, the product has the same sign on both sides of that zero. The graph touches the axis and turns back.