Finding the Derivative of y=6/(1+e^-x) at (0,3)

  • Thread starter Thread starter FritoTaco
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary

Homework Help Overview

The discussion revolves around finding the derivative of the function y=6/(1+e^-x) at the point (0, 3) and determining the equation of the tangent line. Participants express confusion regarding the application of the chain rule and the quotient rule in this context.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the use of the quotient rule and chain rule, with some questioning the necessity of the chain rule for certain derivatives. There are discussions about rewriting the function to simplify differentiation.

Discussion Status

The discussion is ongoing, with participants providing insights into the correct application of differentiation rules. Some have acknowledged misunderstandings regarding the chain rule and the derivative of the denominator, while others have suggested alternative approaches to the problem.

Contextual Notes

There is mention of confusion regarding the squaring of the denominator in the derivative calculation and the implications of using the quotient rule when the numerator is a constant.

FritoTaco
Messages
132
Reaction score
23

Homework Statement


Hello,

I need help finding the derivative. The question wants me to find the equation of the tangent line to the curve

y=\dfrac{6}{1+e^{-x}} at point (0, 3). I'm unclear on when to use the chain rule at certain areas.

Homework Equations



Product Rule: f(x)g'(x)+f'(x)g(x)

Quotient Rule: \dfrac{g(x)f'(x)-g'(x)f(x)}{(g(x))^2}

Chain Rule:

if y=g(f(x))

then \dfrac{dy}{dx}=g'(f(x))\cdot f'(x)

or

if y=g(u) and u=f(x)

then \dfrac{dy}{dx}=\dfrac{dy}{du}\cdot\dfrac{du}{dx}

The Attempt at a Solution



Quotient

y=\dfrac{6}{1+e^{-x}}

y'=\dfrac{(1+e^{-x})(6)'-(1+e^{-x})'(6)}{(1+e^{-x})^2}

y'=\dfrac{(1+e^{-x})(0)-(1+e^{-x})(-e^{-x})(6)}{(1+e^{-x})^2} Used chain rule here for -(1+e^{-x})

y'=\dfrac{-(1+e^{-x})-6(-e^{-x})}{(1+e^{-x})^2}

y'=\dfrac{-(1+e^{0})-6(-e^{0})}{(1+e^{0})^2}

y'=1

Book Answer:

y=\dfrac{6}{(1+e^{-x})}

y'=\dfrac{(1+e^{-x})(0)-6(-e^{-x})}{(1+e^{-x})^2}

y'=\dfrac{6(e^{-x})}{(1+e^{-x})^2}

y'=\dfrac{6(e^{0})}{(1+e^{-x})^2}

y'=\dfrac{6(1)}{(1+1)^2}

y'=\dfrac{6}{2^2}

y'=\dfrac{3}{2}

y=\dfrac{3}{2}x+3

Everything goes terribly wrong for me when I use the chain rule. Also, at then end, why didn't they square the denominator?
 
Physics news on Phys.org
FritoTaco said:
Used chain rule here for ##-(1+e^{-x})##
There is no chain rule here: just a sum rule if you want: $$(1+e^{-x})' = 1' + (e^{-x})' = 0 - e^{-x} = - e^{-x} $$
 
  • Like
Likes   Reactions: FritoTaco
BvU said:
There is no chain rule here: just a sum rule if you want: $$(1+e^{-x})' = 1' + (e^{-x})' = 0 - e^{-x} = - e^{-x} $$

Thanks, I didn't see that little detail. That helped.
 
FritoTaco said:

The Attempt at a Solution



Quotient

y=\dfrac{6}{1+e^{-x}}

y'=\dfrac{(1+e^{-x})(6)'-(1+e^{-x})'(6)}{(1+e^{-x})^2}

y'=\dfrac{(1+e^{-x})(0)-(1+e^{-x})(-e^{-x})(6)}{(1+e^{-x})^2} Used chain rule here for -(1+e^{-x})
I would never use the quotient rule for a function where the numerator is a constant. I would write ##\frac 6 {1 + e^{-x}}## as ##6(1 + e^{-x})^{-1}## and use the constant multiple rule followed by the chain rule.

Having said that, your work in the line above is incorrect. You should NOT use the chain rule on ##1 + e^{-x}##, at least not at first. The derivative of ##1 + e^{-x}## is simply ##-e^{-x}##.

##\frac d {dx} \left( 1 + e^{-x} \right) = \frac d {dx} 1 + \frac d {dx} e^{-x} = 0 - e^{-x}##
I used the sum rule followed by the chain rule.
FritoTaco said:
y'=\dfrac{-(1+e^{-x})-6(-e^{-x})}{(1+e^{-x})^2}

y'=\dfrac{-(1+e^{0})-6(-e^{0})}{(1+e^{0})^2}

y'=1

Book Answer:

y=\dfrac{6}{(1+e^{-x})}

y'=\dfrac{(1+e^{-x})(0)-6(-e^{-x})}{(1+e^{-x})^2}

y'=\dfrac{6(e^{-x})}{(1+e^{-x})^2}

y'=\dfrac{6(e^{0})}{(1+e^{-x})^2}

y'=\dfrac{6(1)}{(1+1)^2}

y'=\dfrac{6}{2^2}

y'=\dfrac{3}{2}

y=\dfrac{3}{2}x+3

Everything goes terribly wrong for me when I use the chain rule. Also, at then end, why didn't they square the denominator?
 
  • Like
Likes   Reactions: FritoTaco

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 20 ·
Replies
20
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
1K
Replies
1
Views
2K