# Differentiable function with g(0) = 0 and etc

Moonnstars

## Homework Statement

I apologize for not knowing how to use Latex, so I will type the problem as it is read...

Prove that for all x greater than or equal to 0, we have

the integral from 0 to x for [g(x)]^3 dx which is less than or equal to

(the integral from 0 to x for g(x) dx)^2.

Suppose that g is a differentiable function with g(0) = 0 and 0 is less than g prime which is less than or equal to 1.

Also, the brackets around the g(x) are supposed to be there, so it is to the power 3, as in C^3. The parentheses around the second part of the problem are there to show it is to the power 2.

Sorry for the non-Latex format.

## Homework Equations

I do not know where to start, but think it involves MVT (the Mean Value Theorem) and/or Rolle's Theorem.

## The Attempt at a Solution

I tried working with a square root, but was unsure. My skills are rusty.
Thanks for any help.

Mentor

## Homework Statement

I apologize for not knowing how to use Latex, so I will type the problem as it is read...

Prove that for all x greater than or equal to 0, we have

the integral from 0 to x for [g(x)]^3 dx which is less than or equal to

(the integral from 0 to x for g(x) dx)^2.

Suppose that g is a differentiable function with g(0) = 0 and 0 is less than g prime which is less than or equal to 1.

Also, the brackets around the g(x) are supposed to be there, so it is to the power 3, as in C^3. The parentheses around the second part of the problem are there to show it is to the power 2.

Sorry for the non-Latex format.

## Homework Equations

I do not know where to start, but think it involves MVT (the Mean Value Theorem) and/or Rolle's Theorem.

## The Attempt at a Solution

I tried working with a square root, but was unsure. My skills are rusty.
Thanks for any help.

With LaTeX, I think this is what you're trying to say. Double-click any of the integrals I have to see how I wrote the LaTeX script.

Suppose g(0) = 0 and that g is differentiable, with 0 < g'(x) <= 1.
Show that, for all x > 0,
$$\int_0^x (g(t))^3 dt <= \int_0^x (g(t))^2 dt$$

Note that definite integrals that have a variable in the limit of integration almost always use a different variable (a so-called dummy variable) as the variable of integration.

I think you're going to have trouble proving this statement, since it doesn't seem to be true. As a counterexample, consider g(t) = t/2. This function satisfies g(0) = 0, is differentiable, and satisfies 0 < g'(t) <= 1.

$$\int_0^x (t/2)^3 dt = \frac{x^4}{32}$$

$$\int_0^x (t/2)^2 dt = \frac{x^3}{12}$$

For x suitably large, x4/32 > x3/12, so this function contradicts the statement you're supposed to prove.

Have you left out anything?

Staff Emeritus
Gold Member
2021 Award
That's because the inequality is supposed to be

$$\int_0^x (g(t))^3 dt \leq (\int_0^x g(t)dt)^2$$

Noticing that both functions are 0 at 0, you might consider showing that the derivative of one is larger than the derivative of the other

Last edited:
Moonnstars
That's because the inequality is supposed to be

$$\int_0^x (g(t))^3 dt \leq (\int_0^x g(t)dt)^2$$

Noticing that both functions are 0 at 0, you might consider showing that the derivative of one is larger than the derivative of the other

Thank you Office_Shredder and Mark44.

Office_Shredder has it written correctly, the part about the parentheses is correct, but it is g(x) dx, not with t's. Though that shouldn't make a difference, right??

Mark44, thank you as well, your Latex writing of the problem is correct, although it is for all x$$\geq$$ 0.

Your math work is helpful, but since the second part of the problem is different, it changes things.

So, can I just do ...

$$\int_0^x (g(t))^3 dt \leq (\int_0^x g(t)dt)^2$$

which is then,
$$\frac{x^4}{32}\leq(\frac{x^2}{4})^2$$

which is...

$$\frac{x^4}{32}\leq\frac{x^4}{16}$$

I have my example now, but how do I go about writing a proof for it?
Also, thanks again with the Latex help, as well as even looking at my problem.

