Confusion with Calculating Derivative of Inverse Tangent Function

  • Thread starter Saitama
  • Start date
In summary, the student was able to solve the problem by applying the chain rule and the result was y=tan^{-1}(\frac{1-\sqrt{1-x^4}}{x^2})
  • #1
Saitama
4,243
93

Homework Statement


This is not a homework question but from a test paper. :)

My exams just got over. In the examination hall, we were made to sit in a particular arrangement. Near me a student of higher class sat near me. They had their maths paper. I am posting one of the question here:-

[tex]y=tan^{-1}(\frac{\sqrt{1+x^2}-\sqrt{1-x^2}}{\sqrt{1+x^2}+\sqrt{1-x^2}})[/tex]
Find [itex]\frac{dy}{dx}[/itex].

The student near by me was not able to solve this problem so i thought of trying that and helping him. I found the answer by directly applying the formula [itex]\frac{d}{dx}(tan^{-1}x)=\frac{1}{1+x^2}[/itex]. ( I don't remember the answer which i got) but when i calculated using wolfram alpha it was completely wrong. I was just embarrassed when i got that answer from wolfram alpha. I kept thinking what the student would be thinking about me. I don't understand why wolfram alpha used u substitution. Why can't we directly apply the formula? :confused:

Homework Equations


The Attempt at a Solution

 
Last edited:
Physics news on Phys.org
  • #2
Hi Pranav-Arora! :smile:

I'm afraid you need to apply the chain rule.

This means that if we define:
[tex]u(x) = \frac{\sqrt{1+x^2}-\sqrt{1-x^2}}{\sqrt{1+x^2}+\sqrt{1-x^2}}[/tex]
then:
[tex]y=tan^{-1}u[/tex]
and:
[tex]\frac{dy}{dx} = \frac{d}{dx}(tan^{-1}u)=\frac{d}{du}(tan^{-1}u)\frac{du}{dx}[/tex]
 
  • #3
Thanks for the reply ILS! :smile:

I like Serena said:
[tex]\frac{dy}{dx} = \frac{d}{dx}(tan^{-1}u)=\frac{d}{du}(tan^{-1}u)\frac{du}{dx}[/tex]

This is exactly the same thing which i saw at Wolfram Alpha.
But may i know why we have to use the chain rule, why not directly apply the formula? :)
 
  • #4
The chain rule measures the rate of change of the rate of change.

By the way, the problem is simplified when you multiplied both top and bottom of the fraction by the conjugate of the bottom.
 
  • #5
Harrisonized said:
The chain rule measures the rate of change of the rate of change.

By the way, the problem is simplified when you multiplied both top and bottom of the fraction by the conjugate of the bottom.

If i try your method:-
[tex]y=tan^{-1}x[/tex]
[tex]x=tan(y)[/tex]

But when i differentiate with respect to x i i get stuck. What do i get when i differentiate tan(y) with respect to x?
 
  • #6
Harrisonized said:
The chain rule measures the rate of change of the rate of change.

By the way, the problem is simplified when you multiplied both top and bottom of the fraction by the conjugate of the bottom.

Ok i did as you said, i get:-
[tex]y=tan^{-1}(\frac{1-\sqrt{1-x^4}}{x^2})[/tex]

So now should i directly apply the formula for differentiating it?
 
  • #7
The chain rule needs to be applied whenever you have a nested expression of x.

Consider for instance [itex]f(x) = (x^2+1)^2[/itex].
This is equal to [itex]f(x) = (x^4+2x^2+1)[/itex].

If we take the derivative of each we get:
[itex]f'(x) = 2(x^2+1) \color{red}{\cdot 2x}[/itex]
Resp.
[itex]f'(x) = 4x^3 + 4x[/itex]

As you can see the part marked in red is required.
 
Last edited:
  • #8
I like Serena said:
The chain rule needs to be applied whenever you have a nested expression of x.

Consider for instance [itex]f(x) = (x^2+1)^2[/itex].
This is equal to [itex]f(x) = (x^4+2x^2+1)[/itex].

If we take the derivative of each we get:
[itex]f'(x) = 2(x^2+1) \color{red}{\cdot 2x}[/itex]
Resp.
[itex]f'(x) = 4x^3 + 4x[/itex]

As you can see the part marked in red is required.

Thanks but i knew that. :)

But i am stuck at this:-
[tex]y=tan^{-1}(\frac{1-\sqrt{1-x^4}}{x^2})[/tex]

Should i now directly apply this formula:-
[tex]\frac{d}{dx}(tan^{-1}x)=\frac{1}{1+x^2}[/tex]
 
  • #9
Uhh, yes? :confused:

Yes, you should apply that formula, but you should also apply the chain rule.
 
  • #10
It involved too much calculation. I get the answer to be:-
[tex]\frac{dy}{dx}=\frac{x}{\sqrt{1-x^4}}[/tex]

I think its correct. Right? :smile:
 
  • #11
It's what wolfram says, but you skipped a few steps. :wink:
 
  • #12
I like Serena said:
It's what wolfram says, but you skipped a few steps. :wink:

Which steps?

Do you mean that i should post the steps followed by me to solve the problem here? :smile:
 
  • #13
It think you want to make a giant shortcut to find the result. :wink:

But I'm afraid there's no real shortcut.

You still have to calculate:
[tex]\frac {dy} {dx}=\frac {d} {dx} tan^{-1}(\frac{1-\sqrt{1-x^4}}{x^2})
=\frac 1 {1 + (\frac{1-\sqrt{1-x^4}}{x^2})^2} \frac {d} {dx} (\frac{1-\sqrt{1-x^4}}{x^2})[/tex]

Did you do that?
200px-Face-confused.svg.png


It's only the sub expressions that you can rewrite a bit to make it less work.
For instance:
[tex]\frac {d} {dx} (\frac{1-\sqrt{1-x^4}}{x^2}) =\frac {d} {dx} (\frac{1}{x^2} -\sqrt{\frac 1 {x^4} -1}) [/tex]
makes it a little less work.

And apparently the end result is pretty simple. :smile:
 
  • #14
I like Serena said:
You still have to calculate:
[tex]\frac {dy} {dx}=\frac {d} {dx} tan^{-1}(\frac{1-\sqrt{1-x^4}}{x^2})
=\frac 1 {1 + (\frac{1-\sqrt{1-x^4}}{x^2})^2} \frac {d} {dx} (\frac{1-\sqrt{1-x^4}}{x^2})[/tex]

I did exactly the same thing as you said that we have to use chain rule. :smile:

It's only the sub expressions that you can rewrite a bit to make it less work.
For instance:
[tex]\frac {d} {dx} (\frac{1-\sqrt{1-x^4}}{x^2}) =\frac {d} {dx} (\frac{1}{x^2} -\sqrt{\frac 1 {x^4} -1}) [/tex]
makes it a little less work.

And apparently the end result is pretty simple. :smile:

I didn't try that way. Btw, thanks for the tip. :smile:
 
  • #15
Pranav-Arora said:
I did exactly the same thing as you said that we have to use chain rule. :smile:

Oh, okay!
I was just wondering what you did to arrive at your result.
 
  • #16
Am I the only one that is disturbed by your saying so casually that you were helping a student cheat on his exams?
 
  • #17
HallsofIvy said:
Am I the only one that is disturbed by your saying so casually that you were helping a student cheat on his exams?

I thought I was the only one startled by that. Sigh... Cheating on an exam and getting a totally wrong answer.
 

FAQ: Confusion with Calculating Derivative of Inverse Tangent Function

What is differentiation?

Differentiation is a mathematical process used to find the rate of change of a function with respect to a variable. It is the process of finding the derivative of a function.

Why is differentiation important?

Differentiation is important because it allows us to analyze the behavior of a function and understand how it changes over time. It is also a fundamental tool in calculus and is used in various fields such as physics, engineering, and economics.

What are the different types of differentiation?

The two main types of differentiation are explicit differentiation and implicit differentiation. Explicit differentiation involves finding the derivative of a function with respect to a given variable. Implicit differentiation involves finding the derivative of a function that is defined implicitly by an equation.

What are the rules of differentiation?

The basic rules of differentiation include the power rule, product rule, quotient rule, and chain rule. These rules allow us to find the derivative of various types of functions.

How is differentiation used in real life?

Differentiation is used in real life to solve problems related to rates of change, optimization, and motion. It is also used in fields such as economics to analyze the behavior of markets and in engineering to design and optimize structures and systems.

Back
Top