Skip to main content

Sketching y = f(x) +/- g(x) by adding ordinates

Syllabus dot point

“Sketch the graph of y=f(x)±g(x)y = f(x) \pm g(x) by adding or subtracting ordinates: at a zero of one function the sum meets the other, opposite ordinates give a zero, equal ordinates double, and an oblique asymptote can emerge”

HSCMaths Extension 1Functions (ME-F1)18 min read

Quick answer

To sketch y=f(x)+g(x)y = f(x) + g(x) from the graphs of y=f(x)y = f(x) and y=g(x)y = g(x), add the ordinates (the yy-coordinates) at each xx. The landmarks: at a zero of one function the sum meets the other; where the ordinates are opposite the sum has a zero; where the curves meet the sum doubles. For the difference y=f(x)−g(x)y = f(x) - g(x), add ff and −g-g, so where the curves meet the difference is zero. Asymptotes carry through, and a finite-limit function plus a line produces an oblique asymptote y=mx+cy = mx + c (shown by s(x)−(mx+c)→0s(x) - (mx + c) \to 0). A sum of straight pieces stays straight, the domain of the sum is the intersection of the two domains, and even ++ odd is neither even nor odd.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions
  4. Practice questions

What this dot point is asking

NESA wants you to start from the graphs of two functions y=f(x)y = f(x) and y=g(x)y = g(x) and sketch their sum y=f(x)+g(x)y = f(x) + g(x) and difference y=f(x)−g(x)y = f(x) - g(x), working from the two pictures rather than from a combined formula. The method is called adding ordinates: the word "ordinate" just means the yy-coordinate of a point, and the whole technique is the single act of adding (or subtracting) the two heights at each value of xx.

That one idea is the engine. Everything else on this page is a consequence of it, read off the graph at a few special places, the same way graphing the reciprocal is one idea (zero has no reciprocal) applied feature by feature. Because the heights add, the most useful xx-values are the ones where one height is zero, where the two heights are equal, and where they are exact opposites. Pin those, join them smoothly, and the curve is fixed.

The answer

The adding-ordinates dictionary

Let s(x)=f(x)+g(x)s(x) = f(x) + g(x) be the sum of two graphed functions. Reading off the two graphs of ff and gg, here is what each special place tells you.

  • At a zero of one function, the sum meets the other. If f(a)=0f(a) = 0, then s(a)=0+g(a)=g(a)s(a) = 0 + g(a) = g(a), so the sum touches the graph of gg at x=ax = a. Likewise at a zero of gg, the sum meets ff. These are the easiest points to plot.
  • Opposite ordinates give a zero of the sum. If f(a)=−g(a)f(a) = -g(a) (the two heights are equal in size but opposite in sign), then s(a)=0s(a) = 0. So the sum crosses the xx-axis exactly where the graphs of ff and −g-g cross.
  • Equal ordinates double. If the two curves meet at x=ax = a, so f(a)=g(a)f(a) = g(a), then s(a)=2f(a)s(a) = 2f(a): the sum sits at twice the common height.
  • The sign of the sum is usually clear once the zeroes are marked. Between consecutive zeroes the sum keeps one sign, which you read from a single test ordinate.
  • Asymptotes carry through. If f→+∞f \to +\infty (or g→+∞g \to +\infty) while the other stays finite or also grows, then s→+∞s \to +\infty; if one tends to a finite limit while the other runs off, the sum follows the one that runs off. A vertical asymptote of either function (where the other is finite) is a vertical asymptote of the sum.
  • An oblique asymptote can emerge. If f→Lf \to L (a finite constant) as x→±∞x \to \pm\infty while gg is a line, then for large ∣x∣|x| the sum is almost L+g(x)L + g(x), a line: the sum has an oblique asymptote parallel to gg.

The difference d(x)=f(x)−g(x)d(x) = f(x) - g(x) is just the sum of ff and −g-g, so the same dictionary applies with the second graph reflected in the xx-axis. In particular, where the two curves meet (f=gf = g) the difference is zero, and at a zero of ff the difference is −g-g.

Key fact

To sketch s(x)=f(x)+g(x)s(x) = f(x) + g(x), add the ordinates. At a zero of one function the sum meets the other; where the ordinates are opposite the sum has a zero; where the curves meet the sum doubles. For the difference d(x)=f(x)−g(x)d(x) = f(x) - g(x), add ff and −g-g, so where the curves meet the difference is zero. Asymptotes carry through, and a finite-limit function plus a line gives an oblique asymptote.

Starting clean: a parabola plus a line

The clearest first example combines a parabola and a line. Take f(x)=x2f(x) = x^2 and g(x)=2xg(x) = 2x. Every landmark in the dictionary appears, at a different point, so the sketch is built entirely by reading heights.

SVG_5
At the zero of the parabola, x=0x = 0, the line gg is also zero, so the sum passes through the origin. The ordinates are opposite where f=−gf = -g, that is x2=−2xx^2 = -2x, giving x=0x = 0 and x=−2x = -2, so the sum has zeroes at (0,0)(0, 0) and (−2,0)(-2, 0). The curves meet where f=gf = g, that is x2=2xx^2 = 2x, at x=0x = 0 and x=2x = 2; at x=2x = 2 both are 44, so the sum doubles to s(2)=8s(2) = 8. Joining these with the vertex (−1,−1)(-1, -1) gives the parabola y=x2+2xy = x^2 + 2x, exactly s(x)=x(x+2)s(x) = x(x + 2).

