Differentiating cotx: Help Solving Wrong Answer

  • Thread starter Thread starter wolfspirit
  • Start date Start date
  • Tags Tags
    differentiating
Click For Summary
The discussion centers on the differentiation of cot(x), where the original poster struggles to arrive at the correct answer. They mistakenly apply the product and chain rules instead of using the simpler quotient rule. The correct differentiation yields -csc^2(x), which is derived from recognizing that cot(x) can be expressed as cos(x)/sin(x). A key point made in the responses is that using the quotient rule simplifies the process and avoids errors. Ultimately, the correct differentiation confirms that the derivative of cot(x) is indeed -csc^2(x).
wolfspirit
Messages
33
Reaction score
1
I keep getting the wrong answer when i try to differentiate cotx..
this is what i get:
cotx = 1/tanx =cosx/sinx=cosx ⋅ sin^-1
so by the product and chain rule we have:
sinx⋅(sin x)^-1+cos⋅(-1sin^2 x)^-1 ⋅(cosx)^-1

=

sinx/sinx - cosx/cosx ⋅ sin^2x
=1-1/sin^2 x

where as the correct answer is -1/sin^2x = -csc^2 x

could someone please tell me where i am going wrong?many thanks
Ryan
 
  • Like
Likes Mark44
Physics news on Phys.org
wolfspirit said:
I keep getting the wrong answer when i try to differentiate cotx..
this is what i get:
cotx = 1/tanx =cosx/sinx=cosx ⋅ sin^-1
so by the product and chain rule we have:
sinx⋅(sin x)^-1+cos⋅(-1sin^2 x)^-1 ⋅(cosx)^-1
d/dx(cos(x)) = -sin(x). It looks like you have other mistakes as well. For this problem it's probably simpler to use the quotient rule. You don't need to use the chain rule when you do so.
wolfspirit said:
=

sinx/sinx - cosx/cosx ⋅ sin^2x
=1-1/sin^2 x

where as the correct answer is -1/sin^2x = -csc^2 x

could someone please tell me where i am going wrong?many thanks
Ryan
 
wolfspirit said:
I keep getting the wrong answer when i try to differentiate cotx..
this is what i get:
cotx = 1/tanx =cosx/sinx=cosx ⋅ sin^-1
so by the product and chain rule we have:
sinx⋅(sin x)^-1+cos⋅(-1sin^2 x)^-1 ⋅(cosx)^-1

=

sinx/sinx - cosx/cosx ⋅ sin^2x
=1-1/sin^2 x

where as the correct answer is -1/sin^2x = -csc^2 x

could someone please tell me where i am going wrong?many thanks
Ryan

You have cot(x) = cos(x) * sin-1(x) = u * v

u = cos (x)
v = sin-1(x)

u' = -sin(x)
v' = -sin-2(x) * cos (x) [from the chain rule]

d(cot(x))/dx = u * v' + v * u' = -cos2(x)*sin-2(x) - sin(x) * sin-1(x) = -cot2(x) - 1 = -[1 + cot2(x)]

cot2(x) = cos2(x) / sin2(x)

1 + cot2(x) = 1 + cos2(x)/sin2(x) = [sin2(x) + cos2(x)] / sin2(x) = 1/sin2(x) = csc2(x)

-[1 + cot2(x)] = -csc2(x) = d(cot(x))/dx

Q.E.D.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
10K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K