IB Mathematics: Analysis and Approaches Quiz: Logarithmic Functions
20 questions · exam conditions
0:00
Logarithmic FunctionsQuestion 1 of 20

Find the sum of the xx-intercept and yy-intercept of the function f(x)=log⁡2(x+4)−1f(x) = \log_2(x+4) - 1.

-2
-1
1
3
← Back to quizzes

IB Mathematics: Analysis and Approaches Quiz

IB Mathematics: Analysis and Approaches Quiz: Logarithmic Functions

Practice Logarithmic Functions in IB Mathematics: Analysis and Approaches with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Logarithmic Functions, giving you a quick way to practice the rules, question types, and explanations that matter most for IB Mathematics: Analysis and Approaches.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

Find the sum of the xx-intercept and yy-intercept of the function f(x)=log⁡2(x+4)−1f(x) = \log_2(x+4) - 1.

  1. -2
  2. -1 (correct answer)
  3. 1
  4. 3
Explanation: To find the xx-intercept, set f(x)=0f(x)=0: 0=log⁡2(x+4)−10 = \log_2(x+4) - 1. This gives log⁡2(x+4)=1\log_2(x+4) = 1. In exponential form, this is x+4=21=2x+4 = 2^1 = 2, so x=−2x = -2. The xx-intercept is -2. To find the yy-intercept, set x=0x=0: y=log⁡2(0+4)−1=log⁡2(4)−1y = \log_2(0+4) - 1 = \log_2(4) - 1. Since log⁡2(4)=2\log_2(4) = 2, the yy-intercept is y=2−1=1y = 2 - 1 = 1. The sum of the intercepts is −2+1=−1-2 + 1 = -1.

Question 2

The equation ln⁡(x2−4)−ln⁡(x−2)=ln⁡(5)\ln(x^2 - 4) - \ln(x-2) = \ln(5) has a solution x=kx=k. What is the value of kk?

  1. -3
  2. 3 (correct answer)
  3. 5
  4. 7
Explanation: First, consider the domain. We need x2−4>0x^2-4>0, which means x<−2x < -2 or x>2x > 2. We also need x−2>0x-2>0, which means x>2x>2. The overall domain is x>2x>2. Using the quotient rule for logarithms, the equation becomes ln⁡(x2−4x−2)=ln⁡(5)\ln\left(\frac{x^2-4}{x-2}\right) = \ln(5). Since x2−4=(x−2)(x+2)x^2-4 = (x-2)(x+2), we can simplify the argument: (x−2)(x+2)x−2=x+2\frac{(x-2)(x+2)}{x-2} = x+2. The equation is now ln⁡(x+2)=ln⁡(5)\ln(x+2) = \ln(5). This implies x+2=5x+2 = 5, so x=3x=3. The solution x=3x=3 is in the domain x>2x>2, so it is a valid solution. Thus, k=3k=3.

Question 3

Let f(x)=log⁡3(x)f(x) = \log_3(x). The graph of g(x)g(x) is obtained by reflecting f(x)f(x) in the yy-axis and then translating it by 2 units to the right. Which of the following is the equation for g(x)g(x)?

  1. g(x)=log⁡3(2−x)g(x) = \log_3(2-x) (correct answer)
  2. g(x)=log⁡3(−x−2)g(x) = \log_3(-x-2)
  3. g(x)=−log⁡3(x−2)g(x) = -\log_3(x-2)
  4. g(x)=log⁡3(−(x+2))g(x) = \log_3(-(x+2))
Explanation: Let's perform the transformations step-by-step. First, reflecting f(x)=log⁡3(x)f(x) = \log_3(x) in the yy-axis means replacing xx with −x-x. This gives an intermediate function h(x)=log⁡3(−x)h(x) = \log_3(-x). Second, translating this function by 2 units to the right means replacing xx with (x−2)(x-2). Applying this to h(x)h(x) gives g(x)=h(x−2)=log⁡3(−(x−2))g(x) = h(x-2) = \log_3(-(x-2)). Distributing the negative sign inside the argument gives g(x)=log⁡3(−x+2)g(x) = \log_3(-x+2) or g(x)=log⁡3(2−x)g(x) = \log_3(2-x).

