๐ฌ Tutorial problems zeta \(\zeta\)#
Note
This problems are designed to help you practice the concepts covered in the lectures. Not all problems may be covered in the tutorial, those left out are for additional practice on your own.
\(\zeta\).1#
Using LโHรดpitalโs rule compute the following limit
Consider the function \(f(x)=\frac{g(x)}{h(x)}=\frac{x^{2}}{e^{x}}\). Note that
which is of indeterminate form. We have \(g^{\prime}(x)=2 x\) and \(h^{\prime}(x)=e^{x}\). Note that
which is also of indeterminate form. We have \(g^{\prime \prime}(x)=2\) and \(h^{\prime \prime}(x)=e^{x}\). Note that
Thus we can conclude that
by LโHopitalโs rule.
\(\zeta\).2#
Consider function \(f \colon X \to \mathbb{R}\) defined by \(f(x) = \frac{1}{x} e^x\).
Find the minimizer(s) and the maximizer(s) of this function on \(X = (0, 2]\).
Follow all the required steps and explain your reasoning.
Review the algorithm for univariate optimization in the lecture notes
Following the algorithm for the univariate optimization from the lecture notes
Locate all stationary points
according to the definition the stationary points are those interior points where \(f'(x) = 0\)
Evaluate the function at the stationary points and the boundaries, in our case only one boundary \(x=2\).
Evaluating the function at \(x=0\) is not possible because the function is not defined there! We have to be careful and investigate the behavior of the function as \(x\) approaches \(0\).
Because \(exp(x)\) is always positive, for small values of \(x\) the function takes on large numbers. The smaller \(x\) is, the larger the function becomes. This means that the function is unbounded as \(x\) approaches \(0\) (from the right). Therefore, we could move forward taking \(f(0) = \infty\).
Compare the values of the function at the stationary points and the boundaries to pick out the solution.
The minimizer of the function on \((0,2]\) is \(x=1\) because \(\min\{e,e^2/2,\infty\} = e\).
The maximizer of the function could be \(x=0\) because \(\max\{e,e^2/2,\infty\} = \infty\), but as the function is not defined at \(x=0\). We showed that the function grows without bound as \(x\) becomes closer and closer to 0, therefore it is impossible to find a precise \(x\) where it attains the maximum value (there is always possible to make a step towards zero to increase the function a little more). The conclusion is that there is no maximizer on \([0,2]\).
\(\zeta\).3#
Find an example of a nonlinear univariate function \(f \colon D \subset \mathbb{R} \to \mathbb{R}\) that:
(a) has exactly one maximizer and one minimizer (b) has has neither a maximizer nor a minimizer (c) has an infinite number of maximizers and minimizers (d) has exactly finite number \(n\) of maximizers and \(n\) minimizers
Remember to define both the function \(f(x)\) and its domain \(D\) for each case.
First, review the relevant definitions. Then, try to draft some ideas on a piece of paper. Think of how they can be expressed in mathematical terms.
This is a creative problem which has many possible correct answers.
As always, start with the definitionsโin this case definitions of maximizer and minimizer.
Here is one possible solution:
(a) any linear (affine) function \(f(x)=ax+b\), \(a \ne 0\) on any close interval \([A,B]\) has no stationary points, and therefore exactly one maximizer and one minimizer at the edges of the interval.
(b) any linear (affine) function \(f(x)=ax+b\), \(a \ne 0\) on any open interval \((A,B)\) has no maximizer and no minimizer similarly to the no existence example in the lecture notes. A different idea would be to rely on positive and negative infinity in the domain \(D\), for example, let \(f(x) = \tan(\pi x)\) which takes values \(0\) on all integer points, and approaches a vertical line at every half-integer point.
(c) A constant function \(f(x) = C\) should immediately come to mind. Another possibility is the cyclic trigonometric functions like \(f(x) = \sin(x)\) or \(f(x) = \cos(x)\) on the entire real line. The latter only return values between -1 and 1, and attain these two values infinitely many times.
(d) This is the most tricky question, but one solution is to adjust the domain of the trig function such as \(f(x) = \cos(\pi x)\). This function attains 1 at \(x=\{...,-2,0,2,4,...\}\) and attains 0 at \(x=\{...,-3,-1,1,3,5,...\}\). Therefore, it has exactly \(n\) maximizers and \(n\) minimizers if we define \(D = [0,2n-1]\).
\(\zeta\).4#
A square tin plate whose edges are 18 cm long is to be made into an open square box of depth \(x\) cm by cutting out equally sized squares of width \(x\) in each corner and then folding over the edges. Draw a figure, and show that the volume of the box is, for \(x \in [0, 9]\):
Also find maximum point of V in \([0, 9]\) and show it is indeed the maximum using second order conditions.
[Sydsรฆter, Hammond, Strรธm, and Carvajal, 2016] Exercises for Section 8.3, Question 3
To avoid cutting out everything, we have to impose \(x<9\).
The volume is given by the product of width \(18-2x\) by length \(18-2x\) by height \(x\) of the box. This gives
To find the maximum of \(V(x)\) differentiate and factorize:
The critical points are \(x=3\) and \(x=9\).
Applying the second order condition, compute \(V''(3)\), \(V''(9)\) and check their signs.
Therefore, at \(x=3\) there is a local maximum with \(V(3)=12 \cdot 12 \cdot 3 = 432\).
\(\zeta\).5#
The portion of families whose income is no more than \(x\), and who have a home computer, is given by
where \(a\), \(k\), and \(c\) are positive constants. Determine \(p'(x)\) and \(p''(x)\). Does \(p(x)\) have a maximum? Sketch the graph of \(p(x)\) for \(x \geqslant 0\).
The first and second derivatives of \(p(x)\) are
Since \(kc > 0\), we have \(kce^{-cx} > 0\) for all \(x\). Thus, \(p'(x) > 0\) for all \(x\), which means that \(p(x)\) is increasing for all \(x\).
Similarly because \(c>0\) we have \(p''(x) < 0\) for all \(x\), which implies that \(p(x)\) is concave.
We can also note that \(p(x) < 1\) for all \(x \geqslant 0\) and therefore there itโs worth to compute the limit
With \(p(0) = a\) this is enough to sketch the graph of \(p(x)\) for \(x \geqslant 0\).
\(\zeta\).6#
Find the own price elasticity of demand for each of the following demand or inverse demand functions. If possible, find the price or prices for which the demand curves will: (i) be inelastic, (ii) have unitary elasticity and (iii) be elastic.
(a) \(P=100-2 Q\);
(b) \(Q=200-0.8 P\);
(c) \(P=100 Q^{-1}\);
(d) \(Q=200 P^{-0.8}\);
(e) \(P=50 e^{-0.7 Q}\); and
(f) \(Q=\frac{150}{\ln (P)}\).
[Shannon, 1995], p. 404
The answers to this question are directly drawn from the answer key to the exercises in Shannon (1995). This answer key was written by John Shannon and Ted McDonald. All figures presented here are also from that answer key.
The price elasticity of demand is defined in the following way
For a linear demand function or a linear inverse demand function it is defined as
(a)
For the inverse demand function \(p=100-2 q\) the derivative is
and the price elasticity of demand is
To find where this demand curve has unit elasticity we let \(\eta=-1\) and find the values of \(p\) and \(q\) for which this is the case.
Multiplying by \(-2 q\) gives the relationship which exists between \(p\) and \(q\) when there is unit elasticity.
We now substitute this expression for \(p\) into the inverse demand function
If we add \(2 q\) to both sides
and then divide by 4 we obtain
To obtain \(p\) we use the relationship
For this function we have \(\eta=-1\) when \(q=25\) and \(p=50\)
(b)
For the demand function
we have
and the price elasticity will be
When \(\eta=-1\) then we will have
and multiplying by \(-q\) gives
Substituting this value of \(\mathrm{q}\) into the demand function gives
If we add .8 p we obtain
and dividing by 1.6 gives
Using the relationship between \(p\) and \(q\) we find
For this function we have \(\eta=-1\) when \(q=100\) and \(p=125\)
(c)
For the inverse demand function
we have
and the price elasticity will be
Since \(p=100 q^{-1}\) we can write \(\eta\) as
For this type of function \(\eta=-1\) for any \(p\) and \(q\) values that lie on the inverse demand curve.
(d)
For the demand function
we have
and the price elasticity will be
Substituting \(q=200 p^{-0.8}\) into this expression gives
For this function \(\eta\) is always equal to -0.8 so no set of \(p\) and \(q\) values will make the value of \(\eta\) equal to -1 .
(e)
For the inverse demand function
we have
and the price elasticity will be
Substituting \(p=50 e^{-0.7 q}\) into this expression we obtain
When \(\eta=-1\) then
and
so
Substituting this value of \(q\) into the inverse demand function gives
For this function if \(\eta=-1\) when \(q=\frac{10}{7}\) and \(p=18.3940\).
(f)
For the demand function
we have
so
Substituting \(q=150(\operatorname{ln} p)^{-1}\) into this expression gives
When \(\eta=-1\) then
and
so that
while
For this function we will have \(\eta=-1\) when \(q=150\) and \(p=2.71828\)