Skip to main content

Transformations, symmetry and composite functions for HSC Maths Advanced: translating and reflecting a known curve, even and odd functions with the algebraic test f(−x)=f(x)f(-x) = f(x) and f(−x)=−f(x)f(-x) = -f(x), sketching absolute-value graphs from y=∣x∣y = |x|, and building composite functions f(g(x))f(g(x)) and finding their domain, with worked examples and practice questions

Syllabus dot point

“Translate a known graph vertically and horizontally and reflect it in the xx-axis and the yy-axis, recognise and test even functions (symmetric about the yy-axis, f(−x)=f(x)f(-x) = f(x)) and odd functions (symmetric about the origin, f(−x)=−f(x)f(-x) = -f(x)), sketch absolute-value graphs as transformations of y=∣x∣y = |x|, and form composite functions f(g(x))f(g(x)) and determine their domain”

HSCMaths AdvancedYear 11: Functions24 min read

Quick answer

This dot point turns one known curve into a whole family and chains functions together. Translations: from y=f(x)y = f(x), y=f(x)+ky = f(x) + k shifts up kk (acting on the output, as expected) and y=f(x−h)y = f(x - h) shifts right hh (acting on the input and running backwards to the sign), so y=(x−2)2+1y = (x - 2)^2 + 1 is y=x2y = x^2 moved right 22 and up 11 with vertex (2,1)(2, 1). Reflections: y=−f(x)y = -f(x) flips in the xx-axis (negate the function) and y=f(−x)y = f(-x) flips in the yy-axis (negate xx); doing both, y=−f(−x)y = -f(-x), is a 180∘180^\circ rotation about the origin. Even and odd functions are the curves a reflection leaves unchanged: even means line symmetry in the yy-axis, tested by f(−x)=f(x)f(-x) = f(x) (e.g. x2x^2, x4x^4, ∣x∣|x|); odd means point symmetry about the origin, tested by f(−x)=−f(x)f(-x) = -f(x) (e.g. xx, x3x^3, 1x\dfrac{1}{x}) - simplify f(−x)f(-x) and compare, and remember most functions are neither, while an odd function defined at 00 passes through the origin. Absolute-value graphs: y=∣x∣y = |x| is a V with corner (0,0)(0, 0) and arms of gradient ±1\pm 1, so y=∣x−h∣+ky = |x - h| + k is that V with corner (h,k)(h, k); for y=∣x−2∣−1y = |x - 2| - 1 the corner is (2,−1)(2, -1), the xx-intercepts are 11 and 33, and the yy-intercept is (0,1)(0, 1). Composite functions: f(g(x))f(g(x)) means do gg first then ff (substitute gg into ff), f(g(x))≠g(f(x))f(g(x)) \ne g(f(x)) in general, and the domain needs xx in the domain of gg with g(x)g(x) in the domain of ff - usually just read it off the composite's equation, so f(g(x))=x−5f(g(x)) = \sqrt{x - 5} (from f=xf = \sqrt{x}, g=x−5g = x - 5) has domain x≥5x \ge 5.

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

What this dot point is asking

Once you can sketch a basic curve, you almost never have to start from scratch again. Most graphs in the HSC are a known shape that has been moved or flipped: a parabola slid sideways, a reciprocal curve turned upside down, a V-shape dropped below the axis. This dot point gives you the four moves that turn one curve into a whole family, the symmetry that lets you halve the work, and the way two functions are chained together into a composite. The four skills are: translating a graph up/down and left/right, reflecting it in the xx-axis or the yy-axis, recognising even and odd functions (and proving it algebraically), and forming composite functions f(g(x))f(g(x)) together with their domain.

The single idea underneath all of it is that changing the equation in a fixed way moves the graph in a fixed way. Replace xx by x−hx - h and the whole picture slides right by hh; add kk to the function and it rises by kk; put a minus sign on the function and it flips top-to-bottom; put a minus sign on xx and it flips left-to-right. Even and odd functions are then just the special curves that a flip leaves unchanged, which is why a quick algebraic test (f(−x)f(-x) versus f(x)f(x) and −f(x)-f(x)) settles their symmetry without a single plotted point. The exam marks come from naming each transformation precisely, keeping the order and direction right (the horizontal ones run "backwards", which is the classic trap), and, for a composite, stating the domain rather than just the formula.

The answer

Translating a known graph

A translation slides a graph without rotating, reflecting or resizing it: every point moves the same distance in the same direction. There are two independent moves, vertical and horizontal, and the rules look pleasingly similar once you see where each one acts.

A vertical translation changes the output. To shift the graph of y=f(x)y = f(x) up by kk, add kk to the function: y=f(x)+ky = f(x) + k (and down by kk is y=f(x)−ky = f(x) - k). This is the intuitive one: making every yy-value bigger by kk lifts the whole curve by kk. A horizontal translation changes the input, and it runs the opposite way to how it reads. To shift the graph right by hh, replace xx by x−hx - h: y=f(x−h)y = f(x - h) (and left by hh is y=f(x+h)y = f(x + h)). The minus sign is right but feels backwards: y=(x−2)2y = (x - 2)^2 is y=x2y = x^2 moved right 22, not left. The reason is that to get the same height the new curve reaches at xx, the original only needed to reach at x−2x - 2, so the picture has been dragged forward by 22. Combining the two, y=f(x−h)+ky = f(x - h) + k is y=f(x)y = f(x) shifted hh right and kk up; for a parabola this is exactly the completed-square (vertex) form, with the vertex sitting at (h,k)(h, k).

