#someone pls explain what R-> R is to me in 'f:R -> R, f(x) = x^2'

99 messages · Page 1 of 1 (latest)

onyx abyss
#

jacplus tb was talking about codomain and domain but didnt explain anything lol, pls help

brave archBOT
#
  1. Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
  2. Wait patiently for a helper to come along.
  3. Once someone helps you, say thank you and close the thread with:
    +close
    
  4. Feel free to nominate the person for helper of the week in #helper-nominations
  5. Do not ping the mods, unless someone is breaking the rules.
  6. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
onyx abyss
wild lava
#

for the function

onyx abyss
#

yeh iget what the domain is

#

what does it mean by 'domain of f'

wild lava
#

Well, exactly that

onyx abyss
#

is it different to 'domain of f(x)'?

wild lava
#

f(x) is not a function

#

it is the output value of the function, when you give x as an input

#

A function is like a microwave

#

x is the food

onyx abyss
#

from where ive been learning ive had questions like 'find the domain or range of f(x)'

wild lava
#

f(x) is the warm food

onyx abyss
#

ok i get that now

#

tysm for dumbing it down that much 😭

wild lava
#

But at this point most people don't bother to make the distinction

#

For no valid reason.

onyx abyss
#

hm aight thats pretty interesting

#

ill keep that in mind

#

so what would the colon inbetween f: R - > R mean then

wild lava
#

It's just an indicator

#

I guess similarly to the "notice" of a microwave

#

don't put aluminium inside

onyx abyss
#

ahhh

#

and the arrow?

#

thats the same as (R, R) right

#

even though that wouldnt make sense

wild lava
#

f : D -> R, is a function that takes inputs in D and provides outputs in R

#

the arrow here is also standard notation

#

for that "notice"

onyx abyss
#

so if i did f : 3 -> A, then everything following from 3 comes out as A

wild lava
#

3 is not a set

#

You can think of this example, f : R -> {-1, 0, 1}

#

R is the set of real numbers

#

and {-1, 0, 1} is a set that contains the three elements -1, 0 and 1

onyx abyss
#

so R -> {-1, 0, 1} from my own understanding, is trying to say there can be any real numbers inbetween the set of {-1, 0, 1}

wild lava
#

no

#

f : R -> {-1, 0, 1}

#

it means that you have a function f

#

that takes input values x in R

#

and you know for sure

#

that f(x) is either -1, 0 or 1

#

according to this notice, it cannot be anything else

onyx abyss
#

I SEE NOW

#

I GET IT

wild lava
#

👍

#

so here's another example

#

f : {3} -> R

#

is a function that can take nothing but 3 as an input

onyx abyss
#

R -> {-1, 0, 1} means it takes nothing but {-1, 0, 1} as the input

wild lava
#

the input can be any real number in R

#

the source of the arrow indicates the input set

#

and the end of the arrow indicates the output set

onyx abyss
#

okay

#

okay

#

okay

#

my eyes are being opened

#

so if in the set or R,

#

we input for say 2

#

nothing will happen

#

because the outputs are limited to -1, 0 and 1

#

if what i said is right then i completely get it

wild lava
#

Well, yes indeed

#

f(2) will be either -1, 0 or 1

#

if f : R -> {-1, 0, 1}

#

on the other hand, for g : {3} -> R

#

you CANNOT feed 2 to g

#

it's like putting a banana in a microwave, when they explicitly tell you that you can only put cooked dishes

onyx abyss
#

OKAY

#

F : R -> R IS BASICALLY F(R) = R THEN NO?

wild lava
#

That's another notation

#

but also no, not necessarily

onyx abyss
#

how so?

wild lava
#

for instance, let $f : \mathbb{R} \rightarrow \mathbb{R}$ defined by the relation: for any $x \in \mathbb{R}$, $$f(x) = x^2$$

kindred cedarBOT
wild lava
#

Here, it is clear that for any $x \in \mathbb{R}, f(x) \geq 0$

kindred cedarBOT
wild lava
#

However, for a subset $A$ of $\mathbb{R}$, we define:
$$f[A] = { f(x) | x \in A}$$

kindred cedarBOT
wild lava
#

In particular, $f[\mathbb{R}]$ does not contain negative numbers

kindred cedarBOT
onyx abyss
#

im sorry thats a bit too advanced for what im up to currently

#

so i dont really get that

#

but i understand the two notations are separate

#

and i think thats all ill need to know for now mostly

wild lava
#

for f : R -> R

#

you know in advance that f takes inputs in R

#

and any output will be in R

#

but you don't know if R is the smallest set of outputs yet

onyx abyss
#

okay

#

yea i get the f: R -> R part now

#

thats