Find the values of a and b in the given polynomial

  • Thread starter Thread starter chwala
  • Start date Start date
  • Tags Tags
    Polynomial
Click For Summary
SUMMARY

The discussion focuses on finding the values of the coefficients a and b in the polynomial equation given by ##(x-n+1)^3-(x-n)^3=3x^2+ax+b##. The correct substitutions lead to the results a = 3 - 6n and b = 3n^2 - 3n + 1. Several participants point out mistakes in the initial approach, particularly regarding the substitution of k, which should be defined as n - 1 instead of n + 1. The final solutions align with the textbook results, confirming their validity.

PREREQUISITES
  • Understanding of polynomial equations and their properties
  • Familiarity with the Binomial Theorem
  • Basic knowledge of calculus, specifically derivatives
  • Ability to manipulate algebraic expressions and equations
NEXT STEPS
  • Study the Binomial Theorem in depth to understand polynomial expansions
  • Learn how to derive coefficients from polynomial equations using calculus
  • Explore alternative methods for solving polynomial equations
  • Practice problems involving polynomial identities and transformations
USEFUL FOR

Mathematics students, educators, and anyone interested in polynomial functions and their applications in algebra and calculus.

chwala
Gold Member
Messages
2,828
Reaction score
421
Homework Statement
Find the value of ##a## and ##b## in terms of ##n## given;
##(x-n+1)^3-(x-n)^3=3x^2+ax+b##
Relevant Equations
Binomial theorem
My approach;

Let ##(n+1)=k##
##(x-n+1)^3-(x-n)^3=3x^2+ax+b##
##(x-k)^3-(x-n)^3=3x^2+ax+b##
##(x^3-3x^2k+3xk^2-k^3)-(x^3-3x^2n+3xn^2-n^3)##
##=-3x^2k+3x^2n+3xk^2-3xn^2-k^3+n^3≡3x^2+ax+b##

##⇒1=n-k##
##⇒3(k^2-n^2)=a##
##⇒n^3-k^3=b##

##3(k+n)(k-n)=a##
##-3(k+n)=a##
##a=-3(n-1+n)##
##a=-3(2n-1)##
##a=3-6n##

##b=n^3-k^3=n^3-(n-1)^3=n^3-n^3+3n^2-3n+1=3n^2-3n+1##
##b=3n^2-3n+1##

which agrees with textbook solution...i would appreciate alternative approach.
 
  • Like
Likes   Reactions: Delta2
Physics news on Phys.org
Let x=0 on the both sides
b=n^3-(n-1)^3=n^2+n(n-1)+(n-1)^2=3n^2-3n+1

Then let x=n on the both sides
0=6n^2+(a-3)n
a=-6n+3
 
  • Like
Likes   Reactions: Delta2, SammyS, PeroK and 1 other person
chwala said:
Homework Statement:: Find the value of ##a## and ##b## in terms of ##n## given;
##(x-n+1)^3-(x-n)^3=3x^2+ax+b##
Relevant Equations:: Binomial theorem

My approach;

Let ##(n+1)=k##
##(x-n+1)^3-(x-n)^3=3x^2+ax+b##
##(x-k)^3-(x-n)^3=3x^2+ax+b##
You have a mistake almost at the very beginning. x - n + 1 = x - (n - 1), so a more reasonable substitution would be to let k = n - 1.
In your work, with your substitution, ##(x - k)^3 = (x - (n + 1))^3 = (x - n - 1)^3##. This isn't what you started with.
chwala said:
##(x^3-3x^2k+3xk^2-k^3)-(x^3-3x^2n+3xn^2-n^3)##
##=-3x^2k+3x^2n+3xk^2-3xn^2-k^3+n^3≡3x^2+ax+b##

##⇒1=n-k##
##⇒3(k^2-n^2)=a##
##⇒n^3-k^3=b##

##3(k+n)(k-n)=a##
##-3(k+n)=a##
##a=-3(n-1+n)##
##a=-3(2n-1)##
##a=3-6n##

##b=n^3-k^3=n^3-(n-1)^3=n^3-n^3+3n^2-3n+1=3n^2-3n+1##
##b=3n^2-3n+1##

which agrees with textbook solution...i would appreciate alternative approach.
 
  • Like
Likes   Reactions: chwala
Mark44 said:
You have a mistake almost at the very beginning. x - n + 1 = x - (n - 1), so a more reasonable substitution would be to let k = n - 1.
In your work, with your substitution, ##(x - k)^3 = (x - (n + 1))^3 = (x - n - 1)^3##. This isn't what you started with.
I see your point, what about letting ##k=n+1?## and not ##k=(n+1).## I can see that it's the bracket that causes all the confusion.
 
Last edited:
chwala said:
which agrees with textbook solution...i would appreciate alternative approach.
I don't see how you arrived at the same solution as the textbook, given the mistake I pointed out. I didn't go through your work beyond what I pointed out, but I suspect that you have made another mistake somewhere.
 
He says at first line n+1=k but all the rest lines are working like n-1=k, that's why he arrived at the right solution. So practically only his first line is wrong.
 
  • Like
Likes   Reactions: Mark44
anuttarasammyak said:
Let x=0 on the both sides
...
f(x) is a polynomial. Its constant term is f(0).

