Derivative of two polynomials, one of them being squared

In summary, the student is trying to solve a homework equation using the product rule, but they are having difficulty factorising the function. They try again and this time they get it correct.
  • #1
Orson
67
5

Homework Statement


find derivative of (x-2)(x-3)^2

Homework Equations


using product rule.

The Attempt at a Solution


1(x-3)^2+2(x-3)
x^2-6x-9 +2x-6
x^2-4x-15
doesn't factor.
 
Physics news on Phys.org
  • #2
Orson said:

Homework Statement


find derivative of (x-2)(x-3)^2

Homework Equations


using product rule.

The Attempt at a Solution


1(x-3)^2+2(x-3)
x^2-6x-9 +2x-6
x^2-4x-15
doesn't factor.
There are a few mistakes in there. You've forgotten a factor in the product rule ##(g\cdot h)'=g' \cdot h + g \cdot h'## and a sign error in the binomial formula.
 
  • #3
Did I forget the 1?
 
  • #4
tried again and 3x^2-14x+21
 
  • #5
for clarification: using product rule.

(x-2)(x-3)^2
1(x-3)+(x-2)2(x-3)
(x-3)+(x-2)2x-6)
(x-3)+2x^2-10x+12
2x^2-9x+9
(2x-3) (x-3)
x=3
x=3/2
 
  • #6
Orson said:
Did I forget the 1?
No, the ##g##.
Orson said:
tried again and 3x^2-14x+21
Close.

You can always calculate ##p(x)=(x-2)(x-3)^2## and differentiate the result to have a comparison.
 
  • #7
Orson said:
for clarification: using product rule.

(x-2)(x-3)^2
1(x-3)+(x-2)2(x-3)
(x-3)+(x-2)2x-6)
(x-3)+2x^2-10x+12
2x^2-9x+9
(2x-3) (x-3)
x=3
x=3/2
This time the square in ##h## is lost, i.e. the second line should be ##1\cdot (x-3)^2 + (x-2)\cdot 2 \cdot (x-3) \cdot 1##.
 
  • #8
fresh_42 said:
This time the square in ##h## is lost, i.e. the second line should be ##1\cdot (x-3)^2 + (x-2)\cdot 2 \cdot (x-3) \cdot 1##.
you're right. I will chew on it some more.
 
  • #9
It has got to factor and the factor has got to be (x - 3).

Instead of getting lost in error-prone detail, differentiate the more general fg2

Does the result of that factorise? Easily?
 
Last edited:
  • Like
Likes Orson
  • #10
epenguin said:
It has got to factor and the factor has got to be (x - 3).

Instead of getting lost in error-prone detail, differentiate the more general fg2

Does the result of that factorise? Easily?
certainly does factor.

(x-3)^2 +(x-2)*2(x-3)
x^2-6x+9+(x-2)(2x-6)
x^2-6x+9+2x^2-10x+12
3x^2-16x+21
3x^2-9x-7x+21
3x(x-3)-7(x-3)
(3x-7)(x-3)
x=7/3 x=3
 
  • #12
Orson said:
certainly does factor.

(x-3)^2 +(x-2)*2(x-3)
x^2-6x+9+(x-2)(2x-6)
x^2-6x+9+2x^2-10x+12
3x^2-16x+21
3x^2-9x-7x+21
3x(x-3)-7(x-3)
(3x-7)(x-3)
x=7/3 x=3
I don't see why you're finding the zeros of the expression.
 
  • #13
WWGD said:
I don't see why you're finding the zeros of the expression.
I don't either, based on the problem description at the start of the thread. However, if another part of the problem is to find the critical points, then one would need to factor the derivative to see where it is zero.
 
  • Like
Likes Orson and WWGD
  • #14
WWGD said:
I don't see why you're finding the zeros of the expression.
Yes. I was finding maxima and minima. I had trouble factoring that function.
 
  • Like
Likes WWGD
  • #15
But there is no virtue in doing it a long way round when you can do it in a way that retains an original factor.
 
  • #16
epenguin said:
But there is no virtue in doing it a long way round when you can do it in a way that retains an original factor.
Ok. Can you expound on that ?
 
  • #17
Orson said:
Ok. Can you expound on that ?
I think what @epenguin was saying was that it's not helpful to expand the factors that you get when you differentiate. If y = (x - 2)(x - 3)2,
then y' = (x - 2) * 2(x - 3) + 1 * (x - 3)2, which can by rewritten as (x - 3)(2(x - 2) + x - 3)) = (x - 3)(3x - 7)
Now to find where y' = 0, it's easy to see that x = 3 or x = 7/3.
 
  • Like
Likes Orson
  • #18
Yes IMO still easier to see if you keep the more general form fg2.
Just use differentiation of a product rule (uv)' = u'v + uv' which applied to fg2 is

( fg2)' = f'g2 + 2fgg' = g(f' + 2fg') .

Something like this is always going to happen if the original function contains something to a power.
 
Last edited:
  • Like
Likes Orson
  • #19
epenguin said:
Yes IMO still easier to see if you keep the more general form fg2.
Just use differentiation of a product rule (uv)' = u'v + uv' which applied to fg2 is

( fg2)' = f'g2 + 2fgg' = g(f' + 2fg') .

Something like this is always going to happen if the original function contains something to a power.
Lemme chew on that. I have another one I am having trouble with. Has to do with minus signs.
 

What is a derivative?

A derivative is a mathematical concept that represents the rate of change of a function with respect to its input.

What is a polynomial?

A polynomial is a mathematical expression that consists of variables and coefficients, combined using addition, subtraction, and multiplication, but not division. It can have one or more terms, each of which is raised to a non-negative integer power.

How do you find the derivative of a polynomial?

To find the derivative of a polynomial, you can use the power rule, which states that the derivative of a term raised to a power is equal to that power multiplied by the coefficient of the term, and the power decreased by 1. You can also use the sum and product rules to find the derivative of a polynomial that is made up of multiple terms.

What does it mean to square a polynomial?

Squaring a polynomial means to multiply it by itself, or to raise each term in the polynomial to the power of 2.

How do you find the derivative of two polynomials, one of them being squared?

To find the derivative of two polynomials, one of them being squared, you can use the power rule and product rule. First, apply the power rule to the squared polynomial, then use the product rule to find the derivative of the entire expression.

Similar threads

  • Calculus and Beyond Homework Help
Replies
18
Views
2K
  • Calculus and Beyond Homework Help
Replies
25
Views
354
  • Calculus and Beyond Homework Help
Replies
4
Views
116
  • Calculus and Beyond Homework Help
Replies
2
Views
367
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
501
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
19
Views
2K
Back
Top