How to find the derivative of this?

  • Thread starter ab94
  • Start date
  • Tags
    Derivative
In summary: Nvm I got the right answer, I used wolframalpha and I subtracted my answer from theirs, and got 0. (i fixed my own error up there ^)In summary, the homework statement states that find dy/dx of this: y=(p^(x^p))(x^p). The equation y'= y(plogp(x^p) + p(ln(p^x))px^(p-1)) can be solved by using the relevant equation, which is y'= y(plogp(x^p) + p(ln(p^x))px^(p-1)). The derivative of y with respect to x can be found by
  • #1
ab94
11
0

Homework Statement



Find dy/dx of this:
Assume p>0, y=(p^(x^p))(x^p)

Homework Equations



1. d/dx f(x)g(x)h(x) = f'(x)g(x)h(x)+f(x)g'(x)h(x)+f(x)g(x)h'(x)


The Attempt at a Solution



ln(y)= p(ln(p^x))x^p

1/y y'=p'(ln(p^x))x^p + p(logp)x^p + p(ln(p^x))px^(p-1) --use "revlevent" equation

1/y y'= 0 + plogp(x^p) + p(ln(p^x))px^(p-1) -- simplify derivatives

y'= y(plogp(x^p) + p(ln(p^x))px^(p-1)) -- multiply both sides by y

y'= (p^(x^p))(x^p)(plogp(x^p) + p(ln(p^x))px^(p-1)) -- sub in y from beginning




Can someone point out where my error is, and how to fix it?

Thanks
 
Physics news on Phys.org
  • #2
ab94 said:

Homework Statement



Find dy/dx of this:
Assume p>0, y=(p^(x^p))(x^p)

Homework Equations



1. d/dx f(x)g(x)h(x) = f'(x)g(x)h(x)+f(x)g'(x)h(x)+f(x)g(x)h'(x)

The Attempt at a Solution



ln(y)= p(ln(p^x))x^p

1/y y'=p'(ln(p^x))x^p + p(logp)x^p + p(ln(p^x))px^(p-1) --use "relevant" equation

1/y y'= 0 + plogp(x^p) + p(ln(p^x))px^(p-1) -- simplify derivatives

y'= y(plogp(x^p) + p(ln(p^x))px^(p-1)) -- multiply both sides by y

y'= (p^(x^p))(x^p)(plogp(x^p) + p(ln(p^x))px^(p-1)) -- sub in y from beginning

Can someone point out where my error is, and how to fix it?

Thanks
Hello, ab94. Welcome to PF !

Is this [itex]\displaystyle y=(p^{x^p})(x^p)\ ?[/itex]

Then you have ln(y) wrong.
 
Last edited:
  • #3
SammyS said:
Hello, ab94. Welcome to PF !

Is this [itex]\displaystyle y=(p^{x^p)}(x^p)\ ?[/itex]

Then you have ln(y) wrong.

Yes, that's what it is. So I can't take ln of both sides and say

ln(y)=ln(p^x^p)
ln(y)= pln(p^x) ?

I thought We could bring down exponents when using that ln property.
 
  • #4
ab94 said:
Yes, that's what it is. So I can't take ln of both sides and say

ln(y)=ln(p^x^p)
ln(y)= pln(p^x) ?

I thought We could bring down exponents when using that ln property.
No.

[itex]\displaystyle \ln(y)=\ln\left((p^{x^p})(x^p)\right)[/itex]

Now use some properties of logs & differentiate.
 
  • #5
SammyS said:
No.

[itex]\displaystyle \ln(y)=\ln\left((p^{x^p})(x^p)\right)[/itex]

Now use some properties of logs & differentiate.

so then would I split up the ln's into

ln(y)=ln(p^x^p) + ln(x^p) ?

If so I ended with y' = p^x^p(x^p) (plogp + p/x) ...don't think that's right
 
  • #6
ab94 said:
so then would I split up the ln's into

ln(y)=ln(p^x^p) + ln(x^p) ?

If so I ended with y' = p^x^p(x^p) (plogp + p/x) ...don't think that's right
Show your steps, please.
 
  • #7
You almost got it.

How did you expand ##ln(p^{x^{p}})##

After this, take the derivative.

