Logarithmic function

Definition:

The logarithmic function is defined as: \[ f(x) = \log_a(x) \] where, \( a \) is the base of the logarithm, and it must satisfy \( a > 0 \) and \( a \neq 1 \). The function is the inverse of the exponential function \( y = a^x \), meaning it answers the question: "To what exponent must \( a \) be raised to obtain \( x \)?"
Note: If the base of the logarithmic function a = 10, then it is called the common logarithmic function, which is the default value.

Properties Based on Base \(( a )\)

  1. Case: \( a > 1 \)
    • The function \( f(x) = \log_a(x) \) is increasing, meaning that as \( x \) increases, \( f(x) \) also increases.
    • Example:
      If \( a = 2 \), then \( \log_2(8) = 3 \) because \( 2^3 = 8 \).
    • Domain: \( (0, \infty) \) (i.e., \( x \) must be positive)
    • Range: \( (-\infty, \infty) \) (i.e., the function can take all real values).
    • x-intercept: (1,0); and y-intercept: none.
    • The graph of the logarithmic function is smooth and continuous, containing the points: \((\frac{1}{a}\), - 1), \((1, 0)\), and \((a, 1)\).
  2. Case: \( 0< a< 1 \)
    • The function \( f(x) = \log_a(x) \) is decreasing, meaning that as \( x \) increases, \( f(x) \) decreases.
    • Example:
      If \( a = \frac{1}{2} \), then   \( \log_{\frac{1}{2}}(8) = -3 \)  because   \( (\frac{1}{2})^{-3} = 8 \).
    • Domain: \( (0, \infty) \) (same as before)
    • Range: \( (-\infty, \infty) \) (same as before)
    • x-intercept: (1,0); and y-intercept: none.
    • The graph of the logarithmic function is smooth and continuous, containing the points: \((a, 1)\) , \((1, 0)\), and \((\frac{1}{a}\), - 1).

Graphical Interpretation

Case: \( a > 1 \)

Case: \( 0 < a < 1 \)