ASCENTLEARNING
Join a weekly class
Skip to learning content
YEAR 12 · LOGARITHMIC FUNCTIONS · 24 MIN

Logarithmic graphs, domains and transformations

Sketch transformed logarithms using domains, asymptotes and selected exact points.

In this lesson

Before you start
  • Inverse functions
  • Graph transformations
  • Solving inequalities
01 / LEARN

Understand the idea.

Start with the basic graph

The graph y=lnx has domain x>0, range ℝ and vertical asymptote x=0. Points (1,0), (e,1) and (e−1,−1) give exact anchors for a sketch.

It increases while becoming less steep: y′=1x>0 and y′⁢′=−1x2<0. As x approaches zero from the positive side, the height tends to negative infinity; the graph has no point on the asymptote.

Read the input before drawing

For y=aln(b⁢(x−h))+k with nonzero a,b, solve b⁢(x−h)>0 first. The boundary x=h gives the vertical asymptote, and the sign of b selects which side contains the graph.

The coefficient a scales heights and reflects them if negative; k translates vertically. Find intercepts by solving equations, and check whether x=0 is in the domain before trying to calculate a y-intercept.

Graph of y = ln(x - 1) + 1 in the window x from -2 to 6 and y from -3 to 5. The sage curve lies to the right of the dashed gold vertical asymptote x = 1. The logarithm is sampled parametrically close to the asymptote without drawing outside its domain.
02 / WORKED EXAMPLES

See the method in action.

EXAMPLE 01

Translate a graph

Give the domain, asymptote and intercepts of y=ln(x−1)+1.

Graph of y = ln(x - 1) + 1 in the window x from -2 to 6 and y from -3 to 5. The sage curve lies to the right of the dashed gold vertical asymptote x = 1. The logarithm is sampled parametrically close to the asymptote without drawing outside its domain.

Worked solution

  1. 1

    Find the domain and its logarithmic boundary.

    x−1>0⟹x>1,vertical asymptote ⁢x=1

    As x approaches 1 from above, the positive input tends to zero and the height tends to negative infinity.

  2. 2

    Set the height to zero.

    ln(x−1)+1=0⟹ln(x−1)=−1

    An x-intercept is a point where y=0.

  3. 3

    Exponentiate to find the x-intercept.

    x−1=e−1⟹x=1+e−1,(1+e−1,0)

    The exponential gives a positive input, so the resulting x-value satisfies x>1.

  4. 4

    Check for a y-intercept.

    0∉(1,∞)⟹no y-intercept

    A y-intercept requires the function to be defined at x=0.

Answer

Domain (1,∞); asymptote x=1; x-intercept (1+e−1,0); no y-intercept.

EXAMPLE 02

Reflect and restrict

For g⁡(x)=2−ln(4−x), find the domain and the point where g⁡(x)=2.

Worked solution

  1. 1

    Solve the input restriction.

    4−x>0⟹x<4,domain (−∞,4)

    Rearranging the inequality puts the graph to the left of its boundary.

  2. 2

    Set the requested height.

    2−ln(4−x)=2⟹ln(4−x)=0

    Subtracting 2 and changing both signs isolates the logarithm.

  3. 3

    Reverse the logarithm and solve.

    4−x=e0=1⟹x=3

    A logarithm is zero when its input is 1.

  4. 4

    Check and give the point.

    3<4,g⁡(3)=2−ln1=2,(3,2)

    The candidate belongs to the domain and has the required height.

Answer

Domain (−∞,4) and point (3,2).

03 / YOUR TURN

Try it yourself.

Check your understanding

What is the vertical asymptote of y=3ln(x+2)−5?

Show answer & reasoning

x=−2

The input x+2 approaches zero at x=−2, from the allowed side x>−2. Multiplying the logarithm by 3 and shifting it down by 5 do not move that vertical asymptote.

Keep practising

6 worksheet questions · 15 marks

Read the questions online
  1. State the domain and asymptote of y=log2(x−3).
    2 marks
  2. Find the x-intercept of y=lnx−2.
    2 marks
  3. Find the domain and y-intercept of y=ln(6−2⁢x).
    3 marks
  4. Describe the transformation from y=lnx to y=−2lnx+3.
    2 marks
  5. Find the inverse of f⁡(x)=ln(x+2)−1 and its domain.
    3 marks
  6. Sketch y=lnx and y=ln(2⁢x) on the same axes using exact anchor points. State their vertical separation.
    3 marks
Read the worked solutions

Equivalent correct methods earn the corresponding marks. Include units where asked.

  1. State the domain and asymptote of y=log2(x−3).
    2 marks

    The input x−3 must be positive; its zero gives the asymptote.

    x>3; x=3
  2. Find the x-intercept of y=lnx−2.
    2 marks

    lnx=2 gives x=e2.

    (e2,0)
  3. Find the domain and y-intercept of y=ln(6−2⁢x).
    3 marks

    6−2⁢x>0 gives x<3; substitute x=0.

    x<3; (0,ln6)
  4. Describe the transformation from y=lnx to y=−2lnx+3.
    2 marks

    The multiplier −2 changes output values; the +3 is applied afterwards.

    Reflection in the x-axis, vertical scale factor 2, then translation up 3.
  5. Find the inverse of f⁡(x)=ln(x+2)−1 and its domain.
    3 marks

    y+1=ln(x+2) gives x=ey+1−2. The original range is all real numbers.

    f⁡−1(x)=ex+1−2, x∈ℝ
  6. Sketch y=lnx and y=ln(2⁢x) on the same axes using exact anchor points. State their vertical separation.
    3 marks

    For x>0, ln(2⁢x)=lnx+ln2. Anchor points include (1,0) and (1,ln2).

    The second graph is ln2 units above the first; both have asymptote x=0.
Checking saved progress…
Curriculum reference & lesson scope

SACE Board of South Australia

Stage 2 Mathematical Methods: logarithmic functions and their applications; reciprocal-linear antiderivatives are taught in the Integration chapter.

Official curriculum source ↗

Save your next step.

Create a free account to save your learning progress. Lessons and downloads stay free, with or without an account.

Create free account