Skip to main content
NSWMaths AdvancedSyllabus dot point

What do the graphs of y=a^x and y=log_a x actually look like, why are they exact mirror images of each other, where are their asymptotes, and how do translations, reflections and dilations move them while you read off the domain and range?

Graph exponential and logarithmic functions, identify their asymptotes, use the reflection in the line y=x that makes them inverse functions, apply translations, reflections and dilations, and state the domain and range of each

The Year 11 Maths Advanced answer on exponential and logarithmic graphs: the shapes of y=a^x and y=log_a x, their horizontal and vertical asymptotes, why the two curves are exact mirror images in the line y=x, how translations, reflections and dilations move them, and how to state domain and range, with code-checked diagrams and original practice questions.

Generated by Claude Opus 4.820 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

The previous two pages built the algebra of indices and logarithms; this page turns that algebra into pictures. NESA expects you to sketch the exponential curve y=axy = a^x and the logarithmic curve y=logaxy = \log_a x, to know exactly where each one flattens out towards a line it never touches (its asymptote), and to use the single most important fact in the topic: the two curves are exact mirror images of each other in the line y=xy = x, because they are inverse functions that undo one another. On top of the two basic shapes you must apply the usual graph transformations (translations up/down and left/right, reflections in each axis, and dilations) and, for every graph, state the domain and range. None of this needs calculus; it is all reading shape, asymptote and key points off a sketch. The pay-off is that the abstract statement "a logarithm is the index" finally becomes something you can see: the exponential turns an index into a number, the logarithm turns the number back into the index, and reflecting one curve in y=xy = x produces the other.

The answer

The shape of an exponential graph y = a^x

For a base a>1a > 1, the graph of y=axy = a^x has one characteristic shape: it rises from left to right, getting steeper and steeper, and it stays entirely above the xx-axis. Three features pin it down on any sketch, and all three come straight from the index laws:

  • The yy-intercept is (0,1)(0, 1), because a0=1a^0 = 1 for every base. Every exponential passes through this one point.
  • At x=1x = 1 the height is the base, the point (1,a)(1, a), because a1=aa^1 = a. This is what visibly separates y=2xy = 2^x from y=3xy = 3^x: the steeper curve has the bigger base.
  • The xx-axis is a horizontal asymptote, the line y=0y = 0. As xx \to -\infty the value axa^x becomes "as small as we like" but never reaches zero, because no power of a positive base is ever zero or negative.

The domain is all real xx (you can raise aa to any index) and the range is y>0y > 0 (the output is always positive). The figure below shows y=2xy = 2^x with these features; notice how the curve hugs the asymptote on the left without ever crossing it.

The graph of y equals 2 to the power x with its horizontal asymptoteAn increasing exponential curve passing through zero comma one and one comma two. To the left it flattens towards the x-axis, which is the horizontal asymptote y equals zero, never touching it. The whole curve lies above the x-axis.xy-3-2-1121234y = 2ˣ(0, 1)(1, 2)asymptote y = 0

A base between 00 and 11 flips the picture left to right. For example y=(12)xy = \left(\tfrac{1}{2}\right)^x can be rewritten y=2xy = 2^{-x}, which is y=2xy = 2^x reflected in the yy-axis: it decreases from left to right, still passing through (0,1)(0, 1) and still with asymptote y=0y = 0 and range y>0y > 0. This is the natural shape of decay (a halving each step), where the growth shape y=2xy = 2^x is doubling.

The shape of a logarithmic graph y = log_a x

The graph of y=logaxy = \log_a x (with a>1a > 1) is the exponential's twin. It rises from left to right but the other way round: it climbs steeply near the start and then flattens as xx grows. Its three features are the exponential's features with xx and yy swapped:

  • The xx-intercept is (1,0)(1, 0), because loga1=0\log_a 1 = 0 for every base. Every logarithm passes through this one point.
  • At x=ax = a the height is 11, the point (a,1)(a, 1), because logaa=1\log_a a = 1.
  • The yy-axis is a vertical asymptote, the line x=0x = 0. As x0+x \to 0^+ the value logax\log_a x \to -\infty, plunging downwards, because you are asking "what power of aa gives a number just above zero?" and the answer is a huge negative index.

