Partial Derivatives of Arctan: A Quick Guide

  • Context: Graduate 
  • Thread starter Thread starter tiagobt
  • Start date Start date
  • Tags Tags
    Partial
Click For Summary

Discussion Overview

The discussion focuses on the partial derivatives of the arctangent function, specifically for the expressions \(\nabla \arctan \left(\frac{x}{y}\right)\) and \(\nabla \arctan \left(\frac{y}{x}\right)\). Participants explore various approaches to derive these derivatives, including the application of the chain rule and implicit differentiation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Tiago requests assistance with the partial derivatives of \(\arctan \left(\frac{x}{y}\right)\) and \(\arctan \left(\frac{y}{x}\right)\).
  • Some participants mention the derivative of \(\arctan(x)\) and suggest using the chain rule for the derivatives of the given expressions.
  • There are multiple attempts to derive the partial derivatives, with varying degrees of success and clarity.
  • One participant expresses confusion about the differentiation process and seeks further hints.
  • Another participant points out that a previous result was incorrect and emphasizes the need to apply the chain rule properly.
  • Disagreement arises regarding the correctness of certain derivative calculations, with some participants correcting others' approaches.
  • Daniel provides a corrected approach for the partial derivative with respect to \(x\) and offers to help with the derivative with respect to \(y\).

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct approach or results for the partial derivatives, with multiple competing views and corrections presented throughout the discussion.

Contextual Notes

Some participants struggle with notation and the application of the chain rule, leading to confusion in their calculations. There are unresolved issues regarding the clarity of explanations and the correctness of certain derivative results.

tiagobt
Messages
31
Reaction score
0
Partial derivatives of arctan

Could anyone help me with the following partial derivatives?

[tex]\nabla \arctan \left(\frac x y \right)[/tex]

[tex]\nabla \arctan \left(\frac y x \right)[/tex]

Thanks,

Tiago
 
Last edited:
Physics news on Phys.org
Mmmh. Did you know that