Question 4

The function f(x)=ln⁡(3−x)f(x) = \ln(3-x) is defined on the domain (−∞,k)(-\infty, k). What is the value of kk and the equation of the vertical asymptote of the graph of y=f(x)y=f(x)?

  1. k=−3k=-3, asymptote x=−3x=-3
  2. k=3k=3, asymptote x=−3x=-3
  3. k=3k=3, asymptote x=3x=3 (correct answer)
  4. k=∞k=\infty, asymptote y=3y=3
Explanation: The natural logarithm function ln⁡(u)\ln(u) is defined only for u>0u > 0. For the function f(x)=ln⁡(3−x)f(x) = \ln(3-x), the argument is 3−x3-x. Therefore, we must have 3−x>03-x > 0, which implies x<3x < 3. The domain of the function is (−∞,3)(-\infty, 3), so k=3k=3. The vertical asymptote of a logarithmic function occurs where its argument is equal to zero. Setting the argument of the logarithm to zero gives 3−x=03-x=0, which solves to x=3x=3. Thus, the vertical asymptote is the line x=3x=3.

Question 5

Find the sum of the xx-intercept and yy-intercept of the function f(x)=log⁡2(x+4)−1f(x) = \log_2(x+4) - 1.

  1. -2
  2. -1 (correct answer)
  3. 1
  4. 3
Explanation: To find the xx-intercept, set f(x)=0f(x)=0: 0=log⁡2(x+4)−10 = \log_2(x+4) - 1. This gives log⁡2(x+4)=1\log_2(x+4) = 1. In exponential form, this is x+4=21=2x+4 = 2^1 = 2, so x=−2x = -2. The xx-intercept is -2. To find the yy-intercept, set x=0x=0: y=log⁡2(0+4)−1=log⁡2(4)−1y = \log_2(0+4) - 1 = \log_2(4) - 1. Since log⁡2(4)=2\log_2(4) = 2, the yy-intercept is y=2−1=1y = 2 - 1 = 1. The sum of the intercepts is −2+1=−1-2 + 1 = -1.

Question 6

If log⁡c(2)=x\log_c(2)=x and log⁡c(5)=y\log_c(5)=y, which expression is equivalent to log⁡c(0.8)\log_c(0.8)?

  1. x−yx-y
  2. xy\frac{x}{y}
  3. 2x−y2x-y (correct answer)
  4. 3x−y3x-y
Explanation: Convert the decimal to a fraction: 0.8=810=450.8 = \frac{8}{10} = \frac{4}{5}. Using the quotient rule for logarithms: log⁡c(0.8)=log⁡c(45)=log⁡c(4)−log⁡c(5)\log_c(0.8) = \log_c\left(\frac{4}{5}\right) = \log_c(4) - \log_c(5). We know log⁡c(5)=y\log_c(5) = y. Since 4=224 = 2^2, we have log⁡c(4)=log⁡c(22)=2log⁡c(2)=2x\log_c(4) = \log_c(2^2) = 2\log_c(2) = 2x. Therefore, log⁡c(0.8)=2x−y\log_c(0.8) = 2x - y.

Question 7

Simplify the expression 2log⁡3(6)−log⁡3(4)2\log_3(6) - \log_3(4).

  1. 1
  2. 2 (correct answer)
  3. log⁡3(8)\log_3(8)
  4. log⁡3(32)\log_3(32)
Explanation: Using the power rule for logarithms, nlog⁡b(a)=log⁡b(an)n\log_b(a) = \log_b(a^n), we can rewrite the first term: 2log⁡3(6)=log⁡3(62)=log⁡3(36)2\log_3(6) = \log_3(6^2) = \log_3(36). The expression becomes log⁡3(36)−log⁡3(4)\log_3(36) - \log_3(4). Now, using the quotient rule, log⁡b(a)−log⁡b(c)=log⁡b(a/c)\log_b(a) - \log_b(c) = \log_b(a/c), we get log⁡3(36/4)=log⁡3(9)\log_3(36/4) = \log_3(9). Since 32=93^2 = 9, log⁡3(9)=2\log_3(9) = 2. Distractor A comes from the error 2log⁡3(6)=log⁡3(12)2\log_3(6) = \log_3(12), which leads to log⁡3(12)−log⁡3(4)=log⁡3(3)=1\log_3(12) - \log_3(4) = \log_3(3) = 1.

