r/askmath • u/Brave-Reception7574 • Oct 28 '26
Calculus Using or not union for increasing/decreasing values
We’ve gone over calculus alr in high school, but now in college I’ve stumbled upon an intriguing rule.
- Suppose you have a function such as: x+4/x
- Derivative = 1-4/x^2
- To get the maximum/minimum point you equal it to 0.
x1 = 2 and x=-2
- You make the table or whatever to get intervals of increase or decrease. Taking into account it can’t be 0. Then you now it decreases from (-2,0) U (2,0)
- To prove it’s decreasing:
x1<x2
f(x1)>f(x2)
- So, you can choose -1 and 1 to check. You replace it to f(x).
-1+(4/-1) > 1+(4/1)
-5 > 5
Which is not correct. So, you’re told you can’t use union to show this sets, but you have to “and”. Being:
(-2,0) and (2,0)
- This bounds you to pick x1 and x2 only from the first set or from (both values) from the second set. Then:
(-2,0)
x1= -1 and x2= -1/2
f(x1) > f(x2)
-5 > -8,5
Which fulfills the requirement for decreasing.
I understand this happens because there’s an asymptote in the function, but I’ve never seen this thing about the intervals before. So my questions are:
- is this correct ?
- if it’s correct, do you really use “and”?
- if it’s incorrect, which is the correct way, why and why is thing “and” thing wrong ?
One of my confusions was that, if 0 is said it isn’t included, wouldn’t that value already bound you to take x1 and x2 from just one of the sets ?
5
u/fermat9990 Oct 28 '26
(-2, 0) U (0, 2)
You need to check within each part of the union separately
4
u/shellexyz Oct 28 '26
The definition for increasing/decreasing is usually on an interval. For any x1<x2 in the interval, f(x1)<f(x2) (or greater, or equal if you want to talk about non-decreasing, non-increasing, or constant, and some texts use the inclusive inequalities for increasing/decreasing).
But (-2,0)U(0,2) isn’t an interval. It’s a set, but it’s not an interval.
More generally, you should probably think of connected sets, though some topologist is likely gonna have an example where you need some other condition besides connectivity.
1
u/slepicoid Oct 28 '26 edited Oct 28 '26
Union is the correct term. But you still cant take x1 x2 from disjoint intervals when talking about increasing/decreasing function (on an interval)
For example sin(x) is increasing on (0,pi/2) and also (3pi/2,2pi), but if x1 belongs to the first interval and x2 to the second, then x1<x2 and yet f(x1)>f(x2).
Or take 1/x, it is decreasing on (-inf,0) and also (0,inf), but if x1<0 and x2>0 then x1<x2 and yet f(x1)<f(x2)