The data dots make the addition concrete: at x=2x = 2 the two muted heights (44 and 44) stack to the accent height 88, while at x=−2x = -2 the heights 44 and −4-4 cancel to a zero. You did not need the formula at any point; the heights told the whole story, which is the skill NESA is testing.

A rational plus a line: the oblique asymptote

The richest payoff of adding ordinates is spotting an oblique asymptote, a slanted line the curve approaches. Take the hyperbola f(x)=2xf(x) = \dfrac{2}{x} and the line g(x)=xg(x) = x. Their sum is s(x)=x+2xs(x) = x + \dfrac{2}{x}.

For large ∣x∣|x| the term 2x\dfrac{2}{x} shrinks to nothing, so the sum is almost exactly the line g(x)=xg(x) = x: that is the oblique asymptote y=xy = x. The justification is precise, not hand-waving: s(x)−x=2x→0s(x) - x = \dfrac{2}{x} \to 0 as x→±∞x \to \pm\infty, so the vertical gap between the curve and the line closes. Near x=0x = 0, the line is finite but the hyperbola blows up, so the sum has a vertical asymptote at x=0x = 0. The sum has no zeroes, since s(x)=x2+2xs(x) = \dfrac{x^2 + 2}{x} and x2+2x^2 + 2 is never zero. The curves meet where 2x=x\dfrac{2}{x} = x, at x=±2x = \pm\sqrt{2}, and the doubled ordinate there gives the two turning points.

A rational plus a line: an oblique asymptoteThe hyperbola f of x equals two over x and the line g of x equals x are drawn in muted. Their sum s of x equals x plus two over x is drawn in accent. For large x the two over x term fades, so the sum approaches the oblique asymptote y equals x, shown dashed. There is a vertical asymptote at the y-axis.xy-4-3-2-11234x = 0(√2, 2√2) min(-√2, -2√2) maxy = x (oblique asymptote)s = x + 2/xf = 2/xFor large x the 2/x term fades, so the sum hugs the line y = x: an oblique asymptote.

The minimum on the right branch is (2,22)\left(\sqrt{2}, 2\sqrt{2}\right) and the maximum on the left branch is (−2,−22)\left(-\sqrt{2}, -2\sqrt{2}\right), both lying where the line and hyperbola cross and so where the sum doubles. Notice the curve never touches the oblique asymptote; it only homes in on it as ∣x∣|x| grows. This is the single most "beat the textbook" idea on the page: the oblique asymptote is not guessed, it is read off the fading of the 2x\dfrac{2}{x} term.

Definition

An oblique (slant) asymptote of y=s(x)y = s(x) is a non-horizontal line y=mx+cy = mx + c that the curve approaches as x→±∞x \to \pm\infty, that is for which s(x)−(mx+c)→0s(x) - (mx + c) \to 0. When a function with a finite limit (such as 2x→0\dfrac{2}{x} \to 0) is added to a line g(x)=mx+cg(x) = mx + c, the sum has the oblique asymptote y=mx+cy = mx + c, because the finite-limit part fades and only the line remains for large ∣x∣|x|.

A sum of straight pieces stays straight

Absolute-value graphs are made of straight segments, and a fact worth pinning is that the sum of two linear pieces is linear. So when you add two absolute-value graphs, the result is again made of straight-line sections, with corners only where one of the originals bends. Take f(x)=∣x+2∣f(x) = |x + 2|, which bends at x=−2x = -2, and g(x)=∣x−1∣g(x) = |x - 1|, which bends at x=1x = 1. The sum s(x)=∣x+2∣+∣x−1∣s(x) = |x + 2| + |x - 1| has corners at those two xx-values and is straight everywhere else.

Sum of two absolute-value graphsThe V-shaped graphs f of x equals the absolute value of x plus two and g of x equals the absolute value of x minus one are drawn in muted. Their sum, drawn in accent, is piecewise linear with corners at x equals minus two and x equals one, and is flat and equal to three between the corners.xy-4-3-2-11233flat: s = 3 on [-2, 1]corner of fcorner of gs = |x+2| + |x-1|fgA sum of straight pieces is straight: corners at -2 and 1; the minimum is the gap, 3.

Working piece by piece: for x<−2x < -2 both insides are negative, so s=−(x+2)−(x−1)=−2x−1s = -(x + 2) - (x - 1) = -2x - 1; for −2≤x≤1-2 \le x \le 1 the first is positive and the second negative, so s=(x+2)−(x−1)=3s = (x + 2) - (x - 1) = 3, a flat segment; for x>1x > 1 both are positive, so s=(x+2)+(x−1)=2x+1s = (x + 2) + (x - 1) = 2x + 1. The flat middle is the signature of this kind of sum: ∣x+2∣+∣x−1∣|x + 2| + |x - 1| is the total distance from xx to the points −2-2 and 11, and that total cannot be less than the gap 33 between them, achieved everywhere between. So the minimum value is exactly 33, attained on the whole interval [−2,1][-2, 1].

Subtracting: where the curves meet, the difference is zero

