I have a simple equation with respect to constants A and B, unfourtunately it's written using definite integrals with unknown functions in them which are to be calculated afterwards. Mathematica is trying to process those integrals and refuses to simply solve linear equation. Is there a way to tell the system not to deal with integrals but rather consider them constant expressions?
Example:
rhs = Integrate[Plus[Times[A, x[t]], Times[B, y[t]]], List[t, 0, 1]]
Solve[rhs == A, A]
This can't be solved.
But this can:
Solve[A x[t] + B y[t] == A, A]
However those equaitons are equally simple. How do I tell mathematica to work with integrals properly and express solution in terms of those?



A,B,x[t], andy[t]are unknown expressions, the integral should not be automatically decomposed. Some sort of manual intervention is going to be necessary, I think. – Michael E2 Mar 18 '18 at 15:58AandBare in fact constants. (One could make an assignmentA = Exp[t], for instance.) However, the built-in routines for manipulatingIntegrateseem to ignore the attributeConstant. Algebraic manipulate ofIntegrateandSumseem underdeveloped, compared to the rest of M. – Michael E2 Mar 18 '18 at 16:15InactivatetheIntegrate. Pre V-10, one can useHold[Integrate]orHoldForm[Integrate]. – Michael E2 Mar 18 '18 at 16:15