Question
Question: $\log^2(4-x) + \log(4-x)\log(x+1/2) = 2.\log^2(x+1/2)$...
log2(4−x)+log(4−x)log(x+1/2)=2.log2(x+1/2)

The solutions to the equation are x=0, x=47, and x=23+26.
Solution
The domain of the logarithmic functions requires 4−x>0 and x+1/2>0, which implies −1/2<x<4.
Let A=log(4−x) and B=log(x+1/2). The equation becomes: A2+AB=2B2 Rearranging gives: A2+AB−2B2=0 This is a quadratic equation in terms of A and B, which can be factored as: (A−B)(A+2B)=0 This leads to two cases:
Case 1: A−B=0⟹A=B log(4−x)=log(x+1/2) Since the logarithm function is one-to-one, we equate the arguments: 4−x=x+1/2 4−21=2x 27=2x x=47 This value x=7/4 is within the domain −1/2<x<4.
Case 2: A+2B=0⟹A=−2B log(4−x)=−2log(x+1/2) Using the logarithm property nlogm=logmn: log(4−x)=log((x+1/2)−2) Equating the arguments: 4−x=(x+1/2)−2=(x+1/2)21 (4−x)(x+1/2)2=1 Expanding (x+1/2)2=x2+x+1/4: (4−x)(x2+x+1/4)=1 4x2+4x+1−x3−x2−4x=1 −x3+3x2+415x=0 Multiplying by −4 to clear fractions and make the leading coefficient positive: 4x3−12x2−15x=0 Factoring out x: x(4x2−12x−15)=0 This yields x=0 or 4x2−12x−15=0.
-
For x=0: This value is within the domain −1/2<x<4.
-
For 4x2−12x−15=0: Using the quadratic formula x=2a−b±b2−4ac: x=2(4)12±(−12)2−4(4)(−15)=812±144+240=812±384 Since 384=64×6=86: x=812±86=23±26 We have two potential solutions: x1=23+26 and x2=23−26.
-
Checking x1=23+26: This value is approximately 3.95, which lies within the domain −1/2<x<4.
-
Checking x2=23−26: This value is approximately −0.95, which is less than −1/2. Thus, it is outside the domain and is an extraneous solution.
-
The valid solutions are x=0, x=7/4, and x=23+26.