Chain Rule W/ Composite Functions

Michele Nunes
Messages
42
Reaction score
2

Homework Statement


If d/dx(f(x)) = g(x) and d/dx(g(x)) = f(x2), then d2/dx2(f(x3)) =
a) f(x6)
b) g(x3)
c) 3x2*g(x3)
d) 9x4*f(x6) + 6x*g(x3)
e) f(x6) + g(x3)

Homework Equations

The Attempt at a Solution


The answer is D. Since d/dx(f(x)) = g(x), I said that d/dx(f(x3)) should equal 3x2*g(x3), then I took the derivative again and first used product rule so 6x*g(x3) + 3x2*f(x6)*6x5 since you would need to do chain rule again but that doesn't match up with the answer. I've been trying to play around with it for a while and it's just not coming out as the answer.
 
Physics news on Phys.org
Michele Nunes said:

Homework Statement


If d/dx(f(x)) = g(x) and d/dx(g(x)) = f(x2), then d2/dx2(f(x3)) =
a) f(x6)
b) g(x3)
c) 3x2*g(x3)
d) 9x4*f(x6) + 6x*g(x3)
e) f(x6) + g(x3)

Homework Equations

The Attempt at a Solution


The answer is D. Since d/dx(f(x)) = g(x), I said that d/dx(f(x3)) should equal 3x2*g(x3), then I took the derivative again and first used product rule so 6x*g(x3) + 3x2*f(x6)*6x5 since you would need to do chain rule again but that doesn't match up with the answer. I've been trying to play around with it for a while and it's just not coming out as the answer.
Redo the second derivative. The term 3x2*f(x6)*6x5 looks wrong.
By the product rule: ##\frac{d}{dx} 3x²g(x³)= 6xg(x³) + 3x² \frac{d}{dx} g(x³)##
 
Last edited:
Samy_A said:
Redo the second derivative. The term 3x2*f(x6)*6x5 looks wrong.
Here's how I did the second derivative:
I'm taking the derivative of (3x2)*(g(x3)), and I'm going to let (3x2) = u and (g(x3)) = v
so the second derivative should look like: d2/dx2(f(x3)) = u'v + uv'
My first term came out nice: u'v = 6x*g(x3)
Now for my second term, I said that v' = f(x6)*6x5 since d/dx(g(x)) = f(x2) so I assumed that d/dx(g(x3)) would equal f((x2)3) or similarly, f(x6) and then I used chain rule for f(x6) which is why I added the 6x5 at the end
 
Michele Nunes said:
Now for my second term, I said that v' = f(x6)*6x5 since d/dx(g(x)) = f(x2) so I assumed that d/dx(g(x3)) would equal f((x2)3) or similarly, f(x6) and then I used chain rule for f(x6) which is why I added the 6x5 at the end
##\frac{d}{dx}g(x³) \neq g'(x³)##.
You are making this too complicated. Try to apply the chain rule when computing ##3x² \frac{d}{dx} g(x³)##.
 
  • Like
Likes   Reactions: Michele Nunes
Samy_A said:
##\frac{d}{dx}g(x³) \neq g'(x³)##.
You are making this too complicated. Try to apply the chain rule when computing ##3x² \frac{d}{dx} g(x³)##.
Ohhh I see now. I did chain rule on the wrong term. That's why it was coming out funky. Thank you!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • Poll Poll
  • · Replies 5 ·
Replies
5
Views
3K