Skip to main content
ExamExplained
NSW · Maths Advanced
Maths Advanced study scene
§-Syllabus dot point
NSWMaths AdvancedSyllabus dot point

How do we sketch graphs built from sums, differences, products, quotients and reciprocals of standard functions?

Sketch graphs of sums, differences, products, quotients, squares and reciprocals of two known functions

A focused answer to the HSC Maths Advanced dot point on combining functions graphically. How to build sketches of f+gf + g, fgf g, f/gf / g, 1/f1 / f and f2f^2 from the graphs of ff and gg, where features come from, and what asymptotes and zeros do, with worked examples.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to sketch a function built by combining two known functions. The combinations are sums f+gf + g, differences fgf - g, products fgf g, quotients fg\frac{f}{g}, squares f2f^2, and reciprocals 1f\frac{1}{f}. You need to read features off the parent graphs and predict the combined graph.

The answer

Sums and differences

For y=f(x)+g(x)y = f(x) + g(x), add the heights of the two graphs at each xx. Useful checks:

  • Zeros of f+gf + g occur where the two graphs are reflections of each other through the xx-axis, that is f(x)=g(x)f(x) = -g(x), not generally where either function is zero alone.
  • If ff is bounded and gg is unbounded, the long-term behaviour of f+gf + g is the same as gg.
  • For fgf - g, subtract the heights. At points where f=gf = g, the difference is zero.

Products

For y=f(x)g(x)y = f(x) g(x), multiply the heights:

  • Zeros of fgf g are the union of the zeros of ff and gg.
  • The sign of fgf g follows the rule of signs: (+)(+)=+(+)(+) = +, (+)()=(+)(-) = -, and so on.
  • If one factor is bounded between 1-1 and 11 (like sinx\sin x), the other factor acts as an envelope: fgf|f g| \le |f| and the graph oscillates between y=±f(x)y = \pm f(x).
  • If both factors grow, fgf g grows faster.

Quotients

For y=f(x)g(x)y = \frac{f(x)}{g(x)}:

  • Zeros of fg\frac{f}{g} are the zeros of ff, provided gg is non-zero there.
  • Vertical asymptotes occur at zeros of gg where ff is non-zero.
  • If g(x)=0g(x) = 0 and f(x)=0f(x) = 0 at the same point, there is a hole or a finite limit; check carefully.
  • Horizontal asymptotes come from the ratio of long-term behaviours: fg0\frac{f}{g} \to 0 if gg grows faster, a non-zero constant if they grow at the same rate, and ±\pm \infty if ff grows faster.

Reciprocals

The graph of y=1f(x)y = \frac{1}{f(x)} comes from y=f(x)y = f(x) by these rules:

  • Where f(x)=0f(x) = 0, 1f\frac{1}{f} has a vertical asymptote.
  • Where f(x)=±1f(x) = \pm 1, the reciprocal also equals ±1\pm 1, so the two graphs meet on the lines y=1y = 1 and y=1y = -1.
  • 1f\frac{1}{f} has the same sign as ff everywhere f0f \neq 0.
  • Local maxima of ff where f>0f > 0 become local minima of 1f\frac{1}{f}, and vice versa, because reciprocating flips relative size.
  • As f(x)±f(x) \to \pm \infty, 1f(x)0\frac{1}{f(x)} \to 0. As f(x)0±f(x) \to 0^{\pm}, 1f(x)±\frac{1}{f(x)} \to \pm \infty.

Squares

For y=(f(x))2y = (f(x))^2:

  • Zeros of f2f^2 are the zeros of ff, but now they are double roots: the graph touches the xx-axis and turns.
  • f20f^2 \ge 0 everywhere, so the graph never dips below the xx-axis.
  • Where f(x)=±1f(x) = \pm 1, f2(x)=1f^2(x) = 1. Where f(x)>1|f(x)| > 1, f2>ff^2 > |f|. Where f(x)<1|f(x)| < 1, f2<ff^2 < |f|.
  • Extrema of f2f^2 occur where ff=0f f' = 0, that is where f=0f = 0 or where ff has an extremum.

Build the reciprocal graph, stage by stage

