## Examples of product, quotient, and chain rules

I have already discuss the product rule, quotient rule, and chain rule in previous lessons. But I wanted to show you some more complex examples that involve these rules. The reason for this is that there are times when you’ll need to use more than one of these rules in one problem. So let’s dive right into it!

## Example 1

Find the derivative of $$y \ = \ sin(x^2 \cdot ln \ x)$$.

At first glance of this problem, the first thing we should notice is that we can think of this function as one function plugged into another. There is a clear inner function and a clear outer function.

It can be broken down as $$x^2 \cdot ln \ x$$ being plugged into sin(x) for x. Since our function can be thought of as one function plugged into another, we will want to start out with the chain rule.

### Chain rule

The first thing we need to do to apply the chain rule is to figure out our inside function and outside function. It’s usually easier to think about the insider function first.

#### Finding f and g

To find the inside function we just need to answer the question: what function is being plugged into another?

Looking at our function you can see that we are taking $$x^2 \cdot ln \ x$$ and plugging that into another function. So we will say $$g_1(x) = x^2 \cdot ln \ x$$

Now that we have decided on the inside function, we need to find the outside function. All we need to do here is look at the original function, and replace our inside function with a single x. So we will replace $$x^2 \cdot ln \ x$$ with just x. This gives us $$f_1(x) = sin(x).$$

#### Finding f’ and g’

Now that we have found f and g, we just need to take each of their derivatives to find f’ and g’.

Finding f’ should be simple here. $$f’_1(x) = cos(x)$$

Finding g’ will be a little more tricky.

Looking at our function $$g_1(x)$$ you can see that it is actually the product of two simpler functions, $$x^2$$ and $$ln \ x$$. Therefore, we are going to have to use the product rule to find this derivative. You can kind of think of this as a smaller sub-problem within our problem, so we will come back to the chain rule after applying the product rule.

### Product rule

We need to use the product rule to find the derivative of $$g_1(x) = x^2 \cdot ln \ x.$$ The product rule starts out similarly to the chain rule, finding f and g. However, this time I will use $$f_2(x)$$ and $$g_2(x)$$.

#### Finding f and g

With the product rule it doesn’t really matter which function is f and which is g. As long as we correctly identify that our function is a product of two simpler functions, it’ll work out correctly. So we will say $$f_2(x) = x^2$$ $$g_2(x) = ln \ x.$$

#### Finding f’ and g’

Now we just need to find the derivatives of f and g. Since they are fairly simple functions, this shouldn’t be too difficult.

To find the derivative of f we just need to use the power rule. $$f’_2(x) = 2x.$$

And finding the derivative of g should be a derivative that you have memorized. Using Wolfram Alpha we can see that $$g’_2(x) = \frac{1}{x}.$$

#### Plugging into the formula

Now that we have found all the pieces we need, we can simply plug them all into the product rule formula. $$g’_1(x) = f_2(x) \cdot g’_2(x) \ + \ f’_2(x) \cdot g_2(x)$$ $$\frac{d}{dx} \Big[ x^2 \cdot ln \ x \Big] \ = \ x^2 \cdot \frac{1}{x} \ + \ 2x \cdot ln \ x$$ $$\frac{d}{dx} \Big[ x^2 \cdot ln \ x \Big] \ = \ x \ + \ 2x \cdot ln \ x$$

### Back to chain rule

Now that we know the derivative of $$x^2 \cdot ln \ x$$ we can go back up to the chain rule. We knew that $$g_1(x) = \ x^2 \cdot ln \ x$$ and by using the product we just found that $$g’_1(x) = \ x \ + \ 2x \cdot ln \ x.$$ Just as a quick reminder, we already found that $$f_1(x) = sin(x)$$ $$f’_1(x) = cos(x).$$ Now we just need to plug these four pieces into the formula for chain rule. $$h’_1(x) = \ f’_1 \big( g_1(x) \big) \cdot g’_1(x)$$ $$\frac{d}{dx} \Big[ sin \big(x^2 \cdot ln \ x \big) \Big] \ = \ cos \big( x^2 \cdot ln \ x \big) \cdot \big( x \ + \ 2x \cdot ln \ x \big)$$

And that’s it! We could factor out a like term out of one of these factors, but it wouldn’t really make the function any simpler so I won’t do that. We can also use Wolfram Alpha to check our answer. A quick note on that, Wolfram Alpha uses “log” instead of “ln” to describe a natural log.

## Example 2

Find the derivative of $$y = \frac{x \ sin(x)}{ln \ x}$$.

Looking at this function we can clearly see that we have a fraction. Therefore, we can break this function down into two simpler functions that are part of a quotient. So we can see that we will need to use quotient rule to find this derivative.

### Quotient rule

As discussed in my quotient rule lesson, when we apply the quotient rule to find a function’s derivative we need to first determine which parts of our function will be called f and g.

#### Finding f and g

With the quotient rule, it’s fairly straight forward to determine which part of our function will be f and which part will be g. We will always say f is the numerator (top of our fraction) and g is the denominator (bottom of our fraction). So we can say $$f_1(x) \ = \ x \ sin(x)$$ $$g_1(x) \ = ln \ x.$$

#### Finding f’ and g’

Once we have determined which part of our function we are going to call f and which part will be g, we need to take each of their derivatives so we can use the quotient rule formula.

First we’ll start with finding f’. To find this we need to find the derivative of $$f_1(x)= x \ sin(x)$$. Notice this function is actually a product of two simpler functions. So in order to find $$\mathbf{f’_1(x)}$$ we will actually need to use the product rule. This will create a smaller sub-problem for us so we will need to come back to the quotient rule in a moment.

### Product rule

As we did in the previous example, or in my product rule lesson, we need to start by determining which piece of the function $$f_1(x) = x \ sin(x)$$ will be $$f_2$$ and which will be $$g_2$$.

#### Finding f and g

When using the product rule it doesn’t really matter which piece of the product is called f and g. So we will say $$f_2(x) = x$$ $$g_2(x) = sin(x).$$

#### Finding f’ and g’

In order to use the product rule formula, we need to find the derivative of each of these pieces now. Fortunately, both of these pieces are simple functions to differentiate. $$f’_2(x) = 1$$ $$g’_2(x) = cos(x)$$

#### Plugging into the formula

Now we just need to plug the four pieces we’ve found into the product rule formula. $$f’_1(x) = \ f_2(x) \cdot g’_2(x) \ + \ f’_2(x) \cdot g_2(x)$$ $$\frac{d}{dx} \Big[ x \ sin(x) \Big] \ = \ x \cdot cos(x) \ + \ 1 \cdot sin(x)$$ $$\frac{d}{dx} \Big[ x \ sin(x) \Big] \ = \ x \ cos(x) \ + \ sin(x)$$

### Back to the quotient rule

Now that we have used the product rule to find $$f’_1(x) = \ x \ cos(x) \ + \ sin(x)$$ we need to find $$g’_1(x)$$ so we can use the quotient rule formula. Remember $$g_1(x) = ln \ x$$, which is a function whose derivative you should memorize. $$g’_1(x) = \frac{1}{x}.$$ So now we know all of the pieces we need to apply the quotient rule formula.

$$h'(x) \ = \ \frac{f’_1(x) \cdot g_1(x) \ – \ f_1(x) \cdot g’_1(x)}{g^2_1(x)}$$ $$\frac{d}{dx} \Bigg[ \frac{x \ sin(x)}{ln \ x} \Bigg] \ = \ \frac{ \Big[ \big( x \ cos(x) + sin(x) \big) \cdot ln \ x \Big] \ – \ \Big[ x \ sin(x) \cdot \frac{1}{x} \Big]}{\big( ln \ x \big)^2}$$

And now we can just simplify by distributing through all of our parenthesis.

$$\frac{d}{dx} \Bigg[ \frac{x \ sin(x)}{ln \ x} \Bigg] \ = \ \frac{ x \ ln(x) \ cos(x) \ + \ ln(x) \ sin(x) \ – \ sin(x)}{ln^2(x)}$$

And that’s the answer! Again, we can check this using Wolfram Alpha.