The difference d(x)=f(x)−g(x)d(x) = f(x) - g(x) is handled by adding ff and −g-g: reflect the second graph in the xx-axis and add ordinates as before. The one rule worth memorising is the mirror of the sum's "doubling": where the two curves meet (f=gf = g), the difference is zero, because subtracting equal heights gives nothing. Take f(x)=x2f(x) = x^2 and g(x)=xg(x) = x. They meet at x=0x = 0 and x=1x = 1, so the difference d(x)=x2−xd(x) = x^2 - x has zeroes exactly there.

Subtracting a line from a parabolaThe parabola f of x equals x squared and the line g of x equals x are drawn in muted, and their difference d of x equals x squared minus x is drawn in accent. The difference has zeros where the curves meet, at x equals zero and x equals one, and a minimum at one half.xy-2-112(1, 0)(0, 0)min (1/2, -1/4)f = g heref = x²g = xd = x² - xWhere the curves meet (f = g), the difference is zero: d = 0 at x = 0 and x = 1.

The difference dips to a minimum of −14-\dfrac14 at x=12x = \dfrac12, the vertex of y=x2−xy = x^2 - x. Between the meeting points the parabola ff sits below the line gg, so d=f−gd = f - g is negative there; outside, ff is above gg, so the difference is positive. As always, the sign came straight from comparing the two heights, with no need to factor first.

How exam questions ask about sums and differences

The wording points to which landmark to use first.

  • "By adding ordinates, sketch y=f(x)+g(x)y = f(x) + g(x)." Add the two heights. Plot the easy points first: at each zero of ff the sum meets gg, and at each zero of gg it meets ff. Then mark the zeroes of the sum (opposite ordinates), double the height where the curves cross, fix the sign of each interval, and finish the tails (including any asymptote).
  • "Sketch the difference y=f(x)−g(x)y = f(x) - g(x)." Reflect gg in the xx-axis and add, or subtract heights directly. The zeroes of the difference are where the original curves meet; at a zero of ff the difference is −g-g.
  • "Find / explain the oblique asymptote." Look for a function with a finite limit added to a line. Show s(x)−(line)→0s(x) - (\text{line}) \to 0 as x→±∞x \to \pm\infty; the line is the oblique asymptote. State it as an equation y=mx+cy = mx + c.
  • "Where does y=f(x)+g(x)y = f(x) + g(x) cross the xx-axis?" Set f(x)+g(x)=0f(x) + g(x) = 0, that is f(x)=−g(x)f(x) = -g(x): the sum is zero exactly where the graphs of ff and −g-g intersect (opposite ordinates).
  • "State the domain (and range) of the sum." The domain of ss (and of dd) is the intersection of the domains of ff and gg: a value of xx must be allowed for both to add their heights. Read the range from the finished sketch.
  • "Is the sum even or odd?" Even ++ even is even and odd ++ odd is odd (both terms transform the same way), but even ++ odd is neither. Decide each function's symmetry first, then apply the rule.
Exam technique

Markers reward the method of ordinates made visible, not a vaguely right shape. Show that you added heights.

  • Plot the landmark points first and label what each one is: "at the zero of ff, ss meets gg", "curves meet, so ss doubles", "opposite ordinates, so s=0s = 0". This is the working the marks are for.
  • Distinguish the three graphs. Draw ff and gg lightly (or dashed) and the sum in a bold, different style, so the examiner can see the original ordinates you added.
  • Justify any asymptote. For an oblique asymptote, write the line and show s(x)−(line)→0s(x) - (\text{line}) \to 0; for a vertical asymptote, name the xx-value where one function blows up and the other is finite.
  • State the domain as an intersection when asked, and never plot the sum outside where both functions are defined.
  • Use exact values. Where the curves meet at x=±2x = \pm\sqrt{2}, write the turning points as (2,22)\left(\sqrt{2}, 2\sqrt{2}\right), not a rounded decimal.

The centrepiece: a parabola plus a line, stage by stage

The cleanest case to drill is a parabola plus a line, because each landmark in the dictionary lands at a separate, tidy point. Take f(x)=x(x−3)f(x) = x(x - 3) (a parabola with zeroes at x=0x = 0 and x=3x = 3) and g(x)=−(x−3)g(x) = -(x - 3) (a line with a zero at x=3x = 3). We build s(x)=f(x)+g(x)s(x) = f(x) + g(x) in four stages.

Stage 1, plot the two graphs and read their zeroes. The parabola ff has zeroes at x=0x = 0 and x=3x = 3 and yy-intercept f(0)=0f(0) = 0. The line gg has its zero at x=3x = 3 and yy-intercept g(0)=3g(0) = 3. These are the heights we will add.

Plot the two graphsStage one. The parabola f of x equals x times x minus three and the line g of x equals minus x plus three are plotted in muted. The parabola has zeros at zero and three; the line has a zero at three. Their y-intercepts are zero and three.Stage 1xy-11234zero of f, gzeroes of f and g(0, 3)f = x(x - 3)g = -(x - 3)f = x(x - 3) and g = -(x - 3): note the zeroes (x = 0, 3) and y-intercepts.

Stage 2, mark the landmark ordinates. Run the dictionary. At the zero of ff at x=0x = 0, the sum will meet gg at (0,3)(0, 3). The curves meet where f=gf = g, that is x(x−3)=−(x−3)x(x - 3) = -(x - 3), so (x−3)(x+1)=0(x - 3)(x + 1) = 0, at x=−1x = -1 (and x=3x = 3); at x=−1x = -1 both equal 44, so the sum will double to 88. The ordinates are opposite where f=−gf = -g, that is x(x−3)=x−3x(x - 3) = x - 3, so (x−3)(x−1)=0(x - 3)(x - 1) = 0, at x=1x = 1 (and x=3x = 3): the sum will have a zero at x=1x = 1. At x=3x = 3 both functions are zero, so the sum is zero there too.

