# From Midterm exam.

1. Oct 21, 2007

### azatkgz

1. The problem statement, all variables and given/known data
Question 5(10 marks)
Assume that a function f(x) is continuous on the interval [0,1].Express the following derivatives as formulae in terms of
$$x,f(x),f'(x) and \int_{a}^{x}f(t)dt$$

$$a)\frac{d}{dx}\int_{x}^{0}tf(t)dt$$ $$b)\frac{d}{dx}\int_{0}^{x}xf(t)dt$$

$$c)\frac{d}{dx}\int_{0}^{x}xf(x)dt$$

3. The attempt at a solution

I got 6 marks from 10.Can you help me to find my mistakes?

a)$$xf(x)$$

b)$$\frac{d}{dx}\int_{0}^{x}xf(t)dt=\int_{0}^{x}f(t)dt+x\frac{d}{dx}\int_{0}^{x}f (t)dt=\int_{0}^{x}f(t)dt+xf(x)$$

c)$$\frac{d}{dx}\int_{0}^{x}xf(x)dt=\int_{0}^{x}f(x)dt+f'(x)x\int_{0}^{x}dt+xf (x)\frac{d}{dx}\int_{0}^{x}dt=f(x)x+f'(x)x^2+xf(x)=2xf(x)+x^2f'(x)$$

2. Oct 21, 2007

### quasar987

c) is right

for a), the FTC says that

$$\frac{d}{dx}\int_{0}^{x}tf(t)dt=xf(x)$$

so you forgot to invert the bounds of the integrals first, which would induce a minus sign in the answer.

For b), this is an application of Leibniz rule of differentiation under the integral sign where the integrand xf(t) is considered as a function of two variables g(x,t)=xf(t).

3. Oct 21, 2007

### azatkgz

then $$\frac{d}{dx}\int_{0}^{x}g(x,t)dt$$.

Right?

4. Oct 21, 2007

### quasar987

5. Oct 21, 2007

### azatkgz

$$\frac{d}{dx}\int_{0}^{x}g(x,t)dt=\frac{d}{dx}\int_{0}^{x}xf(x)dt$$

6. Oct 21, 2007

### quasar987

No,

$$\frac{d}{dx}\int_{0}^{b(x)}g(x,t)dt = \int_{0}^{b(x)}\frac{\partial}{\partial x}g(x,t)dt+b'(x)g(x,b(x))$$

So

$$\frac{d}{dx}\int_{0}^{x}xf(t)dt = \int_{0}^{x}f(t)dt+xf(x)$$

Last edited: Oct 21, 2007
7. Oct 21, 2007

### azatkgz

Very nice.I've haven't seen this method.