If you have any questions on any of this just let me know! You can email me at jakesmathlessons@gmail.com. You can also use the contact form below and I’ll add you to my email list and send you my calculus 1 study guide to help you boost your calculus scores! I’d also love to hear any suggestions for future posts so please don’t hesitate to reach out to me. If you want some more practice with derivatives go check out my other lessons and problems related to derivatives.

## RELATED RATES – Square Problem

Each side of a square is increasing at a rate of 6 $$\frac{cm}{s}$$. At what rate is the area of the square increasing when the area of the square is 16 $$cm^2$$?

If you haven’t already, you should check out my related rates lesson. I go through the steps that can be used to solve any related rates problem. I will use these steps here, but it might be useful for you to see a more detailed explanation of why we use these steps.

## 1. Draw a sketch

The first thing we will always want to do is draw a sketch of the situation described by the problem. This problem is relatively simple to draw out. Here we have a square whose sides are growing at a constant rate. We know the sides are growing at a rate of 6 $$\frac{cm}{s}$$ and we want to consider the moment when the area of the square is 16 $$cm^2$$.

## 2. Come up with your equation

Now that we have our drawing laid out, we need to create an equation whose derivative we will need to find.

#### What are we looking for?

This question is asking us to find the rate at which the area of the square is increasing. So it tells us that we need to have some variable that represents the rate of change of the area at some point.

Of course, we will need to take the derivative of our equation soon. Doing this will introduce the ‘rate of change’ part. Therefore, we need to make sure that our equation we make includes the area of the square. As long as we do this, we will end up with the rate of change of the area once we take its derivative.

#### What do we know about?

There was only two pieces of information that the question directly told us.

• Each side of a square is increasing at a rate of 6 $$\frac{cm}{s}$$.
• The area of the square in this instant is 16 $$cm^2$$.

#### Putting it into an equation

So at this point, we have figured out that we need our equation to include the square’s area, and we know something about the square’s area and the rate of change of its sides.

Although, we don’t know anything about the actual side lengths at the given instant, we can figure that out if we have to. Therefore, it’s fine if our equation includes the length of the square’s sides.

To summarize, the only measurements of this square we have discussed so far are its side lengths and its area. So our equation should relate its area and its side lengths. Keep in mind, we don’t want to put anything that represents a rate of change into our equation. These will come when we take the derivative of our equation.

The simplest equation that relates the area of a square with its side lengths would likely be the formula for the area of a square that you are already familiar with. $$A=l^2$$ Where A is the area of the square, and l is the length of its sides.

## 3. Implicit differentiation

Once we have created our equation like we did above, we need to go ahead and take its derivative with respect to time. This will be done using implicit differentiation.

Since we will be taking the derivative with respect to time, we will need to treat the A and the l in our equation as functions of time. This will require using the chain rule to find their derivatives.

$$\frac{d}{dt} \big[ A \big] = \frac{d}{dt} \Big[ l^2 \Big]$$ $$\frac{dA}{dt} = 2l \cdot \frac{dl}{dt}$$

## 4. Solve for the desired rate of change

Now all we have to do is solve for the rate of change the question is asking about. Just like I said earlier, we need to find the rate of change of the square’s area. Since this is exactly what $$\frac{dA}{dt}$$ represents and we have already isolated this, we don’t have much else to do. All we need to do is plug in the values we have for everything else in our equation.

The only other variables we need to plug in are l and $$\frac{dl}{dt}$$. The tricky thing here is that we don’t directly know what l is at the moment in this problem. Instead we know that the area of the square is
16 $$cm^2$$. Since we know that the relationship between the area of a square and its side lengths is $$A=l^2$$ we can find l in this instant. $$16=l^2$$ $$4=l$$ So we know that in this moment the length of the square’s sides is 4 cm.

Remember, the problem also told us that the side lengths are increasing at a rate of 6 $$\frac{cm}{s}$$. This directly tells us the rate of change of the sides lengths. So we also know that $$\frac{dl}{dt}=6$$

Putting all of this into our equation will give us: $$\frac{dA}{dt} = 2l \cdot \frac{dl}{dt}$$ $$\frac{dA}{dt} = 2(4)(6)$$ $$\frac{dA}{dt} = 48$$

So the area of this square is increasing at a rate of 48 $$\mathbf{\frac{cm^2}{s}}$$ when the area is 16 $$\mathbf{cm^2}$$.

If you’re still having some trouble with related rates problems or just want some more practice you should check out my related rates lesson. At the bottom of this lesson there is a list of related rates problems that I have posted along with their solutions. I also have several other lessons and problems on the derivatives page you can check out. If you can’t find the topic or question you’re looking for just let me know by emailing me at jakesmathlessons@gmail.com!

You can also enter your name and email using the form below and I will send you my calculus 1 study guide as a welcome gift!

## Implicit Differentiation Practice Problem

Find $$\frac{dy}{dx}$$ if $$y=x^x$$.

## Solution

This is kind of a tricky problem. Obviously, if we need to find $$\frac{dy}{dx}$$, we need to take the derivative. And since we are already given an explicit formula for y only in terms of x, it seems like we can just go ahead and take the derivative. But unfortunately, having an x both in the base and the exponent makes it a bit more complicated.

### So what can we do then?

Finding the derivative of this function is going to require a little trick that seems a little counter intuitive. What we need to do is actually take the natural log of both sides of this equation. The reason for this is that it will help us get rid of the exponent and put this in a form we can work with more easily.

$$y=x^x$$

$$ln (y) =ln \big( x^x \big)$$

Now that we have done this we can use one of the basic log rules that you will want to remember.

#### 3 log rules to remember

Really quickly I want to list the three main log rules that you will want to remember. These come up frequently, so you will want to remember these.

$$log(ab) = log(a) + log(b)$$ $$log \bigg( \frac{a}{b} \bigg) = lob(a) – log(b)$$ $$log \Big( a^b \Big) = b \cdot log(a)$$

#### How do we apply this to our problem?

Let’s look back to our equation to see where we were.

$$ln (y) =ln \big( x^x \big)$$

Notice the right side of our equation looks a lot like the third log rule from above. Based on that third log rule, we can move the x in the exponent down in front of the log and multiply rather than having to deal with an exponent.

$$ln(y) = x \cdot ln(x)$$

The reason I think this seems a little counter intuitive is that we no longer have an explicit formula for y. But now the right side of our equation will be easier to take its derivative. So now let’s see what happens if we take the derivative of both sides of the equation with respect to x.

### Taking the derivative

The reason we need to take the derivative with respect to x is that the question asked us to find $$\frac{dy}{dx}$$. The dx in the denominator is the indicator that tells us that we need to differentiate with respect to x. So let’s do that now.

$$\frac{d}{dx} ln(y) = \frac{d}{dx} \big[x \cdot ln(x) \big]$$

#### First the left side

Taking the derivative of the left side of the equation will require the use of the chain rule since y is a function of x. This was explained in a bit more detail in my implicit differentiation lesson. You will also use the fact that the derivative of ln(x) is $$\frac{1}{x}$$.

$$\frac{1}{y} \cdot \frac{dy}{dx} = \frac{d}{dx} \big[x \cdot ln(x) \big]$$

#### Then the right side

In order to take the derivative of the right side of this equation, we will need to use the product rule. As I did in the product rule lesson, we’ll first want to call one part of our function f and the other will be g.

$$f=x$$ $$g=ln(x)$$

Now we need to find f’ and g’ to use the product rule formula.

$$f’=1$$ $$g’=\frac{1}{x}$$

And lastly, we just need to plug these four pieces into the product rule formula.

$$\frac{1}{y} \cdot \frac{dy}{dx} = (x) \bigg( \frac{1}{x} \bigg) + (1) \big( ln(x) \big)$$

Now that we have taken the derivative of both sides of the equation, we just need to simplify the equation and solve for $$\frac{dy}{dx}$$.

### Solving for dy/dx

$$\frac{1}{y} \cdot \frac{dy}{dx} = (x) \bigg( \frac{1}{x} \bigg) + (1) \big( ln(x) \big)$$

$$\frac{1}{y} \cdot \frac{dy}{dx} = 1 + ln(x)$$

And all we need to do from here is multiply both sides by y to isolate $$\frac{dy}{dx}$$.

$$\frac{dy}{dx} = y \big( 1+ln(x) \big)$$