Mark the landmark ordinatesStage two. On the same axes, the landmark points for the sum are marked. At the zero of f at x equals zero the sum will meet g at zero comma three. At x equals minus one the curves meet, so the sum ordinate doubles to eight. At x equals one the ordinates are opposite, so the sum has a zero. At x equals three both are zero.Stage 2xy-11234meet: s = 8s meets gopp: s = 0both 0Where f = 0, s meets g; where f = -g, s = 0; where f = g, s doubles.

Stage 3, draw the sum through the landmarks. Plot the sum at each landmark: (0,3)(0, 3) where it meets gg, the doubled point (−1,8)(-1, 8), and the zeroes (1,0)(1, 0) and (3,0)(3, 0). Adding the heights everywhere else, s(x)=x(x−3)−(x−3)=x2−4x+3s(x) = x(x - 3) - (x - 3) = x^2 - 4x + 3, an upward parabola through those points, with vertex at x=2x = 2 where s(2)=−1s(2) = -1.

Draw the sum through the landmarksStage three. The sum s of x equals x squared minus four x plus three is drawn in accent through the landmark points: through zero comma three, with a doubled ordinate eight at x equals minus one, and zeros at x equals one and x equals three. Its vertex is at two comma minus one.Stage 3xy-11234(-1, 8)(0, 3)(1, 0)(3, 0)vertex (2, -1)Join the landmark ordinates: s = x² - 4x + 3 = (x - 1)(x - 3).

Stage 4, finish and read off the features. The sum is s(x)=x2−4x+3=(x−1)(x−3)s(x) = x^2 - 4x + 3 = (x - 1)(x - 3), an upward parabola with zeroes at x=1x = 1 and x=3x = 3, yy-intercept (0,3)(0, 3) and minimum (2,−1)(2, -1). It is positive outside [1,3][1, 3] and negative between, and its range is y≥−1y \ge -1. Every feature was found by adding heights, then confirmed against the factored formula.

The finished sumStage four. The completed sum is an upward parabola with zeros at one and three, vertex at two comma minus one, y-intercept three, positive outside the zeros and negative between them, with range y greater than or equal to minus one.Stage 4xy-11234(1, 0)(3, 0)min (2, -1)(0, 3)s = (x-1)(x-3)Finished sum: positive outside [1, 3], negative inside, range y ≥ -1.

Worked example

Add a parabola and a line by ordinates

The graphs of f(x)=x2f(x) = x^2 and g(x)=2xg(x) = 2x are given. Sketch y=f(x)+g(x)y = f(x) + g(x) by adding ordinates, and state the zeroes and vertex.

Add the heights
The sum is s(x)=x2+2xs(x) = x^2 + 2x, the height of the parabola plus the height of the line at each xx.
Use the zeroes
Both ff and gg are zero at x=0x = 0, so ss passes through the origin. The sum is zero where the ordinates are opposite, f=−gf = -g: x2=−2xx^2 = -2x gives x(x+2)=0x(x + 2) = 0, so x=0x = 0 and x=−2x = -2. The zeroes of ss are (0,0)(0, 0) and (−2,0)(-2, 0).
Use the meeting point
The curves meet where f=gf = g: x2=2xx^2 = 2x gives x=0x = 0 and x=2x = 2; at x=2x = 2 both heights are 44, so s(2)=8s(2) = 8 (doubled).
Find the vertex
s(x)=x2+2x=(x+1)2−1s(x) = x^2 + 2x = (x + 1)^2 - 1, so the minimum is (−1,−1)(-1, -1).
Final answer
the upward parabola y=x2+2x=x(x+2)y = x^2 + 2x = x(x + 2), with zeroes (−2,0)(-2, 0) and (0,0)(0, 0), vertex (−1,−1)(-1, -1), passing through the doubled point (2,8)(2, 8).

Discover an oblique asymptote

The hyperbola f(x)=2xf(x) = \dfrac{2}{x} and the line g(x)=xg(x) = x are given. Sketch y=f(x)+g(x)y = f(x) + g(x), and find every asymptote and turning point.

Add the heights
s(x)=x+2x=x2+2xs(x) = x + \dfrac{2}{x} = \dfrac{x^2 + 2}{x}.
Vertical asymptote
At x=0x = 0 the hyperbola blows up and the line is finite, so x=0x = 0 is a vertical asymptote of ss. As x→0+x \to 0^+, s→+∞s \to +\infty; as x→0−x \to 0^-, s→−∞s \to -\infty.
Oblique asymptote
For large ∣x∣|x|, 2x→0\dfrac{2}{x} \to 0, so s(x)−x=2x→0s(x) - x = \dfrac{2}{x} \to 0: the line y=xy = x is an oblique asymptote.
No zeroes
x2+2x^2 + 2 is never zero (discriminant −8<0-8 < 0), so ss never crosses the xx-axis.
Turning points
The curves meet where 2x=x\dfrac{2}{x} = x, that is x2=2x^2 = 2, at x=±2x = \pm\sqrt{2}; the doubled ordinate gives s(2)=22s(\sqrt{2}) = 2\sqrt{2} (a minimum on the right branch) and s(−2)=−22s(-\sqrt{2}) = -2\sqrt{2} (a maximum on the left branch).
Final answer
two branches with vertical asymptote x=0x = 0 and oblique asymptote y=xy = x; no xx-intercepts; minimum (2,22)\left(\sqrt{2}, 2\sqrt{2}\right) and maximum (−2,−22)\left(-\sqrt{2}, -2\sqrt{2}\right).

