A cubic equation and its roots

In summary, The question asks to find the value of ##a## so that the equation $$x^3-6x^2+11x+a-6=0$$ has exactly three integer solutions. Three equations are given to relate the roots of the equation: ##p+q+r=6##, ##pq+pr+rq=11##, ##pqr=6-a##. The solution is achieved by finding possible integer solutions which sum up to 6, and then selecting those for which ##pq+pr+qr=11##. After factoring the terms other than ##a##, it is concluded that the equation can only have integer roots if ##a=0##, showing that trial and error is not necessary
  • #1
mooncrater
217
18

Homework Statement


The question says that :
Find the value of ##a## so that the equation $$x^3-6x^2+11x+a-6=0$$ has exactly three integer solitions.

Homework Equations


IF ##p##,##q##,##r## are the roots of this equation then:
##p+q+r=6##
##pq+pr+rq=11##
##pqr=6-a##

The Attempt at a Solution


I just don't know how to use these equations to find ##a##.
So how to do this question?Are these equations of any use here?
 
Physics news on Phys.org
  • #2
I would simply factor it.
 
  • #3
brainpushups said:
I would simply factor it.
But how can you simply factor it when there is an unknown ##a## in the equation?
 
  • #4
mooncrater said:
But how can you simply factor it when there is an unknown ##a## in the equation?
So factor the rest of it.
 
  • #5
haruspex said:
So factor the rest of it.

So that's pretty much just guessing that ##a=0##, right? Or is there a better reason to do it? Suppose the constant were ##a-7##?
 
  • #6
Dick said:
So that's pretty much just guessing that ##a=0##, right? Or is there a better reason to do it? Suppose the constant were ##a-7##?
It just struck me as something worth doing to obtain insight. It doesn't presume a=0, in fact it reveals an infinity of solutions. A minor modification solves a-7.
 
  • #7
Find possible integer solutions which sum up to 6. Then select those for which pg+pr+qr=11.
You can eliminate one of the roots. Try completing squares.
 
Last edited:
  • Like
Likes mooncrater
  • #8
ehild said:
Find possible integer solutions which sum up to 6. Then select those for which pg+pr+qr=11.
You can eliminate one of the roots. Try completing squares.
Thank you...Did what you said.
Leaving the zero values of ##p,q,r## , three possibilities were present:
$$p=1,q=1,r=4$$, $$p=1,q=2,r=3$$,$$p=q=r=2$$
Among which the second one satisfies the equation $$pq+qr+pr=11$$
So ##pqr=6=6-a##
Therefore ##a=0##.
Is this how you meant it to be done?
 
  • #9
mooncrater said:
Thank you...Did what you said.
Leaving the zero values of ##p,q,r## , three possibilities were present:
$$p=1,q=1,r=4$$, $$p=1,q=2,r=3$$,$$p=q=r=2$$
Among which the second one satisfies the equation $$pq+qr+pr=11$$
So ##pqr=6=6-a##
Therefore ##a=0##.
Is this how you meant it to be done?
Yes, it was my first idea. There might be other solutions, including negative roots, but the problem text did not want you give or exclude more.
 
  • Like
Likes mooncrater
  • #10
ehild said:
Find possible integer solutions which sum up to 6. Then select those for which pg+pr+qr=11.
You can eliminate one of the roots. Try completing squares.
It says integer solutions, not natural numbers.
Factorising the terms other than a makes it obvious what all the solutions are.
 
  • #11
haruspex said:
It says integer solutions, not natural numbers.
Factorising the terms other than a makes it obvious what all the solutions are.

I still don't see it. You aren't just saying that ##-a## is the product of three consecutive integers, are you? That suffices to give one integer root. Doesn't say there are three unless ##a=0##.
 
  • #12
Dick said:
I still don't see it. You aren't just saying that ##-a## is the product of three consecutive integers, are you? That suffices to give one integer root. Doesn't say there are three unless ##a=0##.
Ah yes, not thinking straight.
 
  • #13
I have puzzled over how to use those equations for p, q, & r.

Use the factor theorem, plus perhaps Descartes's Sign Rule.

At most one negative root, that's if a > 6 . If -1 is a root, then a = 24.

If 0 is a root, a = 6. Look at the resulting quadratic.

If 1 is a root, a = __ , ...
 
  • Like
Likes mooncrater
  • #14
You could use psychology. Why are they giving you the equation in the form

mooncrater said:
$$x^3-6x^2+11x+a-6=0$$ .
?

The constant term is peculiar. It would be equivalent but normally more natural to ask what values of b give integral solutions of

$$x^3-6x^2+11x+b=0$$ .

It is because you might have to be a tad smarter to see how to do it when espressed that way. They are giving you a hint! I'll give you another. In the first equation the cubic without the a is quite easily factorised. Just knowing that it is makes it easier. Then if you think what a cubic looks like in a graph, you will see there is only a limited range of b within which it can have 3 real solutions and only a limited number of values for which it can have integer solutions.
 
Last edited:
  • #15
epenguin said:
The constant term is peculiar. It would be equivalent but normally more natural to ask what values of b give integral solutions of

$$x^3-6x^2+11x+b=0$$ .

It is because you might have to be a tad smarter to see how to do it when espressed that way. They are giving you a hint! I'll give you another. In the first equation the cubic without the b is quite easily factorised.

You meant factorising the part without a ?
 
  • #16
ehild said:
You meant factorising the part without a ?
Yes. Thank you, I have corrected that now.
 
  • #17
