What is the Derivative of x^sin(x)?

  • Context: Undergrad 
  • Thread starter Thread starter noelo2014
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary

Discussion Overview

The discussion revolves around finding the derivative of the function x^sin(x). Participants explore various methods and approaches to derive this expression, focusing on conceptual understanding rather than just procedural shortcuts. The conversation includes elements of mathematical reasoning and technical explanation.

Discussion Character

  • Exploratory, Technical explanation, Mathematical reasoning

Main Points Raised

  • One participant expresses a desire for a conceptual explanation of the derivative of x^sin(x), indicating familiarity with the "general power rule" but seeking deeper understanding.
  • Another participant suggests using the exponential form, stating that x^{sin x} can be rewritten as exp(ln x * sin x) for x > 0.
  • A different approach is proposed involving logarithmic differentiation, where participants discuss taking the logarithm of both sides to differentiate the function.
  • Some participants debate the terminology used, with one suggesting that logarithmic differentiation is a "neat trick" rather than a general rule, while another emphasizes the importance of the chain rule in this context.
  • There is a correction regarding the application of the multi-variable chain rule, with one participant noting a potential error in the differentiation process and suggesting a more accurate formulation.
  • Another participant confirms their previous result for the derivative, indicating agreement with the method presented by another contributor.

Areas of Agreement / Disagreement

Participants present multiple approaches to finding the derivative, and while some methods are acknowledged as effective, there is no consensus on a single preferred method or terminology. The discussion remains open with various viewpoints and techniques being explored.

Contextual Notes

Some participants note the importance of conditions such as x > 0 for the validity of certain transformations and methods discussed. There are also indications of missing assumptions or potential errors in earlier claims that remain unresolved.

noelo2014
Messages
45
Reaction score
0
This is not homework it's just an equation I pulled out of the air and have been trying to solve

Derivative of x^sin(x)

I know it has something to do with the "general power rule" but I cannot figure it out, I'd really love someone to explain it to me conceptually instead of just showing me some trick or short cut to solving it. Thanks ever so much!
 
Physics news on Phys.org
Hint: Write (for [itex]x>0[/itex])
[tex]x^{\sin x}=\exp(\ln x \cdot \sin x).[/tex]
 
Hi noelo2014...

The general approach to find derivative of functions of the form y=g(x)h(x) is to first take log on both the sides and then differentiate.

y=g(x)h(x)
logy = log{g(x)h(x)}
logy = h(x)log{g(x)}
(1/y)y' = h'(x)log{g(x)} + {h(x)/g(x)}g'(x)
y' = g(x)h(x)[h'(x)log{g(x)} + {h(x)/g(x)}g'(x)]

Hope this helps
 
I'd rather say that is a neat trick, Tanya Sharma, rather than a "general rule". The general rule is application of the chain rule in some manner.
Here's a way to make use of the multi-variable chain rule, for a change.
Consider the function [itex]g(x,y)=x^{y}, Y(x)=\sin(x),\to{f}(x)=g(x,Y(x))[/itex]
Thus, we easily have:
[tex]\frac{df}{dx}=\frac{\partial{g}}{\partial{x}}+ \frac{\partial{g}}{\partial{x}}\frac{dY}{dx}[/tex]
 
  • Like
Likes   Reactions: 1 person
arildno said:
I'd rather say that is a neat trick, Tanya Sharma, rather than a "general rule". The general rule is application of the chain rule in some manner.
Here's a way to make use of the multi-variable chain rule, for a change.
Consider the function [itex]g(x,y)=x^{y}, Y(x)=\sin(x),\to{f}(x)=g(x,Y(x))[/itex]
Thus, we easily have:

I think there should be a ∂y/∂x there, I think it should be

[tex]\frac{df}{dx}=\frac{\partial{g}}{\partial{x}}+ \frac{\partial{g}}{\partial{y}}\frac{dY}{dx}[/tex]

And thanks...
 
Aargh, yes. :smile:
 
So, what's the answer for the first derivative of x^sin x ?

[(1/x)sin x + (ln x)cos x](x^sin x)?
 
Last edited:
Just use
[tex]f(x)=x^{\sin x}=\exp(\sin x \ln x)[/tex]
which holds for [itex]x>0[/itex] (as a real function). Then you simply take the derivative, using the chain and product rule:
[tex]f'(x)=\exp(\sin x \ln x) (\sin x \ln x)'=\exp(\sin x \ln x) \left (\cos x \ln x+\frac{\sin x}{x} \right )=x^{\sin x} \left (\cos x \ln x+\frac{\sin x}{x} \right ).[/tex]
 
  • #10
vanhees71 -

Guess what? That's what I got (look at my post just above yours)

I guess I am not as senile as I thought.

Thanks for your input and help.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
8K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 53 ·
2
Replies
53
Views
7K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K