Skip to main content
NSWMaths AdvancedSyllabus dot point

How do you transform a known curve by translating and reflecting it, test a function for even or odd symmetry, sketch an absolute-value graph from y=∣x∣y = |x|, and form the composite function f(g(x))f(g(x)) and find its domain?

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

A Year 11 Maths Advanced answer on transformations, symmetry and composite functions: translating and reflecting a known curve, testing even and odd functions algebraically, absolute-value graphs by transformation, and composite functions with their domain, with worked examples and practice questions.

Generated by Claude Opus 4.824 min answer

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

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

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.

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.

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)

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.

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.

Practice questions

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

foundation3 marksStarting 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 marksTest 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 marksSketch 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 marksLet 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 marksLet 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.

Related dot points