With most implicit differentiation problems this would be a perfectly fine place to stop and say we’ve reached our answer. Finding $$\frac{dy}{dx}$$ in terms of x and y is frequently the best we can do. But in this case, we can actually get our answer only in terms of x so that we have an explicit derivative of the original function.

The reason we’re able to do this is that our original function was an explicit formula for y. Since we know $$y=x^x$$ we can actually go to our formula for $$\frac{dy}{dx}$$ and replace the y with $$x^x$$. So,

$$\frac{dy}{dx} = x^x \big( 1+ln(x) \big)$$

And now we can say we have reached our answer!

I just want to circle back to those 3 log rules I discussed above. They can be very useful when taking derivatives of exponential functions, or in some strange cases products and quotients. They can be used to rewrite complex functions in a way that would make their derivative easier to find, so always be sure to be aware of those and know how to use them to manipulate a function when needed.

As I always say, the best way to learn this stuff is practice, practice, practice! So check out some of my other lessons and problem solutions on derivatives. The more you work with these concepts, the better you’ll start to understand them.

If you can’t find the answer to your question or the topic you want to read about on my site, send me an email at jakesmathlessons@gmail.com and I’ll get back to you as soon as I can. You can also use the form below to join my email list and I’ll send you my calculus 1 study guide!

## Integration by u-substitution

U-substitution is one of the more common methods of integration. It allows us to find the anti-derivative of fairly complex functions that simpler tricks wouldn’t help us with. The best way to think of u-substitution is that its job is to undo the chain rule.

That’s all we’re really doing.

It’s not too complicated when you think of it that way. Although, the execution isn’t always that simple. But I’ll show you 6 simple steps that will help you solve any u-substitution problem!

## 1. Picking our u

A u-substitution problem will start out similarly to an integration by parts problem. With any u-substitution problem the first thing you will need to do is decide what piece of the function you will call u. This is the most important piece of the process, and really the only part where there are options to choose from. However, there’s a simple trick to make sure you’re selecting the u correctly.

When deciding which part of your function to call u, you will want to look for a piece of your function that you can see that piece’s derivative somewhere else in the function. That sounds a little strange, but let me give you an example.

Say we have some function like $$f(x)=x(x^2+5)^3$$. We want to look for a small piece of this function that also has its own derivative somewhere else in the function.

So we might say $$u=x^2+5$$ because the derivative of $$x^2+5$$ is just 2x. Notice, our function contains an x, not a 2x, but it’s fine if the derivative differs by a constant like this. It’s easy to deal with the constant here, but it’s important that it’s an x term.

#### A quick note on substitution

Choosing the correct u in these problems is the most challenging part. It’s not always simple to see what the u should be, so it’s important to be willing to try different things and see what happens.

You may end up needing to pick a u to go a few steps into the problem and realize it won’t work, then go back and pick another u. I know this process can be frustrating at times, we’ve all been there, but sometimes trial and error is required in learning new math concepts. So I urge you to stay persistent and keep picking different parts of the function for u.

If you try calling every possible piece of the function u, and work through the next few steps only to find that none of them will work, you likely need to either use some uncommon trick or find the derivative using another method besides u-substitution. I will get into some of the uncommon tricks in a later post.

## 2. Finding du

Once you have decided which piece of your function will be u, you then need to calculate du. This should be fairly simple.

All you have to do to find du is take the derivative of u then multiply it all by dx. This will sometimes require the use of the chain rule, product rule, or quotient rule, but usually you will just need the power rule.

Let’s think back to our previous example, finding the antiderivative of $$y=x(x^2+5)^3$$. Remember, we decided that we would use $$u=x^2+5$$. Therefore, to find du we should take it’s derivative and multiply by dx. This means if

$$u=x^2+5, \ then$$

$$du=2x \ dx.$$

## 3. Solve for dx

Now we have determined which part of our function we will call u and we found du. However, what we really want is to find dx. This will be easier to work with when we do our substitution into the original function.

All we need to do to find dx is take our equation for du and isolate the dx. In this example, this will be very easy.

$$du=2x \ dx$$

$$\frac{du}{2x}=dx$$

## 4. Substitute back into the original function

Going back to the function we are trying to find the antiderivative of, we will first write this in integral form.

$$\int x(x^2+5)^3 dx$$

Now we just need to substitute our u and dx back into this integral. This requires replacing the $$x^2+5$$ with u, and replacing dx with $$\frac{du}{2x}$$. This gives us

$$\int x(u)^3 \frac{du}{2x}$$

After making these two substitutions we should be able to do some simplifying that will cancel out any remaining x‘s. Simplifying this integral should leave us with

$$\int \frac{1}{2}u^3 du.$$

And since we can pull constants out of an integral, this can also be written as

$$\frac{1}{2} \int u^3 du.$$

## 5. Integrate with respect to u

Looking at the above integral, we can see that we no longer have an x in the problem. We have rewritten everything in terms of u. Since our integral contains only u and du, instead of x and dx, we can integrate with respect to u. This simply means that we are taking the antiderivative of the function $$g(u)=u^3$$ where u is our variable.

Notice, this integral is much simpler than the one we started with. All we need to find this one is the power rule for antiderivatives.

$$\frac{1}{2} \int u^3 du$$

$$\frac{1}{2} \cdot \frac{1}{4}u^4$$

$$\frac{1}{8} u^4$$

Now the hard part is over, we found the antiderivative. But unfortunately we aren’t quite done yet. We can’t say that $$\frac{1}{8}u^4$$ is the antiderivative of $$f(x)=x(x^2+5)^3$$. This doesn’t really have any meaning because they are using two different variables. Instead we need to write the answer in terms of x, since that’s what we started with.

## 6. Substitute x back in

We are almost done now that we found the antiderivative. We just need to write it in terms of x so that our answer actually is the antiderivative of the function we started with. Since we already found the antiderivative in terms of u, and we know u in terms of x, we can simply substitute in for u.

We decided back in step 1 that

$$u=x^2+5$$

and we also found out that our antiderivative in terms of u is

$$\frac{1}{8}u^4.$$

Therefore, we can plug $$x^2+5$$ in for u to find that the antiderivative of $$f(x)=x(x^2+5)^3$$ is

$$F(x)= \frac{1}{8}(x^2+5)^4 + c.$$

And that’s it! You can apply these 6 steps to solve any u-substitution problem.

I hope this lesson helps, but if there’s still a topic you’d like to learn about take a look at some of my other lessons and problem solutions. If you can’t find the topic or question you’re looking for just let me know by emailing me at jakesmathlessons@gmail.com!

I also encourage you to join my email list! Just enter your name and email below and I’ll let send you my calc 1 study guide as a bonus to help you survive calculus!

## RELATED RATES – Sphere Volume Problem

The radius of a sphere is increasing at a rate of 4 $$\frac{mm}{s}$$. How fast is the volume increasing when the diameter is 80 mm?

This question states pretty clearly that we will be working with a sphere here. Since it gives information about how it is changing and asks us to find how quickly another value is changing, we know it’s a related rates problem.

As with all of the other related rates problems I’ve worked through, we are going to be following the same four step process. I will go through them one step at a time, but you can also find where I introduce the steps here.

## 1. Draw a sketch

The first thing we need to do is draw a sketch of the scene being described. Obviously we are dealing with a sphere, but we are really only told two things:

• how quickly the radius is changing, and
• what the diameter is at the specific moment we’re concerned with.

Since that’s all we know, it will be pretty simple to put that into a drawing. It would look something like this:

So we have a sphere whose radius is increasing at a rate of 4 $$\frac{mm}{s}$$ and we need to consider the moment when its diameter is 80 mm.

## 2. Come up with your equation

As with any related rates problem, we need to create our equation once we have created our drawing. To do this we need to consider the information we have been given and how it relates to the piece of information we’re looking for.

#### What are we looking for?

The question asks us to find how fast the volume is increasing when the diameter is 80 mm. Asking about how fast something is changing refers to its rate of change. Therefore, we can tell that this question is asking us about the rate of change of the volume.

Since we will later be taking the derivative of the equation we are currently building, we only need to make sure to include the volume. Once we take the derivative of the equation, this will introduce the rate of change of the volume.