For example, y=(x−2)2+1y = (x - 2)^2 + 1 is the parabola y=x2y = x^2 translated right 22 and up 11, so its vertex moves from (0,0)(0, 0) to (2,1)(2, 1). You can check a point rather than trust the rule: at x=0x = 0 the image gives y=(0−2)2+1=4+1=5y = (0 - 2)^2 + 1 = 4 + 1 = 5, and indeed the original point (−2,4)(-2, 4) on y=x2y = x^2 has been carried to (0,5)(0, 5), a move of 22 right and 11 up. The diagram overlays the two.

Translating the parabola y equals x squared to y equals open bracket x minus two close bracket squared plus oneThe original parabola y equals x squared, drawn muted with its vertex at the origin, and its image y equals open bracket x minus two close bracket squared plus one, drawn in the accent colour with vertex at two, one. The image is the original shifted two units right and one unit up; an arrow joins the two vertices to show the translation.xy1234(0, 0)(2, 1)y = x²y = (x-2)²+1right 2, up 1

Key fact

Starting from y=f(x)y = f(x):

  • Up kk: y=f(x)+ky = f(x) + k. Down kk: y=f(x)−ky = f(x) - k. (Vertical shifts act on the output, the way you expect.)
  • Right hh: y=f(x−h)y = f(x - h). Left hh: y=f(x+h)y = f(x + h). (Horizontal shifts act on the input and run backwards to the sign.)

Combined, y=f(x−h)+ky = f(x - h) + k is y=f(x)y = f(x) shifted hh right and kk up. For a parabola this is the vertex form with vertex (h,k)(h, k).

Reflecting in the x-axis and the y-axis

A reflection flips the graph across an axis, producing its mirror image. As with translations, one reflection acts on the output and the other on the input.

To reflect in the xx-axis, negate the whole function: y=−f(x)y = -f(x). Each point (x,y)(x, y) goes to (x,−y)(x, -y), so the graph flips top-to-bottom about the horizontal axis. For instance y=−x2y = -x^2 is y=x2y = x^2 turned upside down, and y=−xy = -\sqrt{x} is the square-root curve flipped below the axis. To reflect in the yy-axis, replace xx by −x-x: y=f(−x)y = f(-x). Each point (x,y)(x, y) goes to (−x,y)(-x, y), so the graph flips left-to-right about the vertical axis. For instance y=−xy = \sqrt{-x} is y=xy = \sqrt{x} reflected into the second quadrant, defined now for x≤0x \le 0. Reflection is mutual: it maps each graph to the other, so reflecting twice returns the original.

A neat consequence ties this section to the next: reflecting in the xx-axis and then in the yy-axis (in either order) gives y=−f(−x)y = -f(-x), which is the same as a 180∘180^\circ rotation about the origin. Curves that this double flip leaves unchanged are exactly the odd functions. Curves unchanged by the single yy-axis flip are the even functions.

Key fact

Starting from y=f(x)y = f(x):

  • Reflect in the xx-axis: y=−f(x)y = -f(x) (negate the function); (x,y)→(x,−y)(x, y) \to (x, -y).
  • Reflect in the yy-axis: y=f(−x)y = f(-x) (negate the input xx); (x,y)→(−x,y)(x, y) \to (-x, y).

Doing both, y=−f(−x)y = -f(-x), is a 180∘180^\circ rotation about the origin. Reflection is mutual, so applying the same reflection twice restores the original curve.

Even and odd functions

Some functions are so symmetric that a reflection does nothing to them, and recognising this halves the work of sketching and lets you read off values you have not computed. There are two kinds.

A function is even if its graph has line symmetry in the yy-axis, that is, the left half is the mirror image of the right half. Reflecting in the yy-axis sends y=f(x)y = f(x) to y=f(−x)y = f(-x), so for the graph to be unchanged we need f(−x)=f(x)f(-x) = f(x) for every xx in the domain. The powers y=x2,x4,x6y = x^2, x^4, x^6 are even, and so is y=∣x∣y = |x|; their graphs fold exactly onto themselves across the yy-axis. A function is odd if its graph has point symmetry in the origin, meaning a 180∘180^\circ rotation about OO maps it onto itself (equivalently, reflect in both axes). That double flip sends y=f(x)y = f(x) to y=−f(−x)y = -f(-x), so for no change we need −f(−x)=f(x)-f(-x) = f(x), that is f(−x)=−f(x)f(-x) = -f(x) for every xx. The powers y=x3,x5y = x^3, x^5 are odd, and so are y=xy = x and y=1xy = \dfrac{1}{x}.