A little late edit.
 
  • #8
BloodyFrozen said:
You almost got it.

$$ ln(y)~=~x^{p}\cdot ln(p)+p\cdot ln(x)$$

You see what I did there? It was the first term on the right side that you made an error.

After this, take the derivative.

Ohh thanks, I was taking the highest exponent (p) instead of the entire exponent (xp). I'll post my solution after I work it out
 
Last edited:
  • #9
ab94 said:
Ohh thanks, I was taking the highest exponent (p) instead of the entire exponent (xp). I'll post my solution after I work it out

Good.
 
  • #10
Ok so:

ln(y)= ln(p^x^p) + ln(x^p)
ln(y)=(x^p)ln(p) + (p)ln(x)
1/y y'= (px^(p-1))ln(p) + (x^p)/p + 0 + p/x

therfore y'= p^x^p(x^p)(px^(p-1))ln(p) + (x^p)/p + + p/x

Is this correct? or is there an error
 
  • #11
ab94 said:
Ok so:

ln(y)= ln(p^x^p) + ln(x^p)
ln(y)=(x^p)ln(p) + (p)ln(x)
1/y y'= (px^(p-1))ln(p) + (x^p)/p + 0 + p/x

therfore y'= p^x^p(x^p)(px^(p-1))ln(p) + (x^p)/p + + p/x

Is this correct? or is there an error

You have the general idea, but your grouping is wrong.

$$\frac{dy}{dx} ~=~ y\cdot [px^{p-1}ln(x)+\frac{x^{p}}{p}+\frac{p}{x}]$$
 
  • #12
BloodyFrozen said:
You have the general idea, but your grouping is wrong.

$$\frac{dy}{dx} ~=~ y\cdot [px^{p-1}ln(x)+\frac{x^{p}}{p}+\frac{p}{x}]$$

Nvm I got the right answer, I used wolframalpha and I subtracted my answer from theirs, and got 0. (i fixed my own error up there ^)

Thanks for the help
 
  • #13
By the way: [itex]\displaystyle p=e^{\ln(p)}[/itex]

Therefore,

[itex]\displaystyle y=(p^{x^p})(x^p)[/itex]
[itex]\displaystyle
=e^{\ln(p)x^p}(x^p)[/itex]

Taking the derivative:

[itex]\displaystyle y'=\ln(p)\,p\,x^{p-1}e^{\ln(p)x^p}(x^p)+e^{\ln(p)x^p}px^{p-1}[/itex]

For this problem it looks like a better way than doing the logarithmic derivative.
 

1. What is the basic definition of derivative?

The derivative of a function at a specific point is the slope of the tangent line to the curve at that point. It represents the rate of change of the function at that point.

2. How do I find the derivative of a polynomial function?

To find the derivative of a polynomial function, you can use the power rule, which states that the derivative of a term with an exponent n is n times the coefficient of the term multiplied by the variable raised to the power n-1.

3. Can I use the chain rule to find the derivative of a composite function?

Yes, the chain rule can be used to find the derivative of a composite function. It states that the derivative of a composite function f(g(x)) is equal to the derivative of the outer function f evaluated at the inner function g(x), multiplied by the derivative of the inner function g(x).

4. Is there a shortcut to finding the derivative of a trigonometric function?

Yes, there are several shortcuts for finding the derivative of trigonometric functions. For example, the derivative of sin(x) is cos(x), the derivative of cos(x) is -sin(x), and the derivative of tan(x) is sec²(x).

5. How do I find the derivative of a function with multiple terms?

To find the derivative of a function with multiple terms, you can use the sum rule, which states that the derivative of a sum of functions is equal to the sum of the derivatives of each individual function. You can also apply any other derivative rules, such as the product rule or quotient rule, to each individual term in the function.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
812
  • Calculus and Beyond Homework Help
Replies
5
Views
611
  • Calculus and Beyond Homework Help
Replies
4
Views
679
  • Calculus and Beyond Homework Help
Replies
3
Views
202
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
250
  • Calculus and Beyond Homework Help
Replies
6
Views
541
  • Calculus and Beyond Homework Help
Replies
8
Views
751
  • Calculus and Beyond Homework Help
Replies
2
Views
344
Back
Top