JAMB 2023 Mathematics · Question 70

Solve the logarithmic equation: log2(6−x)=3−log2xlog_2 (6 - x) = 3 - log_2 x

Options

  1. A.xx = 4 or 2
  2. B.xx = -4 or -2
  3. C.xx = -4 or 2
  4. D.xx = 4 or -2

Answer: A. xx = 4 or 2

Explanation written with AI and checked against the answer key

Analysis

To solve the equation log⁡2(6−x)=3−log⁡2x\log_2 (6 - x) = 3 - \log_2 x, we need to use the properties of logarithms to combine the terms and convert the logarithmic equation into an algebraic one.

Concept
  1. Logarithm Addition Rule: log⁡b(A)+log⁡b(B)=log⁡b(A×B)\log_b(A) + \log_b(B) = \log_b(A \times B).
  2. Definition of Logarithm: If log⁡b(x)=y\log_b(x) = y, then x=byx = b^y.
  3. Domain Constraint: The argument of a logarithm must always be positive (i.e., 6−x>06 - x > 0 and x>0x > 0).
Step-by-Step Solution

Step 1: Rearrange the equation Move the log⁡2x\log_2 x term to the left side:

log⁡2(6−x)+log⁡2x=3\log_2 (6 - x) + \log_2 x = 3

Step 2: Apply the addition rule Combine the logarithms on the left:

log⁡2[x(6−x)]=3\log_2 [x(6 - x)] = 3
log⁡2(6x−x2)=3\log_2 (6x - x^2) = 3

Step 3: Convert to exponential form Using the definition log⁡b(A)=y  ⟹  A=by\log_b(A) = y \implies A = b^y:

6x−x2=236x - x^2 = 2^3
6x−x2=86x - x^2 = 8

Step 4: Solve the quadratic equation Rearrange all terms to one side to set the equation to zero:

x2−6x+8=0x^2 - 6x + 8 = 0

Factor the quadratic equation: Find two numbers that multiply to +8+8 and add to −6-6. These numbers are −4-4 and −2-2.

(x−4)(x−2)=0(x - 4)(x - 2) = 0

Setting each factor to zero: x−4=0  ⟹  x=4x - 4 = 0 \implies x = 4 x−2=0  ⟹  x=2x - 2 = 0 \implies x = 2

Step 5: Verify the solutions Check if these values satisfy the domain constraints (x>0x > 0 and 6−x>06-x > 0):

  • If x=4x = 4: 6−4=26 - 4 = 2 (positive), x=4x = 4 (positive). Valid.
  • If x=2x = 2: 6−2=46 - 2 = 4 (positive), x=2x = 2 (positive). Valid.
Conclusion

The solutions are x=4x = 4 or x=2x = 2. This matches option A.

Exam Tip

Always check your answers in the original logarithmic equation. If you had obtained a negative value for xx, you would have to reject it, because you cannot take the logarithm of a negative number or zero. In JAMB, they often include "distractor" answers that are mathematically correct for the quadratic but invalid for the logarithm—always double-check your domain!

AI can make mistakes. Report anything that looks wrong.

Past questions © the examination body (JAMB/WAEC/NECO). DeeepSolve is not affiliated with them. Rights holders: see /copyright.