C Roettger, S15 – Math 165, Project 3B You are Function Detectives! Evil Genius Dr Moriarty’s secret is a function f (x), about which you have discovered the following clues. 1. It is a polynomial. 2. It has inflection points at x = −4, 0, 4. √ 3. It has horizontal tangent lines at x = ±1 and at x = ± 31. 4. Its graph passes through the point (0, 1). 5. Its graph passes through the point (1, 4). Your ultimate goal is to find the function f (x) itself. Fortunately, the clues are already in the right order to solve the puzzle. In particular, use 2. to determine the degree of f (x). Then use it to determine f �� (x). Use antiderivatives and 3. to examine f � (x). This leaves you with two parameters undetermined. The last two clues nail these down. Have some fun by plotting several (eg five) different functions satisfying all clues 1. - 4., including the correct one. Include the plot in your writeup. Solution. From clue # 2, we know that f �� (x) = 0 for x = −4, 0, 4 (actually, f �� (x) has to change sign there). So f (x) has factors x + 2 and x and x − 2. In total, f �� (x) = A(x + 4)x(x − 4) = Ax(x2 − 16) = A(x3 − 16x). Let us find f � (x) as an antiderivative of f �� (x), � � 4 � x 2 � 3 − 8x + C . f (x) = A(x − 16x) dx = A 4 (it is more convenient if we define C by being inside the parenthesis than outside, but it could√be done either way). Next, clue # 3 says f � (x) = 0 for x = ±1 and x = ± 31. These conditions happen exactly for x2 = 1 and x2 = 31. So, putting x2 = 1, 1 −8+C =0 4 which means C = 31 . Then automatically, f � (x) = 0 for x2 = 31 as well. We 4 still do not know the value of A. Even clue # 4 does not determine its value. But since � 4 � � x 31 2 f (x) = A − 8x + dx 4 4 � � A x5 32x3 = − + 31x + D 4 5 3 the clue #4 tells us D = 1. Finally, clue # 5 says � � A 1 32 f (1) = − + 31 + 1 = 4 4 5 3 which we can solve for A to get A= 16 · 15 240 = . 323 323 The graph below shows several functions that satisfy all clues # 1 - 4, with the one plotted in bold red being Dr Moriarty’s secret. Note how they all share the x-coordinates of points with horizontal tangent lines (these are local maxima / minima). It’s harder to see that they all have inflection points with x-coordinates −4 and 4. But the common inflection point (0, 1) is very visible.