"Determine if ___ is a function"

  • Thread starter Goldenwind
  • Start date
In summary, the author is trying to determine if a function exists from Z to R, but is having difficulty understanding why some things are not functions. He attempted to solve the problem by determining if a given relation is a function, and found that a) and b) are both functions, but c) is not because it has a restriction on the input values.
  • #1
Goldenwind
146
0
[SOLVED] "Determine if ___ is a function"

Homework Statement


Determine whether f is a function from Z to R if
a) f(n) = ±n.

b) f(n) = Sqrt(n^2 + 1).

c) f(n) = 1 / (n^2 – 4).

The Attempt at a Solution


Have the book right in front of me, and reading the definitions of functions, transitions, and maps, but nothing's registering in my brain.

To me, ±n would not be a function because it would be the same as the equation x = y^2.
However, this whole "Z to R" business has me lost. I know what Z and R represent, but I don't see how that has any meaning on whether or not f(n) is a function. What is a function? More importantly, what makes something not a function?

Haven't attempted b) or c), as they look even worse. Trying to comprehend the concept of a) first.
 
Physics news on Phys.org
  • #2
In simplest terms, any set of ordered values, in this case (x, f(n) ) is called a relation. A relation is called a function if for every input value, there is only one output value. Geometrically, this means a function is a function if its graph of a Cartesian Plane has no place where a vertical line cuts the graph twice, the so called "vertical line test".

This question is only a bit harder, because of the "from Z to R" part. Basically this means that f has to be a function where only integers can be inputted, and only real numbers can be output.

So; even if a function has points where there are 2 output values, and maybe even perhaps these 2 are complex numbers, as long as this only occurs on non-integer points, it is still a function from Z to R, if at every integer point the function gives a single Real number.

Or, f(n) = ni +1 is a function, but not a function from Z to R, though it can be a function from Z to C.
 
  • #3
This input/output talk you gave me is making all the sense in the world :)

So... we can input any integer, and get back any real number.
a) would not be a function, as it fails the vertical line test
b) would be a function
c) would not be a function for n = ±2... er? I think that means it IS a function, but just has a restriction?
 
  • #4
Well it seems you are getting the hang of this, just a bit more to learn =]

a) Correct =] It wouldn't even be a function if we changed the restriction that the function has to be from Z to R, because no matter what, even if we reduced the condition to be from C to C, which is more general because the complex numbers include Z and R, there would always be two values. That is only a function when the domain is restricted to one point. n=0

b) That is correct as well!

c) Only mistake :(

A lot of things can be functions with appropriate conditions! For example, I made a) a function, all i had to do was severely limit my input value range =[ But with that range, the condition was satisfied - For every input value, only one being 0 this time, there is only 1 output value, also only one being 0 this time.

What you must know is that Z is shorthand for the set of the integers, so in set notation,

[tex]\mathrr{Z} = \{ 0, \pm 1, \pm 2, \pm 3 \right} ...\}[/tex]

However, this function does not work, as you said, for n = 2 or n=-2. So it can be a function for that new set [tex]G = \{ k \in Z | k \neq \pm 2 \}[/tex] which basically reads
"The Set G, which is equal to the set of all numbers, k, in the integers, such that k is not equal to plus or minus 2"

This set is not equal to Z :( For them to be equal, they must have identical elements, which these don't. So If I reduced the condition to say, is c) a function from G to R, then I could say yes. But since it asked Z to R, I must say no :(
 
  • #5
Understood.

Thank-you for your assistance!
/cookie :3
 
  • #6
No problem, I actually find this fun. *Nerd Alert*.
 

FAQ: "Determine if ___ is a function"

What is a function?

A function is a mathematical concept that describes the relationship between an input and an output. It is a rule or formula that assigns each input a unique output.

How do you determine if something is a function?

To determine if something is a function, you must check if each input has only one corresponding output. This can be done by creating a table, graph, or using the vertical line test.

What is the difference between a function and a relation?

A function is a type of relation where each input has only one corresponding output. In other words, for every x-value, there is only one y-value. A relation, on the other hand, is a set of ordered pairs that do not necessarily follow this rule.

What are some real-life examples of functions?

Functions can be found in many aspects of our daily lives. For example, the relationship between the distance traveled and time taken while driving at a constant speed can be represented by a function. Other examples include calculating taxes based on income, converting temperatures between Fahrenheit and Celsius, and determining the amount of money earned based on hours worked.

What happens if a function has more than one output for a given input?

If a function has more than one output for a given input, it is not a function. This is because each input should have only one corresponding output in a function. If there are multiple outputs for a single input, it violates this rule.

Back
Top