The test is the same one calculation for both, and it is the marker's preferred method because it needs no graph: simplify f(−x)f(-x) and compare it with f(x)f(x) and with −f(x)-f(x). If f(−x)=f(x)f(-x) = f(x) the function is even; if f(−x)=−f(x)f(-x) = -f(x) it is odd; if it matches neither it is neither (most functions are neither). Take f(x)=x3−xf(x) = x^3 - x: then f(−x)=(−x)3−(−x)=−x3+x=−(x3−x)=−f(x)f(-x) = (-x)^3 - (-x) = -x^3 + x = -(x^3 - x) = -f(x), so it is odd; a numeric check agrees, with f(2)=8−2=6f(2) = 8 - 2 = 6 and f(−2)=−8+2=−6=−f(2)f(-2) = -8 + 2 = -6 = -f(2). By contrast f(x)=x2+xf(x) = x^2 + x has f(−x)=x2−xf(-x) = x^2 - x, which is neither f(x)f(x) nor −f(x)-f(x), so it is neither even nor odd. The diagram contrasts an even curve with an odd one.

An even function and an odd function comparedLeft panel: y equals x squared, an even function whose graph is a mirror image in the y-axis; the matching points minus one, one and one, one are joined by a dashed horizontal line, and minus two, four and two, four likewise. Right panel: y equals x cubed minus x, an odd function whose graph has point symmetry in the origin; a point and its opposite through the origin are marked, and the curve cuts the x-axis at minus one, zero and one.xy(1, 1)(-1, 1)(2, 4)(-2, 4)y = x² (even)f(-x) = f(x)mirror in the y-axisxy(a, f(a))(-a, -f(a))-11Oy = x³ - x (odd)f(-x) = -f(x)180° rotation about O

Two facts are worth banking. An odd function defined at x=0x = 0 must pass through the origin, because f(−0)=−f(0)f(-0) = -f(0) forces f(0)=−f(0)f(0) = -f(0), so f(0)=0f(0) = 0. And the symmetry doubles your information: once you know an even function's graph for x≥0x \ge 0 you know it for x≤0x \le 0 by mirroring, and for an odd function you know the left half by rotating the right half 180∘180^\circ.

Key fact
Even function
line symmetry in the yy-axis. Algebraically f(−x)=f(x)f(-x) = f(x) for all xx in the domain. Examples: x2x^2, x4x^4, ∣x∣|x|.
Odd function
point symmetry in the origin (180∘180^\circ rotation about OO). Algebraically f(−x)=−f(x)f(-x) = -f(x) for all xx. Examples: xx, x3x^3, 1x\dfrac{1}{x}.
The test
simplify f(−x)f(-x). If it equals f(x)f(x) the function is even; if it equals −f(x)-f(x) it is odd; otherwise neither. An odd function defined at 00 passes through the origin.

Absolute-value graphs by transformation

The absolute value ∣x∣|x| is the size of xx ignoring its sign, that is, its distance from 00 on the number line: ∣3∣=3|3| = 3 and ∣−3∣=3|-3| = 3. Written in cases, ∣x∣=x|x| = x for x≥0x \ge 0 and ∣x∣=−x|x| = -x for x<0x < 0, two straight lines of gradient +1+1 and −1-1 that meet at the origin. So the graph of y=∣x∣y = |x| is a V-shape with its sharp corner (vertex) at (0,0)(0, 0), sitting on or above the xx-axis; it is even, with the yy-axis as its mirror line.

Because y=∣x∣y = |x| is a single known shape, every y=∣x−h∣+ky = |x - h| + k is just that V translated: replace xx by x−hx - h to shift right hh, and add kk to shift up kk, exactly the rules from the first two sections. The corner moves from (0,0)(0, 0) to (h,k)(h, k), the arms keep their gradients of ±1\pm 1, and you finish by marking the intercepts. Take y=∣x−2∣−1y = |x - 2| - 1: the V is shifted right 22 and down 11, so the corner sits at (2,−1)(2, -1). The xx-intercepts come from ∣x−2∣=1|x - 2| = 1, giving x−2=±1x - 2 = \pm 1, so x=1x = 1 or x=3x = 3; the yy-intercept is y=∣0−2∣−1=2−1=1y = |0 - 2| - 1 = 2 - 1 = 1, the point (0,1)(0, 1). If you ever need the two straight branches explicitly, split at the corner: y=(x−2)−1=x−3y = (x - 2) - 1 = x - 3 for x≥2x \ge 2, and y=−(x−2)−1=−x+1y = -(x - 2) - 1 = -x + 1 for x<2x < 2. The four-panel build shows the transformation stage by stage.

Stage 1, the basic V
Start from y=∣x∣y = |x|, the V-shape with its corner at the origin and arms of gradient ±1\pm 1. This is the known graph every absolute-value sketch is built from.
Stage 2, shift right 22
Replacing xx by x−2x - 2 slides the whole V right 22 units, carrying the corner from (0,0)(0, 0) to (2,0)(2, 0). The shape and the arm gradients are unchanged.
Stage 3, shift down 11
Subtracting 11 from the function lowers the V by 11, so the corner drops from (2,0)(2, 0) to (2,−1)(2, -1). Now part of the graph lies below the xx-axis.
Stage 4, mark the intercepts
Solve ∣x−2∣−1=0|x - 2| - 1 = 0 for the xx-intercepts (1,0)(1, 0) and (3,0)(3, 0), and put x=0x = 0 for the yy-intercept (0,1)(0, 1). The finished graph is a V with corner (2,−1)(2, -1) through those three points.