[tex]\frac{d}{dx}Arctg[f(x)] = \frac{f'(x)}{1+[f(x)]^2}[/tex]

?
 
Start with fact that

[tex]\frac{d}{dx} \arctan x = \frac{1}{1+x^2}[/tex]

then apply the chain rule.

Does that help?
 
tiagobt said:
Could anyone help me with the following partial derivatives?

[tex]\nabla \arctan \left(\frac x y \right)[/tex]

[tex]\nabla \arctan \left(\frac y x \right)[/tex]

Thanks,

Tiago

It is of some interest to note that for any "x", we have the equality:
[tex]arctan(x)+arctan(\frac{1}{x})=\frac{\pi}{2}[/tex]
 
Just to clear up notation issues, he's looking for the partial derivative for each variable right? Such as

[tex]\nabla_x = \frac{1}{y+\frac{x^2}{y}}[/tex]
 
whozum said:
Just to clear up notation issues, he's looking for the partial derivative for each variable right? Such as

[tex]\nabla_x = \frac{1}{y+\frac{x^2}{y}}[/tex]

For example:

[tex]\nabla \arctan \left(\frac x y \right) = \left(\frac \partial {\partial x} \arctan \left(\frac x y \right), \frac \partial {\partial y} \arctan \left(\frac x y \right)\right)[/tex]
 
Actually, I don't even remember how to find the derivative of [tex]\arctan(x)[/tex] (the formulas you posted). I tried something like this:

[tex]\tan \left(\arctan(x) \right) = x[/tex]

Differentiating in respect to [tex]x[/tex]:

[tex]\sec ^2 \left(\arctan(x) \right).\arctan ' (x) = 1[/tex]
[tex]\arctan '(x) = \frac 1 {\sec ^2 \left(\arctan(x) \right)}[/tex]

Not really what I was supposed to find... Could you please give me any more hints? :rolleyes:
 
tiagobt said:
Actually, I don't even remember how to find the derivative of [tex]\arctan(x)[/tex] (the formulas you posted). I tried something like this:

[tex]\tan \left(\arctan(x) \right) = x[/tex]

Differentiating in respect to [tex]x[/tex]:

[tex]\sec ^2 \left(\arctan(x) \right).\arctan ' (x) = 1[/tex]
[tex]\arctan '(x) = \frac 1 {\sec ^2 \left(\arctan(x) \right)}[/tex]

Not really what I was supposed to find... Could you please give me any more hints? :rolleyes:

Now rewrite the RHS of the last equation in terms of tan using a simple trigonometric identity.
 
tiagobt said:
Actually, I don't even remember how to find the derivative of [tex]\arctan(x)[/tex] (the formulas you posted). I tried something like this:

[tex]\tan \left(\arctan(x) \right) = x[/tex]

Differentiating in respect to [tex]x[/tex]:

[tex]\sec ^2 \left(\arctan(x) \right).\arctan ' (x) = 1[/tex]
[tex]\arctan '(x) = \frac 1 {\sec ^2 \left(\arctan(x) \right)}[/tex]

Not really what I was supposed to find... Could you please give me any more hints? :rolleyes:
OK, I figured it out myself.

Now I use:

[tex]\sec^2 \left(\arctan(x) \right) = \tan^2 \left(\arctan (x) \right) + 1 = x^2 + 1[/tex]

What gives me:

[tex]\arctan '(x) = \frac 1 {x^2 + 1}[/tex]

Maybe I can do something similar with the original derivatives. I'll give it a try.
 
  • #10
[tex]y = arctanx [/itex]<br /> <br /> [tex]tan y = x [/itex]<br /> <br /> Implicit differentiation wrt x:<br /> <br /> [tex]sec^2y \frac{dy}{dx} = 1[/tex]<br /> <br /> Solve that for dy/dx. Draw a triangle, angle 'y', opposite 'x' and adjacent '1'. Find the hypotenuse, and describe the resulting expression in terms of x.<br /> <br /> edit: wow I am slow[/tex][/tex]
 
  • #11
I'm going to try:

[tex]\frac \partial {\partial x} \arctan \left(\frac x y \right)[/tex]

[tex]\tan \left(\arctan \left(\frac x y\right) \right) = \frac x y[/tex]

Derivative with respect to x:

[tex]\sec^ 2 \left(\arctan \left(\frac x y\right) \right).\arctan' \left(\frac x y\right) . \frac 1 y = \frac 1 y[/tex]
[tex]\arctan' \left(\frac x y\right) \right = \frac 1 {\frac {x^2} {y^2} + 1} = \frac {y^2} {x^2 + y^2}[/tex]

Is this right?

Thanks again
 
Last edited:
  • #12
I'm sorry that's really hard to follow, name f(x,y) = z and try going through again, for me. Your result is not the correct answer though, it looks like you forgot to apply the chain rule.
 
  • #13
whozum said:
I'm sorry that's really hard to follow, name f(x,y) = z and try going through again, for me. Your result is not the correct answer though, it looks like you forgot to apply the chain rule.
Do you want me to name [tex]f (x,y) = \arctan \left(\frac x y \right)[/tex] ? I'm not sure what you mean.
 
  • #14
Nope,it's incorrect.

[tex]\nabla \arctan\frac{x}{y}=\frac{\partial \arctan\frac{x}{y}}{\partial x}\vec{i}+\frac{\partial \arctan\frac{x}{y}}{\partial y} \vec{j}[/tex]

Take the first derivative

[tex]\frac{\partial \arctan\frac{x}{y}}{\partial x}=\frac{1}{y}\frac{1}{1+\frac{x^{2}}{y^{2}}}=\frac{y}{x^{2}+y^{2}}[/tex]

You do the second.

Daniel.
 
  • #15
dextercioby said:
Nope,it's incorrect.

[tex]\nabla \arctan\frac{x}{y}=\frac{\partial \arctan\frac{x}{y}}{\partial x}\vec{i}+\frac{\partial \arctan\frac{x}{y}}{\partial y} \vec{j}[/tex]

Take the first derivative

[tex]\frac{\partial \arctan\frac{x}{y}}{\partial x}=\frac{1}{y}\frac{1}{1+\frac{x^{2}}{y^{2}}}=\frac{y}{x^{2}+y^{2}}[/tex]

You do the second.

Daniel.

I think I got it now:

[tex]\frac{\partial \arctan\frac{x}{y}}{\partial y}=\frac{-x}{y^2}\frac{1}{\frac{x^{2}}{y^{2}}+1}=-\frac{x}{x^{2}+y^{2}}[/tex]

I just can't figure out what I did wrong in the other post.

But that's OK. Thanks a lot.
 
  • #16
You didnt apply the chain rule the first time, which you did this time. So you are fine.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K