What is the Domain and Range for f and g?

In summary, the domain of f is all real numbers and the range is all y values greater than or equal to 2. The domain of g is all numbers less than or equal to 1 and the range is all y values between 0 and 1. The functions f.g and g.f are defined and exist. However, g of f is not defined for any real x values. The domain of g can be written as {x | |x| < 1} and the range of g can be written as {y | 0 ≤ y ≤ 1}.
  • #1
joejo
150
0
domain and range question!

Hi,

I have a quick domain and range question, I have placed my answer below the question. I'm having doubts that it is right! Can someone please help me verify it. Thanks in advance!
_____
Let f(x)= x² + 2 and g(x) =√1-x²

a) Find the domain and range of f and g.
b) Are the functions f.g and g.f defined? Explain?

ANSWER:

The domain of f is {X|X ε R}
The range of f is {y|y ≥ 2, yε R}

f.g= f[g(x)]
= f ___
(√ 1-x²)
= ___
(√ 1-x²) + 2
= 1- x² + 2
= 3-x²

All of the above is correct. I have also already done g.f as well.

This is where i need help...what comes next...
Are the functions f.g and g.f defined? Explain? and what is the domain of g and the range of g?

Thanks in advance for your help!
 
Last edited:
Physics news on Phys.org
  • #2
They are defined, because they both exist.

The domain of g is all numbers less than and including 1, because once you get alrger than one, you will be taking the square root of negatives.
 
  • #3
hey thanks for the quick reply, but how about the range of g?
 
  • #4
I gave you a huge hint on the lower limit of the range of g, and knowing the domain of g you can figure out the lupper limit on the range of g.
 
  • #5
well this is what i have so far,

the doman of g is {x||x| ≤ + 1}
the range of g is {y|y ≥ 0 ≤ y ≤ 1}

g of f isn't defined because domain is not real?!

is that right
 
  • #6
joejo said:
well this is what i have so far,

the doman of g is {x||x| ≤ + 1}

It doesn't need to be absolute x if your squaring it.

the range of g is {y|y ≥ 0 ≤ y ≤ 1}
Correct
g of f isn't defined because domain is not real?!

is that right

[tex]g=\sqrt{1-x^2} [/tex]

[tex] f=x^2+2 [/tex]

[tex] g(f(x)) = \sqrt{1-(x^2+2)^2} [/tex]

So (x^2+2)^2 must be less than 1, work from here.
 
  • #7
sorry you're losing me...ive been trying for the past 15 minutes...anyone else or whozum can you please clairfy
 
Last edited:
  • #8
It doesn't need to be absolute x if your squaring it.

Actually it does... precisely because you are squaring it! Look again :-p

And while "range of [itex]g = \{ y | y \geq 0 \leq y \leq 1 \}[/itex]" is correct, it's also a pretty strange way of writing it. You can just write [itex]\{ y | 0 \leq y \leq 1\}[/itex].
 
  • #9
What are you missing
 
  • #10
You are quite right that [itex]g \circ f[/itex] isn't defined over [itex]\mathbb{R}[/itex] for any real [itex]x[/itex].

Whozum's anaylsis was right, but then again so was your comment he responded to: [itex](x^2 + 2)^2 \leq 1[/itex] is not satisfied for any real [itex]x[/itex].
 
  • #11
so is this right?

the domain of g is {x||x| ≤ + 1}
 
  • #12
indeed it is.
 
  • #13
so it's not...

the domain of g is {x| x ≤ + 1}
 
  • #14
well, is [itex]g(-2)[/itex] defined? Is [itex]-2 \leq 1[/itex]? That should answer your question! :-p
 
  • #15
x^2 is always positive. saying |x|^2 is redundant, isn't it.
 
  • #16
no its not!
 
  • #17
data no it isn't...
 
  • #18
Oh ok. I see what you mean by absolute. I was thinking x can go from -1,1 which is the same as |x| from 0 to 1
 
  • #19
Yes it is. But precisely because of that,

[tex]g(x) = \sqrt{1 - x^2}[/tex]

is real if and only if [itex] |x| < 1[/itex]. If [itex]|x| > 1[/itex] then either [itex] x < -1[/itex] or [itex] x > 1[/itex]. In either case, [itex](-x)^2 = x^2 > 1[/itex] so [itex] 1 < x^2 \Longrightarrow 1 - x^2 < 0[/itex].
 
  • #20
how come your latex looks so sexy
 
  • #21
I was thinking x can go from -1,1 which is the same as |x| from 0 to 1

precisely. And [itex] 0 \leq |x| \leq 1[/itex] is the same as [itex]|x| \leq 1[/itex] by the definition of an inner product.
 
  • #22
how come your latex looks so sexy

Long physics lab reports. Believe me, it's not a good tradeoff :smile:
 
  • #23
I think I am dernaged because I yearn those.
 
  • #24
hey data...

can't i just say the domain of g is ...

{x|x ≤ + 1}
 
  • #25
Once you spend two years of friday nights writing them for twelve hours in a row (like me!), you might not be so enamored with the idea anymore :smile:
 
  • #26
lol... sounds fun..


hey data...

can't i just say the domain of g is ...

{x|x ≤ + 1}
 
  • #27
ey data...

can't i just say the domain of g is ...

[tex]\{ x|x \leq 1\}[/tex]

No... the domain is precisely those values of [itex]x[/itex] for which the function is defined. It isn't defined for [itex]x = -2 < 1[/itex], as you discovered a minute ago, so the domain can hardly be what you suggest here.

Your initial intuition, [itex]\{ x \ | \ |x| < 1 \}[/itex], was correct.
 
  • #28
Sorry for confusing you.
 
  • #29
its okay...thanks guys
 

FAQ: What is the Domain and Range for f and g?

What is the definition of domain and range?

The domain of a function is the set of all possible inputs or independent values of the function. The range of a function is the set of all possible outputs or dependent values of the function.

How do you find the domain and range of a function?

To find the domain of a function, you need to look at all the possible values of the independent variable. To find the range, you need to look at all the possible values of the dependent variable. You can also graph the function to visually determine the domain and range.

Can the domain and range of a function be the same?

Yes, it is possible for the domain and range of a function to be the same. This occurs when the function is one-to-one, meaning each input has a unique output. In this case, the domain and range will be equal.

What happens if the domain and range of a function are infinite?

If the domain and range of a function are infinite, it means that there are no restrictions on the values of the input and output. This can occur with functions such as exponential or logarithmic functions, which have an infinite domain and range.

Can a function have a limited domain or range?

Yes, a function can have a limited domain or range. This means that the function is only defined for a specific set of input values or has a limited set of output values. For example, a square root function has a limited range of non-negative numbers.

Back
Top