The reciprocal y=1fy = \frac{1}{f} is the most-examined combination, and the safest way to sketch it is to mark the structure from ff first, then draw. Below, y=1x21y = \frac{1}{x^2 - 1} is built from f(x)=x21f(x) = x^2 - 1 one decision at a time. (The 2022 HSC asked exactly this kind of "describe the features of 1f\frac{1}{f}" question.)

Stage 1, plot the parent function. Draw y=f(x)=x21y = f(x) = x^2 - 1, an upward parabola. Mark the two features that drive the reciprocal: the zeros at x=1x = -1 and x=1x = 1, and the minimum at (0,1)(0, -1). Everything about 1f\frac{1}{f} follows from these.

Plot the parent function fThe parabola y equals f of x equals x squared minus one, with zeros at minus one and one and a minimum at zero minus one.xy-11y = f(x)zerozeromin (0, -1)Stage 1Plot y = f(x) = x² - 1. Note the zeros at x = ±1 and the minimum (0, -1).

Stage 2, turn zeros into asymptotes and mark the meeting lines. Each zero of ff (at x=±1x = \pm 1) becomes a vertical asymptote of 1f\frac{1}{f}, because dividing by zero blows up. Draw those dashed verticals. Also draw the lines y=1y = 1 and y=1y = -1: wherever f=±1f = \pm 1, the reciprocal equals ±1\pm 1 too, so 1f\frac{1}{f} and ff cross on these lines.

Turn zeros into asymptotesThe zeros of f at plus and minus one become vertical asymptotes of one over f, shown dashed, and the horizontal lines y equals one and y equals minus one mark where the reciprocal meets the original.xy-11y = f(x)asymptote x = 1x = -1y = 1y = -1Stage 2Zeros of f become vertical asymptotes of 1/f; the lines y = ±1 are where 1/f meets f.

Stage 3, sketch the three branches. Now draw 1f\frac{1}{f} between and outside the asymptotes. Outside (x<1(\,x < -1 and x>1)x > 1) the parabola is positive and large, so the reciprocal is positive and small, hugging the xx-axis far out and rising to ++\infty at each asymptote. Between the asymptotes ff is negative (down to 1-1 at the centre), so 1f\frac{1}{f} is negative, plunging to -\infty near each asymptote.

Sketch the reciprocal branchesThe reciprocal y equals one over f of x is drawn as three branches: two outer branches that are positive and tend to zero far from the origin, and a middle branch that is negative with a high point at zero minus one.xy-11y = 1/f(x)Stage 3Sketch y = 1/f(x): each branch dives to ±∞ at an asymptote and flattens toward 0 far out.

Stage 4, check the extremum flips. The minimum of ff at (0,1)(0, -1), where ff is negative, becomes a local maximum of 1f\frac{1}{f} at the same point (0,1)(0, -1): 11=1\frac{1}{-1} = -1, and reciprocating a "most negative" value gives the "least negative" one. This sign-aware flip of turning points is the detail markers look for.

The finished reciprocal graphThe completed graph of one over f of x. The minimum of f at zero minus one corresponds to a local maximum of the reciprocal at zero minus one, illustrating that reciprocating turns a minimum into a maximum where f is negative.xy-11y = 1/f(x)local max (0, -1)Stage 4The minimum of f at (0, -1) is a local maximum of 1/f: reciprocating flips extrema.

How exam questions ask about combining functions

