Proving uniform continuity of $f(x) = x sin{frac{1}{x}}$ on $(1,2)$ directly from the definition.












-1












$begingroup$


Before this is marked as a duplicate, I have already looked at the answers here and here.



I believe my question is different because I want to do this proof directly from the definition. The proof given at the first link uses the property of compactness, Lipschitz continuity and derivatives to support the argument. However, my professor's real analysis approach has not been that of metric spaces and, additionally, Lipschitz continuity has not been discussed yet so I'd like to avoid them for now and attempt this proof directly from the definition. I'm interested in a proof similar to the second answer given on the first link but, unfortunately, there are no comments on whether or not it is correct.



The question is to determine whether or not $f(x) = x sin{frac{1}{x}}$ is uniform continuous on $(1,2)$.



I present my own attempt:



Given $epsilon>0$, let $delta= frac{epsilon-1}{2}$ Then $|x-y|<delta implies$ $$left | f(x)-f(y)right | =left | xsin left(frac{1}{x}right)-ysin left(frac{1}{y}right) right|=
left |(x-y) left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right) -xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|
leq left |(x-y) left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right)right| + left|-xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|$$



$$leq left |x-y right| left |left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right)right| + left|-xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|$$



$$leq 2left |x-y right|+1 < 2cdot (frac{epsilon-1}{2})+1=epsilon$$



Any help is appreciated.










share|cite|improve this question











$endgroup$












  • $begingroup$
    The answers at the duplicate link are both upvoted, one is accepted by the asker, and the other has 10 upvotes, hence very well received by the community. The fact that a highly upvoted answer has no comments is not sufficient reason to ask the question again.
    $endgroup$
    – Namaste
    Dec 23 '18 at 12:07






  • 1




    $begingroup$
    @amWhy The answer has 3 upvotes, not 10. The one with 10 is the one that was accepted by the OP which is the one that uses the approach I'm trying to avoid. 3 is definitely not a very highly upvoted answer. It's possible that perhaps 3 other users that used a similar approach upvoted that answer to attract some attention.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:12






  • 1




    $begingroup$
    @amWhy I hope that explains why I had to post a separate question. I really need input on this approach, but now that it has been marked as a duplicate how will I get any assistance on this approach? Again, I'll add that that answer had no comments and only 3 upvotes so surely one is not immediately expected to conclude that it was very well received by the community.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:17






  • 1




    $begingroup$
    @amWhy I get you, but what if I need input on this specific approach? I did, after all, also add a tag of proof verification. And according to the guidelines, if a question has been asked before and already has an answer but those answers do not fully address your question, you can ask a new question.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:28






  • 1




    $begingroup$
    I did not see your proof-verification tag. I will reopen, and perhaps emphasize that you are seeking feedback on your proof.
    $endgroup$
    – Namaste
    Dec 23 '18 at 12:33
















-1












$begingroup$


Before this is marked as a duplicate, I have already looked at the answers here and here.



I believe my question is different because I want to do this proof directly from the definition. The proof given at the first link uses the property of compactness, Lipschitz continuity and derivatives to support the argument. However, my professor's real analysis approach has not been that of metric spaces and, additionally, Lipschitz continuity has not been discussed yet so I'd like to avoid them for now and attempt this proof directly from the definition. I'm interested in a proof similar to the second answer given on the first link but, unfortunately, there are no comments on whether or not it is correct.



The question is to determine whether or not $f(x) = x sin{frac{1}{x}}$ is uniform continuous on $(1,2)$.



I present my own attempt:



Given $epsilon>0$, let $delta= frac{epsilon-1}{2}$ Then $|x-y|<delta implies$ $$left | f(x)-f(y)right | =left | xsin left(frac{1}{x}right)-ysin left(frac{1}{y}right) right|=
left |(x-y) left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right) -xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|
leq left |(x-y) left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right)right| + left|-xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|$$



$$leq left |x-y right| left |left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right)right| + left|-xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|$$



$$leq 2left |x-y right|+1 < 2cdot (frac{epsilon-1}{2})+1=epsilon$$



