# 1.1 Review of functions  (Page 7/28)

 Page 7 / 28

For $f\left(x\right)={x}^{2}+3$ and $g\left(x\right)=2x-5,$ find $\left(f\text{/}g\right)\left(x\right)$ and state its domain.

$\left(\frac{f}{g}\right)\left(x\right)=\frac{{x}^{2}+3}{2x-5}.$ The domain is $\left\{x|x\ne \frac{5}{2}\right\}.$

## Function composition

When we compose functions, we take a function of a function. For example, suppose the temperature $T$ on a given day is described as a function of time $t$ (measured in hours after midnight) as in [link] . Suppose the cost $C,$ to heat or cool a building for 1 hour, can be described as a function of the temperature $T.$ Combining these two functions, we can describe the cost of heating or cooling a building as a function of time by evaluating $C\left(T\left(t\right)\right).$ We have defined a new function, denoted $C\circ T,$ which is defined such that $\left(C\circ T\right)\left(t\right)=C\left(T\left(t\right)\right)$ for all $t$ in the domain of $T.$ This new function is called a composite function. We note that since cost is a function of temperature and temperature is a function of time, it makes sense to define this new function $\left(C\circ T\right)\left(t\right).$ It does not make sense to consider $\left(T\circ C\right)\left(t\right),$ because temperature is not a function of cost.

## Definition

Consider the function $f$ with domain $A$ and range $B,$ and the function $g$ with domain $D$ and range $E.$ If $B$ is a subset of $D,$ then the composite function     $\left(g\circ f\right)\left(x\right)$ is the function with domain $A$ such that

$\left(g\circ f\right)\left(x\right)=g\left(f\left(x\right)\right).$

A composite function $g\circ f$ can be viewed in two steps. First, the function $f$ maps each input $x$ in the domain of $f$ to its output $f\left(x\right)$ in the range of $f.$ Second, since the range of $f$ is a subset of the domain of $g,$ the output $f\left(x\right)$ is an element in the domain of $g,$ and therefore it is mapped to an output $g\left(f\left(x\right)\right)$ in the range of $g.$ In [link] , we see a visual image of a composite function.

## Compositions of functions defined by formulas

Consider the functions $f\left(x\right)={x}^{2}+1$ and $g\left(x\right)=1\text{/}x.$

1. Find $\left(g\circ f\right)\left(x\right)$ and state its domain and range.
2. Evaluate $\left(g\circ f\right)\left(4\right),\left(g\circ f\right)\left(-1\text{/}2\right).$
3. Find $\left(f\circ g\right)\left(x\right)$ and state its domain and range.
4. Evaluate $\left(f\circ g\right)\left(4\right),\left(f\circ g\right)\left(-1\text{/}2\right).$
1. We can find the formula for $\left(g\circ f\right)\left(x\right)$ in two different ways. We could write
$\left(g\circ f\right)\left(x\right)=g\left(f\left(x\right)\right)=g\left({x}^{2}+1\right)=\frac{1}{{x}^{2}+1}.$

Alternatively, we could write
$\left(g\circ f\right)\left(x\right)=g\left(f\left(x\right)\right)=\frac{1}{f\left(x\right)}=\frac{1}{{x}^{2}+1}.$

Since ${x}^{2}+1\ne 0$ for all real numbers $x,$ the domain of $\left(g\circ f\right)\left(x\right)$ is the set of all real numbers. Since $0<1\text{/}\left({x}^{2}+1\right)\le 1,$ the range is, at most, the interval $\left(0,1\right].$ To show that the range is this entire interval, we let $y=1\text{/}\left({x}^{2}+1\right)$ and solve this equation for $x$ to show that for all $y$ in the interval $\left(0,1\right],$ there exists a real number $x$ such that $y=1\text{/}\left({x}^{2}+1\right).$ Solving this equation for $x,$ we see that ${x}^{2}+1=1\text{/}y,$ which implies that
$x=±\sqrt{\frac{1}{y}-1}.$

If $y$ is in the interval $\left(0,1\right],$ the expression under the radical is nonnegative, and therefore there exists a real number $x$ such that $1\text{/}\left({x}^{2}+1\right)=y.$ We conclude that the range of $g\circ f$ is the interval $\left(0,1\right].$
2. $\left(g\circ f\right)\left(4\right)=g\left(f\left(4\right)\right)=g\left({4}^{2}+1\right)=g\left(17\right)=\frac{1}{17}$
$\left(g\circ f\right)\left(-\frac{1}{2}\right)=g\left(f\left(-\frac{1}{2}\right)\right)=g\left({\left(-\frac{1}{2}\right)}^{2}+1\right)=g\left(\frac{5}{4}\right)=\frac{4}{5}$
3. We can find a formula for $\left(f\circ g\right)\left(x\right)$ in two ways. First, we could write
$\left(f\circ g\right)\left(x\right)=f\left(g\left(x\right)\right)=f\left(\frac{1}{x}\right)={\left(\frac{1}{x}\right)}^{2}+1.$

Alternatively, we could write
$\left(f\circ g\right)\left(x\right)=f\left(g\left(x\right)\right)={\left(g\left(x\right)\right)}^{2}+1={\left(\frac{1}{x}\right)}^{2}+1.$

The domain of $f\circ g$ is the set of all real numbers $x$ such that $x\ne 0.$ To find the range of $f,$ we need to find all values $y$ for which there exists a real number $x\ne 0$ such that
${\left(\frac{1}{x}\right)}^{2}+1=y.$

Solving this equation for $x,$ we see that we need $x$ to satisfy
${\left(\frac{1}{x}\right)}^{2}=y-1,$

which simplifies to
$\frac{1}{x}=±\sqrt{y-1}.$