Add two absolute-value graphs

The graphs of f(x)=∣x+2∣f(x) = |x + 2| and g(x)=∣x−1∣g(x) = |x - 1| are given. Sketch y=f(x)+g(x)y = f(x) + g(x), find the corners, and state the minimum value.

Add the heights
s(x)=∣x+2∣+∣x−1∣s(x) = |x + 2| + |x - 1|, the sum of two V-shaped graphs.
Why it is straight in pieces
A sum of linear pieces is linear, so ss is straight except at the corners of the originals, which are at x=−2x = -2 and x=1x = 1.
Build the pieces
For x<−2x < -2: s=−(x+2)−(x−1)=−2x−1s = -(x + 2) - (x - 1) = -2x - 1. For −2≤x≤1-2 \le x \le 1: s=(x+2)−(x−1)=3s = (x + 2) - (x - 1) = 3. For x>1x > 1: s=(x+2)+(x−1)=2x+1s = (x + 2) + (x - 1) = 2x + 1.
Corners and minimum
Corners at (−2,3)(-2, 3) and (1,3)(1, 3); the flat middle gives the minimum value 33, attained on all of [−2,1][-2, 1].
Final answer
a flat-bottomed piecewise-linear graph: y=−2x−1y = -2x - 1 for x<−2x < -2, y=3y = 3 for −2≤x≤1-2 \le x \le 1, and y=2x+1y = 2x + 1 for x>1x > 1; minimum value 33.

Subtract a line from a parabola

The graphs of f(x)=x2f(x) = x^2 and g(x)=xg(x) = x are given. Sketch the difference y=f(x)−g(x)y = f(x) - g(x) and state its zeroes and minimum.

Subtract the heights
d(x)=x2−xd(x) = x^2 - x, the height of gg taken away from the height of ff at each xx.
Use the meeting points
Where the curves meet, f=gf = g, the difference is zero: x2=xx^2 = x gives x(x−1)=0x(x - 1) = 0, so x=0x = 0 and x=1x = 1. The zeroes of dd are (0,0)(0, 0) and (1,0)(1, 0).
Find the minimum and sign
d(x)=x2−x=(x−12)2−14d(x) = x^2 - x = \left(x - \tfrac12\right)^2 - \tfrac14, so the minimum is (12,−14)\left(\dfrac12, -\dfrac14\right). Between 00 and 11 the parabola is below the line, so d<0d < 0; outside, d>0d > 0.
Final answer
the parabola y=x2−x=x(x−1)y = x^2 - x = x(x - 1), with zeroes (0,0)(0, 0) and (1,0)(1, 0), minimum (12,−14)\left(\dfrac12, -\dfrac14\right), negative on (0,1)(0, 1) and positive outside.

Decide the symmetry of a sum

Given that ff is even and gg is odd, decide whether s(x)=f(x)+g(x)s(x) = f(x) + g(x) is even, odd, or neither, and apply the result to y=x2+xy = x^2 + x.

Test the sum
Replace xx by −x-x: s(−x)=f(−x)+g(−x)=f(x)−g(x)s(-x) = f(-x) + g(-x) = f(x) - g(x). This is neither s(x)s(x) nor −s(x)-s(x) in general, so ss is neither even nor odd.
Why
An even graph is symmetric in the yy-axis and an odd graph has point symmetry in the origin; adding one of each mixes incompatible symmetries, so neither survives. (Even ++ even stays even, and odd ++ odd stays odd, because both terms transform alike.)
Apply it
For y=x2+xy = x^2 + x, the term x2x^2 is even and xx is odd, so the sum is neither. Direct check: (−x)2+(−x)=x2−x(-x)^2 + (-x) = x^2 - x, which is neither x2+xx^2 + x nor −(x2+x)-(x^2 + x).
Final answer
ss is neither even nor odd; y=x2+xy = x^2 + x inherits this as an even-plus-odd sum.

Two edge cases the textbook rushes

Two subtleties separate a careful answer from a careless one.

Domains must overlap. You can only add two heights where both functions are defined, so the domain of s(x)=f(x)+g(x)s(x) = f(x) + g(x) (and of the difference) is the intersection of the two domains. For example, f(x)=xf(x) = \sqrt{x} (domain x≥0x \ge 0) plus g(x)=1xg(x) = \dfrac{1}{x} (domain x≠0x \ne 0) gives a sum defined only for x>0x > 0. Never extend the sum into a region where one of the originals does not exist.

When the two functions pull in opposite directions, the tail is not automatic. The asymptote rules are easy when both functions head the same way: if f→+∞f \to +\infty and g→+∞g \to +\infty then s→+∞s \to +\infty. But if f→+∞f \to +\infty while g→−∞g \to -\infty, the sum could go either way (or settle on a finite limit), and you cannot decide from the graphs alone, you need the actual sizes. So flag such a case and, if you have the equations, combine them before claiming a tail. This is exactly why the rational-plus-line example works: there 2x→0\dfrac{2}{x} \to 0 is finite, so the line wins cleanly.

