How to differentiate y=cos4(x2 + ex)?

Click For Summary

Homework Help Overview

The problem involves differentiating the function y=cos^4(x^2 + e^x). Participants are discussing the application of the chain rule in this context.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants explore the differentiation using the chain rule and question the correctness of initial attempts. There is discussion about the structure of the function and the application of the chain rule with substitutions.

Discussion Status

Some participants have provided guidance on the differentiation process and suggested reconsidering the application of the chain rule. There is an ongoing exploration of the function's structure and the correct differentiation steps.

Contextual Notes

Participants note that the problem specifies not to simplify the expression, which may influence their approach to differentiation.

futurept
Messages
13
Reaction score
0

Homework Statement


The problem is to differentiate the function.
y=cos4(x2 + ex)


Homework Equations


cos(x)'= -sin(x), (xn)'=n*xn-1, (ex)'=ex*x'


The Attempt at a Solution


Thought it would be the chain rule. Here's what I came up with:

y'=4cos3(-sin(x2 + ex)(2x + ex)

Is this right? If not, any suggestions on what I did wrong?
 
Last edited:
Physics news on Phys.org
futurept said:
y'=4cos3(-sin(x2 + ex)(2x + ex)

Is this right? If not, any suggestions on what I did wrong?

Is this a typo? What are you taking the cosine of?
 
no it's not a typo. my answer was y'= 4cos3(-sin(x2 + ex))*(2x + ex)
 
I did forget to say that the problem says not to simplify.
 
You're close but take another look at the chain rule.

f(x) = h(g(x))

f'(x) = h'(g(x)) * g'(x)

Your answer follows the following incorrect differentiation.

f'(x) = h'(g'(x))

But you only messed up for one part of the chain. The innermost function was differentiated correctly.
 
futurept said:
no it's not a typo. my answer was y'= 4cos3(-sin(x2 + ex))*(2x + ex)

In that case it is incorrect.

Try using the substitution u=x^2+e^x along with the chain rule...What is \frac{d}{dx}\cos^4(u)?
 
so h(x)=cos4(x2+ex)

and g(x)= x2 + ex

but would the cos4 part be another function by itself? So then it would be f(g(h(x))).

and by definition of the chain rule it would be f '(g(h(x)))*g'(h(x))*h'(x)?
 
futurept said:
so h(x)=cos4(x2+ex)

and g(x)= x2 + ex

but would the cos4 part be another function by itself? So then it would be f(g(h(x))).

and by definition of the chain rule it would be f '(g(h(x)))*g'(h(x))*h'(x)?
hmmm this doesn't make much sense.

Instead, let's call g(x) \equiv \cos^4(x) and h(x)\equiv x^2+e^x then f(x)\equiv\cos^4(x^2+e^x)=g(h(x))

...follow?

Now, what does the chain rule give you for f'(x)?
 
yeah, i think i follow. so from your definition, f'(x)=g'(h(x))*h'(x)?
 
  • #10
so, (cos(x^2+e^x))^4

f'(x)= 4cos(x^2+e^x)^3*-sin(x^2+e^x)*(2x+e^x)
 
  • #11
futurept said:
so, (cos(x^2+e^x))^4

f'(x)= 4cos(x^2+e^x)^3*-sin(x^2+e^x)*(2x+e^x)

Yes, much better!:approve:
 
  • #12
you guys are awesome
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K