Sketching y equals the absolute value of x minus two, minus one, in four stagesStage one is the basic V-shape y equals the absolute value of x with its corner at the origin. Stage two shifts it two units right so the corner is at two, zero. Stage three shifts it one unit down so the corner is at two, minus one. Stage four marks the x-intercepts at one and three and the y-intercept at zero, one on the finished graph.1Stage 1: y = |x|xy(0, 0)2Stage 2: shift right 2xy(2, 0)3Stage 3: shift down 1xy(2, -1)4Stage 4: interceptsxy13(0, 1)(2, -1)

Key fact

y=∣x∣y = |x| is a V-shape with corner (0,0)(0, 0), arms of gradient ±1\pm 1, sitting on or above the xx-axis (it is even). Then y=∣x−h∣+ky = |x - h| + k is that V shifted hh right and kk up, with corner (h,k)(h, k).

To sketch y=∣x−h∣+ky = |x - h| + k: place the corner at (h,k)(h, k), draw arms of gradient ±1\pm 1, then find the xx-intercepts from ∣x−h∣=−k|x - h| = -k (only if k≤0k \le 0) and the yy-intercept by putting x=0x = 0.

Composite functions and their domain

A composite function chains two functions so the output of one becomes the input of the other. Writing f(g(x))f(g(x)) means "do gg first, then ff": feed xx into gg, then feed the result into ff. It is built by substitution, putting the whole rule for g(x)g(x) wherever xx appears in ff. If f(x)=xf(x) = \sqrt{x} and g(x)=x−3g(x) = x - 3, then f(g(x))=g(x)=x−3f(g(x)) = \sqrt{g(x)} = \sqrt{x - 3}. Order matters: the other composite g(f(x))=f(x)−3=x−3g(f(x)) = f(x) - 3 = \sqrt{x} - 3 is a different function, so f(g(x))f(g(x)) and g(f(x))g(f(x)) are generally not the same.

The part the exam really tests is the domain. A value xx is allowed into f(g(x))f(g(x)) only if two things hold: xx must be in the domain of the inner function gg, and the output g(x)g(x) must then be a legal input for the outer function ff. In practice it is almost always enough to write down the equation of the composite and read its domain off as a single function, applying the usual rules (no division by zero, no square root of a negative). For f(g(x))=x−3f(g(x)) = \sqrt{x - 3} the square root needs x−3≥0x - 3 \ge 0, so the domain is x≥3x \ge 3; a check confirms it, since f(g(3))=0=0f(g(3)) = \sqrt{0} = 0 and f(g(7))=4=2f(g(7)) = \sqrt{4} = 2 are fine but f(g(2))=−1f(g(2)) = \sqrt{-1} is not. Switching the order, g(f(x))=x−3g(f(x)) = \sqrt{x} - 3 instead needs x≥0x \ge 0, a different domain again, which is the clearest sign that the order of composition genuinely changes the function. As a reciprocal example, with f(x)=1xf(x) = \dfrac{1}{x} and g(x)=x−1g(x) = x - 1 the composite f(g(x))=1x−1f(g(x)) = \dfrac{1}{x - 1} is undefined where the denominator is 00, so its domain is x≠1x \ne 1.

Key fact

The composite f(g(x))f(g(x)) means apply gg first, then ff: substitute g(x)g(x) into ff. In general f(g(x))≠g(f(x))f(g(x)) \ne g(f(x)), so order matters.

Domain of f(g(x))f(g(x)): xx must be in the domain of gg, and g(x)g(x) must be in the domain of ff. It is almost always enough to write the composite as a single equation and read its domain from the usual rules (denominator ≠0\ne 0, expression under a square root ≥0\ge 0).

How exam questions ask about transformations and symmetry

The wording points straight to the move or the test:

  • "Sketch y=f(x)+ky = f(x) + k / y=f(x−h)y = f(x - h)" or "describe the transformation that maps ... onto ..." Name the shift precisely: +k+k is up kk, f(x−h)f(x - h) is right hh (remember the horizontal one runs backwards to the sign). Track the vertex/key point.
  • "Sketch y=−f(x)y = -f(x) / y=f(−x)y = f(-x)." −f(x)-f(x) is a reflection in the xx-axis; f(−x)f(-x) is a reflection in the yy-axis. State which axis.
  • "Show that f(x)f(x) is even / odd," or "test f(x)f(x) for even or odd symmetry." Compute f(−x)f(-x), simplify, and write the conclusion: f(−x)=f(x)f(-x) = f(x) (even) or f(−x)=−f(x)f(-x) = -f(x) (odd). "Show that" wants the algebra, not a graph.
  • "What symmetry does the graph have?" Even means line symmetry in the yy-axis; odd means point symmetry about the origin (180∘180^\circ rotation).
  • "Sketch y=∣x−h∣+ky = |x - h| + k." Transform y=∣x∣y = |x|: corner at (h,k)(h, k), arms of gradient ±1\pm 1, then mark intercepts.
  • "Solve ∣x−h∣+k=0|x - h| + k = 0" or "find the xx-intercepts." Set ∣x−h∣=−k|x - h| = -k and use x−h=±(−k)x - h = \pm(-k) (two answers, provided k≤0k \le 0).
  • "Find f(g(x))f(g(x)) / find g(f(x))g(f(x))." Substitute the inner rule into the outer one and simplify. Watch the order.
  • "State the domain of f(g(x))f(g(x))." Read it from the composite's equation: denominator ≠0\ne 0, square-root argument ≥0\ge 0. Give it in a<x<ba < x < b or x≥ax \ge a form.
  • "Hence find f(−a)f(-a)" after proving oddness/evenness. Use f(−a)=−f(a)f(-a) = -f(a) (odd) or f(−a)=f(a)f(-a) = f(a) (even) rather than recomputing.
