Solving Equation: x² - 3x - 40 = 0

  • Thread starter Thread starter Gringo123
  • Start date Start date
AI Thread Summary
The discussion focuses on solving the quadratic equation x² - 3x - 40 = 0 using the rational root theorem and trial and error for factoring. Participants explain that the roots of the equation must be factors of -40 that also add up to -3. The correct factors identified are 5 and -8, leading to the factorization (x + 5)(x - 8) = 0. This results in the solutions x = -5 and x = 8. The conversation also notes that if no integer factors satisfy the conditions, alternative methods like completing the square or the quadratic formula can be used.
Gringo123
Messages
141
Reaction score
0
My Maths textbook gives the following equation:
x squared - 3x - 40 = 0

.. and it gives the following as a model answer: (where I've wriiten right or wrong there is a tick or a cross)

try 2 x 20x, 4 x 10x, 5 x 8 (right)
(x-5) (x + 8) (wrong)
(x+5) (x-8) (right)
x = -5 or 8

I have no idea what this method is and why it has been used here. Can anyone please expain it to me?
Thanks
 
Physics news on Phys.org
Hi Gringo123! :smile:

This is the rational root theorem

basically, if the roots are whole numbers, then they have to be factors of 40 (times ±1).

So first they tried ±2 and ±20 (by putting eg 2 into the equation to see if it comes out 0, as it should), then they tried ± 4 and ±10, then they tried ±5 and ±8 …

woohoo! it's -5 and 8 ! :biggrin:

See http://en.wikipedia.org/wiki/Rational_roots" for more details. :wink:
 
Last edited by a moderator:
Gringo123 said:
My Maths textbook gives the following equation:
x squared - 3x - 40 = 0

.. and it gives the following as a model answer: (where I've wriiten right or wrong there is a tick or a cross)

try 2 x 20x, 4 x 10x, 5 x 8 (right)
(x-5) (x + 8) (wrong)
(x+5) (x-8) (right)
x = -5 or 8

I have no idea what this method is and why it has been used here. Can anyone please expain it to me?
Thanks
Essentially, they are using a "trial and error" method of factoring the left side. I presume the textbook has already show that (x+ a)(x+ b)= x2+ (a+b)x+ ab. In order that you have (x+a)(x+b)= x+ (a+b)x+ ab= x2- 3x- 40, you must have a+ b= -3 and ab= -40. So start looking for integers factors of 40: 1* 40, 2*20, 4*40, 5*8, 8*5, 10*4, 20*2, and 40*1. Since it doesn't matter which you call "a" and which "b", you don't need to look at "8*5, 10*4, 20*2, and 40*1", they are the same as "1* 40, 2*20, 4*40, and 5*8". I don't know why they did not include "1*40"- perhaps they thought that was too obviously wrong.

Since the product of two positive or two negative numbers is positive, in order to get ab= 40, one factor must be positive and the other negative. Now we check each of those to see if they add to -3: 1- 40= -39 not -3; 2- 20= -17, not -3; 4- 10= -6, not -3; 5- 8= -3. success!

Okay, we now know the numbers are a= 5, b= -8: check: (x+ 5)(x- 8)= x2+ (5-8)+ 5(-8)= x2- 3x- 40.
Now we know that x2- 3x- 40= (x+ 5)(x- 8)= 0. Since we also know that if the product of two numbers is 0, at least one of the numbers must be 0 (that is a special property of "0" and does not work if the product is any number except 0), we know that either x+ 5= 0 or x- 8= 0. From the first we see that x= -5 is a solution to the equation, from the other, we know that x= 8 is a solution.

By the way, it might happen that NONE of the integer factors of ab, the constant term in the polynomial, add to the coefficient of x. In that case, it cannot be factored with integer coefficients. Fortunately, for quadratic equations, there are other methods, such as "completing the square" or the "quadratic formula", to solve them.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top