Book Wrong? Solving g'(x) = [p(2r sin rx + n)^(p-1)] * (2r^2cos rx)

  • Context: Undergrad 
  • Thread starter Thread starter Brin
  • Start date Start date
  • Tags Tags
    Book
Click For Summary

Discussion Overview

The discussion revolves around the differentiation of the function g(x) = (2r sin(rx) + n)^p, specifically addressing a potential discrepancy between the participant's calculated derivative and the answer provided in a textbook. The scope includes calculus, particularly the application of the chain rule and product rule in differentiation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant expresses confusion over their derivative calculation, suspecting either a personal error or a mistake in the textbook.
  • The participant outlines their steps, indicating they used the chain rule and product rule but believes they included an incorrect term (+ 2 sin(rx)).
  • Another participant points out that the notation g'(x) indicates differentiation with respect to x, while the original poster seems to have differentiated with respect to r.
  • A subsequent reply acknowledges the misunderstanding and expresses relief at the clarification.

Areas of Agreement / Disagreement

Participants generally agree that there was a misunderstanding regarding the variable with respect to which the differentiation was performed, but the discussion does not resolve whether the original calculation was correct or incorrect.

Contextual Notes

The discussion highlights a potential confusion in variable differentiation, which may lead to misinterpretation of the problem. The steps taken by the participant are not fully resolved, as the focus remains on the misunderstanding rather than the correctness of the derivative itself.

Brin
Messages
73
Reaction score
0
Hey guys, I'm just doing some calculus practice over the winter break, and I came across this problem I've done a few times in a row, and I am either a) making the same mistake again, and again; or b) the book is wrong.

The problem is presented as such, with instructions to find the derivative:
g(x)=(2r sin rx + n)^p

With an answer from the back of the book:
g'(x) = [p(2r sin rx + n)^(p-1)] * (2r^2cos rx)


Here are the steps I use to solve:

g = u^p
u = (2r sin rx + n)

dg/du = pu^p-1 * u' : chain rule + product rule

u' = d/dr(2r * sin rx) + d/dr(n) : sum rule

d/dr(2r * sin rx) = (2r^2cos(rx)) + (2sinrx) : product rule

thus, u' = 2r^2cos(rx) + 2sinrx

thus,
dg/dr = [p(2r sin rx + n)^(p-1)] * (2r^2cosrx + 2sinrx) : just filling in the variables.

I'm "correct" right up until + 2 sinrx... that just shouldn't be there.

I've redone this several times, and like I said, I'm either misunderstanding something, or the book is wrong.

Thanks for any help.
 
Physics news on Phys.org
g'(x) means dg(x)/dx. You seem to have calculated dg(r)/dr.
 
It seems like the book is finding the derivative with respect to x, while you are finding it with respect to r.
 
Oh wow. How right you are.
I didn't even realize what the heck I was doing... I think I need a break :P Thank you!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
48
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K