Valhalla Legends Forums Archive | Yoni's Math Forum | Calculus I homework problem, need help.

AuthorMessageTime
bethra
Ok, so here is the problem:
[quote]4.    Not all functions in mathematics arise as nice combinations of previously seen functions.  Consider the following two functions:

f(x) = { x  if x is rational
            0  if x is irrational }

g(x) = { x^2  if x is rational
            0      if x is irrational }

(a)    You can't graph these functions in the same way that you can other functions that we've seen.  However, since it's useful to have an idea of what a function looks like, sketch (by hand) the graphs of f(x) and g(x) at the bottom of the page.[/quote]

Now part (a) seems easy enough.  Although I'm not 100% sure I'm correct.

My hand drawn sketch for the first piece (x and x^2) of each piecewise function (f(x) and g(x)) basically looks like a shit load of inclusive (solid) points, since a rational number is any number that can be expressed by dividing two integers.  The second piece of each piecewise function, which are the same for both f(x) and g(x) is simply a horizontal line y = 0 with a bunch of inclusive (hollow) points that exclude any rational x values... am I correct?

EDIT:  I originally posted all of the parts (a) - (f) in the problem, but removed them because I think once I know if my thinking/graph for part (a) is correct, I can do the other parts...

Thanks.
February 15, 2006, 1:49 AM
rabbit
f(x) should be x for integers and non-repeating, infinite decimals (pi, e, etc...), and 0 for everything else.

g(x) should be x[sup]2[/sup] for integers and non-repeating, infinite decimals (pi, e, etc...), and 0 for everything else.

Not too challenging, as you will see once you get further into the course.

Also, assume non-repeating, infinite decimals are included.  I don't know your teacher.
February 15, 2006, 3:09 AM
Rule
[quote author=rabbit link=topic=14267.msg146082#msg146082 date=1139972963]
f(x) should be x for integers and non-repeating, infinite decimals (pi, e, etc...), and 0 for everything else.

g(x) should be x[sup]2[/sup] for integers and non-repeating, infinite decimals (pi, e, etc...), and 0 for everything else.
[/quote]

Since when are Pi and e rational numbers?  Also, 10/11 is an example of a repeating infinite decimal that is a rational number..

February 15, 2006, 8:35 AM
rabbit
I said infinite, non-repeating decimals.  Pi has an infinite number of digits, but none ever repeat, whereas something like 1/3 is an infinite repeating decimal.
February 16, 2006, 12:35 AM
Rule
[quote author=rabbit link=topic=14267.msg146170#msg146170 date=1140050100]
I said infinite, non-repeating decimals.  Pi has an infinite number of digits, but none ever repeat, whereas something like 1/3 is an infinite repeating decimal.
[/quote]

Um, ok..  Pi isn't a rational number, therefore f(x) != x when x=Pi.  Further, you said f(x)=0 for numbers that aren't integers and that aren't non-repeating infinite decimals; 10/11, and 1/3 are both infinite repeating decimals and are rational numbers.  Therefore f(x) = x for x = 10/11 or x = 1/3, not 0.  Remember, f(x) = x when x is rational.

Also, how do you know that no digits ever repeat in the expansion of Pi? (which is really irrelevant anyways)
February 16, 2006, 2:38 AM
rabbit
But pi is an infinite, non-repeating decimal.  I'm using the definition of 'rational number' as a number which can be expressed as a ratio of two integers which has a terminal decimal number equivolent.

I know no digits ever repeat in the expansion of pi because I'm being a douchebag and assuming that they never do, as there is not any evidence of it being so.
February 16, 2006, 11:39 PM
Rule
[quote author=rabbit link=topic=14267.msg146248#msg146248 date=1140133170]
But pi is an infinite, non-repeating decimal.  I'm using the definition of 'rational number' as a number which can be expressed as a ratio of two integers which has a terminal decimal number equivolent.
[/quote]

So Pi is not a rational number, so f(x) != x when x = Pi!!

February 17, 2006, 3:00 AM
Yoni
Basically, rabbit confuses "rational" and "irrational".
February 17, 2006, 11:38 AM
rabbit
[quote author=Rule link=topic=14267.msg146260#msg146260 date=1140145210]
[quote author=rabbit link=topic=14267.msg146248#msg146248 date=1140133170]
But pi is an infinite, non-repeating decimal.  I'm using the definition of 'rational number' as a number which can be expressed as a ratio of two integers which has a terminal decimal number equivolent.
[/quote]

So Pi is not a rational number, so f(x) != x when x = Pi!!


[/quote]Dammit!  I never said pi was a rational number!  I said it was an infinite non-repeating decimal.

BAH!

I quit.
February 17, 2006, 2:34 PM
Yoni
[quote author=Sorc.Polgara link=topic=14267.msg146076#msg146076 date=1139968152]
f(x) = { x if x is rational
0 if x is irrational }
[/quote]

[quote author=rabbit link=topic=14267.msg146082#msg146082 date=1139972963]
f(x) should be x for integers and non-repeating, infinite decimals (pi, e, etc...), and 0 for everything else.
[/quote]
February 17, 2006, 3:19 PM
rabbit
Shut up!  I never said pi was rational, I just ...yeah..shut up!
February 18, 2006, 3:30 AM
Yoni
[img]http://personales.ciudad.com.ar/golem85/thread%20sucks.jpg[/img]
February 18, 2006, 2:21 PM
Ender
roflmao
April 18, 2006, 12:54 AM

Search