exponential equation

i like this post (click again to cancel)
0
i dont like this post (click again to cancel)

sage: solve(exp(-x)+exp(x) == 2,x) [x == 0] sage: solve(exp(-2x)+exp(2x) == 2,x) []

Can tell me anyone why the second equation has no solution?

asked Oct 02 '10

amalea gravatar image amalea
71 5 8

updated Apr 28 '11

Kelvin Li gravatar image Kelvin Li
423 9 16
For the record, this question is closely related to http://ask.sagemath.org/question/156/exponential-equation-real-solutionKelvin Li (Apr 28 '11)
i like this answer (click again to cancel)
1
i dont like this answer (click again to cancel)

I unfortunately don't have time to check why this doesn't work, but the following keyword argument (useful to know in any case) does work:

sage: (exp(-2*x)+exp(2*x) == 2).solve(x,to_poly_solve=True)
[x == I*pi*z15]

which should be interpreted as saying z15 is a free integer variable (hence z). One can also do

sage: (exp(-x)+exp(x) == 2).solve(x,to_poly_solve='force')
[x == 2*I*pi*z24]

for all possible solutions to the original one. Unfortunately, finding the documentation for this (currently) requires using the method notation instead of functional

sage: solve?

notation.

link

posted Oct 02 '10

kcrisman gravatar image kcrisman
6784 14 67 152

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Tags:

Stats:

Asked: Oct 02 '10

Seen: 241 times

Last updated: Oct 02 '10

powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.