Common traps
Guessing a shape instead of adding ordinates
The marks are for adding the two heights at chosen xx-values. Always show the landmark points and what each one means.
Confusing "curves meet" with "sum is zero"
Where the two curves meet (f=gf = g), the sum doubles and the difference is zero. The sum is zero where the ordinates are opposite (f=−gf = -g). Mixing these is the most common error.
Forgetting the doubling
At a crossing point the sum is 2f2f, not ff. Plotting the sum at the single height there leaves the curve too low.
Plotting outside the common domain
The sum exists only where both functions do. Drawing it past a point excluded from one graph is a lost mark.
Calling a slant approach a horizontal asymptote
When a finite-limit function is added to a line, the asymptote is oblique (y=mx+cy = mx + c), not horizontal. Justify it with s(x)−(mx+c)→0s(x) - (mx + c) \to 0.
Assuming the sum keeps a symmetry
Even ++ odd is neither even nor odd. Only even ++ even (even) and odd ++ odd (odd) preserve symmetry.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

HSC-style4 marks
The graphs of y=f(x)y = f(x), where f(x)=x2f(x) = x^2, and y=g(x)y = g(x), where g(x)=2xg(x) = 2x, are drawn. On the same axes, sketch y=f(x)+g(x)y = f(x) + g(x) by adding ordinates, showing the zeroes of the sum, the point where the ordinate is doubled, and the vertex.
Show worked answer →

The key idea is to add the yy-coordinates (ordinates) of the two graphs at each xx. Three landmark kinds pin the sketch.

Zeroes of the sum
The sum s(x)s(x) is zero where the ordinates are opposite, that is where f(x)=−g(x)f(x) = -g(x): solving x2=−2xx^2 = -2x gives x2+2x=0x^2 + 2x = 0, so x=0x = 0 or x=−2x = -2. These are the zeroes of ss, at (0,0)(0, 0) and (−2,0)(-2, 0). (Algebraically s(x)=x2+2x=x(x+2)s(x) = x^2 + 2x = x(x + 2), confirming the same zeroes.)
Where the sum meets a single graph
At a zero of gg the sum equals ff, and at a zero of ff the sum equals gg. Both ff and gg are zero at x=0x = 0, so ss passes through the origin.
Doubled ordinate
Where the two curves meet, f=gf = g, the sum is twice that common value. Solving x2=2xx^2 = 2x gives x=0x = 0 or x=2x = 2; at x=2x = 2, f(2)=g(2)=4f(2) = g(2) = 4, so s(2)=8s(2) = 8.
Vertex
Since s(x)=x2+2x=(x+1)2−1s(x) = x^2 + 2x = (x + 1)^2 - 1, the minimum is at (−1,−1)(-1, -1).

Markers reward adding ordinates (not guessing a shape), the two zeroes from opposite ordinates, the doubled ordinate s(2)=8s(2) = 8, and the vertex (−1,−1)(-1, -1), giving the upward parabola y=x2+2xy = x^2 + 2x.

HSC-style5 marks
The line y=f(x)y = f(x), where f(x)=xf(x) = x, and the hyperbola y=g(x)y = g(x), where g(x)=2xg(x) = \dfrac{2}{x}, are drawn. By adding ordinates, sketch y=f(x)+g(x)y = f(x) + g(x). Explain why the curve approaches the line y=xy = x for large ∣x∣|x|, and find the turning points.
Show worked answer →

Add the ordinates of the line and the hyperbola at each xx to get s(x)=x+2xs(x) = x + \dfrac{2}{x}.

No zeroes
s(x)=x2+2xs(x) = \dfrac{x^2 + 2}{x}, and x2+2=0x^2 + 2 = 0 has discriminant 0−8=−8<00 - 8 = -8 < 0, so the numerator is never zero. The sum never crosses the xx-axis. There is a vertical asymptote at x=0x = 0 (where the hyperbola has one and the line is finite).
Oblique asymptote
For large ∣x∣|x| the term 2x→0\dfrac{2}{x} \to 0, so s(x)=x+2x→xs(x) = x + \dfrac{2}{x} \to x: the curve hugs the line y=xy = x. That line is an oblique asymptote, because s(x)−x=2x→0s(x) - x = \dfrac{2}{x} \to 0 as x→±∞x \to \pm\infty.
Turning points
The curves meet where f=gf = g, that is x=2xx = \dfrac{2}{x}, so x2=2x^2 = 2 and x=±2x = \pm\sqrt{2}; the doubled ordinate there is 222\sqrt{2} at x=2x = \sqrt{2} and −22-2\sqrt{2} at x=−2x = -\sqrt{2}. These coincide with the turning points: s(2)=2+22=22s(\sqrt{2}) = \sqrt{2} + \dfrac{2}{\sqrt{2}} = 2\sqrt{2} (a minimum on the right branch) and s(−2)=−22s(-\sqrt{2}) = -2\sqrt{2} (a maximum on the left branch).

Markers reward the addition of ordinates, the vertical asymptote at x=0x = 0, the oblique asymptote y=xy = x justified by s−x→0s - x \to 0, and the turning points (2,22)\left(\sqrt{2}, 2\sqrt{2}\right) and (−2,−22)\left(-\sqrt{2}, -2\sqrt{2}\right).