The domain is x>0x > 0 (only positive numbers have a logarithm) and the range is all real yy. So the exponential's range y>0y > 0 has become the logarithm's domain x>0x > 0, and the exponential's domain (all reals) has become the logarithm's range, the swap that defines an inverse.

Why the two graphs are reflections in y = x

This is the central idea, and it is worth seeing clearly rather than memorising. The functions y=axy = a^x and y=logaxy = \log_a x are inverse functions: each undoes the other. Raising aa to a power and then taking loga\log_a returns the original number, and vice versa, loga(ax)=x\log_a(a^x) = x and alogax=xa^{\log_a x} = x. Geometrically, undoing a function is reflecting its graph in the line y=xy = x, because reflecting in y=xy = x swaps the horizontal and vertical coordinates: the point (p,q)(p, q) becomes (q,p)(q, p).

That swap is exactly the index-and-log relationship. A point (p,q)(p, q) on y=axy = a^x says ap=qa^p = q, that is, "pp is the index that gives qq". Its mirror (q,p)(q, p) on y=logaxy = \log_a x says logaq=p\log_a q = p, "the log of qq is pp", the very same statement read backwards. So every point on one curve has its mirror on the other, and the whole logarithm graph is the whole exponential graph flipped across y=xy = x. The table of values is even the same, with the columns swapped:

Point on y=2xy = 2^x Mirror on y=log2xy = \log_2 x
(0,1)(0, 1) (1,0)(1, 0)
(1,2)(1, 2) (2,1)(2, 1)
(2,4)(2, 4) (4,2)(4, 2)

The diagram below draws both curves and the mirror line. The exponential's horizontal asymptote y=0y = 0 reflects into the logarithm's vertical asymptote x=0x = 0; its yy-intercept (0,1)(0, 1) reflects into the logarithm's xx-intercept (1,0)(1, 0). Hold a ruler along the dashed line and each curve folds exactly onto the other.

y equals 2 to the power x and y equals log base 2 of x reflected in the line y equals xThe exponential curve y equals 2 to the power x and the logarithmic curve y equals log base 2 of x are exact mirror images across the dashed diagonal line y equals x. The exponential passes through zero comma one, one comma two and two comma four; the logarithm passes through the swapped points one comma zero, two comma one and four comma two.xy-3-2-11234-3-2-11234y = 2ˣy = log₂xy = x(0, 1)(2, 4)(1, 0)(4, 2)

Transforming an exponential graph

Every transformation you met for parabolas and other curves works here unchanged. Start from a known exponential like y=2xy = 2^x or y=3xy = 3^x and apply the move; the key is to track the asymptote, the intercept and the domain/range as you go, because those are the marks.

  • Translation up or down by kk: y=ax+ky = a^x + k shifts the curve kk units up (down if kk is negative). The asymptote moves with it, from y=0y = 0 to y=ky = k, and the range becomes y>ky > k. The horizontal position is unchanged.
  • Translation left or right by hh: y=axhy = a^{x - h} shifts the curve hh units right (hh negative shifts left). The asymptote stays y=0y = 0 and the range stays y>0y > 0, because moving sideways does not change the heights the curve reaches.
  • Reflection in the xx-axis: y=axy = -a^x flips the curve below the axis; the asymptote stays y=0y = 0 but the range becomes y<0y < 0.
  • Reflection in the yy-axis: y=axy = a^{-x} flips it left to right, turning growth into decay (this is the 0<a<10 < a < 1 case again).
  • Dilation (stretch) from the xx-axis by factor cc: y=caxy = c\,a^x multiplies every height by cc, so the yy-intercept moves to (0,c)(0, c) while the asymptote stays y=0y = 0.

The most-tested of these is the vertical shift, because it is the one that moves the asymptote. The figure shows y=3xy = 3^x raised one unit to y=3x+1y = 3^x + 1: the whole curve lifts, the yy-intercept goes from (0,1)(0, 1) to (0,2)(0, 2), and crucially the asymptote rises from y=0y = 0 to y=1y = 1.

y equals 3 to the power x and the shifted curve y equals 3 to the power x plus oneTwo increasing exponential curves. The base curve y equals 3 to the power x passes through zero comma one with horizontal asymptote y equals zero. Shifting up one unit gives y equals 3 to the power x plus one, passing through zero comma two with the raised horizontal asymptote y equals one, shown dashed.xy-2-1112345y = 3ˣ + 1y = 3ˣ(0, 2)(0, 1)asymptote y = 1

