Mathematica Bug with Mathematica: Simplify Function Output

  • Thread starter Thread starter vaibhavtewari
  • Start date Start date
  • Tags Tags
    Bug Mathematica
AI Thread Summary
The discussion revolves around the behavior of the Simplify function in a mathematical software when applied to specific expressions involving square roots and constants. The user encounters an issue where one expression simplifies to a more complex form while another simplifies directly to 1. The response clarifies that this is not a bug but rather a limitation of the software when handling multiple terms and constants. It is suggested that users can facilitate the simplification process by substituting terms with a single variable, which can help the software process the expression more effectively. This approach can lead to more straightforward results in complex simplifications.
vaibhavtewari
Messages
63
Reaction score
0
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,
 
Physics news on Phys.org
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]
 

Similar threads

Replies
2
Views
2K
Replies
2
Views
1K
Replies
1
Views
2K
Replies
5
Views
3K
Replies
1
Views
2K
Replies
3
Views
3K
Back
Top