Differentiating cotx: Help Solving Wrong Answer

In summary, the conversation discusses how to differentiate cot(x) and the incorrect steps taken to do so. The correct answer is -csc^2(x). The mistake is using the chain rule instead of the quotient rule.
  • #1
wolfspirit
33
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
  • #2
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
 
  • #3
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.
 

1. How do I differentiate cotx?

To differentiate cotx, you can use the quotient rule, which states that the derivative of cotx is equal to the negative cosecant squared of x. Alternatively, you can also rewrite cotx as cosx/sinx and use the quotient rule to differentiate.

2. Why am I getting the wrong answer when differentiating cotx?

There are a few common mistakes that can lead to the wrong answer when differentiating cotx. These include not properly using the quotient rule, not simplifying the expression before differentiating, or making errors in basic algebraic steps. Make sure to check your work carefully and review the rules of differentiation.

3. How can I check if my answer for differentiating cotx is correct?

To check if your answer is correct, you can use various methods such as graphing the original function and its derivative, plugging in different values for x and comparing the results, or using an online calculator to verify your answer.

4. What is the domain and range of cotx?

The domain of cotx is all real numbers except for multiples of pi/2, where the function is undefined. The range of cotx is all real numbers, as the function oscillates between positive and negative infinity.

5. Can I use the chain rule to differentiate cotx?

No, you cannot use the chain rule to differentiate cotx. The chain rule is used for functions that have a composition of functions, while cotx is a single function. Use the quotient rule or the alternative method of rewriting cotx as cosx/sinx to differentiate.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
349
  • Calculus and Beyond Homework Help
Replies
6
Views
953
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
22
Views
1K
Replies
8
Views
431
  • Calculus
Replies
6
Views
2K
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Replies
8
Views
184
Back
Top