Alternate way of differentiating x^y

In summary, the chain rule can be used to differentiate functions that have both power and exponential components. This is demonstrated by considering the function x^y = c and using the two-variable chain rule to find the derivative, which yields the same result as logarithmic differentiation.
  • #1
randomgamernerd
139
4

Homework Statement

: [/B]find the dy/dx of xy=a constant

Homework Equations

: basic differentiation formulae[/B]

The Attempt at a Solution

:[/B]

I know we can use logarithmic differentiation for differentiating x y..But can we differentiate it using chain rule and get answer as
yxy-1.dy/dx =0. ?
 
Physics news on Phys.org
  • #2
The answer is no. If ## y=u^n ##, (for ## n ## being a constant), then ## \frac{dy}{dx}=nu^{n-1} \frac{du}{dx } ##. The operation you are attempting to do doesn't work.
 
  • #3
randomgamernerd said:

Homework Statement

: [/B]find the dy/dx of xy=a constant

Homework Equations

: basic differentiation formulae[/B]

The Attempt at a Solution

:[/B]

I know we can use logarithmic differentiation for differentiating x y..But can we differentiate it using chain rule and get answer as
yxy-1.dy/dx =0. ?

The chain rule would give you [itex](y^x)' = (e^{(x \ln y)})' = (x \ln y)'y^x[/itex] etc.
 
  • #4
pasmith said:
The chain rule would give you [itex](y^x)' = (e^{(x \ln y)})' = (x \ln y)'y^x[/itex] etc.
I think you meant ##x^y##
 
  • #5
randomgamernerd said:

Homework Statement

: [/B]find the dy/dx of xy=a constant

Homework Equations

: basic differentiation formulae[/B]

The Attempt at a Solution

:[/B]

I know we can use logarithmic differentiation for differentiating x y..But can we differentiate it using chain rule and get answer as
yxy-1.dy/dx =0. ?
Since ##x^y## is a power function of ##x## and an exponential function of ##y##, which depends implicitly on ##x##, you can't use either just the power rule or just the exponential rule for differentiation. But you can do it by the two-variable chain rule, if you have studied that. One form of it states that if ##u## and ##v## are functions of ##x## and you have a function ##f(u,v)## which you would like to differentiate with respect to ##x##, can use$$
\frac{df}{dx} = f_u\frac{du}{dx} + f_v\frac{dv}{dx}$$where the subscripts are partial derivatives. In your example ##x^y = c## think of ##u=x## and ##v = y## and ##f(x,y) = x^y = c##. So you get$$
f_x\frac{dx}{dx}+ f_y\frac{dy}{dx} = yx^{y-1}\cdot 1 + x^y \ln x \frac{dy}{dx} = 0$$If you solve that for ##\frac{dy}{dx}## and simplify it you will get the same answer as you get with logarithmic differentiation. Try it. You might find it interesting. Notice that in the process of doing that you use both the power and exponential rules for differentiation. Makes sense, no?
 
  • #6
LCKurtz said:
Since ##x^y## is a power function of ##x## and an exponential function of ##y##, which depends implicitly on ##x##, you can't use either just the power rule or just the exponential rule for differentiation. But you can do it by the two-variable chain rule, if you have studied that. One form of it states that if ##u## and ##v## are functions of ##x## and you have a function ##f(u,v)## which you would like to differentiate with respect to ##x##, can use$$
\frac{df}{dx} = f_u\frac{du}{dx} + f_v\frac{dv}{dx}$$where the subscripts are partial derivatives. In your example ##x^y = c## think of ##u=x## and ##v = y## and ##f(x,y) = x^y = c##. So you get$$
f_x\frac{dx}{dx}+ f_y\frac{dy}{dx} = yx^{y-1}\cdot 1 + x^y \ln x \frac{dy}{dx} = 0$$If you solve that for ##\frac{dy}{dx}## and simplify it you will get the same answer as you get with logarithmic differentiation. Try it. You might find it interesting. Notice that in the process of doing that you use both the power and exponential rules for differentiation. Makes sense, no?
Ok...Cool..
 
  • #7
Thanks Everyonee
 

What is an alternate way of differentiating x^y?

The alternate way of differentiating x^y is by using logarithmic differentiation. This method involves taking the natural logarithm of both sides of the equation and then applying the logarithmic differentiation rules.

How is logarithmic differentiation different from the power rule?

The power rule is a simpler method for differentiating x^y, but it can only be applied when the exponent y is a constant. Logarithmic differentiation, on the other hand, can be used for any exponent y, even if it is a variable.

When should I use logarithmic differentiation?

Logarithmic differentiation is particularly useful when the function involves both a variable base (x) and a variable exponent (y), or when the function is in a complex form that cannot be easily differentiated using other methods.

What are the steps for using logarithmic differentiation?

The steps for using logarithmic differentiation are as follows: 1) Take the natural logarithm of both sides of the equation. 2) Use the logarithmic differentiation rules to simplify the expression. 3) Differentiate both sides with respect to the variable. 4) Solve for y'. 5) Substitute the original variables back into the equation to find the final derivative.

Are there any limitations to logarithmic differentiation?

Logarithmic differentiation may not be the most efficient method for differentiating simpler functions, as it involves multiple steps and calculations. It is also important to be careful with the use of logarithms, as they can introduce extraneous solutions to the equation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
715
  • Calculus and Beyond Homework Help
Replies
25
Views
306
  • Calculus and Beyond Homework Help
Replies
3
Views
893
  • Calculus and Beyond Homework Help
Replies
26
Views
883
  • Calculus and Beyond Homework Help
Replies
7
Views
250
  • Calculus and Beyond Homework Help
Replies
17
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
818
  • Calculus and Beyond Homework Help
Replies
4
Views
930
  • Calculus and Beyond Homework Help
Replies
7
Views
673
  • Calculus and Beyond Homework Help
Replies
8
Views
750
Back
Top