[Date Index] [Thread Index] [Author Index]
Re: why is this happening?
Hi, and you are sure that you not mean Solve[k2/k1 + ld^2 + ld == 0, ld] vs Solve[k1 ld + k2 + k1*ld^2 == 0, ld] or do you just like to ask why Mathematica return different answers for nonequivalent input ? Regards Jens sean_incali at yahoo.com wrote: > Consider the following. > > Solve[k1 ld + k1 k2 + ld^2 == 0, ld] > > vs > > Solve[k2/k1 + ld^2 + ld == 0, ld] > > > I expected to get the output I got from the first code. > >>From the second code, I was expecting something along the lines of > > ld ->-1 + (SquareRoot[1 - 4 (k2/k21)])/2 > ld -> -1 - (SquareRoot[1 - 4 (k2/k21)])/2 > > since that is the answer. > > Why is Mathematica turning the second scaled equation into the > unscaled one in the first before solving it? > > Thanks for any insight. > > Sean > >