#### What do we know about?

This question didn’t provide a lot of information and it’s fairly straight forward.

• Rate of change of the radius.
• The diameter of the figure at this moment.

#### Putting it into an equation

Up to this point we know that we need to include the sphere’s volume in this equation. We have also figured out that we know some information about the diameter, which can easily be used to find the radius. And we also know about the rate of change of the radius. So we basically know everything about the radius that we might need.

What is the first equation or formula you think of that relates the volume of a sphere to its radius?

I think a good place to start is with the formula for the volume of a sphere.

$$V=\frac{4}{3} \pi r^3$$

We can see that this equation only contains V (volume) and r (radius). As a result, I’d say this is as good of a place to start as any. Let’s proceed with this equation.

## 3. Implicit differentiation

Now that we have come up with our equation, we need to take its derivative with respect to time. This will allow us to introduce and work with the rates of change of our measurements.

Since we will be taking the derivative with respect to time, we will need to treat V and r as functions of time rather than variables. In order to do this we will need to use the chain rule. So, taking the derivative of our equation gives us:

$$\frac{d}{dt} \big[ V \big] = \frac{d}{dt} \bigg[ \frac{4}{3} \pi r^3 \bigg]$$

$$\frac{dV}{dt} = \frac{4}{3} \pi \cdot 3r^2 \cdot \frac{dr}{dt}$$

$$\frac{dV}{dt} = 4 \pi r^2 \frac{dr}{dt}.$$

## 4. Solve for the desired rate of change

Finally, all we need to do now is solve for the rate of change the question is asking us to find. The problem asked us to find how fast the volume is changing at this moment. This is exactly what $$\frac{dV}{dt}$$ represents. Since this is already isolated, all we need to do is plug in the other values we know about.

The other values that are needed are r and $$\frac{dr}{dt}$$, which represent the radius and its rate of change respectively.

The radius of our figure wasn’t given directly, but we do know that its diameter is 80 mm at this instant. Since the radius of a sphere is always half of the diameter, this tells us that the radius is 40 mm, or

$$r=40.$$

We were given that the figure’s radius is increasing at a rate of 4 $$\frac{mm}{s}$$. Therefore, we know

$$\frac{dr}{dt} = 4.$$

#### Plugging it all in

Now we simply need to plug these values into the differentiated equation we found in step three.

$$\frac{dV}{dt} = 4 \pi r^2 \frac{dr}{dt}$$

$$\frac{dV}{dt} = 4 \pi (40)^2 (4)$$

$$\frac{dV}{dt} = 25,600 \pi$$

$$\frac{dV}{dt} \approx 80,424.772$$

So this tells us that the volume of the sphere is increasing at a rate of 25,600$$\mathbf{\pi \ \frac{mm^3}{s}}$$, or about 80,424.772 $$\mathbf{\frac{mm^3}{s}}$$ when its diameter is 80 mm.

If you’re still having some trouble with related rates problems or just want some more practice you should check out my related rates lesson. At the bottom of this lesson there is a list of related rates practice problems that I have posted a solution of. I also have several other lessons and problems on the derivatives page you can check out. If you can’t find the topic or question you’re looking for just let me know by emailing me at jakesmathlessons@gmail.com!

I also encourage you to join my email list! Just enter your name and email below and I’ll send you a copy of my calculus 1 study guide to help you get through your homework faster and the exams with better scores!

## RELATED RATES – Cylinder Problem

A cylindrical tank with radius 5 m is being ﬁlled with water at a rate of 3 $$\frac{m^3}{min}$$. How fast is the height of the water increasing?

This is an interesting example because at first glance it doesn’t seem like we have been given enough information to solve this problem. If you compare this to the related rates cone problem we did, you can notice a few things that were given in that example but not this one.

• We don’t know the height of the cylindrical tank.
• We don’t know the height of the water at the instant we need to find its rate of change.

These things were both given in the cone problem we did.

You may want to check out this video of this problem. I solved it in a slightly different way in the video than I did in this post. Check out both so you can see it a couple different ways and decide which one makes more sense to you!

#### How do we deal with this missing information?

We actually don’t need it! Because the surface of the water in this tank will always be a circle with radius 5 m as this tank fills up, the height of the water or the tank won’t impact our answer. So there’s two possible ways to deal with this:

• Create an equation that doesn’t include the height of the tank or the water,
• or plug in some random value for the height and see what we get. If this one works we should be able to plug in any height and get the same answer for all of them.

One of these options actually won’t work, but we will explore them further later in this example. Let’s not get ahead of ourselves. Since we have a related rates problem here, we will want to follow the same four steps as all other related rates problems.

## 1. Draw a sketch

As with any related rates problem, the first thing we need to do is draw the situation being described to us. This is a relatively simple situation being described, so we can go ahead and draw it.

Looking at the above drawing, you can see that water is being poured into a cylindrical tank at a rate of 3 $$\frac{m^3}{min}$$. The height of the tank is unknown, but we know the radius is 5 m. We can also see that the water level is rising, but we don’t know the height of the water at this instant.

## 2. Come up with your equation

Now that we have a drawing of the situation being described, we need to come up with our equation. To do this, we need to sort out what information we know and what we are looking for.

#### What are we looking for?

The question is asking us to find how fast the height of the water is increasing. Once we take the derivative of our equation, that will introduce the variable representing “how fast things are changing.” Therefore, we know that we will need the height of the water to be in our equation.

Remember in the last section I said we may want to create an equation that didn’t contain the height of either cylinder because we have no information about them? Well now we know that’s not really an option. The question is asking us to find the rate of change of the height of one of the cylinders. To find this, we need the height of the cylinder to be in the equation.

#### What do we know about?

This question didn’t give us a lot of information but we can figure out a little extra. First let’s think about what was directly given. In order to do this, we should consider that this example essentially has two cylinders in it. The large cylinder is the tank, and the small cylinder is the water in the tank.

• We know that water is flowing into the tank at a rate of 3 $$\frac{m^3}{min}$$. This means that the volume of the small cone is increasing at a rate of 3 $$\mathbf{\frac{m^3}{min}}$$.
• The problem also says that the tank has a radius of 5 m.

And this is all the information that is explicitly given in the problem. However, there is one other fact we can infer. As the tank is filled with water, the liquid takes on a cylindrical shape as well. The cylinder made up of the water would be shorter than the tank, but it would have the same width. This leads to our last fact.

• We can conclude that the water also has a radius of 5 m.

#### Putting it into an equation

So far in this section, we have figured out that we will need to include the height of the water. We also determined that the information we know is about the radius of both cylinders and the rate of change of the volume of the small cylinder.

So we need our equation to relate the height, radius, and volume of the liquid. Because of this, I think a good place to start would be with the equation for the volume of a cylinder:

$$V=\pi r^2 h$$

In this equation V is the volume, r is the radius, and h is the height of the liquid in the tank.

One thing worth pointing out is that once we take the derivative of this equation, we will still have an h. But we don’t know anything about the height of the liquid in the tank at this instant. It seems like we wouldn’t have enough information to successfully use this equation, but it’s possible that the height at a given moment won’t actually impact the rate of change of the height. If this is true, we should be able to use this equation anyway. So let’s proceed and see what happens.

## 3. Implicit differentiation

As with any related rates problem, once we create our equation we need to take its derivative. Since we are taking the derivative with respect to time, we need to treat V, r, and h as functions of time rather than variables. Therefore, we need to use the chain rule. In this case, since we have r and h being multiplied, we will also have to use the product rule.

$$\frac{d}{dt}[V]=\frac{d}{dt} \big[\pi r^2 h \big]$$

### Using the product rule

To find the derivative of the right side of this equation we need to start by using the product rule. So we are trying to find

$$\frac{d}{dt} \big[\pi r^2 h \big].$$

Since $$\pi$$ is a constant being multiplied by the rest of the function we are taking the derivative of, we can pull it out of the derivative and deal with it later. Therefore, we can think of the right side of our equation as

$$\pi \frac{d}{dt} \big[r^2 h \big].$$

So we need to find the derivative of $$r^2h$$. Just as I did in the product rule lesson, we will start by deciding which part of this equation we will call f and g.

#### Choosing f and g

It doesn’t really make a difference which piece of this function we call f and which we call g. As long as we make a decision now and stick with it throughout our solution, it will work out in the end. We will say

$$f=r^2,$$

$$g=h.$$

#### Finding f’ and g’

Now that we have figured out f and g, the next step of the product rule is to find each of their derivatives. Keep in mind that we are taking the derivative with respect to time in this example.

To find f’, we will need to use the chain rule as well since r is a function of time. doing this tells us that

$$f’=2r \frac{dr}{dt}$$

Lastly, we need to find g’ by taking the derivative of g with respect to time.

$$g’=\frac{dh}{dt}$$

#### Putting the pieces of the product rule together

Now we have figured out all four of the pieces of the product rule, so we can just plug them into the product rule formula to find the derivative we’re looking for.

$$\frac{d}{dt} \big[r^2 h \big] = 2r \frac{dr}{dt} \cdot h + \frac{dh}{dt} \cdot r^2$$

And lastly, we just need to bring the $$\pi$$ back into the equation.

$$\frac{d}{dt} \big[\pi r^2 h \big] = \pi \bigg[ 2r \frac{dr}{dt} \cdot h + \frac{dh}{dt} \cdot r^2 \bigg]$$

### Putting it all together

Now that we have the derivative of the right side of our equation, we can go back and figure out the left side.

$$\frac{dV}{dt}= \pi \bigg[ 2r \frac{dr}{dt}h + \frac{dh}{dt}r^2 \bigg]$$

## 4. Solve for desired rate of change

The last step of any related rates problem is to solve for the rate of change we need to find. The question asks us to find how fast the height of the water is increasing. This is exactly what $$\frac{dh}{dt}$$ represents, so we need to isolate that variable.

$$\frac{dV}{dt}= \pi \bigg[ 2r \frac{dr}{dt}h + \frac{dh}{dt}r^2 \bigg]$$

$$\frac{1}{\pi}\frac{dV}{dt}= 2r \frac{dr}{dt}h + \frac{dh}{dt}r^2$$

$$\frac{1}{\pi}\frac{dV}{dt} – 2r \frac{dr}{dt}h = \frac{dh}{dt}r^2$$

$$\frac{1}{r^2} \bigg[ \frac{1}{\pi}\frac{dV}{dt} – 2r \frac{dr}{dt}h \bigg] = \frac{dh}{dt}$$

Now that we have isolated the term we need to solve for, we just need to plug in the values for all of the other variables. Before we just into this, I want to focus on just one of these variables.

#### What do we do with h?

Remember back in the beginning of this solution I said we may need to make up some value for h and just go with it? Let’s consider this for a moment.

Notice that h only appears in our equation in one place and it is being multiplied by two other variables, r and $$\frac{dr}{dt}$$. Think about what $$\frac{dr}{dt}$$ represents. It is the rate of change of the radius of the water. But our water has a constant radius, it’s always 5 m.

Since the radius of the cylinder is never changing, its rate of change must always be zero! Therefore, we know that

$$\frac{dr}{dt} = 0.$$

Since h is being multiplied by another term that is always zero, it’s not going to matter what h is. We can essentially use any number for h and it won’t matter because we are going to multiply it by zero anyways. We can also just leave it as h and not plug anything in for it.

#### Back to plugging in our values

We have already figured out that $$\frac{dr}{dt}=0$$ and luckily the other variables’ values were given.

Looking back at the original sketch, you can see that the radius of our cylinder is 5 m. So

$$r=5.$$

Also, you can see that water is flowing into the tank at a rate of 3 $$\frac{m^3}{min}$$. Since this is the only factor that will be impacting the volume of water in the tank, this must be the exact rate that the volume of the water is increasing.

$$\frac{dV}{dt}=3$$

Now we can plug all of these into the equation then simplifying to get our answer!

$$\frac{1}{r^2} \bigg[ \frac{1}{\pi}\frac{dV}{dt} – 2r \frac{dr}{dt}h \bigg] = \frac{dh}{dt}$$

$$\frac{1}{(5)^2} \bigg[ \frac{1}{\pi}(3) – 2(5)(0)h \bigg] = \frac{dh}{dt}$$

$$\frac{1}{25} \bigg[ \frac{3}{\pi} – 0 \bigg] = \frac{dh}{dt}$$

$$\frac{1}{25} \cdot \frac{3}{\pi} = \frac{dh}{dt}$$

$$\frac{3}{25 \pi} = \frac{dh}{dt}$$

So we now know that the rate of change of the height of the water is $$\frac{3}{25 \pi}$$ no matter what the height of the cylinder is at that moment. In other words, we can say that the height of the water is increasing at a rate of

$$\mathbf{\frac{3}{25 \pi} \ \frac{m}{min}}.$$

If you’re still having some trouble with related rates problems or just want some more practice you should check out my related rates lesson. At the bottom of this lesson there is a list of related rates problems that I have posted a solution of. I also have several other lessons and problems on the derivatives page you can check out. If you can’t find the topic or question you’re looking for just let me know by emailing me at jakesmathlessons@gmail.com!

Also, if you want a copy of my calculus 1 study guide, just enter your name and email below and I’ll send you a copy and add you to my email list so you can see as soon as I have more knowledge to share!

## RELATED RATES – Sphere Surface Area Problem

If a snowball melts so that its surface area decreases at a rate of 1 $$\frac{cm^2}{min}$$, find the rate at which the diameter decreases when the diameter is 10 cm.

By looking at the given statement, we can gather a few important fact quickly.

• The object in question is a snowball. This means that we will be dealing with a sphere here, so we will likely be needing some formula relating different dimensions and measurements of a sphere.
• The problem gives information about the rate of change of a specific measurement of the snowball. When a problem gives information like this, it’s a strong hint that we have a related rates problem.

So we know that we’re dealing with a related rates problem. Therefore, we are going to follow the four steps that these will all follow. If you want to look back at these steps, I discussed them in my related rates lesson.

## 1. Draw a sketch

Looking back at the problem, you can see that there isn’t a lot of information that has been described to us. This will end up being a very simple sketch, but that’s all it takes sometimes.

So we have a sphere whose surface area is decreasing at a rate of 1 $$\frac{cm^2}{min}$$ and we are looking at the instant when its diameter is 10 cm.

## 2. Come up with your equation

Now that we have our situation drawn out, we need our equation. To create this equation, we need to incorporate any relevant information that we were given and we need to consider what the question asks us to find.

#### What are we looking for?

The question is asking us to find “the rate at which the diameter decreases” at the instant when the diameter is 10 cm. This is the instant that we captured in our drawing. So the important thing here is that we are looking for the rate the diameter is decreasing. Another way to put this is the rate of change of the diameter.

Since we will eventually need to take the derivative, which will provide the rate of change part, we just need to make sure that our equation contains the diameter.

#### What do we know about?

This question didn’t provide a lot of information to us. We really only know two things:

• The rate of change of the sphere’s surface area.
• The diameter of the sphere at this instant.

#### Putting it into an equation

Up to this point we have figured out that we need to include the sphere’s diameter in our equation. We also know that we have some information relating to the snowball’s surface area. So we need to come up with an equation that relates a sphere’s surface area and diameter.

A good place to start may be the equation for the surface area of a sphere.

$$A=4 \pi r^2$$

In this equation A represents the surface area of the sphere and r is the radius.

Since we need an equation relating the surface area and the diameter, we will need to make an adjustment. The only thing we need to consider here is that a sphere’s diameter is always double the radius. Or in other words

$$d=2r.$$

But our equation contains the radius. So we’ll want to solve for r so we can plug that into our equation. Dividing both sides by 2 will accomplish this.

$$r=\frac{d}{2}$$

Now we can plug this in for r in our equation for the surface area of a sphere.

$$A=4 \pi \bigg( \frac{d}{2} \bigg)^2$$

So we know have an equation that contains only the surface area and the diameter of our sphere, exactly what we needed. To make things a little easier later, we will simplify this equation a bit.

$$A=4 \pi \bigg( \frac{d^2}{4} \bigg)$$

$$A=\pi d^2$$

## 3. Implicit differentiation

Now that we have created our equation we need to take its derivative. This will bring in the rates of change we discussed earlier. The most important one being the rate of change of the snowball’s diameter which is what we need to find.

Keep in mind that we will be taking the derivative with respect to time. This means we will need to treat A and d as functions of time, not variables. Therefore, we will need to apply the chain rule here.

$$\frac{d}{dt} \big[ A \big]= \frac{d}{dt} \big[ \pi d^2 \big]$$

$$\frac{dA}{dt} = 2 \pi d \cdot \frac{dd}{dt}$$

## 4. Solve for the desired rate of change

The fourth and final step of a problem like this is to isolate the rate of change we need and find its value. The question wants us to find the rate at which the diameter is decreasing when the diameter is 10 cm. This tells us we need to solve for the rate of change of the diameter, which is represented by $$\frac{dd}{dt}$$.

$$\frac{dA}{dt} = 2 \pi d \cdot \frac{dd}{dt}$$

$$\frac{1}{2 \pi d} \frac{dA}{dt} = \frac{dd}{dt}$$

So now that we have isolated the variable that we need to find we can simply plug in all of the values we have for the other variables.

#### What values do we know?

There are only two variables we need to plug in a value for: d and $$\frac{dA}{dt}$$. The question specifically asked us to find $$\frac{dd}{dt}$$ when the diameter of the snowball is 10 cm. Therefore, we know that we will have

$$d=10.$$

The question also told us that the surface area of the snowball is decreasing at a rate of 1 $$\mathbf{\frac{cm^2}{min}}$$. Since the surface area is decreasing, this tells us that

$$\frac{dA}{dt}=-1.$$

#### Plugging it all in

Now we just need to go back to our equation and plug in all of these other values.

$$\frac{dd}{dt} = \frac{1}{2 \pi d} \frac{dA}{dt}$$

$$\frac{dd}{dt} = \frac{1}{2 \pi (10)} \cdot (-1)$$

$$\frac{dd}{dt} = \frac{-1}{20 \pi}$$

So this tells us that the diameter of the snowball is changing at a rate of $$\frac{-1}{20 \pi} \ \frac{cm}{min}$$. Therefore, we can say that the diameter of the snowball is decreasing at a rate of $$\mathbf{\frac{1}{20 \pi} \ \frac{cm}{min}}$$ or about 0.0159 $$\mathbf{\frac{cm}{min}}$$.

Note that the question asked for the rate at which the diameter is decreasing. As a result of this, our answer will actually be a positive number despite the fact that $$\mathbf{\frac{dd}{dt}}$$ was negative.

If you’re still having some trouble with related rates problems or just want some more practice you should check out my related rates lesson. At the bottom of this lesson there is a list of these types of problems that I have posted a solution of. I also have several other lessons and problems on the derivatives page you can check out. If you can’t find the topic or question you’re looking for just let me know by emailing me at jakesmathlessons@gmail.com!

Enter your name and email below and I’ll send you a FREE copy of my calculus 1 study guide as well! It’s packed full of helpful formulas and shortcuts to help you get through calculus easier!

## RELATED RATES – Cone Problem (Water Filling and Leaking)

Water is leaking out of an inverted conical tank at a rate of 10,000 $$\frac{cm^3}{min}$$ at the same time water is being pumped into the tank at a constant rate. The tank has a height 6 m and the diameter at the top is 4 m. If the water level is rising at a rate of 20 $$\frac{cm}{min}$$ when the height of the water is 2 m, find the rate at which water is being pumped into the tank.

Here we have another related rates problem. This is a pretty typical problem you would see in a calculus class. There is a lot going on in this one since we have a related rates with a cone filling and leaking water. Just like I said when I discussed related rates, these problems tend to follow a specific pattern. If you need a refresher on what the four steps are just click that link to my related rates lesson. Otherwise, we’ll jump right into it.

## 1. Draw a sketch

You should always start a related rates problem with a drawing of the real world situation that’s being described in the problem. The problem describes an “inverted conical tank.” This just means that the tank is in the shape of an up-side-down cone. Other than that, the other facts are quite simple.

• Water is leaking out at a rate of 10,000 $$\frac{cm^3}{min}$$.
• Liquid is being pumped into the tank at an unknown constant rate.
• Tank’s height is 6 m.
• Diameter of the circular opening is 4 m.
• Water level is rising at a rate of 20 $$\frac{cm}{min}$$ when the height of the water is 2 m.

So we need to put all of these facts into a drawing, which might look something like this.

The important thing to point out about our sketch is that we have two cones here.

One cone is the tank, which is the larger cone. This one will always stay the same size and is not changing. This means that its height, diameter of the base, and its volume are all constants.

The second cone is the water sitting in the bottom of the tank, which is the smaller cone. This one is changing as our liquid flows into and out of the tank. As time passes its dimensions change. Therefore, its height, diameter of the base, and volume are all functions of time.

## 2. Come up with your equation

Now that we have made our sketch, we need to come up with an equation that relates all of the different quantities we’re dealing with. All of the information we know about and the information we are looking for relates to a volume or measurements of some cone. The measurements are either of our water in the tank or the tank itself, but in both cases the measurements describe a cone.

#### What are we looking for?

The question asks us to find the rate at which water is being pumped into the tank. As it is pumped into the tank, this will impact the volume of the smaller cone which is the water sitting in the tank. Therefore, the information we are looking for will somehow relate to how quickly the volume of the liquid in the tank is changing. Or the rate of change of the volume of the small cone.

#### What do we know about?

We were given quite a bit of information so let’s break it into a few different pieces.

• We know the height and base diameter of the tank. Using these, we can find its base radius and volume. Since the tank isn’t changing we know, or can easily find, any important measurement of the large cone.
• We know how fast water is flowing out of the tank. This tells us a piece of information relating to the rate of change of the small cone. We will need to use this once we know how fast water is flowing into the tank.
• The last information we already know is the height and the rate of change of the height of the small cone at a particular moment.

#### Putting it into an equation

As I mentioned above, we need to find the rate of change of the volume of the liquid in the tank. Since we know we will need to use implicit differentiation to get the rate of change, our equation needs to involve the volume of the small cone. Remember, the equation we come up with should include quantities and measurements, not rates of change yet.

So we are dealing with the volume of something that’s in the shape of a cone. Because of this we can start by looking at the formula for a volume of a cone then we’ll see if we can use this directly or if we will need to make some adjustments. The volume of a cone can be described by

$$V=\pi r^2 \frac{h}{3}$$

where r is the radius of the cone’s base and h is its height.

Clearly we would be able to use this to get the rate of change of the volume since the equation already includes the volume. But this means we need to know everything else in the equation.

Other than the volume, the equation requires that we know the radius and height of the cone. We also need to know the rate of change of these other parts.

By referring back to our original drawing, you can see that we clearly already know the height and the rate of change of the height of the liquid in the tank at this specific moment. Remember, these two values are changing as liquid goes into the tank, but we know their values at this specific instant.

We don’t know the radius yet, but we can find it by comparing the small and large cones and using similar triangles. However, the problem is that we don’t know the rate of change of the radius. We could figure it out, but it would be quite complicated and there is actually something else we can do instead.

So we want to avoid using the radius, or diameter, because we don’t want to have to find its rate of change. So what else can we do?

In order to get around this, we will need to write an equation that doesn’t include the radius. But remember, it’s fine if we use the height because we know its rate of change. The important fact we need to use here is that the two cones will always form similar triangles. This will be true no matter where the water level is, as it fills up.

Consider the following drawing which represents the conical tank shown from the side.

As shown in the sketch above, the top sides of these triangles are parallel. This means that each angle in the small triangle is the same as the corresponding angle in the large triangle. Therefore, these are similar triangles. Since they are similar triangles, we know one important fact:

$$\frac{x}{2}=\frac{4}{6}$$

So we can use this to solve for x.

$${x}=\frac{4}{6} \cdot 2$$

$$x=\frac{4}{3}$$

So we can see that in both of these triangles, the top side is two-thirds as long as the height of the triangle. In other words, if we multiply the height of the triangle by $$\frac{2}{3}$$, this would give us the length of the top side of the triangle. Remember the top of the triangle is the diameter of the corresponding cone from our first drawing. This tells us the following relationship between the height and diameter of the cones:

$$\frac{2}{3}h=d$$

Since our goal here is to find out the relationship between the radius and the height, not the diameter and the height, we need to do one more thing. The diameter of a circle is always twice as much as the radius, so we know $$d=2r$$. We can substitute this in for d and solve for r.

$$\frac{2}{3}h=2r$$

$$\frac{1}{3}h=r$$

#### Going back to our equation

Now we need to go all the way back to our volume equation that involved h and r.

$$V=\pi r^2 \frac{h}{3}$$

Since we now have this new way to write r in terms of h, we can substitute this into the volume equation and simplify from there.

$$V=\pi \bigg( \frac{1}{3}h\bigg)^2 \frac{h}{3}$$

$$V=\pi \cdot \frac{1}{9}h^2 \frac{h}{3}$$

$$V= \frac{1}{27} \pi h^3$$

Now we have an equation involving V and h. Since we are looking for the rate of change of V, and we already know about V, h, and the rate of change of h, this equation will work perfectly.

## 3. Implicit differentiation

We created our equation containing all of the necessary pieces. Remember earlier I said that we are going to need to find the value of $$\frac{dV}{dt}$$ in order to find how quickly liquid is going into the tank? Now is the time to do this.

As with any related rates problem, we need to take the derivative of our equation. Since we already have an equation for V, all we need to do to find $$\frac{dV}{dt}$$ is take the derivative of V with respect to time. Let’s do that now.

$$\frac{d}{dt} \big[ V \big] = \frac{d}{dt} \bigg[ \frac{1}{27} \pi h^3 \bigg]$$

The left side of this equation will be quite simple, but to find the right side we need to keep a couple things in mind. We are going to take the derivative with respect to time. Therefore, we need to treat h as a function of time rather than a variable. This means that we will need to use the chain rule to take this derivative. You can see a more detailed explanation of how to do this and why we are doing it in my implicit differentiation lesson.

Also remember that $$\frac{1}{27} \pi$$ is just a constant coefficient in front of our $$h^3$$ term.

$$\frac{dV}{dt}= \frac{3}{27} \pi h^2 \cdot \frac{dh}{dt}$$

$$\frac{dV}{dt}= \frac{1}{9} \pi h^2 \cdot \frac{dh}{dt}$$

## 4. Solve for desired rate of change

The final step of a related rates problem is to solve of the rate of change the question asked for. Since $$\frac{dV}{dt}$$ is already isolated we don’t need to worry about solving for the variable we are looking for.

$$\frac{dV}{dt}= \frac{1}{9} \pi h^2 \cdot \frac{dh}{dt}$$

All we need to do now is plug in the other information missing from the equation to tell us all we need to know about $$\frac{dV}{dt}$$. As you can see, this mean we need to figure out the values for h and $$\frac{dh}{dt}$$. Luckily, both the height and the rate the height is increasing of the small cone were both given to us.

Looking back at our drawing, which I have put below, we can see that both of these values we need are already labeled.

Looking at our sketch we can see that h, which is shown as the height of our small cone, is 2 m. We can also see that $$\frac{dh}{dt}$$, which is shown as the speed at which the water level is rising, is 20 $$\frac{cm}{min}$$. But there is one problem here. We need to be careful of our units!

Notice that the height is measured in meters and its rate of change is measured in centimeters.

We need to convert one of these two measurements so that we are either using meters or centimeters throughout the whole problem. It doesn’t matter which one we choose as long as there are the same. I will go ahead and use meters. Don’t worry, if you need the answer in centimeters I’ll discuss how to convert to that in a minute. Since $$100 \ cm = 1 \ m$$ we know that

$$h=2m$$

$$\frac{dh}{dt} = 0.2 \ \frac{m}{min}$$

#### Putting it all together

So now we can plug these values back into our equation for $$\frac{dV}{dt}$$.

$$\frac{dV}{dt}= \frac{1}{9} \pi h^2 \cdot \frac{dh}{dt}$$

$$\frac{dV}{dt}= \frac{1}{9} \pi (2)^2 \cdot 0.2$$

$$\frac{dV}{dt}= \frac{4}{9} \pi \cdot \frac{1}{5}$$

$$\frac{dV}{dt}= \frac{4 \pi}{45}$$

$$\frac{dV}{dt} \approx 0.279 \ \frac{m^3}{min}$$

But remember this isn’t quite our answer. We still have one more step. The question asked us to find the rate at which water is being pumped into the tank. We just found the rate at which the volume of water in the tank is changing.

There are three important values to think about here.

• The rate water is being pumped into the tank.
• Rate of change of the water actually in the tank.
• The rate liquid is flowing out of the tank.

We are trying to find the rate water is being pumped into the tank and we already know the other two rates. It was given that water is flowing out of the tank at a rate of 10,000 $$\frac{cm^3}{min}$$.

#### Be careful of the units

We know the rate at which the liquid is flowing out of the tank, but it uses centimeters. Since we decided earlier that we want to use meters instead, we need to convert this as well. This will be a little different though.

Think about a cube with each side length being 1 m. This cube would be 1m x 1m x 1m and would have a volume of 1 $$m^3$$. Since we know that $$1 \ m = 100 \ cm$$, we can also say that this same cube is 100cm x 100cm x 100cm and would actually have a volume of 1,000,000 $$cm^3$$. Therefore, we can say

$$1m^3 = 1,000,000cm^3.$$

If we divide both sides of this equation by 100, we can see that

$$\frac{1}{100}m^3 = 10,000cm^3.$$

So we then can say that water is flowing out of the tank at a rate of 0.01 $$\frac{m^3}{min}$$.

#### How it fits together

We know that $$\frac{dV}{dt} \approx 0.279 \ \frac{m^3}{min}$$ is a positive number. This means that the amount of water in the tank is increasing at this instant. Since some water is flowing out of the tank at a rate of 0.01 $$\frac{m^3}{min}$$, it must be flowing into the tank faster than this. If it were not, the volume in the tank would be decreasing.

In fact, you can think of the rate of change of the volume of water in the tank as the rate of water flowing in minus the rate of water flowing out.  Let’s say X represents the rate at which liquid is flowing into the tank and we can use this equation to represent the previous sentence.

$$X-0.01=0.279.$$

Solving for X tells us

$$X=0.289.$$

So water must be flowing into the tank at a rate of 0.289 $$\frac{m^3}{min}$$. And this is the value the question was asking us to find!

#### We can also give our answer in other units

If we go back to our equation before we started plugging in anything, we can instead plug everything in terms of centimeters instead of meters. In this case we will have $$h=200cm$$ and $$\frac{dh}{dt}=20 \frac{cm}{min}$$.

$$\frac{dV}{dt}= \frac{1}{9} \pi h^2 \cdot \frac{dh}{dt}$$

$$\frac{dV}{dt}= \frac{1}{9} \pi (200)^2 (20)$$

$$\frac{dV}{dt} \approx 279,252.68$$

Now just like above, we need to also consider how fast the water is flowing out of the tank. This time we don’t need to convert the units though since we are using centimeters.

$$Y-10,000= 279,252.68$$

$$Y= 289,252.68$$

So we can also say that water is flowing into the tank at a rate of 289,252.68 $$\frac{cm^3}{min}$$. This is more likely going to be a better answer simply because it is more precise that the previous answer we found!

Enter your name and email below and I’ll send you my bonus calculus 1 study guide for FREE!

This was a good cone related rates example, but if you want some more practice you should check out my related rates lesson. At the bottom of this lesson there is a list of related rates problems and solutions. I also have several other lessons and problems on the derivatives page you can check out. If you can’t find the topic or question you’re looking for just let me know by emailing me at jakesmathlessons@gmail.com!

## Solution – A kite 100 ft above the ground moves horizontally at a speed of 8 ft/s. At what rate is the angle between the string and the horizontal decreasing when 200 ft of string has been let out?

A kite 100 ft above the ground moves horizontally at a speed of 8 ft/s. At what rate is the angle between the string and the horizontal decreasing when 200 ft of string has been let out?

### 1. Draw a sketch

Here we have a related rates problem.  As I said when I discussed related rates problems initially, the first thing I like to do with these problems is draw a sketch of the scene that is being described.  If you want to refer back to that, you can click here.  Otherwise, let’s sketch the problem described here.

