- Thread starter
- #1

- Thread starter shamieh
- Start date

- Thread starter
- #1

- Admin
- #2

\(\displaystyle \cos(\alpha\pm\beta)\ne\cos(\alpha)\pm\cos(\beta)\)

You could use the angle-sum identity for cosine, but this is not necessary.

What you want to do is apply the differentiation rule for cosine and the chain rule:

\(\displaystyle \frac{d}{dx}\left(\cos\left(a^3+x^3 \right) \right)=-\sin\left(a^3+x^3 \right)\frac{d}{dx}\left(a^3+x^3 \right)\)

Can you proceed?

- Thread starter
- #3

so I let \(\displaystyle u = a^3 + x^3\)

and I got:

\(\displaystyle y'() = cos(u)\)

\(\displaystyle y'() = -sin(u)\)

\(\displaystyle y'() = -sin(u) * (a^3 + x^3)' .. (f'(g(x) * g'(x))\)

\(\displaystyle y'() = -sin(u) * 3a^2 + 3x^2\)

\(\displaystyle y'() = -sin(a^3 + x^3) * 3a^2 + 3x^2 ?\)

and I got:

\(\displaystyle y'() = cos(u)\)

\(\displaystyle y'() = -sin(u)\)

\(\displaystyle y'() = -sin(u) * (a^3 + x^3)' .. (f'(g(x) * g'(x))\)

\(\displaystyle y'() = -sin(u) * 3a^2 + 3x^2\)

\(\displaystyle y'() = -sin(a^3 + x^3) * 3a^2 + 3x^2 ?\)

Last edited:

- Admin
- #4

If $a$ is a function of $x$ as you are treating it, then there are a few issues I wish to address:

i) To complete the use of the chain rule, you want to append the derivative of $a$ with respect to $x$ to the term involving $a$.

ii) You should enclose the derivative of the argument of the trig. function within parentheses.

Hence, you would have:

\(\displaystyle \frac{d}{dx}\left(\cos\left(a^3+x^3 \right) \right)=-\sin\left(a^3+x^3 \right)\frac{d}{dx}\left(a^3+x^3 \right)=-\sin\left(a^3+x^3 \right)\left(3a^2\frac{da}{dx}+3x^2 \right)=\)

\(\displaystyle -3\sin\left(a^3+x^3 \right)\left(a^2\frac{da}{dx}+x^2 \right)\)

- Thread starter
- #5

well actually I'm taking \(\displaystyle \frac{d}{dy}\) ( when i say that I am guessing, i am not really sure) I i meant to say y'. I'll fix that. All it said was differentiate \(\displaystyle y = cos(a^3 + x^3) \)so how do i know what to say like \(\displaystyle y'(whatgoeshere)\) = ? How do i know whether its x or a. I beleive i am taking the \(\displaystyle \frac{dy}{dx}\) derivative of \(\displaystyle y\) in respect of \(\displaystyle x\) if im saying that right

Last edited:

- Admin
- #6

- Aug 30, 2012

- 1,258

Let's see if this helps:well actually I'm taking d/dy ( when i say that I am guessing, i am not really sure) I i meant to say y'. I'll fix that. All it said was differentiate y = cos(a^3 + x^3) so how do i know what to say like y'(whatgoeshere)' = ? How do i know whether its x or a. I beleive i am taking the dy/dx derivative of y in respect of x if im saying that right

\(\displaystyle y = cos \left ( a^3 + x^3 \right )\)

and you need to find:

\(\displaystyle \frac{dy}{dx} = \frac{d}{dx} \left [ cos \left ( a^3 + x^3 \right ) \right ]\)

Does that clear up some of the notation for you?

-Dan

- Thread starter
- #8

\(\displaystyle \frac{d}{dx}(a^3 + x^3) = \frac{d}{dx}(3x^2)\) ?Okay, I would assume then that $a$ is a constant...otherwise it should be written as $a(x)$. That being the case, what is:

\(\displaystyle \frac{d}{dx}\left(a^3+x^3 \right)\) ?

- Admin
- #9

You actually want to write:\(\displaystyle \frac{d}{dx}(a^3 + x^3) = \frac{d}{dx}(3x^2)\) ?

\(\displaystyle \frac{d}{dx}\left(a^3+x^3 \right)=3x^2\)

The right side is the result of taking the derivative with respect to $x$. Now, do you know what to do with this result?

- Thread starter
- #10

- Admin
- #11

Yes, that's correct!Oh I see now! Since a is constant it goes away, so i have:

\(\displaystyle -sin(u) * 3x^2\) which becomes \(\displaystyle -3x^2 sin(u)\) which becomes \(\displaystyle y'(x)\) or \(\displaystyle \frac{dy}{dx}\) = \(\displaystyle -3x^2 sin(a^3 + x^3)\)

I want to offer a $\LaTeX$ tip...

Precede predefined functions such as the trigonometric and logarithmic functions with a backslash so that their names are not italicized. This way they are distinguished from a string of variables. For example:

\sin(x) gives \(\displaystyle \sin(x)\)

but

sin(x) gives \(\displaystyle sin(x)\)

- Sep 16, 2013

- 337

Yes, that's correct!

I want to offer a $\LaTeX$ tip...

Precede predefined functions such as the trigonometric and logarithmic functions with a backslash so that their names are not italicized. This way they are distinguished from a string of variables. For example:

\sin(x) gives \(\displaystyle \sin(x)\)

but

sin(x) gives \(\displaystyle sin(x)\)

Following on from that excellent Latex advice from Mark, if you want to introduce a named function that doesn't have it's own bespoke code, you can still easily get the same effect by using the following tags

For example...

and, less whimsically,

I use this sort of stuff all the time... Especially that mushroom function.