# Homework Help: Graph the functions problem

1. Jan 12, 2005

### kreil

If $$y=sin^3(1-2x)$$ then $$\frac{dy}{dx}=?$$
a)$$3sin^2(1-2x)$$
b)$$-2cos^3(1-2x)$$
c)$$-6sin^2(1-2x)$$
d)$$-6sin^2(1-2x)cos(1-2x)$$
e)$$-6cos^2(1-2x)$$

Here is my work:

$$\frac{dy}{dx}=3cos^2(1-2x)(-2)=-6cos^2(1-2x)$$

When I checked the problem with my friend, he had (B) and after we discussed it we decided to graph the functions to find the answer and according to that the answer is (D). Can someone show me the work for that answer, I don't really understand how it could be obtained.

2. Jan 12, 2005

### Curious3141

Answer is d). Apply the chain rule more carefully. There are three nested functions to consider here : sin(z), y^3, (1 - 2x). You missed out on differentiating the sin(z) part

Last edited: Jan 12, 2005
3. Jan 12, 2005

### arildno

D) is certainly the correct answer.
When using the chain rule, it is crucial to be clear on what is the outer function and what is the kernel(s).

In order to develop a proficiency in this, you should begin with being VERY careful
(as you get more experience, you can drop a few of the intermediate steps:
Here's one way
1. Set u(x)=1-2x
2) Set v(u)=sin(u)
3) Set w(v)=v^3

Hence,
$$y(x)=w(v(u(x)))$$
Or:
$$\frac{dy}{dx}=\frac{dw}{dv}\frac{dv}{du}\frac{du}{dx}$$
Now, we have:
$$\frac{dw}{dv}=3v^{2},\frac{dv}{du}=\cos(u), \frac{du}{dx}=-2$$

4. Jan 12, 2005

### Galileo

The answer is (D). You have to apply the chain rule twice.

A little elaborate way to use the chain rule is by substitution:
Let $u=\sin(v)$ and $v=1-2x$

Then:
$$y=u^3$$
and
$$\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}=\frac{dy}{du}\frac{du}{dv}\frac{dv}{du}$$

Work it out and you'll get (D).