Question 8

Given that log⁡x25=2\log_x 25 = 2 and log⁡3y=4\log_3 y = 4, find the value of x−log⁡9yx - \log_9 y.

  1. 3 (correct answer)
  2. 4
  3. 9
  4. 16
Explanation: First, solve for xx from log⁡x25=2\log_x 25 = 2. In exponential form, this is x2=25x^2 = 25. Since the base of a logarithm must be positive (and not 1), we have x=5x=5. Next, solve for yy from log⁡3y=4\log_3 y = 4. In exponential form, this is y=34=81y = 3^4 = 81. Now calculate x−log⁡9yx - \log_9 y. Substitute x=5x=5 and y=81y=81: 5−log⁡9(81)5 - \log_9(81). Since 92=819^2 = 81, we have log⁡9(81)=2\log_9(81) = 2. Therefore, x−log⁡9y=5−2=3x - \log_9 y = 5 - 2 = 3.

Question 9

The function f(x)=ln⁡(3−x)f(x) = \ln(3-x) is defined on the domain (−∞,k)(-\infty, k). What is the value of kk and the equation of the vertical asymptote of the graph of y=f(x)y=f(x)?

  1. k=−3k=-3, asymptote x=−3x=-3
  2. k=3k=3, asymptote x=−3x=-3
  3. k=3k=3, asymptote x=3x=3 (correct answer)
  4. k=∞k=\infty, asymptote y=3y=3
Explanation: The natural logarithm function ln⁡(u)\ln(u) is defined only for u>0u > 0. For the function f(x)=ln⁡(3−x)f(x) = \ln(3-x), the argument is 3−x3-x. Therefore, we must have 3−x>03-x > 0, which implies x<3x < 3. The domain of the function is (−∞,3)(-\infty, 3), so k=3k=3. The vertical asymptote of a logarithmic function occurs where its argument is equal to zero. Setting the argument of the logarithm to zero gives 3−x=03-x=0, which solves to x=3x=3. Thus, the vertical asymptote is the line x=3x=3.

Question 10

Find the solution set for the equation log⁡2(x)+log⁡2(x−2)=3\log_2(x) + \log_2(x-2) = 3.

  1. {−2,4}\{-2, 4\}
  2. {−2}\{-2\}
  3. {4}\{4\} (correct answer)
  4. {5}\{5\}
Explanation: The domain of the equation requires x>0x > 0 and x−2>0x-2 > 0, which simplifies to x>2x > 2. Using the logarithm product rule, the equation becomes log⁡2(x(x−2))=3\log_2(x(x-2)) = 3. Converting to exponential form gives x(x−2)=23=8x(x-2) = 2^3 = 8. Expanding this gives x2−2x=8x^2 - 2x = 8, or x2−2x−8=0x^2 - 2x - 8 = 0. Factoring the quadratic yields (x−4)(x+2)=0(x-4)(x+2) = 0, with potential solutions x=4x=4 and x=−2x=-2. Checking against the domain x>2x > 2, we see that x=−2x=-2 is an extraneous solution. The only valid solution is x=4x=4. Distractor D comes from the common error of thinking log⁡(a)+log⁡(b)=log⁡(a+b)\log(a)+\log(b)=\log(a+b), which would give log⁡2(x+x−2)=3⇒2x−2=8⇒x=5\log_2(x+x-2)=3 \Rightarrow 2x-2=8 \Rightarrow x=5.

Question 11

Let f(x)=log⁡3(x)f(x) = \log_3(x). The graph of g(x)g(x) is obtained by reflecting f(x)f(x) in the yy-axis and then translating it by 2 units to the right. Which of the following is the equation for g(x)g(x)?

  1. g(x)=log⁡3(2−x)g(x) = \log_3(2-x) (correct answer)
  2. g(x)=log⁡3(−x−2)g(x) = \log_3(-x-2)
  3. g(x)=−log⁡3(x−2)g(x) = -\log_3(x-2)
  4. g(x)=log⁡3(−(x+2))g(x) = \log_3(-(x+2))
