0

Let $f(x) = \sin(x)$ and $g(x) = \cos(x)$.

Then I want to find the derivative of sin(x) with respect to cos(x).

So I have:

$$\frac{d\sin(x)}{d\cos(x)}$$

$d/dx \sin(x) = \cos(x)$, so $d\sin(x) = \cos(x)dx$.

$d/dx \cos(x) = -\sin(x)$, so $d\cos(x) = -\sin(x)dx$.

Then,

$$\frac{d\sin(x)}{d\cos(x)} = \frac{\cos(x)dx}{-\sin(x)dx} = -\cot(x)$$

Is this legit or am I doing something wrong here?

O.S.
  • 592

1 Answers1

1

We have:$$\frac{d(\sqrt{1-\cos^2x})}{d(\cos x)}$$Substitute $u=\cos(x)$:

$$\frac{d}{du}(\sqrt{1-u^2})$$ Can you continue from here?

Etemon
  • 6,437