Bug with mathematica


by vaibhavtewari
Tags: mathematica
vaibhavtewari
vaibhavtewari is offline
#1
Jul29-11, 10:44 AM
P: 67
When I try
Simplify[Sqrt[1/(c^2 L^2 - k^2 q^2 Q^2)] Sqrt[c^2 L^2 - k^2 q^2 Q^2],
c^2 L^2 - k^2 q^2 Q^2 > 0]
I get
Sqrt[1/(c^2 L^2 - k^2 q^2 Q^2)] Sqrt[c^2 L^2 - k^2 q^2 Q^2]
as output

but when I try
Simplify[Sqrt[1/(c^2 L^2 - k^2 Q^2)] Sqrt[c^2 L^2 - k^2 Q^2],
c^2 L^2 - k^2 Q^2 > 0]
I get
1
as output. Can someone resolve is that a bug or I am doing something wrong.

Thank You,
Phys.Org News Partner Science news on Phys.org
Review: With Galaxy S5, Samsung proves less can be more
Making graphene in your kitchen
Study casts doubt on climate benefit of biofuels from corn residue
Simon_Tyler
Simon_Tyler is offline
#2
Jul29-11, 07:16 PM
P: 313
It's not a bug, in that the answer is not actually wrong... Mma gets confused when there's too many terms, especially in integrals with too many constants that are grouped together. If you run into problems like this where you know there is a group of terms that often occurs, sometimes you need to help it along.

Simplify[Sqrt[1/(c^2 L^2 - k^2 q^2 Q^2)] Sqrt[c^2 L^2 - k^2 q^2 Q^2],
c^2 L^2 > k^2 q^2 Q^2]
(* doesn't work, so help it with *)
Simplify[% /. c^2 L^2 -> a + k^2 q^2 Q^2, a > 0]


Register to reply

Related Discussions
Mathematica Help! General Math 3
New at Mathematica, Need some help Engineering, Comp Sci, & Technology Homework 1
scattering process in nuclear or high energy physics Math & Science Software 0
Mathematica Help Calculus & Beyond Homework 1
Mathematica help General Math 5