Derivatives of Trigonometric Functions with the Chain Rule

Click For Summary

Homework Help Overview

The discussion revolves around finding the derivative of the function $$y=\cos\left(\frac{1-e^{2x}}{1+e^{2x}}\right)$$, focusing on the application of the chain rule and potential errors in differentiation techniques.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the use of the chain rule and the quotient rule for differentiation. There are attempts to clarify the steps involved in finding the derivative, with some participants noting potential sign errors and suggesting alternative methods.

Discussion Status

Several participants are actively engaging with the problem, pointing out errors and suggesting different approaches. There is a recognition of the complexity of the differentiation process, and some guidance has been offered regarding the use of substitution and the chain rule.

Contextual Notes

Participants are working under the constraints of homework rules, which may limit the extent of guidance provided. There is an ongoing exploration of assumptions related to the differentiation techniques being employed.

physics604
Messages
92
Reaction score
2

Homework Statement



Find the derivative of $$y=cos(\frac{1-e^{2x}}{1+e^{2x}})$$

Homework Equations



Chain rule

The Attempt at a Solution



$$y=cosu$$ $$\frac{dy}{du}=-sinu$$

$$u=\frac{1-e^{2x}}{1+e^{2x}}$$ $$ \frac{du}{dx}=(1-e^{2x})(-(1+e^{2x})^{-2})+(1+e^{2x})^{-1}(-2e^{2x})$$ $$= -\frac{1-e^{2x}}{(1+e^{2x})^2} + \frac{-2e^{2x}}{1+e^{2x}}$$ $$= \frac{-(1-e^{2x})}{(1+e^{2x})^2} + \frac{(-2e^{2x})(1+e^{2x})}{1+e^(1+e^{2x})^2}$$ $$= -\frac{-1+e^{2x}+(-2e^{2x})+(-2e^{4x})}{(1+e^{2x})^2}$$

$$\frac{dy}{dx}=-sin\frac{1-e^{2x}}{1+e^{2x}} (-\frac{-1+e^{2x}+(-2e^{2x})+(-2e^{4x})}{(1+e^{2x})^2})$$

The front part of my answer is right $$-sin\frac{1-e^{2x}}{1+e^{2x}}$$, but the second half is wrong.

According to my textbook it is supposed to be $$\frac{4e^{2x}}{(1+e^{2x})^2}$$. What did I do wrong?

Any help is much appreciated.
 
Physics news on Phys.org
physics604 said:
##=(1-e^{2x})(-(1+e^{2x})^{-2})+(1+e^{2x})^{-1}(-2e^{2x})##
##=(1-e^{2x})(-(1+e^{2x})^{-2})##<something missing here>##+(1+e^{2x})^{-1}(-2e^{2x})##
$$= -\frac{1-e^{2x}}{(1+e^{2x})^2} + \frac{-2e^{2x}}{1+e^{2x}}$$
$$= \frac{-(1-e^{2x})}{(1+e^{2x})^2} + \frac{(-2e^{2x})(1+e^{2x})}{(1+e^{2x})^2}$$
$$= -\frac{-1+e^{2x}+(-2e^{2x})+(-2e^{4x})}{(1+e^{2x})^2}$$
Sign error.
 
  • Like
Likes   Reactions: 1 person
physics604 said:

Homework Statement



Find the derivative of $$y=cos(\frac{1-e^{2x}}{1+e^{2x}})$$

Homework Equations



Chain rule

The Attempt at a Solution



$$y=cosu$$ $$\frac{dy}{du}=-sinu$$

$$u=\frac{1-e^{2x}}{1+e^{2x}}$$ $$ \frac{du}{dx}=(1-e^{2x})(-(1+e^{2x})^{-2})+(1+e^{2x})^{-1}(-2e^{2x})$$ $$= -\frac{1-e^{2x}}{(1+e^{2x})^2} + \frac{-2e^{2x}}{1+e^{2x}}$$ $$= \frac{-(1-e^{2x})}{(1+e^{2x})^2} + \frac{(-2e^{2x})(1+e^{2x})}{1+e^(1+e^{2x})^2}$$ $$= -\frac{-1+e^{2x}+(-2e^{2x})+(-2e^{4x})}{(1+e^{2x})^2}$$

$$\frac{dy}{dx}=-sin\frac{1-e^{2x}}{1+e^{2x}} (-\frac{-1+e^{2x}+(-2e^{2x})+(-2e^{4x})}{(1+e^{2x})^2})$$

The front part of my answer is right $$-sin\frac{1-e^{2x}}{1+e^{2x}}$$, but the second half is wrong.

According to my textbook it is supposed to be $$\frac{4e^{2x}}{(1+e^{2x})^2}$$. What did I do wrong?

Any help is much appreciated.

Why don't you just try using the quotient rule instead of the product rule? It's much cleaner, and using the product rule you made a mistake.

Edit:: Are you trying to wing yourself off using u sub for these yet? It helps, since I believe you forgot (1+e^{2x})^{-1} is also a composition.
 
Last edited:
  • Like
Likes   Reactions: 1 person
Student100 said:
Edit:: Are you trying to wing yourself off using u sub for these yet? It helps, since I believe you forgot (1+e^{2x})^{-1} is also a composition.
"wing yourself off"? Oh, you mean "wean". That stopped me for a moment.
 
There are several ways to approach these problems

I would be inclined to rewrite the function
$$\cos \left( \frac{1-e^{2x}}{1+e^{2x}} \right)=\cos \left(1- \frac{2}{1+e^{2x}} \right)=\cos(\tanh(x))$$

Otherwise use the chain rule multiple times with care. For example

$$\cos \left( \frac{1-e^{2x}}{1+e^{2x}} \right)=\mathrm{f}(\mathrm{g}(\mathrm{h}(x))) \\
\text{where} \\
\mathrm{f}(x)=\cos(x) \\
\mathrm{g}(x)=\frac{1-x}{1+x} \\
\mathrm{h}(x)=e^{2x} $$
 
  • Like
Likes   Reactions: 1 person
Thanks everyone! I've got it!
 
HallsofIvy said:
"wing yourself off"? Oh, you mean "wean". That stopped me for a moment.

Thanks?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
19
Views
2K