anuttarasammyak said:
Then let x=n on the both sides
...
Alternatively, the coefficient of x is f'(0). That's not pre-calc, but he did ask for an alternative solution.
 
Prof B said:
f(x) is a polynomial. Its constant term is f(0).Alternatively, the coefficient of x is f'(0). That's not pre-calc, but he did ask for an alternative solution.
@Prof B I do not think you have indicated any improvement on the problem nor alternative solution. Can you show your working by using ##f'(0)## as you have pointed out?
 
Last edited:
Try expanding the cubic term with binomial theorem like this
$$
((x-n)+1)^3=(x-n)^3 + 3(x-n)^2 + 3(x-n) +1
$$
and observe that the ##(x-n)^3## gets subtracted off on the r.h.s. In other words; think ahead. I think that was the point of this exercise.
 
  • Like
Likes   Reactions: Prof B, Delta2 and chwala
  • #10
chwala said:
@Prof B I do not think you have indicated any improvement on the problem nor alternative solution. Can you show your working by using ##f'(0)## as you have pointed out?
f'(0) is the derivative of f(x) evaluated at 0. It will make sense when you take calculus.
 
  • Wow
  • Haha
Likes   Reactions: chwala and Delta2
  • #11
Prof B said:
f'(0) is the derivative of f(x) evaluated at 0. It will make sense when you take calculus.
He knows calculus, he is 43 years old :wink:. You can check additional info for each member, either by clicking at the avatar or hovering the mouse over it. Just saying cause you are new at these forums.
And welcome to PF from me, first indication is that you are quite knowledgeable about math!
 
  • #12
I'm not sure how I was supposed to infer that. Pythagoras was a great mathematician. He lived to the age of 75 and did not know calculus.
 
  • Like
Likes   Reactions: Delta2
  • #13
Prof B said:
I'm not sure how I was supposed to infer that. Pythagoras was a great mathematician. He lived to the age of 75 and did not know calculus.
Yes ok I understand that. You don't know @chwala, he is quite sometime in these forums and has post many problems over a wide range of math topics, including calculus.
 
  • Like
Likes   Reactions: chwala
  • #14
chwala said:
Homework Statement:: Find the value of ##a## and ##b## in terms of ##n## given;
##(x-n+1)^3-(x-n)^3=3x^2+ax+b##
Relevant Equations:: Binomial theorem

My approach;

Let ##(n+1)=k##
The equation above is wrong. You want to replace x - n + 1 by x - k, so k = n - 1.
chwala said:
##(x-n+1)^3-(x-n)^3=3x^2+ax+b##
##(x-k)^3-(x-n)^3=3x^2+ax+b##
##(x^3-3x^2k+3xk^2-k^3)-(x^3-3x^2n+3xn^2-n^3)##
##=-3x^2k+3x^2n+3xk^2-3xn^2-k^3+n^3≡3x^2+ax+b##

##⇒1=n-k##
This isn't equivalent to n + 1 = k, which was the substitution you made several lines up.
chwala said:
##⇒3(k^2-n^2)=a##
##⇒n^3-k^3=b##
In addition to the comments above, the work above seems incomplete. The 2nd and 3rd equations above come from equating the x terms and constant terms on both sides of the equation above the one that says 1 = n - k. The equation that seems to be missing is the one that equates the ##x^2## terms on both sides. Once I had these three equations, then I would solve for a and b.

chwala said:
##3(k+n)(k-n)=a##
##-3(k+n)=a##
Here's another mistake that, fortunately for you, cancels out your earlier mistake. According to your substitution (which is incorrect), k = n + 1. This means, with that substitution, that the 2nd equation above should be ##3(k + n)(n + 1 - n) = a##, or ##3(k + n)(1)##.

chwala said:
##a=-3(n-1+n)##
##a=-3(2n-1)##
##a=3-6n##

##b=n^3-k^3=n^3-(n-1)^3=n^3-n^3+3n^2-3n+1=3n^2-3n+1##
##b=3n^2-3n+1##

which agrees with textbook solution...i would appreciate alternative approach.
 
  • #15
@Mark44 hi, let me look at it again...Will get back on this.
 
  • #16
Ok here we have it;...pretty easy

##x-n+1)^3-(x-n)^3=3x^2+ax+b##

Re-arranging;

##(x+1-n)^3-(x-n)^3=3x^2+ax+b##

Using Combinations-

##[^3C_0x^3+3C_1x^2 (1-n)+3C_2x (1-n)^2 +3C_3x^0 (1-n)^3]-[3C_0x^3+3C_1x^2(-n)+3C_2x(-n)^2+3C_3x^0 (-n)^3]##

##=[x^3+3x^2(1-n)+3x(1-n)^2+(1-n)^3]-[x^3-3x^2n+3xn^2-n^3]##

##=[x^3+3x^2-3x^2n+3x-6xn+3xn^2-n^3+3n^2-3n+1]-[x^3-3x^2n+3xn^2-n^3]##

##=3x^2+3x-6xn+3n^2-3n+1##

##=3x^2+(3-6n)x+3n^2-3n+1##

therefore,

##a=3-6n##

##b=3n^2-3n+1##
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
3K
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
5
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
2
Views
3K