Any help is appreciated.










share|cite|improve this question











$endgroup$












  • $begingroup$
    The answers at the duplicate link are both upvoted, one is accepted by the asker, and the other has 10 upvotes, hence very well received by the community. The fact that a highly upvoted answer has no comments is not sufficient reason to ask the question again.
    $endgroup$
    – Namaste
    Dec 23 '18 at 12:07






  • 1




    $begingroup$
    @amWhy The answer has 3 upvotes, not 10. The one with 10 is the one that was accepted by the OP which is the one that uses the approach I'm trying to avoid. 3 is definitely not a very highly upvoted answer. It's possible that perhaps 3 other users that used a similar approach upvoted that answer to attract some attention.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:12






  • 1




    $begingroup$
    @amWhy I hope that explains why I had to post a separate question. I really need input on this approach, but now that it has been marked as a duplicate how will I get any assistance on this approach? Again, I'll add that that answer had no comments and only 3 upvotes so surely one is not immediately expected to conclude that it was very well received by the community.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:17






  • 1




    $begingroup$
    @amWhy I get you, but what if I need input on this specific approach? I did, after all, also add a tag of proof verification. And according to the guidelines, if a question has been asked before and already has an answer but those answers do not fully address your question, you can ask a new question.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:28






  • 1




    $begingroup$
    I did not see your proof-verification tag. I will reopen, and perhaps emphasize that you are seeking feedback on your proof.
    $endgroup$
    – Namaste
    Dec 23 '18 at 12:33














-1












-1








-1





$begingroup$


Before this is marked as a duplicate, I have already looked at the answers here and here.



I believe my question is different because I want to do this proof directly from the definition. The proof given at the first link uses the property of compactness, Lipschitz continuity and derivatives to support the argument. However, my professor's real analysis approach has not been that of metric spaces and, additionally, Lipschitz continuity has not been discussed yet so I'd like to avoid them for now and attempt this proof directly from the definition. I'm interested in a proof similar to the second answer given on the first link but, unfortunately, there are no comments on whether or not it is correct.



The question is to determine whether or not $f(x) = x sin{frac{1}{x}}$ is uniform continuous on $(1,2)$.



I present my own attempt:



Given $epsilon>0$, let $delta= frac{epsilon-1}{2}$ Then $|x-y|<delta implies$ $$left | f(x)-f(y)right | =left | xsin left(frac{1}{x}right)-ysin left(frac{1}{y}right) right|=
left |(x-y) left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right) -xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|
leq left |(x-y) left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right)right| + left|-xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|$$



$$leq left |x-y right| left |left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right)right| + left|-xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|$$



$$leq 2left |x-y right|+1 < 2cdot (frac{epsilon-1}{2})+1=epsilon$$



Any help is appreciated.










share|cite|improve this question











$endgroup$




Before this is marked as a duplicate, I have already looked at the answers here and here.



I believe my question is different because I want to do this proof directly from the definition. The proof given at the first link uses the property of compactness, Lipschitz continuity and derivatives to support the argument. However, my professor's real analysis approach has not been that of metric spaces and, additionally, Lipschitz continuity has not been discussed yet so I'd like to avoid them for now and attempt this proof directly from the definition. I'm interested in a proof similar to the second answer given on the first link but, unfortunately, there are no comments on whether or not it is correct.



The question is to determine whether or not $f(x) = x sin{frac{1}{x}}$ is uniform continuous on $(1,2)$.



I present my own attempt:



Given $epsilon>0$, let $delta= frac{epsilon-1}{2}$ Then $|x-y|<delta implies$ $$left | f(x)-f(y)right | =left | xsin left(frac{1}{x}right)-ysin left(frac{1}{y}right) right|=
left |(x-y) left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right) -xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|
leq left |(x-y) left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right)right| + left|-xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|$$



$$leq left |x-y right| left |left( sin left(frac{1}{x}right)+sin left(frac{1}{y}right) right)right| + left|-xsin left(frac{1}{y} right)+ysin left(frac{1}{x} right)right|$$