One distinction trips up many students: y=2x+1y = 2^x + 1 and y=2x+1y = 2^{x+1} are not the same. Adding 11 to the output (+1+1 outside) shifts the curve up and moves the asymptote to y=1y = 1; adding 11 to the input (+1+1 in the exponent) shifts the curve left and leaves the asymptote at y=0y = 0. They happen to share the yy-intercept (0,2)(0, 2), but their asymptotes give them away. (Because 2x+1=2×2x2^{x+1} = 2 \times 2^x, the left shift is also exactly a vertical stretch by factor 22, a tidy coincidence worth noticing.)

Transforming a logarithmic graph

Logarithms transform by the same rules, but watch the vertical asymptote, which is what a horizontal shift moves. Starting from y=logaxy = \log_a x (asymptote x=0x = 0):

  • Translation right or left by hh: y=loga(xh)y = \log_a(x - h) shifts the curve hh units right, and the vertical asymptote moves with it from x=0x = 0 to x=hx = h. The domain becomes x>hx > h, because the number inside the log must still be positive, here xh>0x - h > 0.
  • Translation up or down by kk: y=logax+ky = \log_a x + k lifts the curve kk units; the asymptote stays x=0x = 0 and the domain stays x>0x > 0.
  • Reflections behave as before: y=logaxy = -\log_a x flips it in the xx-axis, and y=loga(x)y = \log_a(-x) flips it in the yy-axis (giving domain x<0x < 0).

The figure shows y=log2(x1)y = \log_2(x - 1), the curve y=log2xy = \log_2 x shifted right 11 unit. The vertical asymptote moves to x=1x = 1, the xx-intercept moves from (1,0)(1, 0) to (2,0)(2, 0) (you need x1=1x - 1 = 1), and the domain is now x>1x > 1.

The graph of y equals log base 2 of x minus oneA logarithmic curve shifted one unit to the right. It has the vertical asymptote x equals one, shown dashed, and is defined only for x greater than one. It crosses the x-axis at two comma zero and passes through three comma one and five comma two, rising but flattening as x increases.xy12345-3-2-1123y = log₂(x - 1)(2, 0)(3, 1)(5, 2)x = 1

Stating domain and range

For these graphs the domain and range are short to state once you know the shape, and the marks come from getting the strict inequality and the asymptote right.

  • An exponential y=axy = a^x has domain all real xx and range y>0y > 0. After a vertical shift +k+k, the range becomes y>ky > k (or y<ky < k if it is also reflected in the xx-axis). The domain is still all real xx, since a horizontal shift never restricts it.
  • A logarithm y=logaxy = \log_a x has domain x>0x > 0 and range all real yy. After a horizontal shift, find the domain by demanding the inside of the log is positive: y=loga(xh)y = \log_a(x - h) needs xh>0x - h > 0, so x>hx > h. The range stays all real yy.

The inequalities are strict (>>, not \ge) because the curve approaches its asymptote without ever reaching it: the exponential never actually hits y=0y = 0, and the logarithm is never actually defined at x=0x = 0.

How exam questions ask about exponential and logarithmic graphs

The command words map onto specific features to show:

  • "Sketch the graph of y=y = \ldots" means draw the right shape and label the key features: the intercept(s), one extra point such as (1,a)(1, a) or (a,1)(a, 1), and the asymptote drawn as a dashed line with its equation. A sketch with no asymptote labelled loses marks.
  • "State the equation of the asymptote" is testing whether a shift moved it: vertical shift moves an exponential's y=0y = 0 to y=ky = k; horizontal shift moves a logarithm's x=0x = 0 to x=hx = h.
  • "State the domain and range" wants the two short statements with strict inequalities, read off the asymptote.
  • "Describe the transformation" wants the named move (translate up/down/left/right, reflect in the xx- or yy-axis, dilate) and the amount, with the reason ("yy replaced by yky - k").
  • "On the same axes, sketch y=axy = a^x and y=logaxy = \log_a x" is asking you to use the reflection in y=xy = x: draw the exponential, draw the dashed line y=xy = x, then reflect to get the logarithm. Mark a mirror pair such as (0,1)(0, 1) and (1,0)(1, 0).
  • "Hence" after a sketch usually means read a solution or a value off the graph you just drew (for example, where two curves meet).

