AngelofMusic
- 58
- 0
Hello,
My question has to do with differentiating an integral. We are given:
f(x)=1/2\int_{0}^{x} (x-t)^2 g(t)dt
And we are asked to prove that:
f'(x)=x\int_{0}^{x}g(t)dt - \int_{0}^{x}tg(t)dt
My Solution:
I expanded (x-t)^2 into x^2-2xt+t and then expanded
f(x)=x^2/2\int_{0}^{x}g(t)dt - x\int_{0}^{x}tg(t)dt + \int_{0}^{x}t/2g(t)dt
Then I differentiated using the product rule:
f'(x)=x\int_{0}^{x}g(t)dt + g(t)x^2/2 - \int_{0}^{x}tg(t)dt - xtg(t) + t/2g(t)
This is close to what they want me to prove, but I have these extra terms:
g(t)x^2/2-xtg(t)+t/2g(t)
Which is basically (t-x)^2/2g(t).
How do I eliminate that term? Does it evaluate to 0 somehow?
Thanks for the help!
My question has to do with differentiating an integral. We are given:
f(x)=1/2\int_{0}^{x} (x-t)^2 g(t)dt
And we are asked to prove that:
f'(x)=x\int_{0}^{x}g(t)dt - \int_{0}^{x}tg(t)dt
My Solution:
I expanded (x-t)^2 into x^2-2xt+t and then expanded
f(x)=x^2/2\int_{0}^{x}g(t)dt - x\int_{0}^{x}tg(t)dt + \int_{0}^{x}t/2g(t)dt
Then I differentiated using the product rule:
f'(x)=x\int_{0}^{x}g(t)dt + g(t)x^2/2 - \int_{0}^{x}tg(t)dt - xtg(t) + t/2g(t)
This is close to what they want me to prove, but I have these extra terms:
g(t)x^2/2-xtg(t)+t/2g(t)
Which is basically (t-x)^2/2g(t).
How do I eliminate that term? Does it evaluate to 0 somehow?
Thanks for the help!
Last edited: