Homework 2
Directions: Show each step of your work. Turn in your answers in class on a physical piece of paper. Staple multiple sheets together. Feel free to use Desmos for graphing.
Answer the following:

Suppose \[f(x) = x^2 + 2 \qquad g(x) = \dfrac{x + 1}{x  1}\]
 Find $f+g$, $f/g$ and their domains.
 Find $f\circ g, g\circ f, (f\circ g)(5), (g\circ f)(5)$.
 For the next few parts, find \[\dfrac{f(a + h)  f(a)}{h},\qquad h \neq 0\] and simplify fully:
 $f(x) = x^2$
 $f(x) = \dfrac{1}{x}$
 $f(x) = x^3  1$
 For the next few parts, find two functions $f$ and $g$ such that $h = f\circ g$. You are not allowed to choose $g(x) = x$.
 $h(x) = (x^3 + x + 1)^3$
 $h(x) = \dfrac{1}{\sqrt{x^2  2}}$
 $h(x) = \dfrac{1}{\sqrt{x + 1}} + \sqrt{x + 1}$
 Apple manufactures smartphones at a variable cost of \[V(x) = 0.000003x^3  0.03x^2 + 200x\] dollars and has a monthly fixed cost of $\$90,000$. The total revenue function \[R(x) = 0.1x^2 + 500x, \qquad 0 \leq x \leq 5000\]
 Find a function $C$ that gives the total cost incurred by manufacturing $x$ smartphones.
 What is the total cost when 2000 smartphones are manufactured?
 Find the total profit function and its domain.
 What is the total profit when 2000 smartphones are manufactured and sold each month?
 The revenue of Expedia is given by $f(x)$, where $x$ is the total USD spent on advertising. The function $g(t)$ is the amount Expedia spends on advertising at time $t$. What does $f\circ g$ mean in English?
 A hotel in San Luis Obispo has an estimated occupancy rate given by the function \[o(t) = \dfrac{1}{8}t^33t^2+20t + 55, \qquad 0 \leq t \leq 11\] where $t$ is measured in months and $t = 0$ is January. Based on historic data, hotel management estimates the monthly revenue is approximated by the function \[R(x) = \frac{1}{1000}x^{3}+\frac{1}{5}x^{2}, \qquad 0 \leq x \leq 100\] where $x$ (in percent) is the occupancy rate.
 What is the hotel's occupancy rate in January? How about in June?
 Graph $o(t)$ on the coordinate plane. In what month does the maximum occupancy occur?
 What is the hotel's monthly revenue in January and in June?
 Say whether the following statements are true or false. If they are false, give one counterexample (example that shows the statement has to be false).
 If $f$ is a function, then it is always true that $f \circ f = f\cdot f$.
 If $f$ and $g$ are functions, then it is always true that $f\circ g = g\circ f$.
 Find the following limits using the table method. If they do not exist, explain why.
 $\lim_{x \rightarrow 2} (x^2 + 1)$
 $\lim_{x \rightarrow 2} \dfrac{1}{x2}$
 $\lim_{x \rightarrow 0} \dfrac{\lvert x \rvert}{x}$
 Given these functions
find the limits. If they do not exist, explain why they do not.
 $\displaystyle\lim_{x \rightarrow 2}[f(x) + g(x)]$
 $\displaystyle\lim_{x \rightarrow 1}[f(x)g(x)]$
 $\displaystyle\lim_{x \rightarrow 3}[f(1) + g(x)]$
 $\displaystyle\lim_{x\rightarrow 2}[x^2 \cdot f(x)]$
 $\displaystyle\lim_{x\rightarrow 0}[f(x) + g(x)]$
 $\displaystyle\lim_{x\rightarrow 3}\left[\dfrac{f(x)}{g(x)}\right]$
 Find the following limits using the limit laws and fully simplify. State which laws you are using (refer to Lecture 2.4) for each equal sign.
 $\displaystyle\lim_{x\rightarrow 1} (x + 1)$
 $\displaystyle\lim_{t\rightarrow 0} (4t^2 + 2t + 1)$
 $\displaystyle\lim_{x\rightarrow 1} (x + 1)$
 $\displaystyle\lim_{x\rightarrow 3} (2x + 1)(x1)(x+2)^2$
 $\displaystyle\lim_{x\rightarrow 2} \sqrt{x + 2}$
 $\displaystyle\lim_{x\rightarrow 1} \sqrt{\dfrac{2x^2 + 2}{2x^2  1}}$
 $\displaystyle\lim_{x\rightarrow 1}\dfrac{x^2  1}{x + 1}$
 $\displaystyle\lim_{x\rightarrow 0}\dfrac{2x^2 + x}{x}$
 $\displaystyle\lim_{x\rightarrow 3}\dfrac{x+1}{x3}$
 For the following problems, sketch the graph of $f$ and find $\displaystyle \lim_{x\rightarrow a} f(x)$, if it exists.
 $f(x) = \begin{cases}x + 1 & x \leq 0 \\ 0 & x > 0\end{cases}, \qquad a = 0$
 $f(x) = \begin{cases}\lvert x \rvert & x \leq 2 \\ 2 & x > 2\end{cases}, \qquad a = 2$
 $f(x) = \begin{cases} x^2 & x \leq 1 \\ x1 & x > 1\end{cases}, \qquad a = 1$
 $f(x) = \begin{cases} x^2  3 & x \neq 0 \\ 0 & x = 0\end{cases}, \qquad a = 0$