Explanation: Let's perform the transformations step-by-step. First, reflecting f(x)=log⁡3(x)f(x) = \log_3(x) in the yy-axis means replacing xx with −x-x. This gives an intermediate function h(x)=log⁡3(−x)h(x) = \log_3(-x). Second, translating this function by 2 units to the right means replacing xx with (x−2)(x-2). Applying this to h(x)h(x) gives g(x)=h(x−2)=log⁡3(−(x−2))g(x) = h(x-2) = \log_3(-(x-2)). Distributing the negative sign inside the argument gives g(x)=log⁡3(−x+2)g(x) = \log_3(-x+2) or g(x)=log⁡3(2−x)g(x) = \log_3(2-x).

Question 12

Given a=log⁡10(2)a = \log_{10}(2) and b=log⁡10(3)b = \log_{10}(3), express log⁡10(7.2)\log_{10}(7.2) in terms of aa and bb.

  1. 2a+3b−12a + 3b - 1
  2. 3a+2b−13a + 2b - 1 (correct answer)
  3. 3a+2b+13a + 2b + 1
  4. a3+b2−1a^3 + b^2 - 1
Explanation: First, rewrite 7.2 as a fraction: 7.2=72107.2 = \frac{72}{10}. Then log⁡10(7.2)=log⁡10(7210)=log⁡10(72)−log⁡10(10)=log⁡10(72)−1\log_{10}(7.2) = \log_{10}\left(\frac{72}{10}\right) = \log_{10}(72) - \log_{10}(10) = \log_{10}(72) - 1. Next, find the prime factorization of 72: 72=8×9=23×3272 = 8 \times 9 = 2^3 \times 3^2. So, log⁡10(72)=log⁡10(23×32)=log⁡10(23)+log⁡10(32)=3log⁡10(2)+2log⁡10(3)=3a+2b\log_{10}(72) = \log_{10}(2^3 \times 3^2) = \log_{10}(2^3) + \log_{10}(3^2) = 3\log_{10}(2) + 2\log_{10}(3) = 3a + 2b. Substituting this back gives log⁡10(7.2)=3a+2b−1\log_{10}(7.2) = 3a + 2b - 1.

Question 13

Given that log⁡4(x)=y\log_4(x) = y, find an expression for log⁡8(x)\log_8(x) in terms of yy.

  1. y2\frac{y}{2}
  2. 2y3\frac{2y}{3} (correct answer)
  3. 3y2\frac{3y}{2}
  4. 2y2y
Explanation: Use the change of base formula, log⁡b(a)=log⁡c(a)log⁡c(b)\log_b(a) = \frac{\log_c(a)}{\log_c(b)}. We can convert log⁡8(x)\log_8(x) to base 4: log⁡8(x)=log⁡4(x)log⁡4(8)\log_8(x) = \frac{\log_4(x)}{\log_4(8)}. We are given log⁡4(x)=y\log_4(x) = y. We need to evaluate log⁡4(8)\log_4(8). Let z=log⁡4(8)z = \log_4(8), then 4z=84^z = 8. Expressing both sides with base 2: (22)z=23(2^2)^z = 2^3, which means 22z=232^{2z} = 2^3. Therefore, 2z=32z=3 and z=32z = \frac{3}{2}. Substituting this back into the formula gives log⁡8(x)=y3/2=2y3\log_8(x) = \frac{y}{3/2} = \frac{2y}{3}.

Question 14

Find the solution set for the inequality log⁡0.5(x−1)>−2\log_{0.5}(x-1) > -2.

  1. (1,1.25)(1, 1.25)
  2. (1,5)(1, 5) (correct answer)
  3. (5,∞)(5, \infty)
  4. The empty set ∅\emptyset
Explanation: First, the domain requires the argument of the logarithm to be positive: x−1>0x-1 > 0, so x>1x > 1. Next, to solve the inequality, we exponentiate both sides. Since the base is 0.50.5, which is between 0 and 1, we must reverse the inequality sign. x−1<(0.5)−2x-1 < (0.5)^{-2}. We calculate (0.5)−2=(1/2)−2=22=4(0.5)^{-2} = (1/2)^{-2} = 2^2 = 4. So the inequality becomes x−1<4x-1 < 4, which gives x<5x < 5. Combining this with the domain constraint x>1x > 1, the solution set is 1<x<51 < x < 5, or (1,5)(1, 5). Distractor C comes from forgetting to reverse the inequality sign.