Worked example

Six examples: translating a known curve, reflecting a curve in each axis, testing one function for odd and one for even symmetry, sketching an absolute-value graph by transformation, building a composite with its domain, and using oddness to read off a value.

Translate y=1xy = \dfrac{1}{x} to sketch y=1x−3+2y = \dfrac{1}{x - 3} + 2

Identify the shifts, move the asymptotes, and place a check point.

Read off the transformations
Compare with y=1xy = \dfrac{1}{x}. The x−3x - 3 in the denominator replaces xx by x−3x - 3, a shift right 33; the +2+2 shifts the curve up 22.
Move the asymptotes
The reciprocal curve has asymptotes x=0x = 0 and y=0y = 0. Shifting right 33 and up 22 moves them to x=3x = 3 (vertical) and y=2y = 2 (horizontal). The two branches now sit either side of the point (3,2)(3, 2).
Check a point
On y=1xy = \dfrac{1}{x} the point (1,1)(1, 1) maps to (1+3,1+2)=(4,3)(1 + 3, 1 + 2) = (4, 3); verify in the new rule: y=14−3+2=1+2=3y = \dfrac{1}{4 - 3} + 2 = 1 + 2 = 3. Good.
State the sketch
A rectangular hyperbola with the same shape as y=1xy = \dfrac{1}{x}, asymptotes x=3x = 3 and y=2y = 2, passing through (4,3)(4, 3), with one branch up-right of (3,2)(3, 2) and one down-left of it.

Reflect y=xy = \sqrt{x} in each axis

Apply the two reflection rules and note how the domain changes.

Reflect in the xx-axis
Negate the function: y=−xy = -\sqrt{x}. The curve flips below the xx-axis. The input is unchanged, so the domain stays x≥0x \ge 0, but the range becomes y≤0y \le 0.
Reflect in the yy-axis
Negate the input: y=−xy = \sqrt{-x}. The curve flips to the left of the yy-axis. Now −x≥0-x \ge 0 is required, so the domain becomes x≤0x \le 0, while the range stays y≥0y \ge 0.
State the answer
xx-axis reflection: y=−xy = -\sqrt{x} (domain x≥0x \ge 0, range y≤0y \le 0). yy-axis reflection: y=−xy = \sqrt{-x} (domain x≤0x \le 0, range y≥0y \ge 0). Reflecting in both would give y=−−xy = -\sqrt{-x}, the curve rotated 180∘180^\circ into the third quadrant.

Test f(x)=x3−xf(x) = x^3 - x for odd symmetry

Use the algebraic test and confirm with a value.

Compute f(−x)f(-x). Substitute −x-x for xx:

f(−x)=(−x)3−(−x)=−x3+x.f(-x) = (-x)^3 - (-x) = -x^3 + x.

Compare with −f(x)-f(x)
Factor out −1-1: −x3+x=−(x3−x)=−f(x)-x^3 + x = -(x^3 - x) = -f(x). Since f(−x)=−f(x)f(-x) = -f(x) for all xx, the function is odd.
Confirm numerically
f(2)=23−2=8−2=6f(2) = 2^3 - 2 = 8 - 2 = 6 and f(−2)=(−2)3−(−2)=−8+2=−6f(-2) = (-2)^3 - (-2) = -8 + 2 = -6, so indeed f(−2)=−f(2)f(-2) = -f(2).
State the answer
f(x)=x3−xf(x) = x^3 - x is odd; its graph has point symmetry about the origin and (factoring as x(x−1)(x+1)x(x - 1)(x + 1)) cuts the xx-axis at −1-1, 00 and 11.

Test f(x)=x4−3x2f(x) = x^4 - 3x^2 for even symmetry

Run the same test on an even candidate.

Compute f(−x)f(-x). Every power of xx here is even:

f(−x)=(−x)4−3(−x)2=x4−3x2=f(x).f(-x) = (-x)^4 - 3(-x)^2 = x^4 - 3x^2 = f(x).

Conclude
Because f(−x)=f(x)f(-x) = f(x) for all xx, the function is even, with line symmetry in the yy-axis.
Confirm numerically
f(2)=16−12=4f(2) = 16 - 12 = 4 and f(−2)=16−12=4f(-2) = 16 - 12 = 4; also f(1)=1−3=−2f(1) = 1 - 3 = -2 and f(−1)=1−3=−2f(-1) = 1 - 3 = -2. The matching pairs confirm the yy-axis symmetry.
State the answer
f(x)=x4−3x2f(x) = x^4 - 3x^2 is even; you can sketch it for x≥0x \ge 0 and mirror across the yy-axis to get the rest.

