Determining if a number is within an interval

  • Thread starter Thread starter rxh140630
  • Start date Start date
  • Tags Tags
    Interval
Click For Summary

Homework Help Overview

The discussion revolves around determining if a linear combination of two numbers, \(yk + (1-k)x\), lies within a specified interval \([a,b]\) given certain conditions on \(k\), \(x\), and \(y\). The subject area includes concepts from real analysis and inequalities.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants explore the validity of the original poster's reasoning regarding the expression \(yk + (1-k)y\) and its implications for proving that \(yk + (1-k)x\) is within the interval. Questions arise about the necessity of the condition \(a < b\) and the clarity of the proof's exposition.

Discussion Status

Some participants acknowledge that the original poster's approach contains the right idea but suggest improvements in clarity and rigor. There is an ongoing examination of the assumptions made, particularly regarding the values of \(a\) and \(b\), and the correctness of the expressions used.

Contextual Notes

Participants note the importance of the condition \(a < b\) for the problem's context and question the validity of certain algebraic manipulations within the proof. The discussion reflects a mix of interpretations and clarifications regarding the proof's structure and assumptions.

rxh140630
Messages
60
Reaction score
11
Homework Statement
I can't see itex formatting, and if I made a mistake in formatting or not, for the homework statement section, so as to save time and any confusion I will write the question in the solution attempt.
Relevant Equations
none that I know
0<k<1
x<y
[itex]x,y \in {[a,b]}[/itex]
[itex]a,b \in {\mathbb R}[/itex]

Question: is [itex]yk + (1-k)x \in {[a,b]}[/itex]

My response:

[itex]yk + (1-k)y = y[/itex]

Since [itex]x<y[/itex], [itex]yk + (1-k)x < y[/itex]

[itex]xk + (1-k)x = x[/itex]

Since [itex]y>x[/itex], [itex]yk + (1-k)x > x[/itex]

Therefore [itex]x < yk + (1-k)x < y[/itex], so yk + (1-k)x is in the interval [a,b]

Is this considered proven? Did I miss anything?
 
Physics news on Phys.org
##yk + (1-k)y =y## makes no sense. This is not true for all values of ##k##. You must also require ##a < b##. Your goal is to show that ##yk + (1-k)x \in [a,b]## and you showed that ##yk + (1-k)x \in [x,y] \subseteq [a,b]## so I guess your attempt does contain the right idea, but the exposition can be better imo.
 
Math_QED said:
##yk + (1-k)y =y## makes no sense. This is not true for all values of ##k##. You must also require ##a < b##. Your goal is to show that ##yk + (1-k)x \in [a,b]## and you showed that ##yk + (1-k)x \in [x,y] \subseteq [a,b]## so I guess your attempt does contain the right idea, but the exposition can be better imo.

Sorry, yes also a<b. I don't understand why [itex]yk + (1-k)y = y[/itex] doesn't make sense? For all values of k s.t 0<k<1, yk + (1-k)y = yk + y -yk = y.
 
rxh140630 said:
Sorry, yes also a<b. I don't understand why [itex]yk + (1-k)y = y[/itex] doesn't make sense? For all values of k s.t 0<k<1, yk + (1-k)y = yk + y -yk = y.

I misread and misquoted sorry. It surely is correct. But that sentence is not necessary for your proof?
 
Perhaps not, just wanted to make sure that it's correct, regardless of elegance.
 
Your proof is valid. I would just encourage you to make it a little more step-by-step, like this:
Since x < y and k > 0, ##xk + (1-k)y < yk + (1-k)y = y < b##.
 
  • Like
Likes   Reactions: rxh140630 and SammyS

Similar threads

Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
3
Views
2K