Finally, we obtain
$x=±\frac{1}{\sqrt{y-1}}.$

Since $1\text{/}\sqrt{y-1}$ is a real number if and only if $y>1,$ the range of $f$ is the set $\left\{y|y\ge 1\right\}.$
4. $\left(f\circ g\right)\left(4\right)=f\left(g\left(4\right)\right)=f\left(\frac{1}{4}\right)={\left(\frac{1}{4}\right)}^{2}+1=\frac{17}{16}$
$\left(f\circ g\right)\left(-\frac{1}{2}\right)=f\left(g\left(-\frac{1}{2}\right)\right)=f\left(-2\right)={\left(-2\right)}^{2}+1=5$

find the domain and range of f(x)= 4x-7/x²-6x+8
find the range of f(x)=(x+1)(x+4)
-1, -4
Marcia
That's domain. The range is [-9/4,+infinity)
Jacob
If you're using calculus to find the range, you have to find the extrema through the first derivative test and then substitute the x-value for the extrema back into the original equation.
Jacob
Good morning,,, how are you
d/dx{1/y - lny + X^3.Y^5}
How to identify domain and range
hello
Akpevwe
He,,
Harrieta
hi
Dr
hello
velocity
I only talk to girls
Dr
women are smart then guys
Dr
Smarter
sorry
Dr
Dr
:(
Shun
was up
Dr
hello
is it chatting app?.. I do not see any calculus here. lol
Find the arc length of the graph of f(x) = In (sinx) on the interval [Π/4, Π/2].
Sand falling freely from a lorry form a conical shape whose height is always equal to one-third the radius of the base. a. How fast is the volume increasing when the radius of the base is (1m) and increasing at the rate of 1/4cm/sec Pls help me solve
show that lim f(x) + lim g(x)=m+l
list the basic elementary differentials
Differentiation and integration
yes
Damien
proper definition of derivative
the maximum rate of change of one variable with respect to another variable
terms of an AP is 1/v and the vth term is 1/u show that the sum of uv terms is 1/2(uv+1)
what is calculus?
calculus is math that studies the change in math, such as the rate and distance,
Tamarcus
what are the topics in calculus
Augustine
what is limit of a function?
what is x and how x=9.1 take?
what is f(x)
the function at x
Marc
also known as the y value so I could say y=2x or f(x)= 2x same thing just using functional notation your next question is what is dependent and independent variables. I am Dyslexic but know math and which is which confuses me. but one can vary the x value while y depends on which x you use. also
Marc
up domain and range
Marc
enjoy your work and good luck
Marc
I actually wanted to ask another questions on sets if u dont mind please?
Inembo
I have so many questions on set and I really love dis app I never believed u would reply
Inembo
Hmm go ahead and ask you got me curious too much conversation here
am sorry for disturbing I really want to know math that's why *I want to know the meaning of those symbols in sets* e.g n,U,A', etc pls I want to know it and how to solve its problems
Inembo
and how can i solve a question like dis *in a group of 40 students, 32 offer maths and 24 offer physics and 4 offer neither maths nor physics , how many offer both maths and physics*
Inembo
next questions what do dy mean by (A' n B^c)^c'
Inembo
The sets help you to define the function. The function is like a magic box where you put inside stuff(numbers or sets) and you get out the stuff but in different shapes (forms).
I dont understand what you wanna say by (A' n B^c)^c'
(A' n B (rise to the power of c)) all rise to the power of c
Inembo
Aaaahh
Ok so the set is formed by vectors and not numbers
A vector of length n
But you can make a set out of matrixes as well
I I don't even understand sets I wat to know d meaning of all d symbolsnon sets
Inembo
High-school?
yes
Inembo
am having big problem understanding sets more than other math topics
Inembo
So f:R->R means that the function takes real numbers and provides real numer. For ex. If f(x) =2x this means if you give to your function a real number like 2,it gives you also a real number 2times2=4
pls answer this question *in a group of 40 students, 32 offer maths and 24 offer physics and 4 offer neither maths nor physics , how many offer both maths and physics*
Inembo
If you have f:R^n->R^n you give to your function a vector of length n like (a1,a2,...an) where all a1,.. an are reals and gives you also a vector of length n... I don't know if i answering your question. Otherwise on YouTube you havr many videos where they explain it in a simple way
I would say 24
Offer both
Sorry 20
Actually you have 40 - 4 =36 who offer maths or physics or both.
I know its 20 but how to prove it
Inembo
You have 32+24=56who offer courses
56-36=20 who give both courses... I would say that
solution: In a question involving sets and Venn diagram, the sum of the members of set A + set B - the joint members of both set A and B + the members that are not in sets A or B = the total members of the set. In symbolic form n(A U B) = n(A) + n (B) - n (A and B) + n (A U B)'.
Mckenzie
In the case of sets A and B use the letters m and p to represent the sets and we have: n (M U P) = 40; n (M) = 24; n (P) = 32; n (M and P) = unknown; n (M U P)' = 4
Mckenzie
Now substitute the numerical values for the symbolic representation 40 = 24 + 32 - n(M and P) + 4 Now solve for the unknown using algebra: 40 = 24 + 32+ 4 - n(M and P) 40 = 60 - n(M and P) Add n(M and P), as well, subtract 40 from both sides of the equation to find the answer.
Mckenzie
40 - 40 + n(M and P) = 60 - 40 - n(M and P) + n(M and P) Solution: n(M and P) = 20
Mckenzie
thanks
Inembo
Simpler form: Add the sums of set M, set P and the complement of the union of sets M and P then subtract the number of students from the total.
Mckenzie
n(M and P) = (32 + 24 + 4) - 40 = 60 - 40 = 20
Mckenzie