Practice Maths

Solutions — Graphs of Logarithmic Functions

  1. Q1 — Domain, range, and vertical asymptote

    (a) y = log2(x):   Domain: x > 0,   Range: all real numbers,   Vertical asymptote: x = 0

    (b) y = log3(x − 4):   Domain: x > 4,   Range: all real numbers,   Vertical asymptote: x = 4

    (c) y = log(x + 2):   Domain: x > −2,   Range: all real numbers,   Vertical asymptote: x = −2

    (d) y = ln(x − 5):   Domain: x > 5,   Range: all real numbers,   Vertical asymptote: x = 5

  2. Q2 — Finding the x-intercept

    (a) y = log2(x) − 3 = 0 → log2(x) = 3 → x = 23 = 8.   x-intercept: (8, 0)

    (b) y = log(x + 5) = 0 → x + 5 = 100 = 1 → x = −4.   x-intercept: (−4, 0)

    (c) y = 2log3(x − 2) + 4 = 0 → log3(x − 2) = −2 → x − 2 = 3−2 = 1/9 → x = 2 + 1/9 = 19/9.   x-intercept: (19/9, 0)

    (d) y = log5(x) + 1 = 0 → log5(x) = −1 → x = 5−1 = 1/5.   x-intercept: (1/5, 0)

  3. Q3 — Describing transformations from y = log2(x)

    (a) y = log2(x) + 5:   Vertical shift up 5 units. The graph moves up by 5; the asymptote remains at x = 0.

    (b) y = log2(x − 3):   Horizontal shift right 3 units. The vertical asymptote moves from x = 0 to x = 3; domain becomes x > 3.

    (c) y = 3log2(x):   Vertical stretch by a factor of 3. Each y-value is multiplied by 3; the x-intercept (1, 0) is unchanged.

    (d) y = −log2(x):   Reflection in the x-axis. The graph is turned upside down; it is now decreasing. The x-intercept (1, 0) is unchanged.

  4. Q4 — Finding the y-intercept

    (a) y = log3(x + 3): substitute x = 0: log3(3) = 1.   y-intercept: (0, 1)

    (b) y = log2(x − 1) + 2: domain is x > 1, so x = 0 is not in the domain.   No y-intercept.

    (c) y = log(2x): domain is x > 0, so x = 0 is not in the domain (log(0) is undefined).   No y-intercept.

    (d) y = ln(x + e): substitute x = 0: ln(0 + e) = ln(e) = 1.   y-intercept: (0, 1)

  5. Q5 — Sketching key features

    (a) y = log2(x + 4)

    Vertical asymptote: x = −4   |   Domain: x > −4

    x-intercept: log2(x + 4) = 0 → x + 4 = 20 = 1 → x = −3.   x-intercept: (−3, 0)

    y-intercept: x = 0: log2(4) = 2.   y-intercept: (0, 2)

    Extra point: x = −2: log2(2) = 1 → (−2, 1). Increasing curve approaching the asymptote x = −4 from the right.

    (b) y = log3(x) − 1

    Vertical asymptote: x = 0   |   Domain: x > 0

    x-intercept: log3(x) = 1 → x = 3.   x-intercept: (3, 0)

    No y-intercept (x > 0 required).

    Extra point: x = 1: log3(1) − 1 = 0 − 1 = −1 → (1, −1). Increasing curve approaching the asymptote x = 0 from the right.

  6. Q6 — Increasing or decreasing, domain, x-intercept

    (a) y = log0.5(x): Base 0 < a < 1 → decreasing. Domain: x > 0. x-intercept: log0.5(x) = 0 → x = 0.50 = 1. x-intercept: (1, 0)

    (b) y = −2log3(x + 1): A = −2 < 0 → decreasing (reflection in x-axis). Domain: x + 1 > 0 → x > −1. x-intercept: −2log3(x + 1) = 0 → log3(x + 1) = 0 → x + 1 = 1 → x = 0. x-intercept: (0, 0)

    (c) y = log4(x − 3) + 2: A = 1 > 0 and base 4 > 1 → increasing. Domain: x − 3 > 0 → x > 3. x-intercept: log4(x − 3) = −2 → x − 3 = 4−2 = 1/16 → x = 3 + 1/16 = 49/16. x-intercept: (49/16, 0)

  7. Q7 — Writing equations of transformed log2 functions

    (a) Shift right 5, up 3: replace x with (x − 5) and add 3.   y = log2(x − 5) + 3

    (b) Vertical stretch ×4 and reflect in x-axis: multiply by −4.   y = −4log2(x)

    (c) Shift left 1 (replace x with x + 1), compress by 1/2 (multiply by 1/2), shift down 2 (subtract 2).   y = ½log2(x + 1) − 2

  8. Q8 — Finding equations from given information

    (a) Form: y = logb(x − 1). We need to check what points are consistent. The x-intercept occurs when logb(x − 1) = 0, i.e. x − 1 = 1, i.e. x = 2. However the question specifies x-intercept (4, 0), which means y = 0 at x = 4: logb(4 − 1) = logb(3) = 0 — this is impossible for any base b (since logb(3) = 0 would require 3 = 1). Re-examining: the form y = A logb(x − 1) gives x-intercept where A logb(x−1)=0 → x−1=1 → x=2. The stated x-intercept of (4,0) requires the form y = logb(x − 1) − logb(3) = logb((x−1)/3). Then at x=4: logb(1)=0 ✓. At x=10: logb(9/3)=logb(3)=1 → b=3.   y = log3((x − 1)/3)   or equivalently   y = log3(x − 1) − 1

    (b) Form: y = A log(x) + k. At (1, −3): A log(1) + k = A(0) + k = k = −3. At (10, 2): A log(10) + k = A(1) + (−3) = A − 3 = 2 → A = 5.   y = 5log(x) − 3

  9. Q9 — Comparing log graphs

    (a) Expand g(x) using the log product law:

    g(x) = log2(4x) − 1 = log2(4) + log2(x) − 1 = 2 + log2(x) − 1 = log2(x) + 1

    Wait — this gives g(x) = log2(x) + 1 ≠ f(x). However if g(x) = log2(4x) − 2:

    g(x) = log2(4) + log2(x) − 2 = 2 + log2(x) − 2 = log2(x) = f(x) ✓

    So f(x) = g(x) because log2(4x) − 2 = log2(4) + log2(x) − 2 = 2 + log2(x) − 2 = log2(x).

    (b) Since f(x) = g(x) algebraically for all x in the domain (x > 0), the two functions produce identical output for every input. Their graphs are therefore exactly the same curve — they cannot be distinguished.

  10. Q10 — Decibel model

    (a) L = 10log(I / 10−12) = 10[log(I) − log(10−12)] = 10[log(I) + 12] = 10log(I) + 120

    (b) The argument of the logarithm must be positive and intensity is a physical quantity that is always positive. Domain: I > 0

    (c) Set L = 0:
    10log(I) + 120 = 0 → log(I) = −12 → I = 10−12 W/m2
    This is the threshold of human hearing — the minimum intensity that the average human ear can detect. A sound at this intensity is perceived as having 0 dB loudness.

    (d) Key points on the graph of L vs I:
    • At I = 10−12: L = 0 → point (10−12, 0) — threshold of hearing
    • At I = 1: L = 10log(1) + 120 = 120 → point (1, 120) — threshold of pain
    The graph is an increasing logarithmic curve starting from (10−12, 0), passing through (1, 120), with domain I > 0.