Showing a function is strictly decreasing on different intervals

k3k3
Messages
76
Reaction score
0

Homework Statement


Define a function g on ℝ by f(x)=1/x if x < 0 and f(x)=-x if x≥0.
Prove f is strictly decreasing on the intervals (-∞,0) and [0,∞), but that g is not decreasing on ℝ.


Homework Equations





The Attempt at a Solution


I think I understand what I need to show, but I often have trouble properly showing it. I broke it up into the three cases that the directions seem to indicate.

Show g(x)=1/x is strictly decreasing on (-∞,0)

Let x and y be any elements in the interval (-∞,0) that satisfy the inequality x < y.
Since the function on the interval is just the reciprocal, all of the image is between -1 and 0.

For any x < y, it follows that f(x) > f(y) because the larger the magnitude of the element, the further away from 0 the element is and thus the closer its reciprocal is to 0.

Show g(x)=-x is strictly decreasing on [0,∞)

Since g is a linear function on the interval [0,∞) with a negative slope, this function is strictly decreasing on [0,∞).

Show g is not strictly decreasing on ℝ

Suppose g is strictly decreasing on ℝ
Then g(.5) > g(0)→ -2 > 0
This is not true, so it cannot be decreasing at this portion of the range.
Hence, g is not strictly decreasing on ℝ.
 
Physics news on Phys.org
k3k3 said:

Homework Statement


Define a function g on ℝ by f(x)=1/x if x < 0 and f(x)=-x if x≥0.
Prove f is strictly decreasing on the intervals (-∞,0) and [0,∞), but that g is not decreasing on ℝ.
Is the function g or f?
I think this is what you meant to say:
Define a function g on ℝ by g(x)=1/x if x < 0 and g(x)=-x if x≥0.
Prove g is strictly decreasing on the intervals (-∞,0) and [0,∞), but that g is not decreasing on ℝ.
k3k3 said:

Homework Equations


The Attempt at a Solution


I think I understand what I need to show, but I often have trouble properly showing it. I broke it up into the three cases that the directions seem to indicate.

Show g(x)=1/x is strictly decreasing on (-∞,0)

Let x and y be any elements in the interval (-∞,0) that satisfy the inequality x < y.
Since the function on the interval is just the reciprocal, all of the image is between -1 and 0.
What's this about the image being between -1 and 0? For example, let x = -1/2 and y = -1/3. Then 1/x = -2 and 1/y = -3.

Since x < y, and both numbers are negative, then 1/x > 1/y, so g is decreasing. I think this is all you need to say.
k3k3 said:
For any x < y, it follows that f(x) > f(y) because the larger the magnitude of the element, the further away from 0 the element is and thus the closer its reciprocal is to 0.

Show g(x)=-x is strictly decreasing on [0,∞)

Since g is a linear function on the interval [0,∞) with a negative slope, this function is strictly decreasing on [0,∞).

Show g is not strictly decreasing on ℝ

Suppose g is strictly decreasing on ℝ
Then g(.5) > g(0)→ -2 > 0
This is not true, so it cannot be decreasing at this portion of the range.
Hence, g is not strictly decreasing on ℝ.
 
Yes, I meant how you corrected it. Sorry about that!

Other than the first part, the rest looks good?
 
I didn't look at anything very closely after the comments I inserted earlier. Here's the rest of your proof.
k3k3 said:
For any x < y, it follows that f(x) > f(y) because the larger the magnitude of the element, the further away from 0 the element is and thus the closer its reciprocal is to 0.
Don't say "it follows that f(x) > f(y) because ..." Just show it like I did in my earlier post. What you have above, IMO, is more wordy than it should be, and less mathematical than it should be.

Also, since you are presumably in a calculus class (you posted this in the Calculus & Beyond section), you can show that g'(x) < 0 for all x in (-∞, 0), and there's a connection between that fact and whether a function is increasing or decreasing.
k3k3 said:
Show g(x)=-x is strictly decreasing on [0,∞)

Since g is a linear function on the interval [0,∞) with a negative slope, this function is strictly decreasing on [0,∞).

Show g is not strictly decreasing on ℝ

Suppose g is strictly decreasing on ℝ
Then g(.5) > g(0)→ -2 > 0
This is not true, so it cannot be decreasing at this portion of the range.
Hence, g is not strictly decreasing on ℝ.
g(.5) = -.5, not -2. On the interval you chose -- [0, .5] -- g is in fact decreasing, so this does not further your argument. If you haven't sketched a graph of the function, you should do so, and this will help you understand why this function isn't decreasing on R even though it is decreasing on each half of its domain.
 
g(.5) was a typo. I meant g(-.5) since when x < 0, g(x) = 1/x and that is why I said -2. That should show why it is not decreasing on all of R since -2 < 0.

Thank you for the suggestions! I will revise my proof.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top