1
$\begingroup$
(I Gr0 theta Sqrt[1 - theta^2]) / 
  (2 Gr0Mz (-1 + theta^2) (1 - 2 coff1 theta trMz wn + coff1^2 trMz^2 wn^2))

Replace the denominator of the expression with T1,How can I achieve?I tried: enter image description here

but failed.

$\endgroup$
2
  • 3
    $\begingroup$ why note just Numerator[expr]/ T1 or Simplify[expr, {Denominator[expr] == T1}]? $\endgroup$
    – kglr
    Jul 1, 2018 at 8:54
  • 1
    $\begingroup$ When a replacement is failing, the way to understand why is to look at the FullForm of the expression. That's what you have to match. $\endgroup$
    – John Doty
    Jul 1, 2018 at 12:22

1 Answer 1

5
$\begingroup$
expr = (I Gr0 theta Sqrt[1 - theta^2]) / 
  (2 Gr0Mz (-1 + theta^2) (1 - 2 coff1 theta trMz wn + coff1^2 trMz^2 wn^2));

Numerator[expr] / T1 (* or *)
Simplify[expr, {Denominator[expr] == T1}]
 (I Gr0 theta Sqrt[1 - theta^2]) / T1
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.