$$leq 2left |x-y right|+1 < 2cdot (frac{epsilon-1}{2})+1=epsilon$$



Any help is appreciated.







real-analysis calculus proof-verification continuity uniform-continuity






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 23 '18 at 12:01









Namaste

1




1










asked Dec 23 '18 at 11:49









E.NoleE.Nole

301114




301114












  • $begingroup$
    The answers at the duplicate link are both upvoted, one is accepted by the asker, and the other has 10 upvotes, hence very well received by the community. The fact that a highly upvoted answer has no comments is not sufficient reason to ask the question again.
    $endgroup$
    – Namaste
    Dec 23 '18 at 12:07






  • 1




    $begingroup$
    @amWhy The answer has 3 upvotes, not 10. The one with 10 is the one that was accepted by the OP which is the one that uses the approach I'm trying to avoid. 3 is definitely not a very highly upvoted answer. It's possible that perhaps 3 other users that used a similar approach upvoted that answer to attract some attention.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:12






  • 1




    $begingroup$
    @amWhy I hope that explains why I had to post a separate question. I really need input on this approach, but now that it has been marked as a duplicate how will I get any assistance on this approach? Again, I'll add that that answer had no comments and only 3 upvotes so surely one is not immediately expected to conclude that it was very well received by the community.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:17






  • 1




    $begingroup$
    @amWhy I get you, but what if I need input on this specific approach? I did, after all, also add a tag of proof verification. And according to the guidelines, if a question has been asked before and already has an answer but those answers do not fully address your question, you can ask a new question.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:28






  • 1




    $begingroup$
    I did not see your proof-verification tag. I will reopen, and perhaps emphasize that you are seeking feedback on your proof.
    $endgroup$
    – Namaste
    Dec 23 '18 at 12:33


















  • $begingroup$
    The answers at the duplicate link are both upvoted, one is accepted by the asker, and the other has 10 upvotes, hence very well received by the community. The fact that a highly upvoted answer has no comments is not sufficient reason to ask the question again.
    $endgroup$
    – Namaste
    Dec 23 '18 at 12:07






  • 1




    $begingroup$
    @amWhy The answer has 3 upvotes, not 10. The one with 10 is the one that was accepted by the OP which is the one that uses the approach I'm trying to avoid. 3 is definitely not a very highly upvoted answer. It's possible that perhaps 3 other users that used a similar approach upvoted that answer to attract some attention.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:12






  • 1




    $begingroup$
    @amWhy I hope that explains why I had to post a separate question. I really need input on this approach, but now that it has been marked as a duplicate how will I get any assistance on this approach? Again, I'll add that that answer had no comments and only 3 upvotes so surely one is not immediately expected to conclude that it was very well received by the community.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:17






  • 1




    $begingroup$
    @amWhy I get you, but what if I need input on this specific approach? I did, after all, also add a tag of proof verification. And according to the guidelines, if a question has been asked before and already has an answer but those answers do not fully address your question, you can ask a new question.
    $endgroup$
    – E.Nole
    Dec 23 '18 at 12:28






  • 1




    $begingroup$
    I did not see your proof-verification tag. I will reopen, and perhaps emphasize that you are seeking feedback on your proof.
    $endgroup$
    – Namaste
    Dec 23 '18 at 12:33
















$begingroup$
The answers at the duplicate link are both upvoted, one is accepted by the asker, and the other has 10 upvotes, hence very well received by the community. The fact that a highly upvoted answer has no comments is not sufficient reason to ask the question again.
$endgroup$
– Namaste
Dec 23 '18 at 12:07




$begingroup$
The answers at the duplicate link are both upvoted, one is accepted by the asker, and the other has 10 upvotes, hence very well received by the community. The fact that a highly upvoted answer has no comments is not sufficient reason to ask the question again.
$endgroup$
– Namaste
Dec 23 '18 at 12:07




1




1