epenguin said:
You could use psychology. Why are they giving you the equation in the form?

The constant term is peculiar. It would be equivalent but normally more natural to ask what values of b give integral solutions of

$$x^3-6x^2+11x+b=0$$ .

It is because you might have to be a tad smarter to see how to do it when espressed that way. They are giving you a hint! I'll give you another. In the first equation the cubic without the a is quite easily factorised. Just knowing that it is makes it easier. Then if you think what a cubic looks like in a graph, you will see there is only a limited range of b within which it can have 3 real solutions and only a limited number of values for which it can have integer solutions.
Okay then , now I understand that this equation can also be solved without trial and error method. So I did it as:
##x^3-6x^2+11x-6=-a##
## x^3-5x^2-x^2+5x+6x-6=-a##
Which gives the equation:
##(x-1)(x-2)(x-3)+a=0##
Which has integer roots only if ##a=0##
Is that what you want me to understand?
 
  • #18
Up to the last two lines. It has integer roots for a = 0 . The equation asks you find THE value of a that gives you that, so I suppose you have answered the question. You might worry a bit about whether this is the only possible value of a to give integer roots and how you would handle it if there were more than one value of a giving integer roots.

Perhaps there are cases like that, say for a cubic. Perhaps you could construct such cases. Or show that there can't be any. Depending on your time and interest. Polya principle of 'How to solve it' - when you have solved it, it's not finished. But at least try see if you can see in this case if 0 is the only value.
 
  • Like
Likes mooncrater
  • #19
epenguin said:
Up to the last two lines. It has integer roots for a = 0 . The equation asks you find THE value of a that gives you that, so I suppose you have answered the question. You might worry a bit about whether this is the only possible value of a to give integer roots and how you would handle it if there were more than one value of a giving integer roots.Perhaps there are cases like that, say for a cubic. Perhaps you could construct such cases. Or show that there can't be any. Depending on your time and interest. Polya principle of 'How to solve it' - when you have solved it, it's not finished. But at least try see if you can see in this case if 0 is the only value.
Okay I think I got what you want to say. We can have infinite values of ##a## to satisfy the equation. But since it's given that the equation has 3 roots therefore ##a## can have only one value that is ##0##.
Is this what you want to say to me?
 
  • #20
mooncrater said:
Okay I think I got what you want to say. We can have infinite values of ##a## to satisfy the equation. But since it's given that the equation has 3 roots therefore ##a## can have only one value that is ##0##.
Is this what you want to say to me?

No :oldsmile: , I am saying it is not demonstrated and not all that obvious that there are no other values of a to give integral roots, and for someone wanting to develop a bit of mathematical muscle (of course you may consider you have better things to do with your time) it is of value to try and see further inside this.
 
  • #21
See the plot of y = (x-1)(x-2)(x-3). It crosses the x-axis at 1, 2, 3, (the red dots), and the extrema are 0.385 and -0.385. Adding a number a it will shift up or down, or you can consider the x-axis shifting parallel. The coloured lines show the shifted axes.

There are less than 3 real roots if the x-axis is shifted too much...

If it is shifted up or down less than 0.385, two of the new real roots are between a pair of the red ones...
threeintegers.jpg


By the way, the constant term of the equation is the negative product of the roots. If you can add a which magnitude is less than 0.385, can be the constant term integer?
 
Last edited:
  • Like
Likes Dick and mooncrater
  • #22
mooncrater said:

Homework Statement


The question says that :
Find the value of ##a## so that the equation $$x^3-6x^2+11x+a-6=0$$ has exactly three integer solitions.

Homework Equations


IF ##p##,##q##,##r## are the roots of this equation then:
##p+q+r=6##
##pq+pr+rq=11##
##pqr=6-a##

The Attempt at a Solution


I just don't know how to use these equations to find ##a##.
So how to do this question?Are these equations of any use here?

Coming back after a long time. I would suggest you rather graph y=x^3-6x^2+11x-6 and y=-a on the paper. You can graph the cubic easily by checking at x=0 or may be y=0 and also checking maxima, minima , inflexion point etc. Then plot on the same paper y=-a. Check what values can you give a by seeing graph which would give exactly three integral solutions.
 
  • Like
Likes mooncrater

What is a cubic equation?

A cubic equation is a type of polynomial equation with a degree of 3. It is written in the form ax^3 + bx^2 + cx + d = 0, where a, b, c, and d are constants and x is the variable.

How do you solve a cubic equation?

To solve a cubic equation, you can use various methods such as the Rational Root Theorem, synthetic division, or the cubic formula. These methods involve finding the roots or solutions of the equation, which are the values of x that make the equation true.

How many roots does a cubic equation have?

A cubic equation can have three roots, but some of these roots may be complex numbers. This means that they have a real part and an imaginary part. In some cases, a cubic equation may also have one or two real roots.

What is the significance of the roots of a cubic equation?

The roots of a cubic equation represent the points where the graph of the equation intersects the x-axis. These values are important in understanding the behavior of the equation and solving real-world problems related to it.

What are some real-world applications of cubic equations and their roots?

Cubic equations and their roots can be used in various fields such as physics, engineering, and economics. For example, they can be used to model the motion of objects under the influence of gravity, analyze the stability of structures, or determine the optimal price for a product.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
13
Views
758
  • Precalculus Mathematics Homework Help
Replies
20
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
14
Views
1K
  • Precalculus Mathematics Homework Help
Replies
12
Views
2K
  • Precalculus Mathematics Homework Help
Replies
22
Views
1K
  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
Back
Top