This page builds directly on indices and index laws and on logarithms and their laws; if the reflection in y=xy = x feels slippery, re-reading "a logarithm is the index" is the surest fix, because the mirror is just that swap drawn out.

Practice questions

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

foundation3 marksFor the graph of y=5xy = 5^x, write down (a) the coordinates of its yy-intercept, (b) the coordinates of the point where x=1x = 1, (c) the equation of its asymptote, and (d) its domain and range.
Show worked solution →

(a) The yy-intercept comes from x=0x = 0. Every exponential y=axy = a^x passes through (0,1)(0, 1) because a0=1a^0 = 1, so here

50=1,giving the y-intercept (0,1).5^0 = 1, \quad \text{giving the } y\text{-intercept } (0, 1).

(b) At x=1x = 1 the height is the base. Since 51=55^1 = 5,

the point is (1,5).\text{the point is } (1, 5).

(c) The asymptote is the xx-axis
As xx \to -\infty, 5x05^x \to 0 but never reaches it, so the horizontal asymptote is y=0y = 0.
(d) Domain and range
A power of a positive base is defined for every real index and is always positive, so the domain is all real xx and the range is y>0y > 0.
Check
50=15^0 = 1 and 51=55^1 = 5 confirm the two points, and 51=15=0.2>05^{-1} = \dfrac{1}{5} = 0.2 > 0 confirms the curve stays above y=0y = 0.
foundation2 marksState the domain, the range and the equation of the asymptote of (a) y=4xy = 4^x and (b) y=log4xy = \log_4 x.
Show worked solution →

(a) The exponential y=4xy = 4^x. It is defined for every real xx and is always positive, with the xx-axis as asymptote:

domain: all real x,range: y>0,asymptote: y=0.\text{domain: all real } x, \qquad \text{range: } y > 0, \qquad \text{asymptote: } y = 0.

(b) The logarithm y=log4xy = \log_4 x is its inverse, so the roles swap. Reflecting in y=xy = x swaps the domain and range, and turns the horizontal asymptote into a vertical one:

domain: x>0,range: all real y,asymptote: x=0.\text{domain: } x > 0, \qquad \text{range: all real } y, \qquad \text{asymptote: } x = 0.

Check. Only positive numbers have a logarithm, matching the domain x>0x > 0, and a logarithm can be any real number (for example log416=2\log_4 16 = 2 and log414=1\log_4 \tfrac{1}{4} = -1), matching the range.

core4 marksThe curve y=2xy = 2^x is translated down 33 units to give y=2x3y = 2^x - 3. For the new curve, find (a) the equation of its asymptote, (b) its yy-intercept, (c) its xx-intercept (exact, then to two decimal places), and (d) its range.
Show worked solution →

(a) Shifting down 33 moves the asymptote down 33. The asymptote of y=2xy = 2^x is y=0y = 0, so after subtracting 33 it becomes

y=3.y = -3.

(b) The yy-intercept comes from x=0x = 0.

y=203=13=2,giving (0,2).y = 2^0 - 3 = 1 - 3 = -2, \quad \text{giving } (0, -2).

(c) The xx-intercept comes from y=0y = 0. Set 2x3=02^x - 3 = 0, so 2x=32^x = 3. Since 33 is not a power of 22, take a logarithm:

x=log23=log103log102=0.4771210.301030=1.5849631.58.x = \log_2 3 = \frac{\log_{10} 3}{\log_{10} 2} = \frac{0.477121}{0.301030} = 1.584963\ldots \approx 1.58.

(d) The range. The curve 2x2^x has range y>0y > 0; subtracting 33 lowers every value by 33, so the range is y>3y > -3.

Check. The asymptote y=3y = -3 sits just below the xx-intercept, and 21.58530.002^{1.585} - 3 \approx 0.00, confirming the crossing at x1.58x \approx 1.58.

