Differentiation using product rule?

steve snash
Messages
50
Reaction score
0

Homework Statement


Differentiate the following function with respect to x,
p(x) = (( x+5 )^2)*(( x+3 )^7)


Homework Equations


well the product rule is,
p(x)=(f)*(g)
p'(x)= (f')*(g)+(g')*(f)
and general differentiation is,
p'(x)=n(f)^(n-1)*n(g)^(n-1)

The Attempt at a Solution


well i used the product rule and got
(2(x+5))*((x+3)^7)+(7(x+3)^6)*((x+5)^2)
but this is said to be wrong how do i simplify it more or what have i done wrong?
 
Physics news on Phys.org
What you did is right. They probably just want you to pull out the common factors to simplify it more.
 
so i could go,
(2*x+10)*(x+3)^7+(7x+21)*(x+5)^2
then
(3x+13)^7+(8x+26)^2
 
steve snash said:
so i could go,
(2*x+10)*(x+3)^7+(7x+21)*(x+5)^2
then
(3x+13)^7+(8x+26)^2

Your algebra is looking pretty seriously awful there. Whoa. Just factor out (x+5)*(x+3)^6 and collect the rest. Try and use only real algebra this time, and not just random symbol rearrangment, ok?
 
so it works out to be,
((x+3)^6)*((9x^2)+(86x)+205)
cheers for the help
 
steve snash said:
so it works out to be,
((x+3)^6)*((9x^2)+(86x)+205)
cheers for the help

That's one version. You could also write it as (x+3)^6*(x+5)*(9x+1). Whatever works, like I said your initial differentiation was correct as well.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top