Practice questions

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

foundation3 marks
The graphs of f(x)=x2f(x) = x^2 and g(x)=xg(x) = x are drawn. By subtracting ordinates, sketch y=f(x)−g(x)y = f(x) - g(x). State the zeroes of the difference and its minimum value.
Show worked solution →
Subtract ordinates
The difference is d(x)=f(x)−g(x)=x2−xd(x) = f(x) - g(x) = x^2 - x, found by taking the yy-coordinate of gg away from the yy-coordinate of ff at each xx.
Find the zeroes
The difference is zero where the curves meet, f=gf = g, that is x2=xx^2 = x, so x2−x=0x^2 - x = 0 and x(x−1)=0x(x - 1) = 0, giving x=0x = 0 and x=1x = 1. (Equivalently d(x)=x(x−1)d(x) = x(x - 1) has zeroes 00 and 11.)
Find the minimum
d(x)=x2−x=(x−12)2−14d(x) = x^2 - x = \left(x - \tfrac12\right)^2 - \tfrac14, so the minimum is −14-\dfrac14 at x=12x = \dfrac12.
Answer
the difference is the parabola y=x2−xy = x^2 - x, with zeroes at x=0x = 0 and x=1x = 1 (where the original curves cross), and minimum value −14-\dfrac14 at (12,−14)\left(\dfrac12, -\dfrac14\right).
foundation3 marks
Functions ff and gg are graphed. At x=4x = 4, ff has a zero and g(4)=3g(4) = 3. At x=7x = 7 the two curves meet with f(7)=g(7)=−2f(7) = g(7) = -2. At x=1x = 1 the ordinates are opposite. State the ordinate of s(x)=f(x)+g(x)s(x) = f(x) + g(x) at x=4x = 4 and x=7x = 7, and state a zero of ss.
Show worked solution →
Use the zero of ff
Where f=0f = 0, the sum equals gg: s(4)=f(4)+g(4)=0+3=3s(4) = f(4) + g(4) = 0 + 3 = 3. So ss meets gg at (4,3)(4, 3).
Use the meeting point
Where the curves meet, f=gf = g, the sum is double that value: s(7)=f(7)+g(7)=−2+(−2)=−4s(7) = f(7) + g(7) = -2 + (-2) = -4. So s(7)=−4s(7) = -4 (twice the common ordinate −2-2).
Use the opposite ordinates
Where f=−gf = -g, the sum is zero: at x=1x = 1, s(1)=0s(1) = 0. So x=1x = 1 is a zero of ss.
Answer
s(4)=3s(4) = 3, s(7)=−4s(7) = -4, and ss has a zero at x=1x = 1.
core4 marks
The graphs of f(x)=∣x+2∣f(x) = |x + 2| and g(x)=∣x−1∣g(x) = |x - 1| are drawn. By adding ordinates, sketch y=f(x)+g(x)y = f(x) + g(x). Explain why the graph is made of straight-line pieces, find the corners, and state the minimum value.
Show worked solution →
Add ordinates
The sum is s(x)=∣x+2∣+∣x−1∣s(x) = |x + 2| + |x - 1|, the sum of the two heights at each xx.
Why it is piecewise linear
Each absolute-value graph is made of straight pieces, and the sum of two straight (linear) functions is itself linear, so ss is made of straight-line sections with corners only where one of the pieces bends, that is at x=−2x = -2 and x=1x = 1.
Build the pieces
For x<−2x < -2, both insides are negative: s=−(x+2)−(x−1)=−2x−1s = -(x + 2) - (x - 1) = -2x - 1. For −2≤x≤1-2 \le x \le 1: s=(x+2)−(x−1)=3s = (x + 2) - (x - 1) = 3, a constant. For x>1x > 1: s=(x+2)+(x−1)=2x+1s = (x + 2) + (x - 1) = 2x + 1.
Find the corners and minimum
The corners are at x=−2x = -2 (where s=3s = 3) and x=1x = 1 (where s=3s = 3). Between them s=3s = 3 is flat, so the minimum value is 33. (Geometrically, ∣x+2∣+∣x−1∣|x + 2| + |x - 1| is the total distance from xx to −2-2 and to 11; that total is least, and equal to the gap 33, for any xx between them.)
Answer
a flat-bottomed graph: the line y=−2x−1y = -2x - 1 for x<−2x < -2, the constant y=3y = 3 for −2≤x≤1-2 \le x \le 1, and the line y=2x+1y = 2x + 1 for x>1x > 1; corners at (−2,3)(-2, 3) and (1,3)(1, 3); minimum value 33.
core4 marks
The parabola f(x)=x(x−3)f(x) = x(x - 3) and the line g(x)=−(x−3)g(x) = -(x - 3) are drawn. By adding ordinates, sketch y=f(x)+g(x)y = f(x) + g(x), marking the zeroes, the yy-intercept and the vertex.
Show worked solution →
Add ordinates
The sum is s(x)=x(x−3)+(−(x−3))=x2−3x−x+3=x2−4x+3s(x) = x(x - 3) + \big(-(x - 3)\big) = x^2 - 3x - x + 3 = x^2 - 4x + 3.
Find the zeroes
Factor: s(x)=(x−1)(x−3)s(x) = (x - 1)(x - 3), so the zeroes are x=1x = 1 and x=3x = 3. As a check by ordinates, the sum is zero where the ordinates are opposite (f=−gf = -g): x2−3x=x−3x^2 - 3x = x - 3 gives x2−4x+3=0x^2 - 4x + 3 = 0, the same equation.
Confirm a landmark
At the zero of ff at x=0x = 0, the sum equals gg: s(0)=g(0)=3s(0) = g(0) = 3, so the yy-intercept is (0,3)(0, 3). Where the curves meet, f=gf = g at x=−1x = -1 (both equal 44), the ordinate doubles: s(−1)=8s(-1) = 8.
Find the vertex
s(x)=x2−4x+3=(x−2)2−1s(x) = x^2 - 4x + 3 = (x - 2)^2 - 1, so the vertex (a minimum) is at (2,−1)(2, -1).
Answer
the upward parabola y=x2−4x+3=(x−1)(x−3)y = x^2 - 4x + 3 = (x - 1)(x - 3), with zeroes x=1,3x = 1, 3, yy-intercept (0,3)(0, 3), vertex (2,−1)(2, -1), positive outside [1,3][1, 3] and negative between.
exam5 marks
Let f(x)=1xf(x) = \dfrac{1}{x} and g(x)=xg(x) = x. By adding ordinates, sketch y=f(x)+g(x)y = f(x) + g(x). State the equations of the vertical and oblique asymptotes, explain why the sum has no zeroes, and find the coordinates of the turning points.
Show worked solution →
Form the sum
s(x)=1x+x=x2+1xs(x) = \dfrac{1}{x} + x = \dfrac{x^2 + 1}{x}, found by adding the ordinates of the hyperbola and the line.
Vertical asymptote
At x=0x = 0 the hyperbola has a vertical asymptote and the line is finite, so ss has a vertical asymptote at x=0x = 0. As x→0+x \to 0^+, 1x→+∞\dfrac{1}{x} \to +\infty so s→+∞s \to +\infty; as x→0−x \to 0^-, s→−∞s \to -\infty.
Oblique asymptote
For large ∣x∣|x|, 1x→0\dfrac{1}{x} \to 0, so s(x)−x=1x→0s(x) - x = \dfrac{1}{x} \to 0: the line y=xy = x is an oblique asymptote.
No zeroes
s(x)=x2+1xs(x) = \dfrac{x^2 + 1}{x}, and x2+1≥1>0x^2 + 1 \ge 1 > 0 for all xx, so the numerator is never zero and ss never crosses the xx-axis. (Equivalently, the ordinates 1x\dfrac1x and xx are never opposite, since 1x=−x\dfrac1x = -x would need x2=−1x^2 = -1.)
Turning points
The curves ff and gg meet where 1x=x\dfrac1x = x, that is x2=1x^2 = 1, so x=±1x = \pm 1. The doubled ordinate there gives the turning points: s(1)=1+1=2s(1) = 1 + 1 = 2 (a minimum on the right branch, since s>0s > 0 there) and s(−1)=−1−1=−2s(-1) = -1 - 1 = -2 (a maximum on the left branch).
Answer
vertical asymptote x=0x = 0, oblique asymptote y=xy = x, no xx-intercepts, minimum (1,2)(1, 2) and maximum (−1,−2)(-1, -2); two branches, the right entirely above the oblique asymptote, the left entirely below it.
exam4 marks
Two functions satisfy f(−x)=f(x)f(-x) = f(x) (even) and g(−x)=−g(x)g(-x) = -g(x) (odd) for all xx. Determine whether s(x)=f(x)+g(x)s(x) = f(x) + g(x) and d(x)=f(x)−g(x)d(x) = f(x) - g(x) are even, odd, or neither, with proof. Hence explain why h(x)=x2+xh(x) = x^2 + x is neither even nor odd.
Show worked solution →
Test the sum
Replace xx by −x-x: s(−x)=f(−x)+g(−x)=f(x)+(−g(x))=f(x)−g(x)=d(x)s(-x) = f(-x) + g(-x) = f(x) + \big(-g(x)\big) = f(x) - g(x) = d(x). So s(−x)=d(x)s(-x) = d(x), which in general is neither s(x)s(x) nor −s(x)-s(x). Hence ss is neither even nor odd (unless gg or ff is identically zero).
Test the difference
Similarly d(−x)=f(−x)−g(−x)=f(x)+g(x)=s(x)d(-x) = f(-x) - g(-x) = f(x) + g(x) = s(x). So dd is also neither even nor odd in general, and reflecting dd in the yy-axis produces ss.
Why the symmetry is lost
An even function is symmetric in the yy-axis and an odd function has point symmetry in the origin; adding one of each mixes the two symmetries, so the result has neither. (By contrast, even ++ even is even, and odd ++ odd is odd, because both terms transform the same way.)
Apply to h(x)=x2+xh(x) = x^2 + x
Here f(x)=x2f(x) = x^2 is even and g(x)=xg(x) = x is odd. By the result, the sum hh is neither even nor odd. Checking directly: h(−x)=x2−xh(-x) = x^2 - x, which equals neither h(x)=x2+xh(x) = x^2 + x nor −h(x)=−x2−x-h(x) = -x^2 - x.
Answer
both ss and dd are neither even nor odd (each reflects into the other across the yy-axis); x2+xx^2 + x is even ++ odd, so it is neither.

Practise this

Sources & how we know this

ExamExplained