BTW :

sage: solve(1+2*log(x+1, 4)==2*log(x,2), x, to_poly_solve="force")
[x == -sqrt(3) + 1, x == sqrt(3) + 1]

HTH,
​
Le samedi 9 avril 2022 Γ  11:34:10 UTC+2, wdjo...@gmail.com a Γ©crit :

> On Sat, Apr 9, 2022 at 5:18 AM Paolo Robillos <paolo.r...@gmail.com> 
> wrote:
> >
> > Hi,
> >
> > I am trying to solve the following equation for x, 1+2log(x+1, 
> 4)==2log(x,2)
> >
> > I entered in the input "(1+2log(x+1, 
> 4)==2log(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)."
> >
>
> You're right, but here is a comment to show SymPy is on the right track:
>
> The first equation is x^(2/log(2)) == e*(x + 1)^(1/log(2)). If you
> first raise both sides ro the log(2) power, SageMath can solve it:
>
> sage: solve(x^(2) == e^(log(2))*(x + 1), x)
> [x == -sqrt(3) + 1, x == sqrt(3) + 1]
>
>
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sage-support" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-support...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/4f7fb72f-b292-4abd-8740-9a5f50491a2an%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/720fda97-919f-4834-8cf3-06f116e3160bn%40googlegroups.com.

Reply via email to