Інтуїція про функції як відображення

Interactive · 1 question

A function can be considered a map from one set to another. Here are a few examples:

∙\bullet Let f(x)=2xf(x) = 2x. Then ff is a function that maps the set of real numbers to the set of real numbers.

∙\bullet Let f(x)=2xf(x) = 2x, but where we restrict the domain of ff to integers. Then ff is a function that maps the set of integers to the set of even integers. It would also be correct to say that ff maps the set of integers to the set of integers; not every element in the second set needs to be mapped to.

∙\bullet For each living person, consider that person's favorite positive integer. If a person doesn't have a favorite, then associate that person with the number 0. This gives us a function that maps the set of living people to the set of non-negative integers.

In fact, any function is a map from one set AA to another set BB. The set AA is called the domain, and the set BB is called the codomain. The range is the set of elements of BB that get mapped to.

Read the definitions above closely. Are the codomain and the range of a function always the same set?

Choose one answer

Interactive · 1 question

A simple way to imagine a function is a "black box" that spits something out whenever you put something in.

There's an important caveat, however: if you put the same input into the function, it always has to produce the same output.

Simple mathematical examples of functions are "add 1", or "multiply by 2", or "subtract 5 and cube".

Simple nonmathematical examples of functions are "take the first letter" or "find the capital of a country (according to the world's state in 2014)".

On the other hand, "find a country that starts with a letter" is NOT a function, because if you put in the letter "B", for example, there are more than a dozen countries that might come out.

Most of the functions we'll be studying in calculus will be written out as expressions of variables, but remember that functions explained using words or that don't involve numbers are still perfectly legitimate functions.

Which of these are functions?

Choose all correct answers

Read · 2 min

What are sets? Well.. they are defined as

A set is a collection of distinct objects called elements. Seems useless? It turns out to be that Mathematics itself is built on sets. Although it isn't completely clear how this could possible be true, it will make more sense by the end of this post.

Some Notable Sets

We have been working with one particular set since the time we started arithmetic, to be precise, the set N\mathbb{N} of natural number. We started off with four operations which were addition, subtraction, multiplication, and division. We say that N\mathbb{N} is closed under addition and multiplication because the sum or product of two elements in N\mathbb{N} is inside the set itself. However, this set is not closed under subtraction nor division. When we considered the subtraction problem, we resulted with the set Z\mathbb{Z} of integers. And when we try to satisfy closure with division, we get the set Q\mathbb{Q} of rational numbers.

The set Q\mathbb{Q} of rational numbers seem as if it isn't missing anything, and even the Greeks thought so too. However, consider the following problem:

What is the solution to x2=2x^2 = 2 where x∈Qx\in\mathbb{Q} (this means that xx is in Q\mathbb{Q}.)

Well... that's interesting. Let's see if we can let x=p/qx = p/q and get anywhere. Substituting gives us p2q2=2  ⟹  p2=2q2.\frac{p^2}{q^2} = 2\implies p^2 = 2q^2. Hey! pp must be even. Let's substitute p=2p′p = 2p'. 4p′2=2q2  ⟹  2p′2=q2.4p'^2 = 2q^2\implies 2p'^2 = q^2. Yes! We're getting somewhere. qq is also even... Wait... doesn't that mean xx can never be in simplest form?

In fact, we have just proven that there is no x∈Qx \in \mathbb{Q} that will satisfy the equation. So obviously, the Greeks were wrong, and now we need to somehow extend this set. Well, let's just add all the irrational numbers, and then we have the set R\mathbb{R} of real numbers. We can in fact extend this further. Considering the fact that x2=−2x^2 = -2 has no solutions in R\mathbb{R}, we extend this to the set C\mathbb{C} of complex numbers.

Maps

Now we know that there are these mathematical objects called sets, but we have no way of studying them. This is why a mapping, also known as a function, was created.

A mapping or a function ff that maps a set AA to another set BB (denoted as f:A→Bf:A \to B), takes every element from AA and maps it to some element in BB. AA is called the domain of ff and BB is the codomain of ff. The elements that are mapped onto by the function is called the range, which is the image of the domain).

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems