Computing derivative (basic calculus question)

Click For Summary

Homework Help Overview

The discussion revolves around computing the derivative of the function y = x^x + sin(x), a topic within basic calculus. Participants are exploring the differentiation process, particularly focusing on the term x^x and its implications in the overall derivative calculation.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the use of logarithmic differentiation for the term x^x and question the validity of their steps. There are attempts to clarify the application of logarithmic properties and the product rule. Some participants suggest separating the differentiation of x^x and sin(x) to avoid confusion.

Discussion Status

The discussion is active, with participants providing hints and corrections regarding the differentiation process. There is an ongoing exploration of different methods to differentiate x^x, including the use of e. While some participants express uncertainty about their calculations, others offer guidance on maintaining clarity in the terms involved.

Contextual Notes

Participants note the importance of correctly applying logarithmic properties and differentiation rules. There is mention of potential confusion arising from the combination of terms in the derivative, particularly regarding the separation of trigonometric functions from the x^x term.

goonking
Messages
434
Reaction score
3

Homework Statement


Compute Derivative
y = xx + sin(x)

Homework Equations

The Attempt at a Solution


since I have x in the exponent (x^x), I multiply both sides by ln:

ln y = ln xx + ln sin(x)

the x in the exponent comes out into the front, right?

y'/y = x ln x + ln sin (x)

using product rule for xlnx:

y'/y= ((1⋅ln x) + (x) (1/x)) + 1/sin(x) ⋅ cos(x)

y'/y = [(ln x +1) + cos(x)/sin(x)]

multiplying both sides by y to get y' only

y' = [(ln x +1) + cos(x)/sin(x)] ⋅ xx + sin(x)
is this correct? or should the ln xx = Xx ⋅ ln x ?
 
Physics news on Phys.org
In order to take a logarithm of a number, you do not multiply that number by 'ln', just like if you take the sine of an angle, you do not multiply the angle by 'sin'.

The logarithm is a function, just like the sine is a function. Before you dive into calculus, you should learn what functions are.
 
goonking said:

Homework Statement


Compute Derivative
y = xx + sin(x)

Homework Equations

The Attempt at a Solution


since I have x in the exponent (x^x), I multiply both sides by ln:

ln y = ln xx + ln sin(x)

the x in the exponent comes out into the front, right?

y'/y = x ln x + ln sin (x)

using product rule for xlnx:

y'/y= ((1⋅ln x) + (x) (1/x)) + 1/sin(x) ⋅ cos(x)

y'/y = [(ln x +1) + cos(x)/sin(x)]

multiplying both sides by y to get y' only

y' = [(ln x +1) + cos(x)/sin(x)] ⋅ xx + sin(x)
is this correct? or should the ln xx = Xx ⋅ ln x ?
ln(a + b) ≠ ln(a) + ln(b) .

By the way, that is not multiplying ln times (a + b) .

Hint: Find the derivative of xx separately, by using the natural log (ln) and implicit differentiation. Then include the sine term.
 
In addition to SteamKing's observations, since you already know how to differentiate ##\sin x##, just do ##x^x## separately by your method and add it to the derivative of ##\sin x##. It will help you avoid the mistakes you made.

[Edit] Didn't see Sammy's reply.
 
SammyS said:
ln(a + b) ≠ ln(a) + ln(b) .

By the way, that is not multiplying ln times (a + b) .

Hint: Find the derivative of xx separately, by using the natural log (ln) and implicit differentiation. Then include the sine term.
i saw 2 videos on youtube, apparently you can get the derivative of xx using e and another way without using e, is this correct?

both come out to be xx (lnx+1)
 
goonking said:
i saw 2 videos on youtube, apparently you can get the derivative of xx using e and another way without using e, is this correct?

both come out to be xx (lnx+1)
You can express xx in an alternative form using e. This does make it relatively easy to find the derivative .

##\displaystyle x^x = e^{\ln(x^x)}=e^{\,x\,\ln(x)}##
 
ok, I got the new answer now. is it:

y' = (Xx (ln x + 1) + cos(x)) / xx + sin(x)
 
goonking said:
ok, I got the new answer now. is it:

y' = (Xx (ln x + 1) + cos(x)) / xx + sin(x)
The trig functions should be completely separate from the xx .
 
SammyS said:
The trig functions should be completely separate from the xx .
what do you mean by that?
 
  • #10
goonking said:
what do you mean by that?
You have cos(x) divided by xx .
 
  • #11
SammyS said:
You have cos(x) divided by xx .
any hint on how to get rid of the trig functions? I have no idea what to do at this point.
 
  • #12
goonking said:
any hint on how to get rid of the trig functions? I have no idea what to do at this point.
You don't get rid of them. They are just not in the same term as xx .

##\left(f(x)+g(x)\right)'=f'(x)+g'(x) ##
 
  • #13
SammyS said:
You don't get rid of them. They are just not in the same term as xx .

##\left(f(x)+g(x)\right)'=f'(x)+g'(x) ##
wow, I forgot to multiply both sides by y (the original equation)

then after I do all that, the base and y cancel out and I'm left with X^x (lnx+1) + cos (x))

correct?
 
  • #14
i
goonking said:

Homework Statement


Compute Derivative
y = xx + sin(x)

Homework Equations

The Attempt at a Solution


since I have x in the exponent (x^x), I multiply both sides by ln:

ln y = ln xx + ln sin(x)

the x in the exponent comes out into the front, right?

y'/y = x ln x + ln sin (x)
In addition to what others have said, this is wrong. You have differentiated on the left side but not yet on the right- they are NOT equal!

using product rule for xlnx:

y'/y= ((1⋅ln x) + (x) (1/x)) + 1/sin(x) ⋅ cos(x)

y'/y = [(ln x +1) + cos(x)/sin(x)]

multiplying both sides by y to get y' only

y' = [(ln x +1) + cos(x)/sin(x)] ⋅ xx + sin(x)
is this correct? or should the ln xx = Xx ⋅ ln x ?
 
  • #15
goonking said:
wow, I forgot to multiply both sides by y (the original equation)

then after I do all that, the base and y cancel out and I'm left with X^x (lnx+1) + cos (x))

correct?
That is the correct derivative.

Once you find the derivative of xx , you shouldn't need to multiply anything by y .
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
2
Views
2K
Replies
18
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K