Find the derivative of the function

In summary, we discussed how to find the derivative of a function, specifically the function f(x) = cos(a^3 + x^3). We determined that the cosine function is not linear and does not follow the angle-sum identity, but can still be differentiated using the rule for cosine and the chain rule. We also addressed some issues with notation and clarified the usage of variables and constants. Finally, we provided a $\LaTeX$ tip for properly formatting mathematical expressions involving predefined functions.
  • #1
shamieh
539
0
Find the derivative of the function.

\(\displaystyle f(x) = cos(a^3 + x^3)\)

so do I want to distribute and say

\(\displaystyle f'(x) = cosa^3 + cosx^3\) and then use chain rule or...How exactly should I go about solving this particular problem?
 
Physics news on Phys.org
  • #2
The cosine function is not linear, that is to say:

\(\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?
 
  • #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 ?\)
 
Last edited:
  • #4
Are you told whether $a$ is a constant, or if it is a function of $x$? I would assume it is a constant unless told it depends on $x$.

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)\)
 
  • #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 believe i am taking the \(\displaystyle \frac{dy}{dx}\) derivative of \(\displaystyle y\) in respect of \(\displaystyle x\) if I am saying that right
 
Last edited:
  • #6
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)\) ?
 
  • #7
shamieh said:
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 believe i am taking the dy/dx derivative of y in respect of x if I am saying that right
Let's see if this helps:
\(\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
 
  • #8
MarkFL said:
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)\) ?

\(\displaystyle \frac{d}{dx}(a^3 + x^3) = \frac{d}{dx}(3x^2)\) ?
 
  • #9
shamieh said:
\(\displaystyle \frac{d}{dx}(a^3 + x^3) = \frac{d}{dx}(3x^2)\) ?

You actually want to write:

\(\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?
 
  • #10
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)\)
 
  • #11
shamieh said:
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)\)

Yes, that's correct! (Sun)

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)\)
 
  • #12
Very nicely done, Shamieh! :D
MarkFL said:
Yes, that's correct! (Sun)

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

\text{}For example...

\text{mushroom}(x) shows as \(\displaystyle \text{mushroom}(x)\)

\text{Pie}(\pi) shows as \(\displaystyle \text{Pie}(\pi)\)

and, less whimsically,

\text{Li}_2(x) shows as \(\displaystyle \text{Li}_2(x)\)
I use this sort of stuff all the time... Especially that mushroom function. (Bandit)
 

FAQ: Find the derivative of the function

What is the definition of a derivative?

A derivative is a mathematical concept that represents the instantaneous rate of change of a function at a specific point. It is the slope of a tangent line drawn at that point on the function's curve.

How do you find the derivative of a function?

The derivative of a function can be found by using the rules of differentiation, which include the power rule, product rule, quotient rule, and chain rule. These rules involve finding the derivative of each term in the function and then combining them using algebraic operations.

What does the derivative of a function represent?

The derivative of a function represents the slope of the tangent line at a specific point on the function's curve. It also represents the rate of change of the function at that point, or the speed at which the function is changing.

Are there any special cases when finding the derivative of a function?

Yes, there are some special cases when finding the derivative of a function. These include finding the derivative of a constant, a power function, or a trigonometric function. In these cases, specific rules or identities must be applied to find the derivative.

Why is finding the derivative important?

Finding the derivative of a function is important because it allows us to analyze the behavior of the function and understand how it changes. It is also a fundamental concept in calculus and is used to solve a variety of real-world problems in fields such as physics, engineering, and economics.

Similar threads

Replies
5
Views
2K
Replies
3
Views
3K
Replies
14
Views
2K
Replies
1
Views
1K
Replies
2
Views
2K
Replies
15
Views
2K
Replies
8
Views
1K
Replies
3
Views
3K
Replies
2
Views
1K
Back
Top