WordGPT

Derivative of x2tan⁡(x)\frac{x^{2}}{\tan\left(x\right)}

The derivative of x2tan⁡(x)\frac{x^{2}}{\tan\left(x\right)} is 2xtan⁡(x)−x21cos⁡(x)2tan⁡(x)2\frac{2 x \tan\left(x\right) - x^{2} \frac{1}{\cos\left(x\right)^{2}}}{\tan\left(x\right)^{2}}.

f(x) =
ddx[x2tan⁡(x)]=2xtan⁡(x)−x21cos⁡(x)2tan⁡(x)2\frac{d}{dx}\left[\frac{x^{2}}{\tan\left(x\right)}\right] = \frac{2 x \tan\left(x\right) - x^{2} \frac{1}{\cos\left(x\right)^{2}}}{\tan\left(x\right)^{2}}

Type any function of x; the derivative is computed symbolically in your browser.

Graph of f(x) = x^2 / tan(x) and its derivative-3-2-1123-60-40-20slope -0.1281f(x)f'(x)tangent at x = 1
Graph of f(x) = x^2 / tan(x) and its derivative. The dashed line is the tangent at x = 1; its slope is f'(1) = -0.1281.

How to work it out

  1. 1

    We differentiate f(x)=x2tan⁡(x)f(x) = \frac{x^{2}}{\tan\left(x\right)} with respect to x. The rule that applies is the quotient rule.

    f(x)=x2tan⁡(x)f(x) = \frac{x^{2}}{\tan\left(x\right)}
  2. 2

    Quotient rule: (uv)′=u′v−uv′v2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^{2}}. Let u=x2u = x^{2} and v=tan⁡(x)v = \tan\left(x\right).

    u=x2,v=tan⁡(x)u = x^{2},\quad v = \tan\left(x\right)
  3. 3

    Differentiate each piece:

    u′=2x,v′=1cos⁡(x)2u' = 2 x,\quad v' = \frac{1}{\cos\left(x\right)^{2}}
  4. 4

    Put them in the rule:

    f′(x)=(2x)(tan⁡(x))−(x2)(1cos⁡(x)2)(tan⁡(x))2f'(x) = \frac{\left(2 x\right)\left(\tan\left(x\right)\right) - \left(x^{2}\right)\left(\frac{1}{\cos\left(x\right)^{2}}\right)}{\left(\tan\left(x\right)\right)^{2}}
  5. 5

    Simplify:

    f′(x)=2xtan⁡(x)−x21cos⁡(x)2tan⁡(x)2f'(x) = \frac{2 x \tan\left(x\right) - x^{2} \frac{1}{\cos\left(x\right)^{2}}}{\tan\left(x\right)^{2}}
  6. 6

    Differentiating once more gives the second derivative, which tells you about curvature:

    f′′(x)=(2tan⁡(x)+2x1cos⁡(x)2−(2x1cos⁡(x)2+x2−(2cos⁡(x)−sin⁡(x))(cos⁡(x)2)2))tan⁡(x)2−(2xtan⁡(x)−x21cos⁡(x)2)2tan⁡(x)1cos⁡(x)2(tan⁡(x)2)2f''(x) = \frac{\left(2 \tan\left(x\right) + 2 x \frac{1}{\cos\left(x\right)^{2}} - \left(2 x \frac{1}{\cos\left(x\right)^{2}} + x^{2} \frac{-\left(2 \cos\left(x\right) -\sin\left(x\right)\right)}{\left(\cos\left(x\right)^{2}\right)^{2}}\right)\right) \tan\left(x\right)^{2} - \left(2 x \tan\left(x\right) - x^{2} \frac{1}{\cos\left(x\right)^{2}}\right) 2 \tan\left(x\right) \frac{1}{\cos\left(x\right)^{2}}}{\left(\tan\left(x\right)^{2}\right)^{2}}
LaTeX source of the formulas on this page
\[ \frac{d}{dx}\left[\frac{x^{2}}{\tan\left(x\right)}\right] = \frac{2 x \tan\left(x\right) - x^{2} \frac{1}{\cos\left(x\right)^{2}}}{\tan\left(x\right)^{2}} \]
\[ f(x) = \frac{x^{2}}{\tan\left(x\right)} \]
\[ u = x^{2},\quad v = \tan\left(x\right) \]
\[ u' = 2 x,\quad v' = \frac{1}{\cos\left(x\right)^{2}} \]
\[ f'(x) = \frac{\left(2 x\right)\left(\tan\left(x\right)\right) - \left(x^{2}\right)\left(\frac{1}{\cos\left(x\right)^{2}}\right)}{\left(\tan\left(x\right)\right)^{2}} \]
\[ f'(x) = \frac{2 x \tan\left(x\right) - x^{2} \frac{1}{\cos\left(x\right)^{2}}}{\tan\left(x\right)^{2}} \]
\[ f''(x) = \frac{\left(2 \tan\left(x\right) + 2 x \frac{1}{\cos\left(x\right)^{2}} - \left(2 x \frac{1}{\cos\left(x\right)^{2}} + x^{2} \frac{-\left(2 \cos\left(x\right) -\sin\left(x\right)\right)}{\left(\cos\left(x\right)^{2}\right)^{2}}\right)\right) \tan\left(x\right)^{2} - \left(2 x \tan\left(x\right) - x^{2} \frac{1}{\cos\left(x\right)^{2}}\right) 2 \tan\left(x\right) \frac{1}{\cos\left(x\right)^{2}}}{\left(\tan\left(x\right)^{2}\right)^{2}} \]

Values of f and f' for x2x^{2} / tan(x)

xf(x)f'(x)
-21.8306302-6.668432
-1-0.64209262-0.1280977
0.50.457621930.7428164
10.64209262-0.1280977
2-1.8306302-6.668432
3-63.137273-494.01543

Questions

What is the derivative of x2x^{2} / tan(x)?

The derivative of x2tan⁡(x)\frac{x^{2}}{\tan\left(x\right)} is 2xtan⁡(x)−x21cos⁡(x)2tan⁡(x)2\frac{2 x \tan\left(x\right) - x^{2} \frac{1}{\cos\left(x\right)^{2}}}{\tan\left(x\right)^{2}}.

What is the second derivative of x2x^{2} / tan(x)?

((2tan(x) + 2x * 1 / cos(x)^2 - (2x * 1 / cos(x)^2 + x2x^{2} * -(2cos(x) * -sin(x)) / (cos(x)^2)^2)) * tan(x)^2 - (2x * tan(x) - x2x^{2} * 1 / cos(x)^2) * 2tan(x) * 1 / cos(x)^2) / (tan(x)^2)^2.

Which rule do you use for x2x^{2} / tan(x)?

The quotient rule.

What is the slope of x2x^{2} / tan(x) at x = 1?

-0.1280977.

Related derivatives

    Derivative of x^2 / tan(x): (2x * tan(x) - x^2 * 1 / cos(x)^2) / tan(x)^2 (with steps) | WordGPT