$begingroup$
@amWhy The answer has 3 upvotes, not 10. The one with 10 is the one that was accepted by the OP which is the one that uses the approach I'm trying to avoid. 3 is definitely not a very highly upvoted answer. It's possible that perhaps 3 other users that used a similar approach upvoted that answer to attract some attention.
$endgroup$
– E.Nole
Dec 23 '18 at 12:12




$begingroup$
@amWhy The answer has 3 upvotes, not 10. The one with 10 is the one that was accepted by the OP which is the one that uses the approach I'm trying to avoid. 3 is definitely not a very highly upvoted answer. It's possible that perhaps 3 other users that used a similar approach upvoted that answer to attract some attention.
$endgroup$
– E.Nole
Dec 23 '18 at 12:12




1




1




$begingroup$
@amWhy I hope that explains why I had to post a separate question. I really need input on this approach, but now that it has been marked as a duplicate how will I get any assistance on this approach? Again, I'll add that that answer had no comments and only 3 upvotes so surely one is not immediately expected to conclude that it was very well received by the community.
$endgroup$
– E.Nole
Dec 23 '18 at 12:17




$begingroup$
@amWhy I hope that explains why I had to post a separate question. I really need input on this approach, but now that it has been marked as a duplicate how will I get any assistance on this approach? Again, I'll add that that answer had no comments and only 3 upvotes so surely one is not immediately expected to conclude that it was very well received by the community.
$endgroup$
– E.Nole
Dec 23 '18 at 12:17




1




1




$begingroup$
@amWhy I get you, but what if I need input on this specific approach? I did, after all, also add a tag of proof verification. And according to the guidelines, if a question has been asked before and already has an answer but those answers do not fully address your question, you can ask a new question.
$endgroup$
– E.Nole
Dec 23 '18 at 12:28




$begingroup$
@amWhy I get you, but what if I need input on this specific approach? I did, after all, also add a tag of proof verification. And according to the guidelines, if a question has been asked before and already has an answer but those answers do not fully address your question, you can ask a new question.
$endgroup$
– E.Nole
Dec 23 '18 at 12:28




1




1




$begingroup$
I did not see your proof-verification tag. I will reopen, and perhaps emphasize that you are seeking feedback on your proof.
$endgroup$
– Namaste
Dec 23 '18 at 12:33




$begingroup$
I did not see your proof-verification tag. I will reopen, and perhaps emphasize that you are seeking feedback on your proof.
$endgroup$
– Namaste
Dec 23 '18 at 12:33










1 Answer
1






active

oldest

votes


















3












$begingroup$

The problem with your approach is that $delta = frac{epsilon - 1}{2}$ is not a very good choice of $delta$: what if $epsilon-1<0$? Here is a correct solution.



We have that $|sin(s) - sin(t)| = left|2overbrace{sinleft(frac{s-t}{2}right)}^{leq frac{s-t}{2}}underbrace{cosleft(frac{s+t}{2}right)}_{leq 1}right| leq |s-t|$ for any real $s,t$.



This implies that $|sin frac{1}{x} - sin frac{1}{y}| leq left|frac{1}{x} - frac{1}{y}right| = left|frac{x-y}{xy}right| leq |x-y|$ since $xy geq 1$, since $x,y in (1,2)$.



Consequently, observe that $$left|xsin frac{1}{x} - y sin frac{1}{y}right| = left|xleft(sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right) + sinleft(frac{1}{y}right)(x-y)right| leq overbrace{|x|}^{leq 2}underbrace{left|sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right|}_{leq |x-y|}$$ $$+ underbrace{left|sinleft(frac{1}{y}right)right|}_{leq 1}|x-y| leq 3|x-y|
< epsilon$$
provided we choose $delta = frac{epsilon}{3}$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks! Now I see why my delta isn't a good choice. I was thinking, what if, say, I took the absolute value instead? i.e $delta =| frac{epsilon - 1}{2}|$? Then realised there'd be a problem if the numerator were $0$. So my question is that is it a general strategy to not have the choice of $delta$ depend on a value that includes something like $epsilon -a$ where $a>0$?
    $endgroup$
    – E.Nole
    Dec 23 '18 at 14:33














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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3050283%2fproving-uniform-continuity-of-fx-x-sin-frac1x-on-1-2-directly-f%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3












