Question

Difficulty: MediumIndices and Logarithms

Solve for xx in the logarithmic equation log2(x+2)+log2(x4)=4\log_2 (x + 2) + \log_2 (x - 4) = 4.

  1. A
    4
  2. B
    5
  3. 6Answer
  4. D
    9

Answer

The value of xx is 6.
Using the product rule for logarithms, log2(x+2)+log2(x4)=log2[(x+2)(x4)]=4\log_2 (x + 2) + \log_2 (x - 4) = \log_2 [(x + 2)(x - 4)] = 4. Converting to exponential form yields (x+2)(x4)=24=16(x + 2)(x - 4) = 2^4 = 16. Expanding gives x22x8=16x^2 - 2x - 8 = 16, which simplifies to x22x24=0x^2 - 2x - 24 = 0. Factoring gives (x6)(x+4)=0(x - 6)(x + 4) = 0. Since the logarithmic arguments must be positive (x>4x > 4), the negative root 4-4 is discarded, leaving x=6x = 6.

Step-by-Step Solution

1
Apply the product rule of logarithms: logbM+logbN=logb(MN)\log_b M + \log_b N = \log_b (M \cdot N)
log2[(x+2)(x4)]=4\log_2 [(x + 2)(x - 4)] = 4
Logarithms with the same base being added combine by multiplying their arguments.
2
Convert the logarithmic equation to its exponential form
(x+2)(x4)=24=16(x + 2)(x - 4) = 2^4 = 16
If logbY=X\log_b Y = X, then Y=bXY = b^X.
3
Expand and rearrange into a standard quadratic equation
x22x8=16    x22x24=0x^2 - 2x - 8 = 16 \implies x^2 - 2x - 24 = 0
Expanding (x+2)(x4)(x+2)(x-4) yields x22x8x^2 - 2x - 8, and subtracting 16 sets the equation to zero.
4
Factor the quadratic equation to find potential solutions
(x6)(x+4)=0    x=6 or x=4(x - 6)(x + 4) = 0 \implies x = 6 \text{ or } x = -4
The roots of x22x24=0x^2 - 2x - 24 = 0 are x=6x = 6 and x=4x = -4.
5
Check the domain restrictions for logarithmic functions
x=6x = 6
The arguments of the original logarithms require x+2>0    x>2x + 2 > 0 \implies x > -2 and x4>0    x>4x - 4 > 0 \implies x > 4. Therefore, x=4x = -4 is extraneous and x=6x = 6 is the only valid solution.

Key Concept

Solving logarithmic equations using product rule and domain constraints
Rate this question