Why Are r and x Derivative Relationships Not Contradictory?

  • Thread starter Thread starter dtl42
  • Start date Start date
  • Tags Tags
    Relationship
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
dtl42
Messages
118
Reaction score
0

Homework Statement


Why are the following not contradictory?
[tex]r=\sqrt{x^2+y^2}[/tex]
[tex]\frac{\partial r}{\partial x}=\frac{x}{\sqrt{x^2+y^2}}=\frac{x}{r}=cos{\theta}[/tex]

and

[tex]r=\frac{x}{cos{\theta}}[/tex]
[tex]\frac{\partial r}{\partial x}=\frac{1}{cos{\theta}}[/tex]

Homework Equations



The Attempt at a Solution


I understand that we got these results from differentiating two separate relations, but I don't see why they're different, and seemingly contradictory.
 
Physics news on Phys.org
Hint: what is the definition of [itex]\theta[/itex]?...If [itex]\theta[/itex] has any explicit dependence on [itex]x[/itex], then is [tex]\frac{\partial}{\partial x} \left(\frac{x}{cos(\theta)} \right)[/tex] Really just [itex]\frac{1}{cos(\theta)}[/itex]?Don't you have to use the product rule?
 
They are contradictory because the second is simply wrong. Yes,
[tex]r= x/cos(\theta)[/tex] but the derivative is wrong: [itex]\theta[/itex] is not a constant, it depends on x itself. A correct calculation would be
[tex]\frac{\partial r}{\partial x}= \frac{cos(\theta)+ xsin(\theta)\frac{\partial \theta}{\partial x}}{cos^2(\theta}[/itex][/tex]