I am having a Calculus test tomorrow ,and I've been practicing. I encountered this problem which I can't seem to find the solution: $ 5x(x-8)^{50}$. The textbook says that the answer is $5(x-8)^{49}(51x-8)$. I would like to know the way the book did it.
Thanks in advance.
$${ \left( 5x(x-8)^{ 50 } \right) }^{ \prime }={ \left( 5x \right) }^{ \prime }{ \left( x-8 \right) }^{ 50 }+5x{ \left( { \left( x-8 \right) }^{ 50 } \right) }^{ \prime }=5{ \left( x-8 \right) }^{ 50 }+250x{ \left( x-8 \right) }^{ 49 }={ \left( x-8 \right) }^{ 49 }\left( 5x-40+250x \right) =\\ ={ \left( x-8 \right) }^{ 49 }\left( 255x-40 \right) =5\left( 51x-8 \right) { \left( x-8 \right) }^{ 49 }$$