Celeb Glow
general | April 05, 2026

Subtracting two integrals, each a product of two functions

$\begingroup$

I hope this isn't too rudimentary, but after digging and thinking through it, I can't be sure I can do the following:

$\int_{a}^{b} f(x)g(x) dx - \int_{a}^{b} f(.5 x)g(x) dx$ = $\int_{a}^{b} \left[f(x)-f(.5x) \right] g(x) dx$

Does this transformation hold true? I know I can do it in the discretized form, but wasn't sure about in the continuous.

Thank you!

$\endgroup$ 1

1 Answer

$\begingroup$

Yes. Integration is linear: $$\int_a^b f(x)\, dx + \int_a^b g(x)\, dx = \int_a^b f(x)+g(x)\,dx.$$ You can see this by "discretizing" the integrals as Riemann sums, or, more intuitively, by visualizing areas under curves: the areas under $f$ and $g$ "stack" and add.

Applying linearity to your problem. $$\int_a^b f(x)g(x)\, dx - \int_a^b f(x/2)g(x)\,dx = \int_a^b \left[f(x)g(x)-f(x/2)g(x)\right]\,dx$$ after which you can simply factor out the $g(x)$ inside: $$\int_a^b \left[f(x)g(x)-f(x/2)g(x)\right]\,dx = \int_a^b \left[f(x)-f(x/2)\right]g(x)\,dx.$$

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy