Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I understand how to do differentiation when the elements are individual functions, but am having trouble applying the concepts with nested functions.

For example, given $(\cos \pi x + \sin \pi y)^5= 24$ $$\frac{d}{dx}\left[\frac{d}{dx}(\cos \pi x)+\frac{d}{dx} (\sin \pi y)\right]^5=\frac{d}{dx}24$$

Following the chain rule of ${f}'(g(x))\cdot {g}'(x), $

$$5[(\cos(\pi x) +\sin (\pi y)]^4 \cdot [-\pi \sin(\pi x) + \pi \cos(\pi y)]=0$$

That's where I get stuck. First, as I see it, I have a few options for the next step:

  • multiply ${g}'(x)$ by 5

  • multiply $g(x)$ by 4

What about after that? How do I separate the contents inside the power block to move the $x$ functions to the other side of the equation?

share|cite|improve this question
Also, your notation is not correct here, although you did take the derivative properly, with the exception that pointed out below. – JavaMan Mar 4 '11 at 16:44
Do you want to find $dy/dx$, given $(\cos \pi x + \sin \pi y)^5= 24$? – Américo Tavares Mar 4 '11 at 19:28
If $F(x,y)=0$ and $y=f(x)$, then $\dfrac{\partial F}{\partial x}+\dfrac{% \partial F}{\partial y}\dfrac{dy}{dx}=0$, $\dfrac{dy}{dx}=-\dfrac{\dfrac{% \partial F}{\partial x}}{\dfrac{\partial F}{\partial y}}$ – Américo Tavares Mar 4 '11 at 20:20
up vote 1 down vote accepted

Jason. You should not be solving for $y$, you should be solving for $\frac{dy}{dx}$. There was an error in your calculation, however, when you applied the chain rule to find $\frac{d}{dx} (\sin (\pi y))$. It should be:

$$ \frac{d}{dx} \left( \sin ( \pi y) \right) = \cos(\pi y) \frac{d}{dx} (\pi y) = \cos (\pi y) \pi \frac{dy}{dx}, $$

since we are viewing $y$ as a function of $x$. Try now to solve for $\frac{dy}{dx}$ with what you've been given here.

share|cite|improve this answer
This is what made it work, since that last$\frac{dy}{dx}$ is what is left over for that side of the equation once everything is shifted over. I missed that part in the prof's examples. – Jason Mar 4 '11 at 22:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.