CTK Exchange
Front Page
Movie shortcuts
Personal info
Awards
Reciprocal links
Terms of use
Privacy Policy

Interactive Activities

Cut The Knot!
MSET99 Talk
Games & Puzzles
Arithmetic/Algebra
Geometry
Probability
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
My Logo
Math Poll
Other Math sit's
Guest book
News sit's

Recommend this site

Manifesto: what CTK is about |Store| Search CTK Buying a book is a commitment to learning Table of content Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

CTK Exchange

Subject: "Definition of Function"     Previous Topic | Next Topic
Printer-friendly copy     Email this topic to a friend    
Conferences The CTK Exchange High school Topic #264
Reading Topic #264
Schrodinger
guest
Sep-04-03, 06:08 PM (EST)
 
"Definition of Function"
 
   Can someone provide a practical definition and some real life examples of 'function' in mathematics, i.e., calculus. The formal definition of 'function' is hideous. Giving this definition when someone asks what is a function is like explaining that water is 1 atom of oxygen and 2 atoms of hydrogen. While you may be accurately describing the compound of water, you haven't said anything about it's properties (such as lack of taste).


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
Vladimir
Member since Jun-22-03
Sep-05-03, 07:15 PM (EST)
Click to EMail Vladimir Click to send private message to Vladimir Click to view user profileClick to add this user to your buddy list  
1. "RE: Definition of Function"
In response to message #0
 
   LAST EDITED ON Sep-06-03 AT 06:30 AM (EST)
 
Definition:
Function is a set (called the function domain) and a rule that assigns to each element of the function domain one and only one element of another set (called the function range).

I do not see anything hideous with this definition, it is just the right definition.

Often, the function domain is not defined (strictly speaking, this is a logical error, of which I am guilty as charged), it is assumed that it is the maximum subset of some other set (identity of which is obvious from the context) for which the rule makes sense. For example, when working with sequences (i.e., functions that assign real numbers, complex numbers, vectors, etc. to non-negative integers n ³ 0), the function domain is usually all n ³ 0 and the rule is how you describe the sequence, for example

an = (1 + 1/n)n

Some rules do not make sense for all n ³ 0, usually when you get a zero in the denominator. The above rule does not make sense if n = 0 and the maximum domain is n > 0 (or n ³ 1, whatever Description you choose). It is also clear that the rule never assigns 2 different real numbers to a particular integer k > 0. In elementary calculus, we work with real functions of one real variable, i.e., with rules that assign to every real number from the domain some other real number. The function domain is often all real numbers and the rule is how you describe the function, for example

f(x) = x2·sin(1/x)

The above rule does not make sense if x = 0 and therefore the maximum domain implied by the above rule is x ¹ 0. However, it is not always useful to limit yourself to the maximum domain for which the rule makes sense - you can miss interesting things. For example, I can define the above function for all x as follows (strictly speaking, the domain is different and therefore it is a different function):

g(x) = x2·sin(1/x) for x ¹ 0
g(0) = 0

When you try to draw a graph of this function, it oscillates faster and faster as x ® 0, so you never really get there. However, it is easy to show not only that the function g is continuous at x = 0, it even has a derivative at this point.

Real functions of one real variable (i.e., functions investigated in elementary calculus) may have various properties - they can be continuous, periodic, etc. Then again, they may not have some or all of the above properties. So it would not really make sense to include those properties in the definition of a function, the definition should include as many useful functions as possible. With elementary functions, properties like continuity or periodicity may seem obvious, but generally, this is not always true. Consider a periodic function with a period p > 0:

f(x + p) = f(x)

If p is the period, then surely 2p, 3p, ... are also periods, but they are all greater than p. May there be a smaller period than p? If yes, what is it? Once I saw the following theorem (as the 1st theorem in a book about Fourier series'):

If a non-constatnt periodic function f is continuous in at least one point, then the function has a minimum period pmin > 0.

The proof is really simple - by assuming that the minimum period does not exist, it is easy to show that the function f must be a constant. Now apply this theorem to Dirichlet's function:

D(x) = 0 if x is irrational
D(x) = 1/q if x is rational and can be reduced to x = p/q

The function is continuous for every irrational x and discontinuous for every rational x. It obviously has period 1, maybe less. The theorem says that Dirichlet's function has a minimum period. What is it?


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
sfwc
Member since Jun-19-03
Sep-08-03, 05:53 PM (EST)
Click to EMail sfwc Click to send private message to sfwc Click to view user profileClick to add this user to your buddy list  
2. "RE: Definition of Function"
In response to message #1
 
   >D(x) = 0 if x is irrational
>D(x) = 1/q if x is rational and can be reduced to x = p/q
>
>The function is continuous for every irrational x and
>discontinuous for every rational x. It obviously has period
>1, maybe less.

In order to make it have period 1, extend D to the point where it is currently undefined. D(0) = 1.

>The theorem says that Dirichlet's function
>has a minimum period. What is it?

Those wishing to work this out for themselves (and yes, you can do it without a lot of effort) should look away now.

Let 0 < m <= 1 be the minimal period. For all x, we have D(x) = D(x+m)
In particular, 1 = D(0) = D(m). For 0 < x < 1, either x is irrational, in which case D(x) = 0 < 1, or x is rational with denominator > 1, so once more D(x) < 1. We deduce that m does not lie in this range and hence that m = 1.

Thankyou

sfwc
<><


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
Vladimir
Member since Jun-22-03
Nov-26-03, 07:58 PM (EST)
Click to EMail Vladimir Click to send private message to Vladimir Click to view user profileClick to add this user to your buddy list  
3. "RE: Definition of Function"
In response to message #2
 
   LAST EDITED ON Nov-26-03 AT 09:22 PM (EST)
 
I found a real-life example of Dirichlet's function!

An array of "trees" of unit height located at integer-coordinate points in a point lattice is called Euclid's orchard. When viewed from a corner along the line y = x in normal perspective, a quadrant of Euclid's orchard turns into Dirichlet's function. (This is lifted from Euclid's orchard at MathWorld.)

A hops plantation (Humulus lupulus - the plant that gives beer its bitter taste) looks like a finite section of Euclid's orchard and because of its size, it is almost always viewed in perspective. See for example Photos from the field, particularly the photo #11. Dirichlet's function thus rears its head in an essential step in the production of beer and what can be more important? Just recall the 2 maxims of a successful enterprise:

1. Make profit.
2. Never run out of beer.

Attachments
https://www.cut-the-knot.org/htdocs/dcforum/User_files/3fc5411a318e6e5a.gif

  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
Speed
guest
Nov-27-03, 11:48 PM (EST)
 
4. "RE: Definition of Function"
In response to message #0
 
   As an engineering student, and I see real world examples of functions all the time.

I guess the best example that I can come up with is pressure. In still water, pressure is a function of depth. This means that as I go deeper into the ocean, the water pressure will get bigger.

I usually think of acceleration as a function of time, because the longer one accelerates, the faster one goes.

I could probably think of more real world examples (e.g. a person's grade in math is a function of their intelligence, effort, and previous training) but the above examples are the ones I usually use to explain functions to people who aren't receptive to the confusing language of mathematical definitions.

--CS


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top

Conferences | Forums | Topics | Previous Topic | Next Topic

You may be curious to have a look at the old CTK Exchange archive.
Please do not post there.

|Front page| |Contents|

Copyright © 1996-2018 Alexander Bogomolny

71547999