The combinations come up in a handful of standard phrasings:

  • "Describe the key features of y=1f(x)y = \frac{1}{f(x)}" given the zeros and sign of ff. Zeros become vertical asymptotes, the sign is preserved, the curves meet at y=±1y = \pm 1, and turning points flip (max becomes min where f>0f > 0). State each (2022 HSC Q14).
  • "Sketch y=f(x)g(x)y = f(x)\,g(x)" with one factor a sine or cosine. Mark zeros (the union of both factors' zeros), draw the envelope y=±fy = \pm f, and show the oscillation with growing or decaying amplitude (2021 HSC Q15).
  • "Sketch y=f(x)+g(x)y = f(x) + g(x)." Add ordinates: at each xx, add the two heights. Crossings of the xx-axis occur where f=gf = -g, not where either is zero.
  • "Sketch y=f(x)g(x)y = \frac{f(x)}{g(x)}." Zeros of ff give xx-intercepts; zeros of gg give vertical asymptotes; a common zero may be a hole; compare growth rates for any horizontal asymptote.
  • "Sketch y=[f(x)]2y = [f(x)]^2." Fold the graph above the xx-axis; the zeros of ff become double-root touches, and yy never goes negative.
  • "On the diagram of y=f(x)y = f(x), sketch y=1f(x)y = \frac{1}{f(x)}" (a build-on-the-given-graph task). Read the zeros, the ±1\pm 1 crossings and the turning points straight off the printed curve and apply the four reciprocal rules.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2022 HSC Q143 marksThe function ff has zeros at x=2x = -2 and x=3x = 3 and is positive elsewhere. Describe the key features of the graph of y=1f(x)y = \frac{1}{f(x)}.
Show worked answer →

Zeros of ff become vertical asymptotes of 1f\frac{1}{f}, so vertical asymptotes occur at x=2x = -2 and x=3x = 3.

The sign of 1f\frac{1}{f} matches the sign of ff, so 1f\frac{1}{f} is positive on (,2)(-\infty, -2), (3,)(3, \infty), and wherever ff is positive in (2,3)(-2, 3) (the whole interior if the question's "positive elsewhere" includes that interval, otherwise piecewise).

Local maxima of ff become local minima of 1f\frac{1}{f} in regions where f>0f > 0, and vice versa, because reciprocating flips relative size.

Markers reward identifying asymptotes from zeros, sign matching, and the inversion of extrema.

2021 HSC Q153 marksGiven f(x)=xf(x) = x and g(x)=sinxg(x) = \sin x, sketch y=f(x)g(x)=xsinxy = f(x) g(x) = x \sin x for 2πx2π-2\pi \le x \le 2\pi.
Show worked answer →

Zeros of xsinxx \sin x occur where x=0x = 0 or sinx=0\sin x = 0, that is at x=0,±π,±2πx = 0, \pm \pi, \pm 2 \pi.

The amplitude grows linearly: xsinxx|x \sin x| \le |x|, with equality at sinx=±1\sin x = \pm 1.

The envelope is y=±xy = \pm x, so the graph oscillates between y=xy = -|x| and y=xy = |x|, touching those lines at x=π2+kπx = \frac{\pi}{2} + k \pi.

Markers expect the zeros marked, the envelope drawn, and the oscillation shown with growing amplitude.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marksThe function f(x)=x2f(x) = x - 2 has a single zero at x=2x = 2. State the equation of the vertical asymptote of y=1f(x)y = \dfrac{1}{f(x)} and give the sign of 1f(x)\dfrac{1}{f(x)} on each side of it.
Show worked solution →

A zero of ff becomes a vertical asymptote of the reciprocal. Since f(x)=x2=0f(x) = x - 2 = 0 only at x=2x = 2, dividing by zero there blows the reciprocal up:

vertical asymptote: x=2.\text{vertical asymptote: } x = 2.

The reciprocal keeps the sign of ff. For x<2x < 2, f(x)=x2<0f(x) = x - 2 < 0, so 1f(x)<0\dfrac{1}{f(x)} < 0; for x>2x > 2, f(x)>0f(x) > 0, so 1f(x)>0\dfrac{1}{f(x)} > 0.

Marker's note: one mark for the asymptote x=2x = 2 (from the zero of ff), one for the sign on both sides matching the sign of ff. Stating an asymptote without the sign analysis earns only the first mark.

foundation3 marksLet f(x)=x+1f(x) = x + 1 and g(x)=x3g(x) = x - 3. (a) Write y=f(x)+g(x)y = f(x) + g(x) in simplest form and state its zero. (b) State the zeros of y=f(x)g(x)y = f(x)\,g(x).
Show worked solution →

Part (a): add the two functions.

f(x)+g(x)=(x+1)+(x3)=2x2.f(x) + g(x) = (x + 1) + (x - 3) = 2x - 2.

The sum is zero when 2x2=02x - 2 = 0, that is at x=1x = 1. (Note this is where f(x)=g(x)f(x) = -g(x), not where either parent is zero.)

Part (b): zeros of a product are the union of the parents' zeros. The product f(x)g(x)=(x+1)(x3)f(x)\,g(x) = (x + 1)(x - 3) is zero when either factor is zero:

x=1orx=3.x = -1 \quad \text{or} \quad x = 3.

Marker's note: one mark for the simplified sum 2x22x - 2 and its zero x=1x = 1, one for recognising product zeros as the union, one for both values x=1x = -1 and x=3x = 3. Writing the sum's zero as x=1x = -1 or x=3x = 3 confuses the two operations and loses the mark.

foundation2 marksFor f(x)=x4f(x) = x - 4, describe how the graph of y=[f(x)]2y = [f(x)]^2 behaves at x=4x = 4 and state why yy is never negative.
Show worked solution →

Square the linear factor.

[f(x)]2=(x4)2.[f(x)]^2 = (x - 4)^2.

At the zero of ff, the square gives a double root. Because (x4)2=0(x - 4)^2 = 0 has a repeated root at x=4x = 4, the graph touches the xx-axis at (4,0)(4, 0) and turns, rather than crossing.

The output is a square, so it is never negative. For every real xx, (x4)20(x - 4)^2 \ge 0, so the whole graph sits on or above the xx-axis.

Marker's note: one mark for the touching (double-root) behaviour at x=4x = 4, one for justifying y0y \ge 0 from the square. Describing a crossing rather than a touch loses the first mark.

core4 marksConsider f(x)=xf(x) = x and g(x)=cosxg(x) = \cos x over 0x2π0 \le x \le 2\pi, and the product y=f(x)g(x)=xcosxy = f(x)\,g(x) = x\cos x. (a) State the two envelope curves between which the graph oscillates. (b) Find all zeros of yy in the interval. (c) State the exact xx-values in the interval at which the graph touches an envelope.
Show worked solution →

Part (a): the bounded factor sets the envelope. Since 1cosx1-1 \le \cos x \le 1, multiplying by xx (with x0x \ge 0 here) gives xxcosxx-x \le x\cos x \le x, so the graph oscillates between the envelope curves

y=xandy=x.y = x \quad \text{and} \quad y = -x.

Part (b): zeros come from either factor. xcosx=0x\cos x = 0 when x=0x = 0 or cosx=0\cos x = 0. On 0x2π0 \le x \le 2\pi, cosx=0\cos x = 0 at x=π2x = \dfrac{\pi}{2} and x=3π2x = \dfrac{3\pi}{2}, so the zeros are

x=0,x=π2,x=3π2.x = 0, \quad x = \frac{\pi}{2}, \quad x = \frac{3\pi}{2}.

Part (c): touches occur where cosx=±1\cos x = \pm 1. At those points xcosx=±xx\cos x = \pm x, meeting an envelope. On the interval cosx=1\cos x = 1 at x=0x = 0 and x=2πx = 2\pi, and cosx=1\cos x = -1 at x=πx = \pi:

x=0,x=π,x=2π.x = 0, \quad x = \pi, \quad x = 2\pi.

Marker's note: one mark for the envelopes y=±xy = \pm x, two for the correct zeros in (b), one for the touch points in (c). Working in degrees, or dropping x=2πx = 2\pi at the endpoint, is the usual slip.

core4 marksThe table below gives values of two functions ff and gg at five points. x=2x = -2: f=3f = 3, g=1g = -1. x=1x = -1: f=0f = 0, g=1g = 1. x=0x = 0: f=1f = -1, g=2g = 2. x=1x = 1: f=0f = 0, g=1g = 1. x=2x = 2: f=3f = 3, g=1g = -1. (a) Complete a table of values for y=f(x)g(x)y = \dfrac{f(x)}{g(x)} at these five points. (b) State any xx-value from the table where y=f(x)g(x)y = \dfrac{f(x)}{g(x)} has an xx-intercept, and explain why gg produces no vertical asymptote at these listed points.
Show worked solution →

Part (a): divide ff by gg at each listed xx.

f(2)g(2)=31=3,f(1)g(1)=01=0,f(0)g(0)=12=12,\frac{f(-2)}{g(-2)} = \frac{3}{-1} = -3, \quad \frac{f(-1)}{g(-1)} = \frac{0}{1} = 0, \quad \frac{f(0)}{g(0)} = \frac{-1}{2} = -\tfrac{1}{2},

f(1)g(1)=01=0,f(2)g(2)=31=3.\frac{f(1)}{g(1)} = \frac{0}{1} = 0, \quad \frac{f(2)}{g(2)} = \frac{3}{-1} = -3.

So the quotient takes the values 3,  0,  12,  0,  3-3,\; 0,\; -\tfrac{1}{2},\; 0,\; -3 at x=2,1,0,1,2x = -2, -1, 0, 1, 2.

Part (b): intercepts from zeros of ff; asymptotes from zeros of gg. The quotient is zero where f=0f = 0 with g0g \neq 0, namely at x=1x = -1 and x=1x = 1, so those are the xx-intercepts. None of the listed points has g=0g = 0 (the gg-values are 1,1,2,1,1-1, 1, 2, 1, -1), so there is no division by zero and hence no vertical asymptote at any of them.

Marker's note: two marks for the five correct quotient values, one for the intercepts at x=±1x = \pm 1, one for explaining that no listed gg-value is zero. Marking x=0x = 0 (where f=1f = -1, not 00) as an intercept is the trap.

core3 marksThe function ff is positive everywhere and has a local maximum at (2,4)(2, 4) and a local minimum at (5,1)(5, 1). Describe what happens to each of these two turning points on the graph of y=1f(x)y = \dfrac{1}{f(x)}, giving the coordinates of the resulting points.
Show worked solution →

Reciprocating flips the size ordering where f>0f > 0. A large positive value becomes a small positive value and vice versa, so a maximum of ff becomes a minimum of 1f\dfrac{1}{f}, and a minimum of ff becomes a maximum of 1f\dfrac{1}{f}.

Transform each turning point. The maximum of ff at (2,4)(2, 4) becomes a local minimum of 1f\dfrac{1}{f} at

(2, 14).\left(2,\ \tfrac{1}{4}\right).

The minimum of ff at (5,1)(5, 1) becomes a local maximum of 1f\dfrac{1}{f} at

(5, 11)=(5, 1).\left(5,\ \tfrac{1}{1}\right) = (5,\ 1).

Marker's note: one mark for the max-becomes-min flip with (2,14)\left(2, \tfrac14\right), one for the min-becomes-max flip, one for the reciprocated yy-values. Keeping the yy-values unchanged (not reciprocating them) is the common error.

exam5 marksA machine part vibrates so that its displacement from rest is modelled by y=h(t)=etsin(2t)y = h(t) = e^{-t}\sin(2t) centimetres, for t0t \ge 0 seconds. (a) Show that the graph oscillates between the envelope curves y=ety = e^{-t} and y=ety = -e^{-t}, and state the exact times in 0tπ0 \le t \le \pi at which y=0y = 0. (b) Show that h(t)h(t) touches the upper envelope y=ety = e^{-t} whenever sin(2t)=1\sin(2t) = 1, and find the first such time. (c) Explain, using the envelope, why the vibration dies away, and state the displacement at t=0t = 0.
Show worked solution →

Part (a): bound the oscillating factor. For all tt, 1sin(2t)1-1 \le \sin(2t) \le 1. Multiplying through by ete^{-t}, which is positive, preserves the inequalities:

etetsin(2t)et,-e^{-t} \le e^{-t}\sin(2t) \le e^{-t},

so the graph is squeezed between y=ety = e^{-t} and y=ety = -e^{-t}, the envelope curves. The displacement is zero where the bounded factor is zero: sin(2t)=0\sin(2t) = 0 gives 2t=0,π,2π2t = 0, \pi, 2\pi, so on 0tπ0 \le t \le \pi,

t=0,t=π2,t=π.t = 0, \quad t = \frac{\pi}{2}, \quad t = \pi.

Part (b): touching the upper envelope. The graph meets y=ety = e^{-t} exactly when etsin(2t)=ete^{-t}\sin(2t) = e^{-t}, and since et0e^{-t} \neq 0 this requires

sin(2t)=1.\sin(2t) = 1.

The first solution for t0t \ge 0 is 2t=π22t = \dfrac{\pi}{2}, giving

t=π4 s.t = \frac{\pi}{4} \text{ s}.

Part (c): why it decays, and the start value. The envelope y=±ety = \pm e^{-t} shrinks towards zero as tt increases, because et0e^{-t} \to 0. Since the displacement is trapped between the two envelope curves, its swings must shrink with them, so the vibration dies away. At the start,

h(0)=e0sin(0)=1×0=0 cm.h(0) = e^{0}\sin(0) = 1 \times 0 = 0 \text{ cm}.

Marker's note: one mark for bounding sin(2t)\sin(2t) and deriving the envelope, one for the three zeros in (a); one for reducing the touch condition to sin(2t)=1\sin(2t) = 1 and one for t=π4t = \tfrac{\pi}{4} in (b); one for the decay explanation with h(0)=0h(0) = 0 in (c). Solving sin(2t)=1\sin(2t) = 1 as 2t=π22t = \tfrac{\pi}{2} (not t=π2t = \tfrac{\pi}{2}) is the step most often botched.

exam5 marksLet f(x)=x24f(x) = x^2 - 4. (a) Sketch the key features of y=1f(x)y = \dfrac{1}{f(x)}, stating the equations of all asymptotes. (b) Show that 1f(x)\dfrac{1}{f(x)} has a turning point at x=0x = 0 and find its coordinates. (c) Hence state, with reasons, the range of values kk for which the horizontal line y=ky = k meets y=1f(x)y = \dfrac{1}{f(x)} at no points in the region between the vertical asymptotes.
Show worked solution →

Part (a): read the reciprocal off f(x)=x24f(x) = x^2 - 4. The parent has zeros at x=±2x = \pm 2 and a minimum at (0,4)(0, -4). Zeros of ff become vertical asymptotes:

x=2andx=2.x = -2 \quad \text{and} \quad x = 2.

As x|x| \to \infty, f(x)f(x) \to \infty, so 1f(x)0\dfrac{1}{f(x)} \to 0, giving the horizontal asymptote y=0y = 0. Outside the asymptotes f>0f > 0 so 1f>0\dfrac{1}{f} > 0 (small, near the axis); between them f<0f < 0 so 1f<0\dfrac{1}{f} < 0, dropping to -\infty near each asymptote.

Part (b): the turning point comes from the minimum of ff. The minimum of ff at (0,4)(0, -4), where f<0f < 0, reciprocates to a local maximum of 1f\dfrac{1}{f} at

(0, 14)=(0, 14).\left(0,\ \frac{1}{-4}\right) = \left(0,\ -\tfrac{1}{4}\right).

Confirm by calculus: with y=(x24)1y = (x^2 - 4)^{-1}, dydx=2x(x24)2\dfrac{dy}{dx} = -\dfrac{2x}{(x^2 - 4)^2}, which is zero at x=0x = 0, and the middle branch peaks there, so (0,14)\left(0, -\tfrac14\right) is a maximum.

Part (c): use the shape of the middle branch. Between the asymptotes the branch runs from -\infty up to its highest point y=14y = -\tfrac{1}{4} at x=0x = 0 and back down to -\infty. So its output covers every value with y14y \le -\tfrac{1}{4}, and never rises above 14-\tfrac{1}{4}. A line y=ky = k misses this branch entirely exactly when it sits above the peak:

k>14.k > -\frac{1}{4}.

Marker's note: one mark for the vertical asymptotes x=±2x = \pm 2 and y=0y = 0, one for the correct sign of each branch in (a); one for the flipped turning point (0,14)\left(0, -\tfrac14\right) in (b); one for identifying 14-\tfrac14 as the greatest value on the middle branch and one for the range k>14k > -\tfrac14 in (c). Forgetting that the middle branch is entirely negative (and so testing kk against +14+\tfrac14) is the trap.

ExamExplained