Sketch y=∣x−2∣−1y = |x - 2| - 1 by transformation

Move the V, then mark the corner and intercepts.

Identify the transformations
From y=∣x∣y = |x|, the x−2x - 2 shifts the V right 22 and the −1-1 shifts it down 11.
Place the corner
The corner (0,0)(0, 0) moves to (2,−1)(2, -1). Draw arms of gradient +1+1 to the right and −1-1 to the left from there.
Find the intercepts
Set y=0y = 0: ∣x−2∣=1|x - 2| = 1, so x−2=±1x - 2 = \pm 1, giving x=1x = 1 or x=3x = 3; the xx-intercepts are (1,0)(1, 0) and (3,0)(3, 0). Set x=0x = 0: y=∣0−2∣−1=2−1=1y = |0 - 2| - 1 = 2 - 1 = 1, so the yy-intercept is (0,1)(0, 1).
State the sketch
A V with corner (2,−1)(2, -1), passing up through (1,0)(1, 0) and (3,0)(3, 0), with yy-intercept (0,1)(0, 1). (Branches: y=x−3y = x - 3 for x≥2x \ge 2 and y=−x+1y = -x + 1 for x<2x < 2.)

Build a composite and find its domain

A reservoir's depth model chains two functions. Let f(x)=xf(x) = \sqrt{x} and g(x)=x−5g(x) = x - 5, where xx is the day number. Find f(g(x))f(g(x)), its domain, and f(g(9))f(g(9)).

Form the composite. Apply gg first, then ff: substitute g(x)=x−5g(x) = x - 5 into f(x)=xf(x) = \sqrt{x}, giving

f(g(x))=x−5.f(g(x)) = \sqrt{x - 5}.

Find the domain
The inner function g(x)=x−5g(x) = x - 5 is defined for all xx, and the outer square root needs its input to be non-negative: x−5≥0x - 5 \ge 0, so x≥5x \ge 5. Thus the domain of f(g(x))f(g(x)) is x≥5x \ge 5.
Evaluate at x=9x = 9
f(g(9))=9−5=4=2f(g(9)) = \sqrt{9 - 5} = \sqrt{4} = 2.
State the answer
f(g(x))=x−5f(g(x)) = \sqrt{x - 5}, domain x≥5x \ge 5, range y≥0y \ge 0, and f(g(9))=2f(g(9)) = 2. (The reverse order g(f(x))=x−3g(f(x)) = \sqrt{x} - 3 has domain x≥0x \ge 0, a different function.)
Final answers
y=1x−3+2y = \dfrac{1}{x - 3} + 2 is y=1xy = \dfrac{1}{x} shifted right 33 and up 22 with asymptotes x=3x = 3, y=2y = 2 through (4,3)(4, 3); reflecting y=xy = \sqrt{x} gives y=−xy = -\sqrt{x} (in the xx-axis) and y=−xy = \sqrt{-x} (in the yy-axis); f(x)=x3−xf(x) = x^3 - x is odd with f(−2)=−6f(-2) = -6; f(x)=x4−3x2f(x) = x^4 - 3x^2 is even; y=∣x−2∣−1y = |x - 2| - 1 has corner (2,−1)(2, -1), xx-intercepts 11 and 33, yy-intercept (0,1)(0, 1); and f(g(x))=x−5f(g(x)) = \sqrt{x - 5} has domain x≥5x \ge 5 with f(g(9))=2f(g(9)) = 2.
Common traps
Shifting horizontally the wrong way
y=f(x−h)y = f(x - h) moves the graph right hh, not left, even though it looks like a minus. So y=(x−3)2y = (x - 3)^2 is y=x2y = x^2 shifted right 33. Test a point if unsure: the new vertex is where x−3=0x - 3 = 0, i.e. x=3x = 3.
Confusing the two reflections
y=−f(x)y = -f(x) (minus on the function) flips in the xx-axis; y=f(−x)y = f(-x) (minus on the input) flips in the yy-axis. Putting the minus in the wrong place reflects in the wrong axis.
Mixing up the even and odd conditions
Even is f(−x)=f(x)f(-x) = f(x) (yy-axis mirror); odd is f(−x)=−f(x)f(-x) = -f(x) (origin rotation). Swapping them, or assuming a function must be one or the other, is the usual slip - most functions are neither.
Calling a function odd from a graph that only looks "wavy"
The test is algebraic: simplify f(−x)f(-x) and compare with f(x)f(x) and −f(x)-f(x). A parabola like y=x2−2xy = x^2 - 2x is symmetric, but about x=1x = 1, not the yy-axis, so it is neither even nor odd.
Getting the order of a composite wrong
f(g(x))f(g(x)) means do gg first, then ff. It is generally not equal to g(f(x))g(f(x)). Read it inside-out.
Quoting the composite but not its domain
A composite question almost always wants the domain. Apply the usual rules to the composite's equation (denominator ≠0\ne 0, square-root argument ≥0\ge 0); do not just give the formula.