$begingroup$

The problem with your approach is that $delta = frac{epsilon - 1}{2}$ is not a very good choice of $delta$: what if $epsilon-1<0$? Here is a correct solution.



We have that $|sin(s) - sin(t)| = left|2overbrace{sinleft(frac{s-t}{2}right)}^{leq frac{s-t}{2}}underbrace{cosleft(frac{s+t}{2}right)}_{leq 1}right| leq |s-t|$ for any real $s,t$.



This implies that $|sin frac{1}{x} - sin frac{1}{y}| leq left|frac{1}{x} - frac{1}{y}right| = left|frac{x-y}{xy}right| leq |x-y|$ since $xy geq 1$, since $x,y in (1,2)$.



Consequently, observe that $$left|xsin frac{1}{x} - y sin frac{1}{y}right| = left|xleft(sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right) + sinleft(frac{1}{y}right)(x-y)right| leq overbrace{|x|}^{leq 2}underbrace{left|sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right|}_{leq |x-y|}$$ $$+ underbrace{left|sinleft(frac{1}{y}right)right|}_{leq 1}|x-y| leq 3|x-y|
< epsilon$$
provided we choose $delta = frac{epsilon}{3}$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks! Now I see why my delta isn't a good choice. I was thinking, what if, say, I took the absolute value instead? i.e $delta =| frac{epsilon - 1}{2}|$? Then realised there'd be a problem if the numerator were $0$. So my question is that is it a general strategy to not have the choice of $delta$ depend on a value that includes something like $epsilon -a$ where $a>0$?
    $endgroup$
    – E.Nole
    Dec 23 '18 at 14:33


















3












$begingroup$

The problem with your approach is that $delta = frac{epsilon - 1}{2}$ is not a very good choice of $delta$: what if $epsilon-1<0$? Here is a correct solution.



We have that $|sin(s) - sin(t)| = left|2overbrace{sinleft(frac{s-t}{2}right)}^{leq frac{s-t}{2}}underbrace{cosleft(frac{s+t}{2}right)}_{leq 1}right| leq |s-t|$ for any real $s,t$.



This implies that $|sin frac{1}{x} - sin frac{1}{y}| leq left|frac{1}{x} - frac{1}{y}right| = left|frac{x-y}{xy}right| leq |x-y|$ since $xy geq 1$, since $x,y in (1,2)$.



Consequently, observe that $$left|xsin frac{1}{x} - y sin frac{1}{y}right| = left|xleft(sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right) + sinleft(frac{1}{y}right)(x-y)right| leq overbrace{|x|}^{leq 2}underbrace{left|sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right|}_{leq |x-y|}$$ $$+ underbrace{left|sinleft(frac{1}{y}right)right|}_{leq 1}|x-y| leq 3|x-y|
< epsilon$$
provided we choose $delta = frac{epsilon}{3}$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks! Now I see why my delta isn't a good choice. I was thinking, what if, say, I took the absolute value instead? i.e $delta =| frac{epsilon - 1}{2}|$? Then realised there'd be a problem if the numerator were $0$. So my question is that is it a general strategy to not have the choice of $delta$ depend on a value that includes something like $epsilon -a$ where $a>0$?
    $endgroup$
    – E.Nole
    Dec 23 '18 at 14:33
















3












3








3





$begingroup$

The problem with your approach is that $delta = frac{epsilon - 1}{2}$ is not a very good choice of $delta$: what if $epsilon-1<0$? Here is a correct solution.



We have that $|sin(s) - sin(t)| = left|2overbrace{sinleft(frac{s-t}{2}right)}^{leq frac{s-t}{2}}underbrace{cosleft(frac{s+t}{2}right)}_{leq 1}right| leq |s-t|$ for any real $s,t$.



This implies that $|sin frac{1}{x} - sin frac{1}{y}| leq left|frac{1}{x} - frac{1}{y}right| = left|frac{x-y}{xy}right| leq |x-y|$ since $xy geq 1$, since $x,y in (1,2)$.