Staff Emeritus
Gold Member
2021 Award
You can answer the problem by taking derivatives. If you have two functions f(x) and h(x) such that f(0)=h(0), if f'(x)<h'(x) for all x>0, then f(x) < h(x) (if you're not sure why consider a proof by contradiction and the mean value theorem)

So we have two functions (the integrals) and want to show one is smaller than the other, knowing that they are both equal at zero. Try taking the derivative of both and showing one is smaller than the other

Moonnstars
Office_Shredder....

So, if I use a simple function of just x, then the derivative of it is...

3x^2 $$\leq$$ (1)^2
which is not true, if my values for x $$\geq 0$$ .

Is that what you mean (did I do that right)? Is that the contradiction you were referring to, since that is true when x $$\leq 0$$ ?

Mentor
No, you can't substitute a particular function for g(x), such as g(x) = x. All you know about g is that it is differentiable and 0 < g'(x) <= 1. When I used a specific function, I was giving a counterexample (which wasn't actually a counterexample because I hadn't interpreted the problem correctly). To show that a statement is false, any specific function that is a counterexample will do, but to show that the statement is true, you cannot use specific functions.

Staff Emeritus
Gold Member
2021 Award
Office_Shredder....

So, if I use a simple function of just x, then the derivative of it is...

3x^2 $$\leq$$ (1)^2
which is not true, if my values for x $$\geq 0$$ .

Is that what you mean (did I do that right)? Is that the contradiction you were referring to, since that is true when x $$\leq 0$$ ?

I'm confused what functions you took the derivative of. If your function is x, you're asked to compare $$\frac{x^4}{4}$$ (the integral of t3) and $$\frac{x^4}{4}$$ (the square of the integral of x) which certainly pass the derivative test I proposed.

Do you know what the derivatives of $$\int_0^x g(x)^3 dx$$ and $$( \int_0^x g(x)dx)^2$$ are?

Moonnstars
I'm confused what functions you took the derivative of. If your function is x, you're asked to compare $$\frac{x^4}{4}$$ (the integral of t3) and $$\frac{x^4}{4}$$ (the square of the integral of x) which certainly pass the derivative test I proposed.

Do you know what the derivatives of $$\int_0^x g(x)^3 dx$$ and $$( \int_0^x g(x)dx)^2$$ are?

If you mean the derivatives of the integrals==> the Fundamental Theorem of Calc., then is not just g(x)^3 and (g(x))^2?

Staff Emeritus
Gold Member
2021 Award
The first one is right but the second derivative isn't. You're squaring the integral so you have to use the chain rule

Moonnstars
The first one is right but the second derivative isn't. You're squaring the integral so you have to use the chain rule

Then, just 2g(x)?

Mentor
No, that's not it either.

You have $$F(x) = \left(\int_0^x g(t) dt \right)^2$$

What's F'(x)? It's not 2g(x).

That's sort of like saying that if H(x) = (f(x))2, then H'(x) = 2f(x)

Moonnstars
No, that's not it either.

You have $$F(x) = \left(\int_0^x g(t) dt \right)^2$$

What's F'(x)? It's not 2g(x).

That's sort of like saying that if H(x) = (f(x))2, then H'(x) = 2f(x)

I am getting confused a bit.
Let's see, the derivative of the integral of g(x) dx is just g(x), right?

So, then, with the square on it is it, g2(x)g'(x)
???

Mentor
$$F'(x) = 2\left(\int_0^x g(t) dt \right) \frac{d}{dx} \left(\int_0^x g(t) dt \right)$$

Isn't that how the chain rule works?

Moonnstars
$$F'(x) = 2\left(\int_0^x g(t) dt \right) \frac{d}{dx} \left(\int_0^x g(t) dt \right)$$

Isn't that how the chain rule works?

Oops. I misplaced my 2. Thanks.

So, I was thinking about the application of the MVT...
Any ideas, hints if I am in the right direction, because I did a similar problem that made me work in the opposite direction of this one, using MVT.

It read: let a,b be differentiable on $$\Re$$ and suppose that a(0) = b(0) and a'(x)$$\leq$$ b'(x) for all x $$\geq$$ 0. Show that a(x) $$\leq$$ g(x) for all x$$\geq$$ 0.

The solution: let x$$\geq$$ 0. The function b(x) - a(x) is continuous on [0,x] and differentiable on (0,x). By MVT, $$\exists$$ c $$\in$$ (0,x) st (b(x)) - a(x)) - (b(0) - a(0)) = (b'(c) - a'(c)) *(x-0) $$\geq$$ 0, since both terms on the RHS are positive.
Since b(x) - a(x) $$\geq$$ 0, a(x) $$\leq$$ b(x) for all x$$\geq$$ 0.

