Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Solving equations' topicStudent Support Forum > General > "Solving equations"

Next Comment >Help | Reply To Topic
Author Comment/Response
Casey Mann
12/21/98 12:53pm

Let x and y be two complex numbers, and let T[t_]:=tx+(1-t)y for t a real number be the line passing through x and y.

If I try this:

Solve[Abs[T[t]]]==1,t]

Solve will give the solution for t as a complex number, not a real number as I desire. How can I specify to Mathematica that I want t to be viewed as a real number.

Now, of course I was able to write my own command that solved the above equation by using conjugation (z*Conjugate[z]==Abs[z]^2), but I was using this example because it is relatively simple.

The equation that I'm really interested in solving is

Solve[Abs[Log[((x-y)(b-a))/((x-a)(b-y))]]==Abs[Log[((y-T[t])(b-a))/((y-a)(b-T[t]))]],t]

The solver will give solutions for t, but the are complex! I want t to be a real value. If only I could tell Mathematica that t is a real number. . .

Any help on this will be much appreciated.

Casey Mann

URL: ,

Subject (listing for 'Solving equations')
Author Date Posted
Solving equations Casey Mann 12/21/98 12:53pm
Re: Solving equations Forum Modera... 12/21/98 2:19pm
Re: Solving equations Casey Mann 12/21/98 8:21pm
Re: Solving equations Forum Modera... 12/21/98 8:25pm
Next Comment >Help | Reply To Topic