Ask Your Question
0

Logarithms

asked 2023-10-26 00:10:27 +0200

anonymous user

Anonymous

updated 2023-10-26 00:10:46 +0200

I know that it is a question already asked but i do not understand why Wolfram alfa is able to transform $e^{\alpha \log(x) + \beta \log(y)}$ in $x^\alpha y^\beta$ and not SageMath. It seems important that a CAS be able to do this.

edit retag flag offensive close merge delete

Comments

Can you provide an actual code illustrating the issue?

Max Alekseyev gravatar imageMax Alekseyev ( 2023-10-26 03:01:33 +0200 )edit

see ask.sagemath.org/question/74009/profit-maximisation-with-a-cobb-douglas-function/ but the answer has been given in an addition. But I think it's important to know canonicalize_radical() because it it not transparent

Cyrille gravatar imageCyrille ( 2023-10-26 17:12:35 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-10-26 06:13:16 +0200

tolga gravatar image

Try canonicalize_radical():

var('alpha,beta,x,y')
f=exp(alpha*log(x)+beta*log(y))
print(f.canonicalize_radical())
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2023-10-26 00:10:27 +0200

Seen: 166 times

Last updated: Oct 26 '23