I seem to lack an implicit differentiation technique, should be a quick fix

Click For Summary

Homework Help Overview

The discussion revolves around finding the partial derivatives of the implicit function defined by the equation u = x^u + u^y with respect to the variables x and y. Participants are exploring techniques related to implicit differentiation and logarithmic manipulation.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss the difficulty of differentiating functions of the form f(x) = g(x)^{h(x)} and suggest deriving a general formula for such cases. There are mentions of using logarithmic differentiation and the chain and product rules. Some participants express uncertainty about their algebraic manipulations and seek simpler methods or theorems that could apply.

Discussion Status

The conversation is ongoing, with various interpretations of the differentiation process being explored. Some participants have provided guidance on treating variables as constants during partial differentiation, while others question the validity of certain terms in the derived equations. There is no explicit consensus on the correct approach yet, but several productive lines of reasoning have been established.

Contextual Notes

Participants note that the original equation defines a function implicitly, leading to dependencies among the variables. There is also mention of the original poster's two-year hiatus from studies, which may influence their current understanding and approach.

inflectious
Messages
4
Reaction score
0

Homework Statement



[itex]u = x^u + u^y[/itex]

Find the partial derivatives of ##u## w.r.t. ##x, y##.

Homework Equations



Only the one.

The Attempt at a Solution



I've attempted reducing the problem using logs, but the resulting equations seem no more tenable to me. I'm sure there is a nice trick... it isn't currently in my tool belt.Edit: A further request if anybody has this information at their fingertips. I've been two years removed from my studies of mathematics and physics... I am planning to return as I've found the 'real world' much less interesting and inspiring. I've been going through some old textbooks as a warmup, and although I can still recall many of the intricate mathematical methods used in various branches of physics, my knowledge of elementary manipulations is pretty darn tattered. Mary Boas' text in mathematical methods in physics has been a *great* boon; I am curious as to whether or not a similar text exists for one who desires a "handbook" of mathematical theorems, identities, proofs &c. without all of the detailed explanations and problem sets.
 
Last edited:
Physics news on Phys.org
I think it boils down to the following: You find it hard to differentiate functions of the form

[tex]f(x) = g(x)^{h(x)}\text.[/tex]

I think it helps to first work out a general formula for this, i.e. something kind of like the product rule, but for powers. Then, you can go back and tackle your original question.

To find such a formula, it helps to (as you tried on your original problem) take logs on both sides.
 
Thanks, Ayre!

Seems to boil down to a combination of the ubiquitous chain rule for logarithms of functions and the product rule. So clear now! I should've seen it... hopefully a bit of mathematical intuition returns with study.
 
[tex] \begin{cases}<br /> \frac{\partial u}{\partial x}=\frac{u}{x(1-u\ln{x})}+\frac{u\ln{u}}{1-y}\frac{\partial y}{\partial x}\\<br /> <br /> \frac{\partial u}{\partial y}=\frac{u\ln{x}}{1-y}+\frac{u^2}{x(1-u\ln{x})}\frac{\partial x}{\partial y}<br /> \end{cases}[/tex]

is what I've got so far.

I began doing a bunch of algebra, but figured I'd ask if there were some theorem that might let me solve this with a simple determinant or something instead.
 
inflectious said:
[tex] \begin{cases}<br /> \frac{\partial u}{\partial x}=\frac{u}{x(1-u\ln{x})}+\frac{u\ln{u}}{1-y}\frac{\partial y}{\partial x}\\<br /> <br /> \frac{\partial u}{\partial y}=\frac{u\ln{x}}{1-y}+\frac{u^2}{x(1-u\ln{x})}\frac{\partial x}{\partial y}<br /> \end{cases}[/tex]

is what I've got so far.

That doesn't look right. When doing the partial diff by x, treat y as a constant, and vice versa. The terms [itex]\frac{\partial y}{\partial x}[/itex] and [itex]\frac{\partial x}{\partial y}[/itex] make no sense.

It might help, if in your working, you replaced the other variable with "k" (which your brain "recognises" as a constant), and just used the usual derivative symbol e.g. [itex]\frac{du}{dx}[/itex]. Then work through everything, and put the other symbol back when you present your final answer.
 
Last edited:
Curious3141 said:
That doesn't look right. When doing the partial diff by x, treat y as a constant, and vice versa. The terms [itex]\frac{\partial y}{\partial x}[/itex] and [itex]\frac{\partial x}{\partial y}[/itex] make no sense.