### 2. Come up with your equation

The next thing we need to do is set up our equation which will relate our different quantities.  To do this, we will want to consider what value the question is asking us to find.

What are we looking for?

It asks “at what rate is the angle between the string and the horizontal decreasing when 200 ft of string has been let out?”  Therefore, the value we are looking for is the “rate of change of the angle between the string and the horizontal.”  This just means we will need to consider the angle between the string and the ground (the ground is the horizontal in this case).  If you look back at our drawing, you will see that this angle is represented by $$\theta$$.  Since our goal is to find how fast $$\theta$$ is changing, we need $$\theta$$ to be in our original equation.

Now we need to consider what other quantities or variables we know something about.  Clearly we know something about the two sides of the triangle that are labeled as being 100 ft and 200 ft.  And we can use these two sides to figure out the length of the third side, which is not labeled in our drawing.

Although we could simply call one of those sides $$a$$ and the other one $$b$$ and proceed from there, there is another option that may simplify our problem.

Consider the fact that the kite is moving horizontally.  This means that the kite is not getting any further from or closer to the ground as it moves.  Therefore, the side that is labeled 100 ft will actually be 100 ft at any point in this kite’s flight.  Because of this we actually don’t need to designate a variable to this side of the triangle.  Instead this side is simply a constant 100 ft.

Now we just need to use one of the other two sides of the triangle.  We could technically use either one, but one will be a lot easier than the other.  It looks like the hypotenuse would be the easier of the two, because we know it’s 200 ft at this moment.  However, we don’t know exactly how fast it’s changing.  We can figure that out but it wouldn’t be easy.

We do know exactly how fast the unlabeled side is changing.  The question states that the kite is moving horizontally at a speed of 8 $$\frac{ft}{s}$$.  Since this unlabeled side is exactly horizontal, we know its rate of change is also 8 $$\frac{ft}{s}$$.  We can figure out its length using Pythagorean Theorem later, but this would certainly be easier than finding the rate of change of the hypotenuse.  Therefore, I will go ahead and use the unlabeled side.

Since this unlabeled side is going to be changing we will need to designate a variable to this side of the triangle.  As the kite moves away from the person flying it, the person holding the string has to let more string out and allow it to become longer.  This means that this unlabeled side in our drawing will need to be described with a variable.  We will call it side $$a$$.

Putting it into an equation.

Now we have three different quantities we need to relate somehow:

1. Angle $$\theta$$ (this will be changing as the kite moves).
2. Side $$a$$ (this will be changing as the kite moves and the string is let out).
3. Side labeled 100 ft (this will not change and can be treated as a constant).

So we have two sides and an angle that we need to make an equation with.  To do this, think about where these sides are in relation to the angle $$\theta$$.  The side labeled 100 ft is the side opposite to the angle $$\theta$$ and the side we’re calling $$a$$ is adjacent to the angel $$\theta$$.

Usually when dealing with two sides and one angle of a triangle, you will want to use either sine, cosine, or tangent to relate the three.  So which one should be used when we know the opposite side and the adjacent side to the angle in question?

Remember soh, cah, toa?

• Sine Opposite Hypotenuse

Since we have the opposite side and the adjacent side, we want to use tangent.  Therefore we can say:

$$tan(\theta) = \frac{100}{a}$$

Since it will make finding the derivative easier, I am going to rewrite this as

$$tan(\theta) =100a^{-1}$$

### 3. Implicit differentiation

As with any related rates problem, we now need to take the derivative of both sides of the equation with respect to time.  Since $$\theta$$ and $$a$$ are both functions of time, we will need to use chain rule for both sides of this equation.  We know they are functions of time because they are both going to be dependent on the position of the kite as time progresses.  We don’t have an explicit formula for either of these functions, but we know their values are dependent on time.

$$\frac{d}{dt}tan(\theta) =\frac{d}{dt}100a^{-1}$$

$$\frac{d}{dt}\frac{sin(\theta)}{cos(\theta)} =\frac{d}{dt}100a^{-1}$$

To find the derivative of the left side of this equation you will need to use the quotient rule and the chain rule.  I’m not going to show all the steps of how to do this but if you want a refresher, you can read about the quotient rule here and the chain rule here.  Using Wolfram Alpha, you can see that

$$\frac{d}{dx}tan(x)=\frac{1}{cos^2x}$$

Therefore, we can say that

$$\frac{d}{dt}tan(\theta)=\frac{1}{cos^2 \theta} \cdot \frac{d\theta}{dt}$$

Plugging this back into the left side of our equation, we get

$$\frac{1}{cos^2 \theta} \cdot \frac{d\theta}{dt} =\frac{d}{dt}100a^{-1}$$

$$\frac{1}{cos^2 \theta} \cdot \frac{d\theta}{dt} =-100a^{-2} \cdot \frac{da}{dt}$$

### 4. Solve for desired rate of change

The last step of any related rates problem is to solve for the desired rate of change.  Now remember the thing we need to find is the rate of change of our angle $$\theta$$.  This is exactly what $$\frac{d\theta}{dt}$$ represents.  So now we just need to solve for $$\frac{d\theta}{dt}$$.

$$\frac{1}{cos^2 \theta} \cdot \frac{d\theta}{dt} =-100a^{-2} \cdot \frac{da}{dt}$$

$$\frac{d\theta}{dt} =-100a^{-2} \cdot \frac{da}{dt} \cdot cos^2 \theta$$

Now we just need to plug in the values for $$a$$, $$\frac{da}{dt}$$, and $$\theta$$ and we will have our answer.  We don’t know all of these values but we can find them.

Finding a

As I mentioned before, we can find $$a$$ by using Pythagorean Theorem.  Looking back at our drawing, we have a right triangle with side lengths of 100 ft, 200 ft, and $$a$$.  We know that

$$100^2 + a^2 = 200^2$$

$$10,000 + a^2 = 40,000$$

$$a^2 = 30,000$$

$$a = \sqrt{30,000}$$

$$a = 100\sqrt{3}$$

Finding  $$\mathbf{\frac{da}{dt}}$$

This was actually given.  We know that $$a$$ is the horizontal distance the kite is away from the person flying the kite.  We know that the kite is moving horizontally at a speed of 8 $$\frac{ft}{s}$$.  Because of this we know that this is also the rate at which $$a$$ is changing.  Since $$\frac{da}{dt}$$ is the rate of change of $$a$$, we know

$$\frac{da}{dt} = 8$$

Finding $$\mathbf{\theta}$$

To find $$\theta$$ we will need to go back to the original equation we came up with before the implicit differentiation step:

$$tan(\theta) = \frac{100}{a}$$

Since we know $$a$$, we can plug it in here and solve for $$\theta$$.

$$tan(\theta) = \frac{100}{100\sqrt{3}}$$

$$tan(\theta) = \frac{1}{\sqrt{3}}$$

This angle is actually on the unit circle and by using this we know:

$$\theta = \frac{\pi}{6}$$

Note that $$\theta$$ will be in radians.

Now we can plug all of these into our equation for $$\frac{d\theta}{dt}$$.

$$\frac{d\theta}{dt} =-100a^{-2} \cdot \frac{da}{dt} \cdot cos^2 \theta$$

$$\frac{d\theta}{dt} =-100 \big(100\sqrt{3} \big)^{-2} \cdot 8 \cdot cos^2 \Bigg( \frac{\pi}{6} \Bigg)$$

$$\frac{d\theta}{dt} =-\frac{1}{300} \cdot 8 \cdot \Bigg( \frac{\sqrt{3}}{2} \Bigg)^2$$

$$\frac{d\theta}{dt} =-\frac{1}{300} \cdot 8 \cdot \frac{3}{4}$$

$$\frac{d\theta}{dt} =-\frac{1}{50}$$

So we can say that the angle between the string and the horizontal is decreasing at a rate of $$\frac{1}{50} \ \frac{radians}{s}$$ when 200 ft of string has been let out.

And that’s the answer to the question!  Hopefully that wasn’t too bad, but if you have any questions I’d love to hear them.  I know related rates problems can be challenging so you can email me any questions or suggestions at jakesmathlessons@gmail.com.  If you have any other problems you’d like to see worked out go ahead and send me an email.