Staff Emeritus
Gold Member
2021 Award
So once you take the derivatives the question is why is

$$g(x)^2 \leq 2 \int_0^x g(x)dx$$

Again, you have two functions that are 0 at 0. Once you take the derivative again it becomes obvious which one is larger than the other, then just work your way back up with conclusions

Moonnstars
I found this problem elsewhere, so I was wondering how to prove a specific part of it to be positive, because my teacher wanted a better explanation of it.

My questions were posted in the forum there as well.

Also, I realize that I misread a portion of someone's post when I asked the question about g'(x) and h(x).
So, how do I know that h(x) and h'(x) are positive, and/or the whole problem is positive then?
Thanks to all.

Moonnstars
I figure now to just subtract the left side from the right, setting the equation to f(x).

Then, take the first derivative of it, which is g(x) [2$$\int$$0^x g(t) dt - (g(x)2)]

To prove f' increases, use the fact that g'$$\geq$$ 0, demonstrating g(x) increases.

So, it can be said that h(x)=f'(x)= 2$$\int 0^x$$ g(t) dt - (g(x)2) increases.

Taking h'(x) = 2g(x) - 2g'(x)g(x) = 2g(x)(1-g'(x)) >= 0, because of the problem's conditions.

My teacher wants a better explanation of this last part, and I don't know what else to do.
I essentially need to prove that every part is positive.
I offered this as an explanation...
If g'(0)=0, then f'(0)=0; thus, f'(x)>=0 implies f"(0)>=0.
(My teacher said I should be able to get away with not having to take the second derivative.)
Also, since g'(x)>=0 ==> g(x)>=g(0)=0

Thanks for looking at it.

Mentor
I figure now to just subtract the left side from the right, setting the equation to f(x).

Then, take the first derivative of it, which is g(x) [2$$\int$$0^x g(t) dt - (g(x)2)]

To prove f' increases, use the fact that g'$$\geq$$ 0, demonstrating g(x) increases.

So, it can be said that h(x)=f'(x)= 2$$\int 0^x$$ g(t) dt - (g(x)2) increases.

Taking h'(x) = 2g(x) - 2g'(x)g(x) = 2g(x)(1-g'(x)) >= 0, because of the problem's conditions.

My teacher wants a better explanation of this last part, and I don't know what else to do.
I essentially need to prove that every part is positive.
I offered this as an explanation...
If g'(0)=0, then f'(0)=0; thus, f'(x)>=0 implies f"(0)>=0.
(My teacher said I should be able to get away with not having to take the second derivative.)
Also, since g'(x)>=0 ==> g(x)>=g(0)=0

Thanks for looking at it.

This thread is getting long and seems to be getting afield from the OP, so it's probably reasonable to recap things.

Given: g(0) = 0, 0 < g' <= 1
Show that
$$\int_0^x g^3(t)dt \leq \left( \int_0^x g(t)dt \right)^2$$

Since g is an increasing function (g' > 0), it turns out that we can look the derivatives of the two functions above (the two integrals, which are functions of x). If we can show that the derivative of the integral on the left is <= the derivative of the integral on the right, that will prove the inequality we're trying to prove.

Equivalently we can show that the difference of the derivatives of the two integrals is <= 0, so lets' look at that difference.

$$d/dx \int_0^x g^3(t)dt - d/dx \left( \int_0^x g(t)dt \right)^2$$
$$= g^3(x) - 2 \int_0^x g(t)dt~d/dx \left(\int_0^x g(t)dt\right)$$
$$= g^3(x) - 2g(x) \int_0^x g(t)dt$$
$$= g(x)[g^2(x) - 2 \int_0^x g(t)dt]$$

We know that g(x) >= 0, so to show that the expression above is <= 0, we need to show that the expression in parentheses is <= 0. Using Office_Shredder's suggestion, take the derivative with respect to x of
$$(g^2(x) - 2 \int_0^x g(t)dt)$$

and show that this quantity is <= 0.