It might help, if in your working, you replaced the other variable with "k" (which your brain "recognises" as a constant), and just used the usual derivative symbol e.g. [itex]\frac{du}{dx}[/itex]. Then work through everything, and put the other symbol back when you present your final answer.

##y## isn't a constant with respect to ##x##. The original equation defines a function implicitly; the value of any parameter is dependent upon the other two. I've plugged the equation into mathematica, and the ##\frac{\partial y}{\partial x}## and ##\frac{\partial x}{\partial y}## terms which I've worked out on my own, combined with my partial solution above, contain all of the quantities displayed in the mathematica solution. I'm pretty sure that I'm on the right track. My problem is that the only way I can think of to solve is with horribly tedious algebraic manipulations of the differentials, all of which are very nested within each other.

I was hoping there might be some analog to Cramer's rule for situations such as this.
 
inflectious said:
[itex]u = x^u + u^y[/itex]

Find the partial derivatives of ##u## w.r.t. ##x, y##.

Let's look at the partial derivative w.r.t. x. You ought to treat y as a constant, and u(x)[/i] as a function of x only, in all the calculations.

Let us look at the first term on the right-hand side: [itex]x^{u(x)} = \exp \left( u(x) \, \ln x \right)[/itex]. Apply the "chain rule" and the product rule to get:
[tex] \frac{\partial}{\partial x} \left[ \exp \left( u(x) \, \ln x \right) \right] = \exp \left( u(x) \, \ln x \right) \, \left( u'(x) \, \ln x + u(x) \, \frac{1}{x} \right)[/tex]
Here [itex]u'(x) = \partial u/\partial x[/itex].

Next, let us look at the second term [itex]\left[ u(y)\right]^{y}[/itex]. This is a power function. Apply the chain rule and the power rule to get:
[tex] \frac{\partial}{\partial x} \left[ u(x) \right]^{y} = y \, \left[ u(x) \right]^{y - 1} \, u'(x)[/tex]
The derivative on the left-hand side is obvious. Collect all the terms with [itex]u'(x)[/itex] and solve for this (as an algebraic equation). This is your partial derivative obtained implicitly.
 
inflectious said:
##y## isn't a constant with respect to ##x##.

I never said that. I said that when working out the partial derivative of ##u## wrt ##x##, you have to treat ##y## as (if it were) a constant. Similarly, when working out the partial derivative of ##u## wrt ##y##, treat ##x## as (if it were) a constant.

The original equation defines a function implicitly; the value of any parameter is dependent upon the other two.

Sure. But when you take the partial derivative of one variable wrt one other variable, you have to treat the other variable(s) like constant(s).

If you were asked to determine [itex]\frac{\partial y}{\partial x}[/itex], for instance, u would be treated like a constant.

I've plugged the equation into mathematica, and the ##\frac{\partial y}{\partial x}## and ##\frac{\partial x}{\partial y}## terms which I've worked out on my own, combined with my partial solution above, contain all of the quantities displayed in the mathematica solution.

Mathematica will output exactly what you ask it for. Did you actually ask it to work out [itex]\frac{\partial u}{\partial x}[/itex] and [itex]\frac{\partial u}{\partial y}[/itex]? Because those should NOT have terms like [itex]\frac{\partial y}{\partial x}[/itex] or [itex]\frac{\partial x}{\partial y}[/itex] in them.

I'm pretty sure that I'm on the right track.

I don't think so. Please look at Dickfore's post as well.
 
inflectious said:

Homework Statement



[itex]u = x^u + u^y[/itex]

Find the partial derivatives of ##u## w.r.t. ##x, y##.


Homework Equations



Only the one.

The Attempt at a Solution



I've attempted reducing the problem using logs, but the resulting equations seem no more tenable to me. I'm sure there is a nice trick... it isn't currently in my tool belt.


Edit: A further request if anybody has this information at their fingertips. I've been two years removed from my studies of mathematics and physics... I am planning to return as I've found the 'real world' much less interesting and inspiring. I've been going through some old textbooks as a warmup, and although I can still recall many of the intricate mathematical methods used in various branches of physics, my knowledge of elementary manipulations is pretty darn tattered. Mary Boas' text in mathematical methods in physics has been a *great* boon; I am curious as to whether or not a similar text exists for one who desires a "handbook" of mathematical theorems, identities, proofs &c. without all of the detailed explanations and problem sets.

Try using the functional power rule.

$$ (f^g)' = \left(e^{g\ln f}\right)' = f^g\left(f'{g \over f} + g'\ln f\right),\quad $$
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
3K
  • · Replies 12 ·
Replies
12
Views
10K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K