I have an expression of the form
a Integrate[b[t], {t, 0, x}]
and I would like to take the coefficient $a$, save it to a list, take the $b(t)$ out of the integral, and save it to a different list. $b(t)$ could be
Exp[-2 t^2] t^(9/5) (-t + x)^(4/5) HypergeometricPFQ[{1/2, 1}, {7/5, 19/10}, -3 t^2]
The idea is that Mathematica can't do the integration because of the complexity of $b(t)$, but there's a trick that has to be implemented manually on $b(t)$ and then it works.
To extract the coefficient I understand I have to use some sort of Coefficient
or CoefficientList
except we don't have a power anymore. To extract out $b(t)$ I understand First@Integrate[b[t], {t, 0, x}]
would work but I think the coefficient in front messes it up.
I'm not really good with patterns and I appreciate any help. Thanks!