TransWikia.com

Mathematica does not simplify divergent integrals

Mathematica Asked on July 25, 2021

I get this as output:

$frac{1}{6} int_0^{infty } 6 t , dt$

Why it cannot cancel the coefficients?

One Answer

As much as I know, Mma does not simplify any integrals. However, one can help it. Try the following. Let us first introduce a rule:

intRule = 
  Inactivate[Integrate[exprA___ exprB__ , {var_, lim__}], Integrate] /;
     FreeQ[{exprB}, var] :> 
   exprB Inactivate[Integrate[exprA , {var, lim}], Integrate];

Here is your integral (inactivated):

expr1 = Inactivate[1/6*Integrate[6*t, {t, 0, [Infinity]}], Integrate]

(* 1/6 Inactive[Integrate][6 t, {t, 0, [Infinity]}]  *)

Now

expr1 /. intRule

(* Inactive[Integrate][t, {t, 0, [Infinity]}] *)

enter image description here

Have fun!

Answered by Alexei Boulbitch on July 25, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP