Ask Your Question
0

What's this result of equation solving?

asked 2016-10-16 22:47:15 -0600

palidehx gravatar image

Hi guys

I want to solve an equation that get from determinant of a matrix, but I cannot understand the result! Can anyone help me?

It's my code:

x = var('x')
A = Matrix([[0,1],[1,0]])
A = (I*x*A).exp()
A = A.determinant()
solve(A == 1,x,to_poly_solve ='force')

This is result!!!!!:

[x == 1/2*I*lambert_w(68)]

What is exactly that c68 (it's change every time!) [The result for equation should be pi/2]

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-10-17 06:55:08 -0600

eric_g gravatar image

c68 stands for an arbitrary constant. That's because there is an infinite number of solutions to your equation, not only pi/2, since A is actually equal to 1, as you can see by expanding it:

sage: A.expand()
1

NB: you may also use A.simplify_full(), which yields the same result (A=1).

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: 2016-10-16 22:46:38 -0600

Seen: 71 times

Last updated: Oct 17 '16