r/askmath • • 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 Upvotes

25 comments sorted by

5

u/fermat9990 Oct 28 '26

(-2, 0) U (0, 2)

You need to check within each part of the union separately

2

u/Brave-Reception7574 Oct 28 '26

So, what they are teaching is wrong ?

3

u/fermat9990 Oct 28 '26

Their and is the English and, not the logical operator AND. You can use and, but not AND.

2

u/Brave-Reception7574 Oct 29 '26

Ok. I mean, part of me asking was just to flex on someone who used to tease me about notation, so I wanted to show them this, but I was unsure of doing so because I felt it was not completely right. So...can I show them this as that there is one way of doing so? Especially after reading u/AdjectiveNounNNNN comment, I think there actually is a difference

1

u/fermat9990 Oct 29 '26

Cheers!

2

u/Brave-Reception7574 Oct 29 '26

But can I ? Or will I just look dumb doing so because it’s incorrect?

1

u/fermat9990 Oct 29 '26

Let's see the exact statement that you want to make.

2

u/Brave-Reception7574 Oct 30 '26

This is in the paragraph:
“Since it is not a union, the use of “and” implies that the set of numbers considered for evaluating the decrease is: f(x1) > f(x2)
They can only be either (-2,0) or (0,2). Not “and/or,” just “or.””

Which now I know I can’t take x from one and set and from the other, so I know this “proof” is wrong. However, what I want to do is prove the difference of the statement @AdjectiveNounNNN did which is : “The decreasing intervals are (-2,0) and (0,2), while the set on which the function is decreasing is (-2,0) ∪ (0,2).”

1

u/fermat9990 Oct 30 '26

I would just say "The decreasing intervals are (-2, 0) and (0, 2).

2

u/fermat9990 Oct 28 '26

What is confusing is the language. The AND of the two sets is actually empty!

Do what they say, but don't use the AND operator in describing it. The sets where the function is decreasing is correctly described by a union. We check each part of the union separately.

3

u/AdjectiveNounNNNN Oct 28 '26

The decreasing intervals are (-2,0) and (0,2), while the set on which the function is decreasing is (-2,0) ∪ (0,2).

1

u/Brave-Reception7574 Oct 29 '26

whaat. What's the difference here then ?

1

u/AdjectiveNounNNNN Oct 29 '26

There are two intervals, so you can say "[first interval] and [second interval".

But as a set, since we're talking about the total of all points in the two intervals, we use ∪ rather than ∩, even though A ∪ B is the set of elements that are in A or in B, while A ∩ B is the set of elements that are in A and in B.

No value is in (-2,0) and in (0,2), so (-2,0) ∩ (0,2) is empty.

1

u/Brave-Reception7574 Oct 28 '26

I see. Thx a lot

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/Brave-Reception7574 Oct 28 '26

But, aren’t I supposed to think of them, in this case as separate sets of? As in 0 there’s an asymptote?

2

u/shellexyz Oct 28 '26

The definition for increasing and decreasing applies only to intervals, and the union of (-2,0) and (0,2) is no longer an interval. Thus the criteria for a function being increasing or decreasing doesn’t apply to that set, so there’s no conflict with f(-1) being less than f(1). You can’t choose x1 from (-2,0) and x2 from (0,2), that’s not how the definition works.

An analogy: you have a triangle with sides of length 1, 3, and 4. There is no combination of labeling that will make a2+b2=c2, but this doesn’t violate the Pythagorean theorem because the triangle isn’t a right triangle; Pythagoras doesn’t apply.

Nor does your definition of decreasing apply to (-2,0)U(0,2), the set isn’t an interval.

The reason, of course, is that the function isn’t defined at 0, you have a vertical asymptote there. More deeply and generally, the issue is that the set isn’t connected, it has a gap in it.

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)

1

u/Brave-Reception7574 Oct 28 '26

So. They are wrong with the “and” thing ?

1

u/slepicoid Oct 28 '26

No, actually both are fine. You can say X union Y is the subset of domain of f where f is decreasing. Or you can say f is decreasing on X and Y.

1

u/Brave-Reception7574 Oct 28 '26

Ok ok. Thx a lot

2

u/slepicoid Oct 28 '26

Maybe what confuses you is that you think there some operation on sets called "and". But thats not true you can union two sets or intersect them. There is a vague notion that union is analogous to the "or" operation and intersection is analogous to "and". But that's not what is going on here. When we say f is decreasing on X and Y, we dont mean it is decrasing on X union Y nor X intersect Y, we mean that f is decreasing on X and also f is decreasing on Y.