Solving the Chain Rule: A Visual Guide

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
QuarkCharmer
Messages
1,049
Reaction score
3

Homework Statement


[tex]\frac{d}{dx}(x+(x+sin^2(x))^3)^4[/tex]

Homework Equations


Calc up to Chain Rule.

The Attempt at a Solution


Using product and chain rule I got:
[tex]\frac{dy}{dx}=4(x+(x+sin^2(x))^3)^3(1+3(x+sin^2(x))^2)(1+\frac{d}{dx}sin^2(x))[/tex]

Then I calculated the derivative of sin^2(x):
[tex]\frac{d}{dx}sin^2(x)=2sin(x)cos(x)[/tex]

and put that into the derivative to get:

[tex]y'=4(x+(x+sin^2(x))^3)^3(1+3(x+sin^2(x))^2)(1+2sin(x)cos(x))[/tex]

Do I further simplify this? It does not seem obvious to me. What should I be paying attention to next?
Here is another problem I worked out. I think it's correct, assuming I am using the chain-rule correctly?
[PLAIN]http://img824.imageshack.us/img824/2691/imag0025ed.jpg
It simplified down to something sort of pretty, but that other one looks horrible!
 
Last edited by a moderator:
Physics news on Phys.org
That is correct. I think you can't simplify it further. But at entry level, if you're afraid of using chain rule for really lengthy functions, like this, you can substitute a suitable part of it. ie.

[tex]\frac{d}{dx}(x+(x+sin^2(x))^3)^4[/tex]
let,
[tex](x+sin^2(x)) = z[/tex]
so,
[tex]\frac{d}{dx}(x+(x+sin^2(x))^3)^4 = \frac{d}{dx}(x+z^3)^4[/tex]

Now, do differentiate in the same way. The final answer will be same, but it may decrease the chance to make a mistake.
 
Last edited:
That is basically what I was doing. Only I did it in my head.
 
QuarkCharmer said:
That is basically what I was doing. Only I did it in my head.

Hi QuarkCharmer! :wink:

I think you have a bracket in the wrong place, but otherwise it's fine. :smile:

In your second one, if you're wondering why it's so neat, that's because you could rewrite the bottom as (√2)cos(πx - π/4) …

then the top becomes cossin - sincos = sin((πx - π/4) - πx) = sin(-π/4) = -1/√2. :wink:
 
tiny-tim said:
Hi QuarkCharmer! :wink:

I think you have a bracket in the wrong place, but otherwise it's fine. :smile:

In your second one, if you're wondering why it's so neat, that's because you could rewrite the bottom as (√2)cos(πx - π/4) …

then the top becomes cossin - sincos = sin((πx - π/4) - πx) = sin(-π/4) = -1/√2. :wink:

I see what you did there, but unless it's really obvious, those phase shifting identities would be going a bit too far I would think?
 
Hi QuarkCharmer! :smile:
QuarkCharmer said:
… phase shifting identities …

You make it sound like something out of Star Trek! :biggrin:

Surely it's always simpler to deal with one cos rather than a sum of two?

(You might like to try differentiating a general cos(x+A)/cosx, = cosA + sinAtanx :wink:)
 
tiny-tim said:
Hi QuarkCharmer! :smile:


You make it sound like something out of Star Trek! :biggrin:

Surely it's always simpler to deal with one cos rather than a sum of two?

(You might like to try differentiating a general cos(x+A)/cosx, = cosA + sinAtanx :wink:)

Hey, I didn't make up the nomenclature! I learned about alternating current before I knew what trigonometry was, so I just think of it that way.

I'll give that a shot, but do you mean to prove the equality, or differentiate one of the sides?