Help solving log equation for x

asked 2022-04-09 08:01:27 +0200

logos gravatar image

updated 2022-04-09 11:58:59 +0200

slelievre gravatar image

I am trying to solve the following equation for x:

1 + 2 * log(x + 1, 4) == 2 * log(x, 2)

I entered in the input

(1 + 2 * log(x + 1, 4) == 2 * log(x, 2)).solve(x, algorithm='sympy', domain='all')

and the output was

{๐‘ฅโˆฃ๐‘ฅโˆˆโ„‚โˆงโˆ’๐‘ฅ2log(2)+๐‘’(๐‘ฅ+1)1log(2)=0}โˆ–{๐‘ฅโˆฃ๐‘ฅโˆˆโ„‚โˆง๐‘ฅ2log(2)=0}

The answer I am looking for is

x = 1+3^(1/2)
edit retag flag offensive close merge delete

Comments

Also asked at:

slelievre gravatar imageslelievre ( 2022-04-09 16:01:05 +0200 )edit