Derivative of x / (2 - tan x)

  • #1

Homework Statement


I need to find the derivative of x / (2 - tan x).


Homework Equations


I do everything Wolfram Alpha does here:
http://www.wolframalpha.com/input/?i=derivative+x+/+(2+-+tan+x)
Except I don't understand why the answer is (2+x sec^2(x)-tan(x))/(-2+tan(x))^2.

I get (x sec^2 x) / (2 - tan x).


The Attempt at a Solution


The solution above. Again just what Wolfram Alpha does, but I simplify:

(2+x sec^2(x)-tan(x))/(tan(x) - 2)^2

to

(x sec^2 x) / (2 - tan x).
 

Answers and Replies

  • #2
778
0
You can't pull a 2-tan(x) out of the top of that equation, there is a 2-tan(x) on the top aswell as the bottom but on the top it's being added to the xsec^2(x) not multiplied so you can't simplify.
 
  • #3
You can't pull a 2-tan(x) out of the top of that equation, there is a 2-tan(x) on the top aswell as the bottom but on the top it's being added to the xsec^2(x) not multiplied so you can't simplify.

Why is the tan x positive and the 2 negative in the denominator?

[Edit] Also can't I pull 2-tan(x) out of 1(2-tan(x)) and then just leave a 1 + x sec^2(x) up there in the numerator? [Edit]
 
  • #4
778
0
I don't know why wolfram alpha changes the denominator, it has to be convention within wolfram alpha because there is no need for it. As for the numerator, it has to do with keeping track of parentheses with regards to negative signs, if you work it out it will make sense.

As for the second comment. No, because that would require dividing 2-tan(x) out of xsec^2(x) as well, which would only make it more confusing.
 
  • #5
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,394
1,045

Homework Statement


I need to find the derivative of x / (2 - tan x).

Homework Equations


I do everything Wolfram Alpha does here:
http://www.wolframalpha.com/input/?i=derivative+x+/+(2+-+tan+x)
Except I don't understand why the answer is (2+x sec^2(x)-tan(x))/(-2+tan(x))^2.

I get (x sec^2 x) / (2 - tan x).

The Attempt at a Solution


The solution above. Again just what Wolfram Alpha does, but I simplify:

(2+x sec^2(x)-tan(x))/(tan(x) - 2)^2

to

(x sec^2 x) / (2 - tan x).
Algebra. Algebra. Algebra !

[itex]\displaystyle \frac{2+x \sec^2(x)-\tan(x)}{(\tan(x) - 2)^2}[/itex]
[itex]\displaystyle =\frac{2+x \sec^2(x)-\tan(x)}{(2-\tan(x))^2}[/itex]

[itex]\displaystyle =\frac{2-\tan(x)+x \sec^2(x)}{(2-\tan(x))^2}[/itex]

[itex]\displaystyle =\frac{2-\tan(x)}{(2-\tan(x))^2}+
\frac{+x \sec^2(x)}{(2-\tan(x))^2}[/itex]

[itex]\displaystyle =\frac{1}{2-\tan(x)}+\frac{x \sec^2(x)}{(2-\tan(x))^2}[/itex]​
This is not simpler than what we started with.
 
  • #6
Okay then thanks. I appreciate it.
 

Related Threads on Derivative of x / (2 - tan x)

  • Last Post
Replies
5
Views
5K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
10K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
8
Views
24K
  • Last Post
Replies
18
Views
30K
  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
5
Views
4K
Top