# Video: AP Calculus AB Exam 1 • Section I • Part B • Question 78

What is the shortest distance from the origin to the graph of 𝑦 = 9/𝑥?

05:02

### Video Transcript

What is the shortest distance from the origin to the graph of 𝑦 equals nine over 𝑥?

Now, it’s simply not enough to answer this question by sketching out the graph of 𝑦 equals nine over 𝑥 and trying to observe where the shortest distance from the origin may lie. Instead, we’ll begin by recalling the distance formula. And this tells us that for two points in the Cartesian plane — 𝑥 one, 𝑦 one and 𝑥 two, 𝑦 two — the distance between them is given by the positive square root of 𝑥 two minus 𝑥 one squared plus 𝑦 two minus 𝑦 one squared.

We can find an equation for the distance between any point on our curve and the origin by substituting zero, zero for one of the coordinates and 𝑥, 𝑦 for the other. So the distance between any coordinate on our curve and the origin is 𝑥 minus zero squared plus 𝑦 minus zero squared. And that simplifies to the square root of 𝑥 squared plus 𝑦 squared.

Remember though, the equation for our curve is 𝑦 equals nine over 𝑥. So we can substitute 𝑦 for nine over 𝑥. And we see that the distance between any point on our curve given in terms of 𝑥 is the square root of 𝑥 squared plus nine over 𝑥 all squared. We’ll simplify this a little further. And remember, we’re trying to find the shortest distance. In other words, the minimum distance from the origin to a point on the curve. What we’re going to do then is find the critical points of our function 𝑑.

Remember, we can find where the critical points of a function lie by finding the derivative of that function and setting it equal to zero. We can minimise our function for the distance then by differentiating 𝑑 with respect to 𝑥 and setting that equal to zero. So how do we differentiate 𝑑 with respect to 𝑥? Well, we rewrite our function slightly. We can say that 𝑑 is equal to 𝑥 squared plus 81𝑥 to the negative two all to the power of one-half.

To find the derivative of 𝑑 with respect to 𝑥, we’re going to use the general power rule. This is a special case of the chain rule. And it says that if 𝑢 is some function of 𝑥, then we can differentiate 𝑢 to some constant 𝑛 with respect to 𝑥. And we get 𝑛 times 𝑢 to the power of 𝑛 minus one times d𝑢 by d𝑥. In our case, our 𝑢 is 𝑥 squared plus 81𝑥 to the negative two. And d𝑢 by d𝑥 is equal to two 𝑥 minus 162𝑥 to the negative three.

Substituting all of this into the formula for the general power rule, and we see that d𝑑 by d𝑥 is equal to a half times 𝑥 squared plus 81𝑥 to the negative two all to the power of negative one-half multiplied by two 𝑥 minus 162𝑥 to the negative three. We can simplify this a little. And we see that the derivative of 𝑑 with respect to 𝑥 is as shown.

Remember, we’re trying to minimise our function 𝑑. In other words, we’re trying to find the location where any critical points occur. So we’re going to set our derivative equal to zero. Now, it should be quite clear that for this fraction to be equal to zero, its numerator must be equal to zero. So two 𝑥 minus 162𝑥 to the negative three is equal to zero. Let’s solve this for 𝑥.

We add 162𝑥 to the negative three to both sides of our equation. We multiply both sides by 𝑥 cubed, then divide through by two. We then find the fourth root, remembering to take both the positive and the negative fourth root. And we see the critical points occur when 𝑥 is equal to positive and negative three. Now, in fact, if we look back to the function we created for the distance in terms of 𝑥, we see that substituting 𝑥 is equal to positive three and 𝑥 is equal to negative three will give us the same result. But how do we know whether we found a minimum or a maximum?

We’re going to perform the first derivative test about the point 𝑥 equals three, knowing that we’ll get the same result for 𝑥 equals negative three. We substitute 𝑥 is equal to two into the equation for d𝑑 by 𝑑𝑥 and 𝑥 is equal to four into the equation for d𝑑 by 𝑑𝑥. And analysing the nature of the gradient at these points will help us identify the nature of our critical point. If we substitute 𝑥 equals two, we get negative 1.649. And when we substitute 𝑥 equals four, and we get 0.595, and so on. Negative 1.649 is less than zero whereas 0.595 is greater than zero. And this tells us that the critical point at 𝑥 equals three and indeed 𝑥 equals negative three is a minimum.

We need to substitute then 𝑥 is equal to three into our formula for the distance. 𝑑 is equal to the square root of three squared plus 81 over three squared, which is three root two. And so, the shortest distance from the origin to the graph of 𝑦 equals nine over 𝑥 occurs when 𝑥 is equal to three and negative three. And this distance is three root two units.