core3 marksOn the same axes, y=3xy = 3^x and y=log3xy = \log_3 x are reflections of each other in the line y=xy = x. The exponential passes through (1,3)(1, 3). (a) Write the coordinates of the mirror image of (1,3)(1, 3) on the logarithm. (b) Hence state log33\log_3 3 and log39\log_3 9, explaining how the reflection gives them.
Show worked solution →

(a) Reflecting in y=xy = x swaps the coordinates. The point (1,3)(1, 3) on y=3xy = 3^x maps to

(3,1)on y=log3x.(3, 1) \quad \text{on } y = \log_3 x.

(b) Read each log as the swapped point. A point (p,q)(p, q) on y=3xy = 3^x means 3p=q3^p = q; its mirror (q,p)(q, p) on y=log3xy = \log_3 x means log3q=p\log_3 q = p. So:

(1,3)(3,1):log33=1,(1, 3) \mapsto (3, 1): \quad \log_3 3 = 1,

because 31=33^1 = 3. And since (2,9)(2, 9) is on y=3xy = 3^x (32=93^2 = 9), its mirror (9,2)(9, 2) gives

log39=2.\log_3 9 = 2.

Check. 31=33^1 = 3 and 32=93^2 = 9 confirm both values, and each exponential point (p,q)(p, q) has its logarithm mirror at (q,p)(q, p), exactly the index-and-log swap.

exam4 marksA patch of duckweed on a farm dam near Yass starts at 20m220\,\text{m}^2 and doubles in area each week, so its area is A=20×2tA = 20 \times 2^{t} square metres after tt weeks. (a) Sketch the shape of the graph for t0t \ge 0, stating the value of AA at t=0t = 0. (b) Find, in exact form, the week in which the area first reaches 640m2640\,\text{m}^2.
Show worked solution →

(a) The graph is exponential growth from its starting value. At t=0t = 0,

A=20×20=20×1=20m2,A = 20 \times 2^{0} = 20 \times 1 = 20\,\text{m}^2,

so the curve starts at (0,20)(0, 20) and rises ever more steeply (doubling to 4040 at t=1t = 1, 8080 at t=2t = 2, and so on). For t0t \ge 0 there is no asymptote in view; the curve simply climbs from (0,20)(0, 20).

(b) Isolate the power of 22, then match. Setting A=640A = 640:

20×2t=640    2t=64020=32.20 \times 2^{t} = 640 \implies 2^{t} = \frac{640}{20} = 32.

Since 32=2532 = 2^5, we have 2t=252^{t} = 2^5, so

t=5 weeks (exactly).t = 5 \text{ weeks (exactly)}.

Check. 20×25=20×32=640m220 \times 2^{5} = 20 \times 32 = 640\,\text{m}^2, confirming the area first reaches 640640 in week 55.

exam4 marksExplain the difference between the graphs of y=2x+1y = 2^{x} + 1 and y=2x+1y = 2^{x+1}. For each, state the transformation applied to y=2xy = 2^x, the equation of the asymptote and the yy-intercept.
Show worked solution →

y=2x+1y = 2^{x} + 1 adds 11 to the output, so it is a translation up 11. Replacing yy by y1y - 1 shifts the curve up:

asymptote y=1,y-intercept 20+1=2, giving (0,2).\text{asymptote } y = 1, \qquad y\text{-intercept } 2^{0} + 1 = 2, \text{ giving } (0, 2).

y=2x+1y = 2^{x+1} adds 11 to the input, so it is a translation left 11. Replacing xx by x+1x + 1 shifts the curve left, and the xx-axis stays the asymptote:

asymptote y=0,y-intercept 20+1=2, giving (0,2).\text{asymptote } y = 0, \qquad y\text{-intercept } 2^{0+1} = 2, \text{ giving } (0, 2).

The trap is that both share the yy-intercept (0,2)(0, 2) but differ in their asymptote. Note too that 2x+1=2×2x2^{x+1} = 2 \times 2^{x}, so the left-shift is identical to a vertical dilation (stretch) of y=2xy = 2^x by factor 22, a neat case where a horizontal translation and a vertical dilation coincide.

Check. At x=0x = 0 both give 22. At x=1x = 1: 21+1=32^{1} + 1 = 3, while 21+1=4=2×212^{1+1} = 4 = 2 \times 2^{1}, so the two curves separate away from the shared intercept, confirming they are genuinely different transformations.

Related dot points