Link Search Menu Expand Document

Continuity and differentiability of functions

Maximize area of a rectangle

A3, 2019

There is a piece of land next to a straight river. You are required to cut off a rectangular portion of the land, with the river forming one of the sides of the rectangle. The fence will have three sides to it. You have 60 meters of fencing. What is the maximum area that you can enclose?

Solution

Let the length and width of the rectangular fence be \(x\) and \(60-2x\), respectively. The area of the enclosure is:

\[ A(x) = (60-2x)x \]

which is maximized when \(A^{\prime}=0=60-4x\). Hence, \(x\) should be \(15\) meters. Thus the maximum enclosure is 450 sq.mts.


Continuity

A2, 2013

Let \(f: \mathbb{R} \rightarrow \mathbb{R}\) be a function, where \(\mathbb{R}\) is the set of real numbers. For each statement below, write whether it is TRUE or FALSE.

  • a) If \(|f(x)-f(y)| \leq 39|x-y|\) for all \(x, y\) then \(f\) must be continuous everywhere.
  • b) If \(|f(x)-f(y)| \leq 39|x-y|\) for all \(x, y\) then \(f\) must be differentiable everywhere.
  • c) If \(|f(x)-f(y)| \leq 39|x-y|^{2}\) for all \(x, y\) then \(f\) must be differentiable everywhere.
  • d) If \(|f(x)-f(y)| \leq 39|x-y|^{2}\) for all \(x, y\) then \(f\) must be constant.

    Solution

    True-False-True-True

    In parts a and b, we have \(|f(x)-f(a)|\) lying between \(\pm 39|x-a| .\) As \(x \rightarrow a\) \(\pm 39|x-a| \rightarrow 0\) and hence \(f(x)-f(a) \rightarrow 0,\) so \(f\) is continuous. But it need not be differentiable, for example \(f(x)=|x|\) satisfies \(f(x)-f(y)=|x|-|y| \leq|x-y| \leq 39|x-y| \cdot\) But \(f\) is not differentiable at \(0 .\)

    In parts c and d, we have \(\left|\frac{f(x)-f(a)}{x-a}\right| \leq 39|x-a|,\) so by reasoning as for part a, we have \(\lim_{x \rightarrow a} \frac{f(x)-f(a)}{x-a}=0,\) i.e., \(f^{\prime}(a)=0\) for all \(a,\) so \(f\) is a constant function.


    Rolle’s theorem III

    A9, 2013

    Let \(\mathbb{R}=\) the set of real numbers. A continuous function \(f: \mathbb{R} \rightarrow \mathbb{R}\) satisfies \(f(1)=1\), \(f(2)=4, f(3)=9\) and \(f(4)=16 .\) Answer the following questions.

    (i) Which of the options must be in the range of \(f\)?

    (a) 5 (b) 25 (c) both (d) neither

    (ii) Suppose \(f\) is differentiable. Then which of these intervals must contain an \(x\) so that \(f^{\prime}(x)=2 x\) ?

    (a) (1,2) (b) (2,4) (c) both (d) neither

    (iii) Suppose \(f\) is differentiable twice. Which of these intervals should contain an \(x\) such that \(f^{\prime \prime}(x)=2\)?

    (a) (1,2) (b) (2,4) (c) both (d) neither

    (iv) Suppose \(f\) is a polynomial, then which of the following are possible values of its degree?

    (a) 3 (b) 4 (c) both (c) neither

    Solution

    (i) \(5\). By the intermediate value theorem over the interval \([2,3]\). Also \(f(x)\) may not take the value \(25,\). For a counterexample, take \(f(x)=x^{2}\) for \(x<4\) and \(f(x)=16\) for \(x \geq 4\).

    (ii) Both.

    (iii) (2,4)

    (iv) 4

    For parts b, c and d, let \(g(x)=f(x)-x^{2}\). We have \(g(1)=g(2)=g(3)=g(4)=0\). For part b, applying Rolle's theorem to \(g(x)\) gives \(g^{\prime}(x)=0\) for some values of \(x\) in each of the intervals \((1,2),(2,3),(3,4) .\) For these values of \(x,\) we have \(f^{\prime}(x)=g^{\prime}(x)+2 x=2 x\)

    For part c, take from part b values \(r \in(2,3)\) and \(s \in(3,4)\) with \(g^{\prime}(r)=0=g^{\prime}(s)\). Applying Rolle's theorem to \(g^{\prime}(x)\) in the interval \([r, s],\) we get for some \(x \in(r, s) \subset(2,4)\) the equality \(g^{\prime \prime}(x)=0\) and so \(f^{\prime \prime}(x)=g^{\prime \prime}(x)+2=2 .\) There need not be an \(x \in(1,2)\) with \(f^{\prime \prime}(x)=2\) i.e., \(g^{\prime \prime}(x)=0 .\) There are many ways to arrange this, for example let \(g(x)=\sin (\pi x) .\) Then

    \(g^{\prime \prime}(x)=-\pi^{2} \sin (\pi x),\) which is 0 only when \(x\) is an integer, in particular \(g^{\prime \prime}(x) \neq 0\) for any \(x \in(1,2)\) For part d, note that \(g(x),\) now being a polynomial vanishing at 1,2,3 and \(4,\) must be divisible by \((x-1)(x-2)(x-3)(x-4) .\) So \(g(x),\) if non-zero, must have degree at least 4 Thus \(f(x)=x^{2}\) or a polynomial of degree at least 4


    Continuity on tangents and secants

    A9, 2016

    Given a continuous function \(f\), define the following subsets of the set \(\mathbb{R}\) of real numbers.

    \(T=\) set of slopes of all possible tangents to the graph of \(f\)

    \(S=\) set of slopes of all possible secants, i.e. lines joining two points on the graph of \(f\)

    (i) If \(f\) is differentiable, then \(S \subset T\).

    (ii) If \(f\) is differentiable, then \(T \subset S\).

    (iii) If \(T=S=\mathbb{R},\) then \(f\) must be differentiable everywhere.

    (iv) Suppose 0 and 1 are in \(S\). Then every number between 0 and 1 must also be in \(S\).

    Solution

    TFFT

    i The mean value theorem tells us \(S \subset T\).

    ii \(T \subset S\) is false, example \(f(x)=\sin (x) .\) Here \(f^{\prime}(0)=1\) is in \(T\) but not in \(S\).

    iii \(T=S=\mathbb{R}\) can happen at points where \(f\) is not differentiable.

    iv \(S\) has mean value property, because of continuity. (TODO)


    Irrationality and continuity

    A6, 2016

    A function \(f(x)\) is defined by the following formulas \[ f(x)=\left\{\begin{array}{ll} x^{2}+1 & \text { when } x \text { is irrational } \\ \tan (x) & \text { when } x \text { is rational. } \end{array}\right. \]

    At how many \(x\) in the interval \([0,4 \pi]\) is \(f(x)\) continuous?

    Solution

    The given function is defined using the two functions \(x^{2}+1\) and \(\tan (x)\).

    Both these functions are continuous wherever they are defined. As every irrational number \(z\) has a non terminating, non repeating decimal expansion we see that given any \(\epsilon>0\) there is a rational number \(p\) such that the distance between \(z\) and \(p\) is less than \(\epsilon\).

    Using these facts we see that the given function is continuous precisely at those \(x\) in the interval \([0,4 \pi]\) where \(x^{2}+1=\tan (x)\), since \(x^{2}+1\) is positive, it will intersect \(\tan (x)\) exactly once in the intervals \(\left[0, \frac{\pi}{2}\right],\left[\pi, \frac{3 \pi}{2}\right],\left[2 \pi, \frac{5 \pi}{2}\right],\left[3 \pi, \frac{7 \pi}{2}\right],\) as \(\tan (x)\) increases from 0 to \(\infty\) in each of these intervals. \(\tan (x)\) is negative elsewhere in the given domain. So we have 4 points of continuity.


    Strange question

    B3, 2017

    Suppose \(p(x)\) be a polynomial of degree strictly less than hundred and such that \(x^{3}-x\) is not one of its factors. If \[ \frac{d^{100}}{d x^{100}}\left(\frac{p(x)}{x^{3}-x}\right)=\frac{f(x)}{g(x)} \] for some polynomials \(f(x)\) and \(g(x)\) then find the smallest possible degree of \(f(x)\).

    Solution

    Put \(p(x)=x^2-1\), then \begin{align} \frac{d^{100}}{d x^{100}}\left(\frac{p(x)}{x^{3}-x}\right)=\frac{d^{100}}{d x^{100}}\left(\frac{1}{x}\right) = \frac{-100!}{x^{100}} \end{align} Hence, \(f(x)\) can have degree 0.

    Reference. This problem is taken from Putnam 1992 competition, but with a typo that trivializes the problem. See the intended problem and the solution here.

    To make the problem interesting one needs to state that neither 0,-1 or 1 are the roots of \( p(x) \) as stated in the original Putnam problem.


    Inflection point

    A6, 2017

    Let \(g\) be a function such that all its derivatives exist.
    We say \(g\) has an inflection point at \(x_{0}\) if the second derivative \(g^{\prime \prime}\) changes sign at \(x_{0}\) i.e., if \(g^{\prime \prime}\left(x_{0}-\epsilon\right) \times g^{\prime \prime}\left(x_{0}+\epsilon\right)<0\) for all small enough positive \(\epsilon\).

    (a) Find all values \(x_{0}\) at which \(g(x) = x^{4}(x-10)\) has an inflection point.

    (b) If \(g^{\prime \prime}\left(x_{0}\right)=0\) then \(g\) has an inflection point at \(x_{0}\). Is this true?

    (c) If \(g\) has an inflection point at \(x_{0}\) then \(g^{\prime \prime}\left(x_{0}\right)=0.\). Is this true?

    Solution

    (a) \(g^{\prime \prime}(x)=20 x^{3}-120 x^{2}=20 x^{2}(x-6)\) and this changes sign only at \(x=6 .\)

    (b) is false. Consider the function above: \(g^{\prime \prime}(0)=0\) but \(g^{\prime \prime}\) does not change sign at \(x=0\).

    (c) is true due to continuity. The function \(g\) is continuous since it is differentiable.


    Concave function

    A6, 2020

    Suppose \(a=20202019\) and \(b=20202021\). Fill in the blank with either \(<, >\) or \(=\). \[ \tan^{-1} a + \tan^{-1} b \underline{\hspace{1cm}} 2 \tan^{-1} ( \frac{a+b}{2} ) \] Hint: Look at the second derivative.

    Solution

    Let \(f(x) := \tan^{-1}x \). \begin{align} f^\prime(x) &= \frac{1}{1+x^2} \\ f^{\prime\prime}(x) &= \frac{-2x}{ (1+x^2)^2 } \\ \end{align} In the domain \( (0,\infty) \), the second derivative is strictly negative. This means that \( f(x) \) is strictly concave in this domain. Therefore \( f(x) + f(y) < 2 f( (x+y)/2) \) for any \(x,y \in (0,\infty) \).


    Differentiability I

    A3, 2014

    Given a real number \(x,\) define \(g(x)=x^{2} e^{x}\) if \(x \geq 0\) and \(g(x)=x e^{-x}\) if \(x<0\)

    (A) The function \(g\) is continuous everywhere.

    (B) The function \(g\) is differentiable everywhere.

    (C) The function \(g\) is one-to-one.

    (D) The range of \(g\) is the set of all real numbers.

    Solution TFTT

    Longest diagonal in a box

    A12, 2014

    The total length of all 12 sides of a rectangular box is \(60\).
    (i) Write the possible values of the volume of the box. Your answer should be an interval.
    (ii) Now suppose in addition that the surface area of the box is given to be \(56\). Find the length of the longest diagonal of the box.
    (iii) the volume of the box.

    Solution

    (i) Let the width, length and height of the box be \(a,b\) and \(c\), respectively. We are given that \(4(a+b+c)=60\). Volume lies in the interval \( (0,125] \). The volume becomes arbitrarily small as \(a\) tends to zero. To find the maximum volume we use AM-GM inequality:

    \begin{align*} \frac{a+b+c}{3} &\geq \sqrt[3]{abc} \\ \left( \frac{15}{3} \right)^{3} &\geq abc \\ 125 &\geq abc \end{align*}

    (ii) The length of the diagonal of the box is given by \( \sqrt{ a^2+b^2+c^2 } \).

    \begin{align*} (a+b+c)^2 &= a^2 + b^2 + c^2 + 2(ab+bc+ca) \\ a^2 + b^2 + c^2 &= 15^2 - 56 = 169 \end{align*}

    Length of diagonal is 13 cm.

    (iii) Volume is not uniquely determined.


    Differentiable piece function

    A5, 2011

    A function \(f\) is defined by \(f(x)=e^{x}\) if \(x<1\) and \(f(x)=\log_{e}(x)+a x^{2}+b x\) if \(x \geq 1\). Here \(a\) and \(b\) are unknown real numbers. Can \(f\) be differentiable at \(x=1 ?\)

    • \(f\;\) is not differentiable at \(\;x=1\;\) for any \(\;a\;\) and \(\;b\).
    • There exist unique numbers \(\; a \;\) and \(\; b \;\) for which \(\;f\;\) is differentiable at \(\;x=1\).
    • \(f\;\) is differentiable at \(\; x=1\;\) whenever \(\; a+b=e\).
    • \(f\;\) is differentiable at \(\; x=1\;\) regardless of the values of \(\; a\) and \(\; b\).
    Solution

    Option (B). There are unique values of \(a\) and \(b\) for which \(f\) is differentiable at \(x=1\).

    For the function to be continuous at \(x=1\), we must have \( a+b = e \). For the function to be differentiable:

    \[ e^x = \frac{1}{x} + 2ax + b \;\;\;\text{ at }\; x=1 \]

    This means at \( x= 1\), we must have \( a=-1\) and \( b=e+1 \) for the function to be differentiable.


    Only one real root

    A8, 2011

    Suppose \(f(x) = x^3 + x^2 + cx + d\), where \(c\) and \(d\) are real numbers. Prove that if \(c>1/3\), then \(f\) has exactly one real root.

    Requires algebra too.

    Solution

    Since the function has odd degree as the highest power, it has at least one real root. To show that the function has exactly one real root we have to show, that it is monotonic in the whole \(\mathbb{R}\). This can be done by showing that \(f'(x)\) is always positive when \(c>1/3\).

    \[ f'(x) = 3x^2+2x+c \]

    The discriminant of the above quadratic, \(2^2-4\cdot3\cdot c\), is negative when \(c>1/3\). Hence, \(f'(x)\) is always positive in \(\mathbb{R}\).


    Rolle’s theorem I

    A2, 2012

    A differentiable function \(f: \mathbb{R} \rightarrow \mathbb{R}\) has the following values: \(f(1)=2, f(2)=4\) and \(f(3)=1 \). Show that \(f^{\prime}(x)=0\) for some \(x\).

    Solution

    Since \(f\) is differentiable, it must be continuous. By continuity, there is \(a \in(2,3)\) with \(f(a)=2=f(1)\). Rolle's theorem says that there is \(x \in(1, a)\) with \(f^{\prime}(x)=0\).


    Rolle’s theorem II

    B9, 2011

    A real-valued function \(f(x)\) defined on a closed interval \([a,b]\) has the property that \(f(a)=f(b)=0\) and \(f(x)=f'(x)+f^{\prime\prime}(x)\) for all \(x\) in \([a,b]\). Show that \(f(x)=0\) for all \(x\) in \([a,b]\).

    Solution

    If \(f(x)\) is not constant, then it must attain a local maxima or minima at some value \(c\in[a,b]\).

    From the condition specified:

    \begin{equation} f(c)=f'(c)+f^{\prime\prime}(c) \label{eq:rolle} \tag{1} \end{equation}

    If \(f(c)\) is the local maxima, then \(f(c)>0\), \(f'(c)=0\) and \(f^{\prime\prime}(c)<0\). But Eq.\(\eqref{eq:rolle}\) does not hold in that case. A similar argument holds for local minima. Hence, \(f(x)\) is zero in the interval \([a,b]\).


    A simple substitution

    A2, 2019

    Let \(f\) be a real valued continuous function defined on \(\mathbb{R}\) satisfying \(f^{\prime}\left(\tan ^{2} \theta\right)=\cos 2 \theta+\tan \theta \sin 2 \theta,\) for all real numbers \(\theta\) If \(f(0)=-\cos \frac{\pi}{12}\) then find \(f(1)\)

    Solution

    Substitute \(t=\tan^{2} \theta \). Then we have

    \begin{align} f'(\tan^2\theta) & = \cos 2\theta(1+\tan \theta \tan 2\theta ) \\ f'(\tan^2\theta) & = \frac{1-\tan^2\theta}{1+\tan^2\theta} \left( 1 + \frac{2\tan^2\theta}{1-\tan^2\theta} \right) \\ f'(t) & = \frac{1-t}{1+t} \left( 1 + \frac{2t}{1-t} \right) \quad\text{ where } t=\tan^2 \theta \\ f'(t) & = 1 \\ f(t) & = t + constant \end{align}

    Hence the answer is \(1-\cos \frac{\pi}{12}\).


    Application of Rolle’s theorem

    A7, 2014

    Let \(f(x)=(x-a)(x-b)^{3}(x-c)^{5}(x-d)^{7},\) where \(a, b, c, d\) are real numbers with \( a < b < c < d \). Thus \(f(x)\) has 16 real roots counting multiplicities and among them 4 are distinct from each other. Consider \(f^{\prime}(x),\) i.e. the derivative of \(f(x)\). Find the following quantities:
    (i) the number of real roots of \(f^{\prime}(x),\) counting multiplicities.
    (ii) the number of distinct real roots of \(f^{\prime}(x)\).

    Solution

    15,6


    Monotonic again

    B1c, 2017

    Find the number of solutions to \(e^{x}=\frac{x}{2017}+1\)

    Solution

    This problem is similar to the last one. We need to show that the function is monotonic in some interval.

    Consider the function: \begin{align} f(x)&= e^x -\frac{x}{2017} - 1 \\ f'(x)&= e^x -\frac{1}{2017} \end{align}

    The derivative is positive when \(x> x_0=-\log 2017\).

    • We have \(f(x_0)< 0\) and \( f(-\infty)>0 \) so there is one solution in the interval \((-\infty,x_0)\).
    • \( x = 0 \) is another solution.

    Hence, there are two solutions to the equation.


    Asymptotes of a function

    A10, 2013

    Let

    \[ f(x)=\frac{x^{4}}{(x-1)(x-2) \cdots(x-n)} \]

    where the denominator is a product of \(n\) factors, \(n\) being a positive integer. It is also given that the X-axis is a horizontal asymptote for the graph of \(f\). Answer these four questions.
    (i) How many vertical asymptotes does the graph of \(f\) have?
    (a) \(n\)
    (b) less than \(n\)
    (c) more than \(n\)
    (d) impossible to decide

    (ii) What can you deduce about the value of \(n ?\)
    (a) \(n<4\)
    (b) \(n=4\)
    (c) \(n>4\)
    (d) impossible to decide

    (iii) As one travels along the graph of \(f\) from left to right, at which of the following points is the sign of \(f(x)\) guaranteed to change from positive to negative?
    (a) \(x=0\)
    (b) \(x=1\)
    (c) \(x=n-1\)
    (d) \(x=n\)


    (iv) How many inflection points does the graph of \(f\) have in the region \(x<0 ?\)
    (a) none
    (b) 1
    (c) more than \(1 \quad\)
    (d) impossible to decide.
    (It is better to sketch than calculate).

    Solution

    (i) \(n\) at \(x=1,2, \ldots, n\).

    (ii) \(n>4,\) because \(\lim_{x \rightarrow \pm \infty} f(x)=0\) and for this to happen, the degree of the denominator of \(f(x)\) must be greater than that of the numerator.

    (iii) \(x=n-1,\) because \(f(x)\) is positive for \(x> n\) and \(f(x)\) changes sign precisely when it passes through \(x=1,2 \ldots, n .\) Note that the sign of \(f(x)\) for \(x<0\) and for \(x \in(0,1)\) depends on the parity of \(n\)

    (iv) More than \(1 .\) Note that \(f(x)=0\) only at \(x=0,\) with multiplicity \(4 .\) Without loss of generality, let \(n\) be even. Now \(f(x)> 0\) for \(x<1\) except at \(x=0\) and \(f\) has all derivatives for \(x<1\). Due to the multiple root at \(x=0,\) the graph of \(f\) must be concave up, that is \(f^{\prime \prime}(x)> 0\) ) near \(x=0\). Further, as \(x \rightarrow-\infty,\) the values of \(f(x)\) stay positive and \(\rightarrow 0\).

    Therefore, as one traces the graph from from the origin to the left, it must become concave down at least once and eventually concave up again so as to approach the X-axis from above.


    Span of the a function

    B5, 2013

    Consider the function \(f(x)=a x+\frac{1}{x+1},\) where \(a\) is a positive constant. Let \(M=\) the largest value of \(f(x)\) and \(N=\) the smallest value of \(f(x)\) for \(x \in[0,1] .\) Show that \(M-N>\frac{1}{12}\) for any \(a>0\).

    Solution

    We have \(f(0)=1, f(1)=a+\frac{1}{2}\) and \(f^{\prime}(x)=a-\frac{1}{(x+1)^{2}}\) Over the interval \([0,1],\) the value of \(f^{\prime}(x)\) increases from \(a-1\) at \(x=0\) to \(a-\frac{1}{4}\) at \(x=1\)o

    What happens to the sign of \(f^{\prime}(x)\)? We do a case by case analysis.

    Case 1. Suppose \(a \leq 1 / 4 .\) Because \(1 /(x+1)^{2} \geq 1 / 4\) on the interval \([0,1], f^{\prime}(x) \leq 0,\) so the maximum is at 0 and the minimum is at \(x=1\). So the difference is \(1-(1 / 2+a)=\) \(1 / 2-a \geq 1 / 4 \geq 1 / 12\)

    Case 2. Suppose \(a \geq 1\). Then \(f^{\prime}(x) \geq 0\) on the interval [0,1] , so maximum is at 1 and minimum at 0. We get \(a+1 / 2-1=a-1 / 2 \geq 1 / 2 \geq 1 / 12\)

    Case 3. Suppose \(1 / 4 \leq a \leq 1 .\) Now \(f^{\prime}(x)=0\) at \(\tilde{x}=\frac{1}{\sqrt{a}}-1 .\) For this range of \(a, \tilde{x} \in[0,1]\) In the interval \([0, \tilde{x}], f^{\prime}(x) \leq 0\) and in the interval \([\tilde{x}, 1], f^{\prime}(x) \geq 0 .\) Now we make two sub-cases depending on the endpoint at which the maximum occurs.

    Case 3a. Suppose \(1 / 4 \leq a \leq 1 / 2\). Then \(f(0) \geq f(1)\). So minimum is at \(\tilde{x},\) maximum is at \(x=0 . f(\tilde{x})=\sqrt{a}-a+\sqrt{a}=2 \sqrt{a}-a\). So the difference between maximum and minimum is \(1+a-2 \sqrt{a}=(1-\sqrt{a})^{2}\). This is smallest when \(\sqrt{a}\) is closest to 1 and so \((1-\sqrt{a})^{2} \geq(1-1 / \sqrt{2})^{2}=3 / 2-\sqrt{2} .\) This is bigger than \(1 / 12\) since \(\left(\frac{3}{2}-\frac{1}{12}\right)=17 / 12\) and \(17^{2}=289 \geq 2 \times 12^{2}\)

    Case 3b. Suppose \(1 / 2 \leq a \leq 1\). Now \(f(1) \geq f(0)\). Max is at 1 and minimum is at \(\tilde{x}\). The difference is \(a+1 / 2-\sqrt{a}+a-\sqrt{a}=2 a-2 \sqrt{a}+1 / 2=\left(\sqrt{2 a}-\frac{1}{\sqrt{2}}\right)^{2} .\) By a calculation similar to the above it is bigger than \(1 / 12\).


    Spider walk

    B3, 2020

    A spider is moving along the curve \(y=x^3\) in the positive \(x-\)direction. It moves along the curve with a constant speed of \(10\) cm per second. The spider has woven a web that connects it to the origin. The strand connecting it to the origin is taut. Find the rate of increase of the length of the strand when \(x=\frac{1}{2}\).

    Solution Let \(v_x\) and \(v_y\) define the horizontal and vertical components of the velocity of the spider. Since the speed of the spider is constant we have: \[ \sqrt{v_x^2 + v_y^2} = 10 \mbox{ cm/s} \] \begin{align} y &= x^3 \\ \frac{dy}{dt} &= 3x^2 \frac{dx}{dt} \\ v_y &= 3x^2 v_x \end{align} When the spider is at \(x=1/2\), we have \( v_y = 3v_x/4 \). Since the speed is constant: \begin{align} \sqrt{ v_x^2 + \frac{9v_x^2}{16} } &= 10\\ \sqrt{ \frac{25v_x^2}{16} } &= 10 \\ \frac{5v_x}{4} &= 10 \\ v_x &= 8 \mbox{ cm/s} \\ v_y &= 3v_x/4 = 6 \mbox{ cm/s} \end{align} We know the velocity at \(x=1/2\). Let us calculate \(dl/dt\), the rate of increase of the strand length at that moment. \begin{align} l &= \sqrt{ x^2 + y^2 } \\ \frac{dl}{dt} &= \frac{1}{2\sqrt{ x^2 + y^2 }} \left( 2x\frac{dx}{dt} + 2y\frac{dy}{dt} \right) \\\\ &= \frac{1}{\sqrt{ (1/2)^2 + (1/8)^2 }} \left( \frac{1}{2}\cdot 8 + \frac{1}{8} \cdot 6 \right) \\\\ &= \frac{4+3/4}{ \sqrt{\frac{1}{2^2}+\frac{1}{8^2}} } \\ &= \frac{38}{\sqrt{17}}\\ \frac{dl}{dt}&\approx 9.2 \mbox{ cm/s} \end{align}

    Double derivatives

    A4, 2015

    Let \(A, B\) and \(C\) be unknown constants. Consider the function \(f(x)\) defined by

    \begin{align} f(x) &=A x^{2}+B x+C \text { when } x \leq 0 \\ &=\ln (5 x+1) \text { when } x>0 \end{align}

    Write the values of the constants \(A, B\) and \(C\) such that \(f^{\prime \prime}(x),\) i.e., the double derivative of \(f,\) exists for all real \(x \).

    Solution

    The only problem is at \(x=0 .\) For continuity, \(\ln (0+1)=C\).

    For \(f^{\prime}(0)\) to exist, \(f\) must be continuous and the left and right derivatives of \(f\) at \(x=0\) (which are easily seen to exist) must match, that is \(5=B\).

    For \(f^{\prime \prime}(0)\) to exist, \(f^{\prime}(0)\) must exist and left and right derivatives of \(f^{\prime}\) at \(x=0\) must match, i.e. \(2 A=-5^{2} .\) So \(A=-\frac{25}{2}, B=5, C=0\).


    Function with a maximum

    B1b, 2018

    Suppose \(f\) is a differentiable function defined on a subset \(S\) of \(\mathbb{R}\). Define \[ f^{\ast}(y):=\max_{x \in S}\{y x-f(x)\} \] whenever the above maximum is finite. For the function \(f(x)=-\ln (x),\) determine the set of points for which \(f^{\ast}\) is defined and find an expression for \(f^{\ast}(y)\) involving only \(y\) and constants.

    Solution First, note that the function \(f(x)\) is defined only for the positive values of \(x\). Now if \(y \geq 0\) then the first derivative of \(x y+\ln (x)\) is \(y+\frac{1}{x}\) which is strictly positive for \(x>0 .\) Hence \(x y+\ln (x)\) is an increasing function and consequently \(f^{\ast}(y)\) is not defined. Now if \(y<0\) then \(x=-\frac{1}{y}\) is the only critical point of \(x y+\ln (x)\). Either of the derivative test tells us that it is in fact the maxima. Hence, the domain of \(f^{\ast}(y)\) is \(y<0\) and \[ f^{\ast}(y)=\ln \left(\frac{-1}{y}\right)-1 \]