Question 15

What is the domain of the function f(x)=log⁡10(x−25−x)f(x) = \log_{10}\left(\frac{x-2}{5-x}\right)?

  1. (2,5)(2, 5) (correct answer)
  2. (−∞,2)∪(5,∞)(-\infty, 2) \cup (5, \infty)
  3. [2,5)[2, 5)
  4. (−∞,2]∪(5,∞)(-\infty, 2] \cup (5, \infty)
Explanation: The argument of a logarithm must be strictly positive. Thus, we must solve the inequality x−25−x>0\frac{x-2}{5-x} > 0. A rational expression is positive if the numerator and denominator have the same sign. Case 1: Both are positive. x−2>0x-2 > 0 and 5−x>05-x > 0, which means x>2x > 2 and x<5x < 5. This gives the interval (2,5)(2, 5). Case 2: Both are negative. x−2<0x-2 < 0 and 5−x<05-x < 0, which means x<2x < 2 and x>5x > 5. There is no value of xx that satisfies both conditions. Therefore, the domain is (2,5)(2, 5). Distractor B results from incorrectly solving the inequality, perhaps by multiplying by (5−x)(5-x) without considering its sign, leading to (x−2)(x−5)>0(x-2)(x-5) > 0. Distractor C incorrectly allows the argument to be zero.

Question 16

Which of the following statements is true for all x,y>0x, y > 0?

  1. ln⁡(x+y)=ln⁡(x)+ln⁡(y)\ln(x+y) = \ln(x) + \ln(y)
  2. (ln⁡x)2=2ln⁡x(\ln x)^2 = 2\ln x
  3. ln⁡(ex+ey)=x+y\ln(e^x + e^y) = x+y
  4. log⁡2(x)=ln⁡xln⁡2\log_2(x) = \frac{\ln x}{\ln 2} (correct answer)
Explanation: This question tests knowledge of logarithm properties. Choice A is a common misconception; the correct rule is ln⁡(xy)=ln⁡(x)+ln⁡(y)\ln(xy) = \ln(x) + \ln(y). Choice B is also a common error; the correct rule is ln⁡(x2)=2ln⁡x\ln(x^2) = 2\ln x. Choice C is incorrect; the correct rule is ln⁡(ex⋅ey)=ln⁡(ex+y)=x+y\ln(e^x \cdot e^y) = \ln(e^{x+y}) = x+y, but ln⁡(ex+ey)\ln(e^x + e^y) cannot be simplified this way. Choice D is the change of base formula, log⁡ba=log⁡calog⁡cb\log_b a = \frac{\log_c a}{\log_c b}, applied with b=2b=2, a=xa=x, and c=ec=e. This formula is universally true for all valid bases and arguments.

Question 17

Let f(x)=e2x−1+3f(x) = e^{2x-1} + 3. Find the inverse function f−1(x)f^{-1}(x).

  1. f−1(x)=ln⁡(x−3)+12f^{-1}(x) = \frac{\ln(x-3)+1}{2} (correct answer)
  2. f−1(x)=ln⁡(x+3)−12f^{-1}(x) = \frac{\ln(x+3)-1}{2}
  3. f−1(x)=ln⁡(2x−1)−3f^{-1}(x) = \ln(2x-1) - 3
  4. f−1(x)=ln⁡(x)−22f^{-1}(x) = \frac{\ln(x)-2}{2}
Explanation: To find the inverse function, we start with y=e2x−1+3y = e^{2x-1} + 3 and solve for xx in terms of yy. First, swap xx and yy: x=e2y−1+3x = e^{2y-1} + 3. Isolate the exponential term: x−3=e2y−1x - 3 = e^{2y-1}. Take the natural logarithm of both sides: ln⁡(x−3)=2y−1\ln(x-3) = 2y-1. Solve for yy: ln⁡(x−3)+1=2y\ln(x-3) + 1 = 2y, so y=ln⁡(x−3)+12y = \frac{\ln(x-3)+1}{2}. Therefore, f−1(x)=ln⁡(x−3)+12f^{-1}(x) = \frac{\ln(x-3)+1}{2}.