Forgetting that an absolute-value graph can have two, one, or no xx-intercepts. y=∣x−h∣+ky = |x - h| + k meets the xx-axis only if k≤0k \le 0. If the corner is above the axis (k>0k > 0) there are no xx-intercepts; if k=0k = 0 there is exactly one (at the corner).

Exam technique

Markers reward the transformation named precisely, the key point tracked, the algebraic test shown for symmetry, and the domain stated for a composite. To bank the method marks:

  • Name each transformation and its direction. Write "shift right 33, up 22" or "reflect in the xx-axis", and move the vertex/asymptote accordingly. The horizontal shift runs backwards to the sign - say it explicitly.
  • Track a key feature, not the whole curve. For a parabola follow the vertex, for a hyperbola the asymptotes and one point, for a V the corner. State its new coordinates.
  • For "show that ... is even/odd", show the algebra. Write f(−x)=…f(-x) = \ldots, simplify, and finish with =f(x)= f(x) or =−f(x)= -f(x) and the word "even"/"odd". A graph alone does not earn a "show that" mark.
  • Use the symmetry to save work and to find values. After proving oddness, write f(−a)=−f(a)f(-a) = -f(a) rather than recomputing; sketch an even curve for x≥0x \ge 0 and mirror it.
  • Sketch an absolute-value graph from the corner. Plot (h,k)(h, k), draw the two arms at gradient ±1\pm 1, then solve ∣x−h∣=−k|x - h| = -k for the xx-intercepts and put x=0x = 0 for the yy-intercept.
  • For a composite, substitute inside-out and then state the domain. Put the inner rule into the outer function, simplify, and read the domain from the result (denominator ≠0\ne 0, root ≥0\ge 0). Give intervals in a<x<ba < x < b or x≥ax \ge a form.
  • Mark intercepts and label asymptotes. A transformed graph earns marks for shown intercepts and dashed, labelled asymptotes, exactly as the original would.

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
Starting from the graph of y=x2y = x^2, write down the equation of the curve after each transformation. (a) Translate up 44 units. (b) Translate right 33 units. (c) Reflect in the xx-axis.
Show worked solution →
Recall the three rules
To shift a graph up kk units add kk to the whole function, y=f(x)+ky = f(x) + k. To shift it right hh units replace xx by x−hx - h, giving y=f(x−h)y = f(x - h). To reflect it in the xx-axis negate the whole function, y=−f(x)y = -f(x).
(a) Up 44
Add 44: y=x2+4y = x^2 + 4. Every point rises 44, so the vertex moves from (0,0)(0, 0) to (0,4)(0, 4).
(b) Right 33
Replace xx by x−3x - 3: y=(x−3)2y = (x - 3)^2. The vertex moves from (0,0)(0, 0) to (3,0)(3, 0).
(c) Reflect in the xx-axis
Negate: y=−x2y = -x^2. The U-shape flips to an upside-down parabola, still with vertex (0,0)(0, 0).
State the answer
(a) y=x2+4y = x^2 + 4; (b) y=(x−3)2y = (x - 3)^2; (c) y=−x2y = -x^2.
foundation3 marks
Test whether each function is even, odd, or neither, using the algebraic test. (a) f(x)=x4+1f(x) = x^4 + 1. (b) f(x)=x3+xf(x) = x^3 + x. (c) f(x)=x2+xf(x) = x^2 + x.
Show worked solution →
State the test
Work out f(−x)f(-x) and compare: if f(−x)=f(x)f(-x) = f(x) the function is even; if f(−x)=−f(x)f(-x) = -f(x) it is odd; otherwise it is neither.
(a) f(x)=x4+1f(x) = x^4 + 1
f(−x)=(−x)4+1=x4+1=f(x)f(-x) = (-x)^4 + 1 = x^4 + 1 = f(x), so ff is even (symmetric about the yy-axis).
(b) f(x)=x3+xf(x) = x^3 + x
f(−x)=(−x)3+(−x)=−x3−x=−(x3+x)=−f(x)f(-x) = (-x)^3 + (-x) = -x^3 - x = -(x^3 + x) = -f(x), so ff is odd (symmetric about the origin).
(c) f(x)=x2+xf(x) = x^2 + x
f(−x)=(−x)2+(−x)=x2−xf(-x) = (-x)^2 + (-x) = x^2 - x. This is not equal to f(x)=x2+xf(x) = x^2 + x, nor to −f(x)=−x2−x-f(x) = -x^2 - x, so ff is neither.
State the answer
(a) even; (b) odd; (c) neither.
core4 marks
Sketch y=∣x+1∣−2y = |x + 1| - 2 as a transformation of y=∣x∣y = |x|. State the coordinates of the corner (vertex) and of the xx- and yy-intercepts.
Show worked solution →
Read off the transformations
Compare y=∣x+1∣−2y = |x + 1| - 2 with y=∣x∣y = |x|. The x+1=x−(−1)x + 1 = x - (-1) shifts the V-shape left 11; the −2-2 shifts it down 22.
Find the corner
The corner of y=∣x∣y = |x| is at (0,0)(0, 0); moving it left 11 and down 22 puts the corner at (−1,−2)(-1, -2).
Find the xx-intercepts
Set y=0y = 0: ∣x+1∣−2=0|x + 1| - 2 = 0, so ∣x+1∣=2|x + 1| = 2, giving x+1=2x + 1 = 2 or x+1=−2x + 1 = -2, that is x=1x = 1 or x=−3x = -3. The xx-intercepts are (−3,0)(-3, 0) and (1,0)(1, 0).
Find the yy-intercept
Set x=0x = 0: y=∣0+1∣−2=1−2=−1y = |0 + 1| - 2 = 1 - 2 = -1, the point (0,−1)(0, -1).
State the sketch
A V-shape with corner (−1,−2)(-1, -2), arms going up through (−3,0)(-3, 0) and (1,0)(1, 0), and yy-intercept (0,−1)(0, -1).
core4 marks
Let f(x)=xf(x) = \sqrt{x} and g(x)=x−5g(x) = x - 5. (a) Find an expression for f(g(x))f(g(x)). (b) State its domain. (c) Find f(g(9))f(g(9)).
Show worked solution →
(a) Form the composite
f(g(x))f(g(x)) means apply gg first, then ff: substitute g(x)=x−5g(x) = x - 5 into ff. So f(g(x))=g(x)=x−5f(g(x)) = \sqrt{g(x)} = \sqrt{x - 5}.
(b) Find the domain
The square root needs a non-negative input: x−5≥0x - 5 \ge 0, so x≥5x \ge 5. The inner function gg is defined for all real xx, so the only restriction is x≥5x \ge 5. The domain of f(g(x))f(g(x)) is x≥5x \ge 5.
(c) Evaluate at x=9x = 9
f(g(9))=9−5=4=2f(g(9)) = \sqrt{9 - 5} = \sqrt{4} = 2.
State the answer
(a) f(g(x))=x−5f(g(x)) = \sqrt{x - 5}; (b) domain x≥5x \ge 5; (c) f(g(9))=2f(g(9)) = 2.
exam5 marks
Let f(x)=1xf(x) = \dfrac{1}{x} and g(x)=x−1g(x) = x - 1. (a) Find f(g(x))f(g(x)) and g(f(x))g(f(x)), simplifying each. (b) State the domain of each composite. (c) Show that f(g(3))=12f(g(3)) = \dfrac{1}{2}.
Show worked solution →
(a) Form both composites
For f(g(x))f(g(x)) substitute gg into ff: f(g(x))=1g(x)=1x−1f(g(x)) = \dfrac{1}{g(x)} = \dfrac{1}{x - 1}. For g(f(x))g(f(x)) substitute ff into gg: g(f(x))=f(x)−1=1x−1g(f(x)) = f(x) - 1 = \dfrac{1}{x} - 1.
(b) Find each domain
For f(g(x))=1x−1f(g(x)) = \dfrac{1}{x - 1} the denominator cannot be 00, so x−1≠0x - 1 \ne 0, that is x≠1x \ne 1. For g(f(x))=1x−1g(f(x)) = \dfrac{1}{x} - 1 the inner f(x)=1xf(x) = \dfrac{1}{x} is undefined at x=0x = 0, so x≠0x \ne 0. The two composites have different domains, which shows order matters.
(c) Evaluate
f(g(3))=13−1=12f(g(3)) = \dfrac{1}{3 - 1} = \dfrac{1}{2}, as required.
State the answer
(a) f(g(x))=1x−1f(g(x)) = \dfrac{1}{x - 1} and g(f(x))=1x−1g(f(x)) = \dfrac{1}{x} - 1; (b) domains x≠1x \ne 1 and x≠0x \ne 0 respectively; (c) f(g(3))=12f(g(3)) = \dfrac{1}{2}.
exam4 marks
(a) Prove algebraically that f(x)=x3−xf(x) = x^3 - x is an odd function. (b) Explain what this tells you about the symmetry of its graph, and state its three xx-intercepts. (c) Hence find f(−2)f(-2) given that f(2)=6f(2) = 6.
Show worked solution →

(a) Apply the test. Substitute −x-x for xx:

f(−x)=(−x)3−(−x)=−x3+x=−(x3−x)=−f(x).f(-x) = (-x)^3 - (-x) = -x^3 + x = -(x^3 - x) = -f(x).

Since f(−x)=−f(x)f(-x) = -f(x) for all xx, the function is odd.

(b) Interpret the symmetry
An odd function has point symmetry about the origin: the graph is mapped onto itself by a 180∘180^\circ rotation about OO. Factoring, f(x)=x(x2−1)=x(x−1)(x+1)f(x) = x(x^2 - 1) = x(x - 1)(x + 1), so the xx-intercepts are x=−1x = -1, x=0x = 0 and x=1x = 1.
(c) Use oddness
Because f(−x)=−f(x)f(-x) = -f(x), we have f(−2)=−f(2)=−6f(-2) = -f(2) = -6. (Check directly: f(−2)=(−2)3−(−2)=−8+2=−6f(-2) = (-2)^3 - (-2) = -8 + 2 = -6.)
State the answer
(a) shown; (b) point symmetry about the origin, intercepts −1-1, 00, 11; (c) f(−2)=−6f(-2) = -6.

Practise this

Sources & how we know this

ExamExplained