Proving an inequality related to Riemann integration
$begingroup$
Problem
Let $f$ be a function such that $|f(u)-f(v)| leq |u-v|$.
Assume that $f$ is integrable on $[a,b]$.
Prove that
$$left|int_{a}^{b} f(x)dx - (b-a)f(c)right| leq (b-a)^2/2$$
where $cin [a,b]$
Attempt
It is easy to prove that $f$ is continuous on $[a,b]$ (uniformly).
Now since $f$ is continuous on a compact set, it attains its extremum in that set. So it is bounded. Say $|f(x)| leq M$ where $M=f(c')$ for some $cin [a,b]$.
Now,
$$left|int_{a}^{b} f(x)dx - (b-a)f(c)right| leq |(f(c')-f(c))(b-a)| leq (b-a)^2.$$
Why I am missing $1/2$?
Thanks in advance.
real-analysis calculus
$endgroup$
add a comment |
$begingroup$
Problem
Let $f$ be a function such that $|f(u)-f(v)| leq |u-v|$.
Assume that $f$ is integrable on $[a,b]$.
Prove that
$$left|int_{a}^{b} f(x)dx - (b-a)f(c)right| leq (b-a)^2/2$$
where $cin [a,b]$
Attempt
It is easy to prove that $f$ is continuous on $[a,b]$ (uniformly).
Now since $f$ is continuous on a compact set, it attains its extremum in that set. So it is bounded. Say $|f(x)| leq M$ where $M=f(c')$ for some $cin [a,b]$.
Now,
$$left|int_{a}^{b} f(x)dx - (b-a)f(c)right| leq |(f(c')-f(c))(b-a)| leq (b-a)^2.$$
Why I am missing $1/2$?
Thanks in advance.
real-analysis calculus
$endgroup$
add a comment |
$begingroup$
Problem
Let $f$ be a function such that $|f(u)-f(v)| leq |u-v|$.
Assume that $f$ is integrable on $[a,b]$.
Prove that
$$left|int_{a}^{b} f(x)dx - (b-a)f(c)right| leq (b-a)^2/2$$
where $cin [a,b]$
Attempt
It is easy to prove that $f$ is continuous on $[a,b]$ (uniformly).
Now since $f$ is continuous on a compact set, it attains its extremum in that set. So it is bounded. Say $|f(x)| leq M$ where $M=f(c')$ for some $cin [a,b]$.
Now,
$$left|int_{a}^{b} f(x)dx - (b-a)f(c)right| leq |(f(c')-f(c))(b-a)| leq (b-a)^2.$$
Why I am missing $1/2$?
Thanks in advance.
real-analysis calculus
$endgroup$
Problem
Let $f$ be a function such that $|f(u)-f(v)| leq |u-v|$.
Assume that $f$ is integrable on $[a,b]$.
Prove that
$$left|int_{a}^{b} f(x)dx - (b-a)f(c)right| leq (b-a)^2/2$$
where $cin [a,b]$
Attempt
It is easy to prove that $f$ is continuous on $[a,b]$ (uniformly).
Now since $f$ is continuous on a compact set, it attains its extremum in that set. So it is bounded. Say $|f(x)| leq M$ where $M=f(c')$ for some $cin [a,b]$.
Now,
$$left|int_{a}^{b} f(x)dx - (b-a)f(c)right| leq |(f(c')-f(c))(b-a)| leq (b-a)^2.$$
Why I am missing $1/2$?
Thanks in advance.
real-analysis calculus
real-analysis calculus
edited Dec 14 '18 at 10:06
Robert Z
94.5k1063134
94.5k1063134
asked Dec 14 '18 at 9:51
blue boyblue boy
1,229613
1,229613
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
You don't need the maximum of $f$. For all $c in [a, b]$
$$
left|int_{a}^{b} f(x) , dx - (b-a)f(c) right| =
left|int_{a}^{b} (f(x)-f(c)) , dx right| \le
int_{a}^{b} | f(x) - f(c) | , dx le
int_{a}^{b} | x-c | , dx \
= int_{a}^{c} (c-x) , dx + int_{c}^{b} (x-c) , dx \
= frac{(c-a)^2}{2} + frac{(b-c)^2}{2} \ le frac{(b-a)^2}{2}
$$
$endgroup$
$begingroup$
How did you get the last inequality?
$endgroup$
– blue boy
Dec 14 '18 at 10:13
1
$begingroup$
@blueboy: $x^2 + y^2 le (x+y)^2$ for nonnegative numbers. You can also see it geometrically if you draw the triangles corresponding to these areas.
$endgroup$
– Martin R
Dec 14 '18 at 10:15
$begingroup$
Oh. Thanks. When i used the maximum it wasn't using the required bound.
$endgroup$
– blue boy
Dec 14 '18 at 10:17
add a comment |
$begingroup$
Let $c=frac {a+b} 2$. Note that $int_a^{b} [f(x)-f(c)]dx=int_a^{b} f(x)dx-f(c)(b-a)$. Hence $|int_a^{b} f(x)dx-f(c)(b-a)| leq int_a^{b} |f(x)-f(c)|dx leq int_a^{b} |x-c|dx$. calculate this last integal explicitly by making the change of variable $y=x-c$ and you will get the desired inequality.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3039166%2fproving-an-inequality-related-to-riemann-integration%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You don't need the maximum of $f$. For all $c in [a, b]$
$$
left|int_{a}^{b} f(x) , dx - (b-a)f(c) right| =
left|int_{a}^{b} (f(x)-f(c)) , dx right| \le
int_{a}^{b} | f(x) - f(c) | , dx le
int_{a}^{b} | x-c | , dx \
= int_{a}^{c} (c-x) , dx + int_{c}^{b} (x-c) , dx \
= frac{(c-a)^2}{2} + frac{(b-c)^2}{2} \ le frac{(b-a)^2}{2}
$$
$endgroup$
$begingroup$
How did you get the last inequality?
$endgroup$
– blue boy
Dec 14 '18 at 10:13
1
$begingroup$
@blueboy: $x^2 + y^2 le (x+y)^2$ for nonnegative numbers. You can also see it geometrically if you draw the triangles corresponding to these areas.
$endgroup$
– Martin R
Dec 14 '18 at 10:15
$begingroup$
Oh. Thanks. When i used the maximum it wasn't using the required bound.
$endgroup$
– blue boy
Dec 14 '18 at 10:17
add a comment |
$begingroup$
You don't need the maximum of $f$. For all $c in [a, b]$
$$
left|int_{a}^{b} f(x) , dx - (b-a)f(c) right| =
left|int_{a}^{b} (f(x)-f(c)) , dx right| \le
int_{a}^{b} | f(x) - f(c) | , dx le
int_{a}^{b} | x-c | , dx \
= int_{a}^{c} (c-x) , dx + int_{c}^{b} (x-c) , dx \
= frac{(c-a)^2}{2} + frac{(b-c)^2}{2} \ le frac{(b-a)^2}{2}
$$
$endgroup$
$begingroup$
How did you get the last inequality?
$endgroup$
– blue boy
Dec 14 '18 at 10:13
1
$begingroup$
@blueboy: $x^2 + y^2 le (x+y)^2$ for nonnegative numbers. You can also see it geometrically if you draw the triangles corresponding to these areas.
$endgroup$
– Martin R
Dec 14 '18 at 10:15
$begingroup$
Oh. Thanks. When i used the maximum it wasn't using the required bound.
$endgroup$
– blue boy
Dec 14 '18 at 10:17
add a comment |
$begingroup$
You don't need the maximum of $f$. For all $c in [a, b]$
$$
left|int_{a}^{b} f(x) , dx - (b-a)f(c) right| =
left|int_{a}^{b} (f(x)-f(c)) , dx right| \le
int_{a}^{b} | f(x) - f(c) | , dx le
int_{a}^{b} | x-c | , dx \
= int_{a}^{c} (c-x) , dx + int_{c}^{b} (x-c) , dx \
= frac{(c-a)^2}{2} + frac{(b-c)^2}{2} \ le frac{(b-a)^2}{2}
$$
$endgroup$
You don't need the maximum of $f$. For all $c in [a, b]$
$$
left|int_{a}^{b} f(x) , dx - (b-a)f(c) right| =
left|int_{a}^{b} (f(x)-f(c)) , dx right| \le
int_{a}^{b} | f(x) - f(c) | , dx le
int_{a}^{b} | x-c | , dx \
= int_{a}^{c} (c-x) , dx + int_{c}^{b} (x-c) , dx \
= frac{(c-a)^2}{2} + frac{(b-c)^2}{2} \ le frac{(b-a)^2}{2}
$$
answered Dec 14 '18 at 10:03
Martin RMartin R
27.5k33255
27.5k33255
$begingroup$
How did you get the last inequality?
$endgroup$
– blue boy
Dec 14 '18 at 10:13
1
$begingroup$
@blueboy: $x^2 + y^2 le (x+y)^2$ for nonnegative numbers. You can also see it geometrically if you draw the triangles corresponding to these areas.
$endgroup$
– Martin R
Dec 14 '18 at 10:15
$begingroup$
Oh. Thanks. When i used the maximum it wasn't using the required bound.
$endgroup$
– blue boy
Dec 14 '18 at 10:17
add a comment |
$begingroup$
How did you get the last inequality?
$endgroup$
– blue boy
Dec 14 '18 at 10:13
1
$begingroup$
@blueboy: $x^2 + y^2 le (x+y)^2$ for nonnegative numbers. You can also see it geometrically if you draw the triangles corresponding to these areas.
$endgroup$
– Martin R
Dec 14 '18 at 10:15
$begingroup$
Oh. Thanks. When i used the maximum it wasn't using the required bound.
$endgroup$
– blue boy
Dec 14 '18 at 10:17
$begingroup$
How did you get the last inequality?
$endgroup$
– blue boy
Dec 14 '18 at 10:13
$begingroup$
How did you get the last inequality?
$endgroup$
– blue boy
Dec 14 '18 at 10:13
1
1
$begingroup$
@blueboy: $x^2 + y^2 le (x+y)^2$ for nonnegative numbers. You can also see it geometrically if you draw the triangles corresponding to these areas.
$endgroup$
– Martin R
Dec 14 '18 at 10:15
$begingroup$
@blueboy: $x^2 + y^2 le (x+y)^2$ for nonnegative numbers. You can also see it geometrically if you draw the triangles corresponding to these areas.
$endgroup$
– Martin R
Dec 14 '18 at 10:15
$begingroup$
Oh. Thanks. When i used the maximum it wasn't using the required bound.
$endgroup$
– blue boy
Dec 14 '18 at 10:17
$begingroup$
Oh. Thanks. When i used the maximum it wasn't using the required bound.
$endgroup$
– blue boy
Dec 14 '18 at 10:17
add a comment |
$begingroup$
Let $c=frac {a+b} 2$. Note that $int_a^{b} [f(x)-f(c)]dx=int_a^{b} f(x)dx-f(c)(b-a)$. Hence $|int_a^{b} f(x)dx-f(c)(b-a)| leq int_a^{b} |f(x)-f(c)|dx leq int_a^{b} |x-c|dx$. calculate this last integal explicitly by making the change of variable $y=x-c$ and you will get the desired inequality.
$endgroup$
add a comment |
$begingroup$
Let $c=frac {a+b} 2$. Note that $int_a^{b} [f(x)-f(c)]dx=int_a^{b} f(x)dx-f(c)(b-a)$. Hence $|int_a^{b} f(x)dx-f(c)(b-a)| leq int_a^{b} |f(x)-f(c)|dx leq int_a^{b} |x-c|dx$. calculate this last integal explicitly by making the change of variable $y=x-c$ and you will get the desired inequality.
$endgroup$
add a comment |
$begingroup$
Let $c=frac {a+b} 2$. Note that $int_a^{b} [f(x)-f(c)]dx=int_a^{b} f(x)dx-f(c)(b-a)$. Hence $|int_a^{b} f(x)dx-f(c)(b-a)| leq int_a^{b} |f(x)-f(c)|dx leq int_a^{b} |x-c|dx$. calculate this last integal explicitly by making the change of variable $y=x-c$ and you will get the desired inequality.
$endgroup$
Let $c=frac {a+b} 2$. Note that $int_a^{b} [f(x)-f(c)]dx=int_a^{b} f(x)dx-f(c)(b-a)$. Hence $|int_a^{b} f(x)dx-f(c)(b-a)| leq int_a^{b} |f(x)-f(c)|dx leq int_a^{b} |x-c|dx$. calculate this last integal explicitly by making the change of variable $y=x-c$ and you will get the desired inequality.
answered Dec 14 '18 at 9:59
Kavi Rama MurthyKavi Rama Murthy
52.9k32055
52.9k32055
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3039166%2fproving-an-inequality-related-to-riemann-integration%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown