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)=log2(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)=log2(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=log2(x+4)10 = \log_2(x+4) - 1. This gives log2(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=log2(0+4)1=log2(4)1y = \log_2(0+4) - 1 = \log_2(4) - 1. Since log2(4)=2\log_2(4) = 2, the yy-intercept is y=21=1y = 2 - 1 = 1. The sum of the intercepts is 2+1=1-2 + 1 = -1.

Question 2

The equation ln(x24)ln(x2)=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 x24>0x^2-4>0, which means x<2x < -2 or x>2x > 2. We also need x2>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(x24x2)=ln(5)\ln\left(\frac{x^2-4}{x-2}\right) = \ln(5). Since x24=(x2)(x+2)x^2-4 = (x-2)(x+2), we can simplify the argument: (x2)(x+2)x2=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)=log3(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)=log3(2x)g(x) = \log_3(2-x) (correct answer)
  2. g(x)=log3(x2)g(x) = \log_3(-x-2)
  3. g(x)=log3(x2)g(x) = -\log_3(x-2)
  4. g(x)=log3((x+2))g(x) = \log_3(-(x+2))
Explanation: Let's perform the transformations step-by-step. First, reflecting f(x)=log3(x)f(x) = \log_3(x) in the yy-axis means replacing xx with x-x. This gives an intermediate function h(x)=log3(x)h(x) = \log_3(-x). Second, translating this function by 2 units to the right means replacing xx with (x2)(x-2). Applying this to h(x)h(x) gives g(x)=h(x2)=log3((x2))g(x) = h(x-2) = \log_3(-(x-2)). Distributing the negative sign inside the argument gives g(x)=log3(x+2)g(x) = \log_3(-x+2) or g(x)=log3(2x)g(x) = \log_3(2-x).

Question 4

The function f(x)=ln(3x)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(3x)f(x) = \ln(3-x), the argument is 3x3-x. Therefore, we must have 3x>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 3x=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)=log2(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=log2(x+4)10 = \log_2(x+4) - 1. This gives log2(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=log2(0+4)1=log2(4)1y = \log_2(0+4) - 1 = \log_2(4) - 1. Since log2(4)=2\log_2(4) = 2, the yy-intercept is y=21=1y = 2 - 1 = 1. The sum of the intercepts is 2+1=1-2 + 1 = -1.

Question 6

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

  1. xyx-y
  2. xy\frac{x}{y}
  3. 2xy2x-y (correct answer)
  4. 3xy3x-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: logc(0.8)=logc(45)=logc(4)logc(5)\log_c(0.8) = \log_c\left(\frac{4}{5}\right) = \log_c(4) - \log_c(5). We know logc(5)=y\log_c(5) = y. Since 4=224 = 2^2, we have logc(4)=logc(22)=2logc(2)=2x\log_c(4) = \log_c(2^2) = 2\log_c(2) = 2x. Therefore, logc(0.8)=2xy\log_c(0.8) = 2x - y.

Question 7

Simplify the expression 2log3(6)log3(4)2\log_3(6) - \log_3(4).

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

Question 8

Given that logx25=2\log_x 25 = 2 and log3y=4\log_3 y = 4, find the value of xlog9yx - \log_9 y.

  1. 3 (correct answer)
  2. 4
  3. 9
  4. 16
Explanation: First, solve for xx from logx25=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 log3y=4\log_3 y = 4. In exponential form, this is y=34=81y = 3^4 = 81. Now calculate xlog9yx - \log_9 y. Substitute x=5x=5 and y=81y=81: 5log9(81)5 - \log_9(81). Since 92=819^2 = 81, we have log9(81)=2\log_9(81) = 2. Therefore, xlog9y=52=3x - \log_9 y = 5 - 2 = 3.

Question 9

The function f(x)=ln(3x)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(3x)f(x) = \ln(3-x), the argument is 3x3-x. Therefore, we must have 3x>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 3x=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 log2(x)+log2(x2)=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 x2>0x-2 > 0, which simplifies to x>2x > 2. Using the logarithm product rule, the equation becomes log2(x(x2))=3\log_2(x(x-2)) = 3. Converting to exponential form gives x(x2)=23=8x(x-2) = 2^3 = 8. Expanding this gives x22x=8x^2 - 2x = 8, or x22x8=0x^2 - 2x - 8 = 0. Factoring the quadratic yields (x4)(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 log2(x+x2)=32x2=8x=5\log_2(x+x-2)=3 \Rightarrow 2x-2=8 \Rightarrow x=5.

Question 11

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

Question 12

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

  1. 2a+3b12a + 3b - 1
  2. 3a+2b13a + 2b - 1 (correct answer)
  3. 3a+2b+13a + 2b + 1
  4. a3+b21a^3 + b^2 - 1
Explanation: First, rewrite 7.2 as a fraction: 7.2=72107.2 = \frac{72}{10}. Then log10(7.2)=log10(7210)=log10(72)log10(10)=log10(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, log10(72)=log10(23×32)=log10(23)+log10(32)=3log10(2)+2log10(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 log10(7.2)=3a+2b1\log_{10}(7.2) = 3a + 2b - 1.

Question 13

Given that log4(x)=y\log_4(x) = y, find an expression for log8(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, logb(a)=logc(a)logc(b)\log_b(a) = \frac{\log_c(a)}{\log_c(b)}. We can convert log8(x)\log_8(x) to base 4: log8(x)=log4(x)log4(8)\log_8(x) = \frac{\log_4(x)}{\log_4(8)}. We are given log4(x)=y\log_4(x) = y. We need to evaluate log4(8)\log_4(8). Let z=log4(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 log8(x)=y3/2=2y3\log_8(x) = \frac{y}{3/2} = \frac{2y}{3}.

Question 14

Find the solution set for the inequality log0.5(x1)>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: x1>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. x1<(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 x1<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)=log10(x25x)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 x25x>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. x2>0x-2 > 0 and 5x>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. x2<0x-2 < 0 and 5x<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 (5x)(5-x) without considering its sign, leading to (x2)(x5)>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. (lnx)2=2lnx(\ln x)^2 = 2\ln x
  3. ln(ex+ey)=x+y\ln(e^x + e^y) = x+y
  4. log2(x)=lnxln2\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)=2lnx\ln(x^2) = 2\ln x. Choice C is incorrect; the correct rule is ln(exey)=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, logba=logcalogcb\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)=e2x1+3f(x) = e^{2x-1} + 3. Find the inverse function f1(x)f^{-1}(x).

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

Question 18

Given that log4(x)=y\log_4(x) = y, find an expression for log8(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, logb(a)=logc(a)logc(b)\log_b(a) = \frac{\log_c(a)}{\log_c(b)}. We can convert log8(x)\log_8(x) to base 4: log8(x)=log4(x)log4(8)\log_8(x) = \frac{\log_4(x)}{\log_4(8)}. We are given log4(x)=y\log_4(x) = y. We need to evaluate log4(8)\log_4(8). Let z=log4(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 log8(x)=y3/2=2y3\log_8(x) = \frac{y}{3/2} = \frac{2y}{3}.

Question 19

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

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

Question 20

What is the domain of the function f(x)=log10(x25x)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 x25x>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. x2>0x-2 > 0 and 5x>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. x2<0x-2 < 0 and 5x<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 (5x)(5-x) without considering its sign, leading to (x2)(x5)>0(x-2)(x-5) > 0. Distractor C incorrectly allows the argument to be zero.