Question 18

Given that log⁡4(x)=y\log_4(x) = y, find an expression for log⁡8(x)\log_8(x) in terms of yy.

  1. y2\frac{y}{2}
  2. 2y3\frac{2y}{3} (correct answer)
  3. 3y2\frac{3y}{2}
  4. 2y2y
Explanation: Use the change of base formula, log⁡b(a)=log⁡c(a)log⁡c(b)\log_b(a) = \frac{\log_c(a)}{\log_c(b)}. We can convert log⁡8(x)\log_8(x) to base 4: log⁡8(x)=log⁡4(x)log⁡4(8)\log_8(x) = \frac{\log_4(x)}{\log_4(8)}. We are given log⁡4(x)=y\log_4(x) = y. We need to evaluate log⁡4(8)\log_4(8). Let z=log⁡4(8)z = \log_4(8), then 4z=84^z = 8. Expressing both sides with base 2: (22)z=23(2^2)^z = 2^3, which means 22z=232^{2z} = 2^3. Therefore, 2z=32z=3 and z=32z = \frac{3}{2}. Substituting this back into the formula gives log⁡8(x)=y3/2=2y3\log_8(x) = \frac{y}{3/2} = \frac{2y}{3}.

Question 19

Let f(x)=e2x−1+3f(x) = e^{2x-1} + 3. Find the inverse function f−1(x)f^{-1}(x).

  1. f−1(x)=ln⁡(x−3)+12f^{-1}(x) = \frac{\ln(x-3)+1}{2} (correct answer)
  2. f−1(x)=ln⁡(x+3)−12f^{-1}(x) = \frac{\ln(x+3)-1}{2}
  3. f−1(x)=ln⁡(2x−1)−3f^{-1}(x) = \ln(2x-1) - 3
  4. f−1(x)=ln⁡(x)−22f^{-1}(x) = \frac{\ln(x)-2}{2}
Explanation: To find the inverse function, we start with y=e2x−1+3y = e^{2x-1} + 3 and solve for xx in terms of yy. First, swap xx and yy: x=e2y−1+3x = e^{2y-1} + 3. Isolate the exponential term: x−3=e2y−1x - 3 = e^{2y-1}. Take the natural logarithm of both sides: ln⁡(x−3)=2y−1\ln(x-3) = 2y-1. Solve for yy: ln⁡(x−3)+1=2y\ln(x-3) + 1 = 2y, so y=ln⁡(x−3)+12y = \frac{\ln(x-3)+1}{2}. Therefore, f−1(x)=ln⁡(x−3)+12f^{-1}(x) = \frac{\ln(x-3)+1}{2}.

Question 20

What is the domain of the function f(x)=log⁡10(x−25−x)f(x) = \log_{10}\left(\frac{x-2}{5-x}\right)?

  1. (2,5)(2, 5) (correct answer)
  2. (−∞,2)∪(5,∞)(-\infty, 2) \cup (5, \infty)
  3. [2,5)[2, 5)
  4. (−∞,2]∪(5,∞)(-\infty, 2] \cup (5, \infty)
Explanation: The argument of a logarithm must be strictly positive. Thus, we must solve the inequality x−25−x>0\frac{x-2}{5-x} > 0. A rational expression is positive if the numerator and denominator have the same sign. Case 1: Both are positive. x−2>0x-2 > 0 and 5−x>05-x > 0, which means x>2x > 2 and x<5x < 5. This gives the interval (2,5)(2, 5). Case 2: Both are negative. x−2<0x-2 < 0 and 5−x<05-x < 0, which means x<2x < 2 and x>5x > 5. There is no value of xx that satisfies both conditions. Therefore, the domain is (2,5)(2, 5). Distractor B results from incorrectly solving the inequality, perhaps by multiplying by (5−x)(5-x) without considering its sign, leading to (x−2)(x−5)>0(x-2)(x-5) > 0. Distractor C incorrectly allows the argument to be zero.