Consequently, observe that $$left|xsin frac{1}{x} - y sin frac{1}{y}right| = left|xleft(sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right) + sinleft(frac{1}{y}right)(x-y)right| leq overbrace{|x|}^{leq 2}underbrace{left|sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right|}_{leq |x-y|}$$ $$+ underbrace{left|sinleft(frac{1}{y}right)right|}_{leq 1}|x-y| leq 3|x-y|
< epsilon$$
provided we choose $delta = frac{epsilon}{3}$.






share|cite|improve this answer









$endgroup$



The problem with your approach is that $delta = frac{epsilon - 1}{2}$ is not a very good choice of $delta$: what if $epsilon-1<0$? Here is a correct solution.



We have that $|sin(s) - sin(t)| = left|2overbrace{sinleft(frac{s-t}{2}right)}^{leq frac{s-t}{2}}underbrace{cosleft(frac{s+t}{2}right)}_{leq 1}right| leq |s-t|$ for any real $s,t$.



This implies that $|sin frac{1}{x} - sin frac{1}{y}| leq left|frac{1}{x} - frac{1}{y}right| = left|frac{x-y}{xy}right| leq |x-y|$ since $xy geq 1$, since $x,y in (1,2)$.



Consequently, observe that $$left|xsin frac{1}{x} - y sin frac{1}{y}right| = left|xleft(sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right) + sinleft(frac{1}{y}right)(x-y)right| leq overbrace{|x|}^{leq 2}underbrace{left|sin left(frac{1}{x}right) - sinleft(frac{1}{y}right)right|}_{leq |x-y|}$$ $$+ underbrace{left|sinleft(frac{1}{y}right)right|}_{leq 1}|x-y| leq 3|x-y|
< epsilon$$
provided we choose $delta = frac{epsilon}{3}$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 23 '18 at 13:25









MathematicsStudent1122MathematicsStudent1122

9,00332668




9,00332668












  • $begingroup$
    Thanks! Now I see why my delta isn't a good choice. I was thinking, what if, say, I took the absolute value instead? i.e $delta =| frac{epsilon - 1}{2}|$? Then realised there'd be a problem if the numerator were $0$. So my question is that is it a general strategy to not have the choice of $delta$ depend on a value that includes something like $epsilon -a$ where $a>0$?
    $endgroup$
    – E.Nole
    Dec 23 '18 at 14:33




















  • $begingroup$
    Thanks! Now I see why my delta isn't a good choice. I was thinking, what if, say, I took the absolute value instead? i.e $delta =| frac{epsilon - 1}{2}|$? Then realised there'd be a problem if the numerator were $0$. So my question is that is it a general strategy to not have the choice of $delta$ depend on a value that includes something like $epsilon -a$ where $a>0$?
    $endgroup$
    – E.Nole
    Dec 23 '18 at 14:33


















$begingroup$
Thanks! Now I see why my delta isn't a good choice. I was thinking, what if, say, I took the absolute value instead? i.e $delta =| frac{epsilon - 1}{2}|$? Then realised there'd be a problem if the numerator were $0$. So my question is that is it a general strategy to not have the choice of $delta$ depend on a value that includes something like $epsilon -a$ where $a>0$?
$endgroup$
– E.Nole
Dec 23 '18 at 14:33






$begingroup$
Thanks! Now I see why my delta isn't a good choice. I was thinking, what if, say, I took the absolute value instead? i.e $delta =| frac{epsilon - 1}{2}|$? Then realised there'd be a problem if the numerator were $0$. So my question is that is it a general strategy to not have the choice of $delta$ depend on a value that includes something like $epsilon -a$ where $a>0$?
$endgroup$
– E.Nole
Dec 23 '18 at 14:33




















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3050283%2fproving-uniform-continuity-of-fx-x-sin-frac1x-on-1-2-directly-f%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Le Mesnil-Réaume

Ida-Boy-Ed-Garten

web3.py web3.isConnected() returns false always