How can you simplify the quadratic formula using completing the square?

  • Context: Undergrad 
  • Thread starter Thread starter agentredlum
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
282 replies · 50K views
Guffel said:
Read http://en.wikipedia.org/wiki/Charles_II_of_Spain" and I think you'll cheer up. With heroes like him, and his horizontal family tree, the ancestor paradox is easily explained. :smile:

LOL this is so funny i have to quote some of it.

'He is noted for his extensive physical, intellectual, and emotional disabilities along with his consequent ineffectual rule as well as his role in the developments preceding the War of the Spanish Succession'

'Empress Maria Anna was simultaneously his aunt and grandmother and Margarita of Austria was both his grandmother and great-grandmother.'

'The indolence of the young Charles was indulged to such an extent that at times he was not expected to be clean. When his half-brother Don John of Austria, a natural son of Philip IV, obtained power by exiling the queen mother from court, he covered his nose and insisted that the king at least brush his hair.[3]The only vigorous activity in which Charles is known to have participated was shooting. He occasionally indulged in the sport in the preserves of the Escorial.'

Well, you did it Guffel, you made me happy for a while.:biggrin:

I've heard of Don Juan, but Don John?!?

The history of humanity is one of trial and error, unfortunately, mostly error.:smile::biggrin:
 
Last edited by a moderator:
Physics news on Phys.org
Cool tricks to do math quick

Thanks
 
Four Simple Problems:
1. You have a set of twelve natural numbers[arbitrary natural numbers].Show that a pair can be always located from this set so that their difference is divisible by 5

2. Prove that the following:
[tex]{[}{{n}_{1}}^{35}{+}{{n}_{2}}^{36}{+}{{n}_{3}}^{37}{]}^{35*36*37}[/tex]
where n1,n2 and n3 are natural numbers can be expressed in the form 5n or 5n+1 or 5n-1, where n is a natural number.[It many not be true the other way round]

3. What is the last digit[unit's place] in the sum:

1!+2!+3!+....99!

4. What remainder do you have if 1!+2!+3!+...+2011! is divided by 12
 
Last edited:
Anamitra said:
Four Simple Problems:
1. You have a set of twelve natural numbers[arbitrary natural numbers].Show that a pair can be always located from this set so that their difference is divisible by 5

2. Prove that the following:
[tex]{[}{{n}_{1}}^{35}{+}{{n}_{2}}^{36}{+}{{n}_{3}}^{37}{]}^{35*36*37}[/tex]
where n1,n2 and n3 are natural numbers can be expressed in the form 5n or 5n+1 or 5n-1, where n is a natural number.[It many not be true the other way round]

3. What is the last digit[unit's place] in the sum:

1!+2!+3!+4!+5!+6!+....99!

4. What remainder do you have if 1!+2!+3!+...+2011! is divided by 12

I got #3 pretty quick the answer is 3. The only factorials that contribute to the last digit are 1, 2, 3, 4 since 5! ends in zero all other factorials con tribute zero to the units position.:smile:

It is not too hard to find the next to last digit.
 
Posted by Anamitra

'4. What remainder do you have if 1!+2!+3!+...+2011! is divided by 12'

The last 2 digits of this sum are 13 so when divided by 4 the remainder is 1.
This gaurantees that the above expression must be of the form 12n + 1 or 12n + 5 or 12n + 9
When these are divided by 3 they leave remainder 1, 2, 0
So the best i can do for now is say the sum leaves remainder 1, or 5, or 9
Still working on #4:smile:
 
Anamitra posted

'2. Prove that the following:[tex]{[}{{n}_{1}}^{35}{+}{{n}_{2}}^{36}{+}{{n}_{3}}^{37}{]}^{35*36*37}[/tex]where n1,n2 and n3 are natural numbers can be expressed in the form 5n or 5n+1 or 5n-1, where n is a natural number.[It many not be true the other way round]'

The expression in parenthesis must be of the form 5w, or 5w + 1, or 5w + 2, or 5w + 3, or 5w + 4

The exponent 35*36*37 is even

Carefull consideration of all 5 cases will reveal allowable forms.

(5w)^even is clearly of the form 5n

(5w + 1)^even is clearly of the form 5n + 1 since all terms in the binomial expansion will be multiples of 5 except the last term which will be 1^even or simply 1

(5w + 2)^even is clearly of the form 5n - 1 or 5n + 1 since 2^even ends in 4 or 6 and anything that ends in 4 is of the form 5n - 1, anything that ends in 6 is of the form 5n + 1. Again all terms in the binomial expansion will be multiples of 5 except the last term.

(5w + 3)^even By now it should be obvious that we only need to consider 3^even. This always ends in 9 or 1 and again this is of the form 5n -1 or 5n + 1

(5w + 4)^even Consider 4^even always ends in 6. This is of the form 5n + 1

This completes the proof :smile:
 
agentredlum said:
Posted by Anamitra

'4. What remainder do you have if 1!+2!+3!+...+2011! is divided by 12'

The last 2 digits of this sum are 13 so when divided by 4 the remainder is 1.
This gaurantees that the above expression must be of the form 12n + 1 or 12n + 5 or 12n + 9
When these are divided by 3 they leave remainder 1, 2, 0
So the best i can do for now is say the sum leaves remainder 1, or 5, or 9
Still working on #4:smile:

All you need to know is that 4! = 24 and any larger factorial is a multiple of 4! (e.g. 6! = 6 times 5 times 4!). So only the first three terms are relevant.


While we are on the topic of divisibility: take any three digit number, repeat it to get a six digit number. This number is divisible by 7. Tends to surprise people who haven't seen it before.
 
pwsnafu said:
All you need to know is that 4! = 24 and any larger factorial is a multiple of 4! (e.g. 6! = 6 times 5 times 4!). So only the first three terms are relevant. While we are on the topic of divisibility: take any three digit number, repeat it to get a six digit number. This number is divisible by 7. Tends to surprise people who haven't seen it before.

Oh WOW! why didn't i think of that? So the answer is 9, Thanx pwsnafu!

A*10^5 + B*10^4 + C*10^3 + A*10^2 + B*10 +C=A*10^2(10^3 + 1) + B*10(10^3 + 1) + C(10^3 +1)

(10^3 + 1)(100A +10 B + C) = 1001(100A +10 B + C) = 7*143(100A + 10B + C)

7*11*13(100A +10B + C) So this proves that your example is divisible by 7, 11, 13, 77, 91, and 143 in one proof.

Which completes the proof of your VERY COOL observation. :smile:
 
Last edited:
What pwsnafu has said is correct.In fact agentredlum has been shown diligent efforts with this one[the fourth sum] .All factorials onwards from 4! are divisible by 12. Agentredlum did the third one quite well and I was expecting him and many others, to do the fourth one by the far simpler method which pwsnafu has mentioned just now.Incidentally the second sum[in the set I have given] has an interesting alternative[solution technique].
 
Last edited:
If you take a number N=abcabc ,where a,b c are digits,you may write

N=abc*1000+abc
=abc[1001]
1001 is divisible by 7.
 
Anamitra said:
If you take a number N=abcabc ,where a,b c are digits,you may write

N=abc*1000+abc
=abc[1001]
1001 is divisible by 7.

Oh WOW! Your solution is more elegant.:smile:
 
Regarding sum 2 of post 153:

The square of any number[integral number] can be expressed as 5n or5n+1 or 5n-1

If you square a number the possible last digits[units place] are 0,1,4,6,5 and 9
If the last digit is one or nine the squared number is at a unit's distance from a number ending with zero.
If the squared number ends with 6, it is again at a unit's distance from a number ending with 5.
If the squared number ends with zero or five it is of the form 5n

This result,alternatively, may be established by using Fermat's Theorem
[tex]{N}^{p-1}{-}{1}[/tex] is divisible by p[a prime] if N does not contain p as a factor.

Therefore,
[tex]{N}^{4}{-}{1}[/tex] is a multiple of five[if N does not contain 5]
But
[tex]{N}^{4}{-}{1}{=}{(}{N}^{2}{+}{1}{)}{(}{N}^{2}{-}{1}{)}[/tex]
Hence the result.
 
Problem 1 of Post #153:Solution

The last digit[unit's digit] of any number[natural number] can occur in 10 ways from 0 through 9.We don't have eleven choices for it.
So, if we have eleven or more numbers[say 12 numbers] of we can always locate a pair which have the same value for the last digit.
Take their difference--you have a zero in the unit's place. So it must be divisible by five.
 
Anamitra said:
Problem 1 of Post #153:Solution

The last digit[unit's digit] of any number[natural number] can occur in 10 ways from 0 through 9.We don't have eleven choices for it.
So, if we have eleven or more numbers[say 12 numbers] of we can always locate a pair which have the same value for the last digit.
Take their difference--you have a zero in the unit's place. So it must be divisible by five.

Very nice sir, PLEASE POST MORE!:smile:
 
Here is simple tip for framing your own problems.

You raise a natural number to the fifth power. The digit in the unit's place does not change.
n and n to the power 5 have the same digit in the unit's place.
Therefore expressions like,
[tex]{n}^{5}{-}{n}[/tex] are multiples of 5[and 2 of course]

You can always substitute n by some frightening formula that represents a natural number.
 
Last edited:
Question: find me 10 values for [itex]t\in [0,2\pi[[/itex] such that both cos(t) as sin(t) are rational?
Further question, find me 10 rational values for t such that both cos(t) as sin(t) are rationals.

If you did that question, then this should become not so hard anymore:
Find 10 values for t such that [itex]\sqrt{x^3-2}[/itex] is rational.
 
Last edited:
micromass said:
Question: find me 10 values for [itex]t\in [0,2\pi[[/itex] such that both cos(t) as sin(t) are rational?
Further question, find me 10 rational values for t such that both cos(t) as sin(t) are rationals.

If you did that question, then this should become not so hard anymore:
Find 10 values for t such that [itex]\sqrt{x^3-2}[/itex] is rational.

All pythagorean triples will solve The first half of the first question.

For question 3 do you mean 10 values of x such that sqrt(x^3-2) is rational?

Do you want x rational?

Great questions! :smile:
 
post #166
1. cos(t) and [itex]\sqrt{}1-cos<sup>2</sup>(t)[/itex] are rational if cos(t)=a/c, with c=largest member of a pythagorean triple and a=one of the other members.
t=0, [itex]\pi[/itex], cos-1(3/5), cos-1(4/5), cos-1(5/13), cos-1(12/13), cos-1(8/17), cos-1(15/17), cos-1(12/20), cos-1(7/25), cos-1(24/25)
 
agentredlum said:
All pythagorean triples will solve The first half of the first question.

For question 3 do you mean 10 values of x such that sqrt(x^3-2) is rational?

Do you want x rational?

Great questions! :smile:

Micromass must want x rational. Otherwise it's too easy: Any x such that x^3 is two more than a square works. For example x = cube root of {2, 3, 6, 11, 18, ...}.
 
Last edited:
Anamitra said:
Four Simple Problems:
1. You have a set of twelve natural numbers[arbitrary natural numbers].Show that a pair can be always located from this set so that their difference is divisible by 5

2. Prove that the following:
[tex]{[}{{n}_{1}}^{35}{+}{{n}_{2}}^{36}{+}{{n}_{3}}^{37}{]}^{35*36*37}[/tex]
where n1,n2 and n3 are natural numbers can be expressed in the form 5n or 5n+1 or 5n-1, where n is a natural number.[It many not be true the other way round]

3. What is the last digit[unit's place] in the sum:

1!+2!+3!+....99!

4. What remainder do you have if 1!+2!+3!+...+2011! is divided by 12
1.

If the numbers are a, b, c d, e, f, g, h, i, j, k and l, then

[tex]a \equiv m (mod 5)[/tex]
[tex]b \equiv n (mod 5)[/tex]
[tex]c \equiv o (mod 5)[/tex]
...
[tex]l \equiv x (mod 5)[/tex]

Then the question just requires that the difference between a certain 2 of the set {m, n, o,...,x} is divisible by 5. And we know that the {m, n, o,...,x} are either 0, 1, 2, 3 or 4. To fulfil the premises, two elements of the set {m, n, o,...,x} should be equal. This has to be as we have 12 numbers which is greater than 5.

3. 1!=1 (mod 10)
2!=2 (mod 10)
3!=6 (mod 10)
4!=4 (mod 10)
5!=0 (mod 10)
6!=0 (mod 10)
(I know I should put the congruence sign but I can't find that one on the keyboard :) )

Then all the factorials would have a remainder of 0. 1+2+6+4=13. The last digit of 13 is 3.

4.

1!=1 (mod 12)
2!=2 (mod 12)
3!=6 (mod 12)
4!=0 (mod 12)
5!=0 (mod 12)
...
1+2+6=9

The remainder is 9.
 
What is a rational angle? Please post any expression that represents a rational angle
 
agentredlum said:
All pythagorean triples will solve The first half of the first question.

For question 3 do you mean 10 values of x such that sqrt(x^3-2) is rational?

Do you want x rational?

Great questions! :smile:

Yes, I want x rational :smile:
You solved the first problem by using pythagorean triples, but that wasn't what I had in mind. What I had in mind is to find a formula that generates the pythagorean triples. The method of finding such a formula is useful in finding the rational values x such that [itex]\sqrt{x^3-2}[/itex] is rational.
 
micromass said:
Further question, find me 10 rational values for t such that both cos(t) as sin(t) are rationals.

Not many choices! What an understatement. :-p

Even if you replace "both" with "either" you still won't have many choices!
 
If [tex]{\theta}{,}{cos}{(}{\theta}{)}{,}{sin}{(}{\theta}{)}[/tex] are rational simultaneously,
[tex]{n}\theta{,}{cos}{(}{n}\theta{)}{,}{,}{sin}{(}{n}{\theta}{)}[/tex]
are also rationals provided n is integral.This may not be true for the sub-multiple angles[I have assumed the angle to be in radians]

We can use Pythagorean triplets to generate the rationals sin[theta] and cos[theta] but the problem is to get a rational theta[not equal to zero] corresponding to the ratios of sin and cos.If we get one such set we can get a huge number of valid sets.
If [tex]{tan}{(}\frac{\alpha}{2}{)}{=}\frac{m}{n}[/tex]
Where m/n is a rational[m, n are integers, n not equal to zero]
[tex]{sin}{(}\alpha{)}{=}\frac{2nm}{{m}^{2}{+}{n}^{2}}[/tex]
[tex]{Cos}{(}\alpha{)}{=}\frac{{n}^{2}{-}{m}^{2}}{{m}^{2}{+}{n}^{2}}[/tex]

Here Sin and cos of the angle are rational--but the angle itself may be rational or irrational.
[This method fails to locate a rational theta for rational values of sin and cos]
A relevant link:
http://www.yaroslavvb.com/papers/olmsted-rational.pdf

The link discusses the situation in relation to degrees. May be things are more favorable in terms of radians.
 
Last edited:
From the last post:
If [tex]{\theta}{,}{cos}{(}{\theta}{)}{,}{sin}{(}{\theta}{)}[/tex] are rational simultaneously,
[tex]{n}\theta{,}{cos}{(}{n}\theta{)}{,}{,}{sin}{(}{n}{\theta}{)}[/tex]
are also rationals provided n is integral.This may not be true for the sub-multiple angles[I have assumed the angle to be in radians]Now, if theta=a/b where a and b are integers and n=b we have an integral value a for which
Sin(a) and Cos(a) are rational
 
x[itex]\equiv[/itex]1(mod2)
x[itex]\equiv[/itex]3(mod4)
x[itex]\equiv[/itex]3(mod8)
These are the first 20 solutions.
3,
7483515,
10688219,
11862731,
12268371,
13866203,
14157699,
15058035,
18056043,
18507683,
18786627,
19403251,
20014659,
20412827,
21074339,
21953027,
22411283,
22475523,
23136619,
23207451,
 
cubzar said:
x[itex]\equiv[/itex]1(mod2)
x[itex]\equiv[/itex]3(mod4)
x[itex]\equiv[/itex]3(mod8)
These are the first 20 solutions.
3,
7483515,
10688219,
11862731,
12268371,
13866203,
14157699,
15058035,
18056043,
18507683,
18786627,
19403251,
20014659,
20412827,
21074339,
21953027,
22411283,
22475523,
23136619,
23207451,

3 is the only positive integer solution to x^3 - y^2 = 2

I don't know if micromass is asking for modular solutions.

Great work on generating all those large number solutions!:smile:

My gut tells me there should be rational solutions between integers but my gut has been wrong before...
 
agentredlum said:
My gut tells me there should be rational solutions between integers but my gut has been wrong before...

Well 129/100 and 2340922881/58675600 are both solutions (approximately 1 and 40 respectively). If you are interested they evaluate to 383/1000 and 113259337279/449455096000 respectively.
 
pwsnafu said:
Well 129/100 and 2340922881/58675600 are both solutions (approximately 1 and 40 respectively). If you are interested they evaluate to 383/1000 and 113259337279/449455096000 respectively.

THAT IS FANTASTIC!

I verified 129/100 using a simple calculator (wish i had TI 92)

Did you use a formula? A program? to generate these 2 numbers, the second fraction could not have been easy.

The method i was using would have taken me 30 days to find 129/100, a programmable calculator would do it in 3 hours, maple in 3 minutes, without mistakes.:smile:

To find the second fraction you posted would take me 300 billion years. LOL:smile:
 
Last edited:
You mean http://en.wikipedia.org/wiki/Elliptic_curve#The_group_law" I thought everyone was using it. Just fired up Wolfram Alpha. All I did was start with (3,5) and doubled it, then double the answer.

Come to think of it, I haven't calculated (3,5) + (129/1000, -383/1000). So that's another solution.

Edit: Turns out (3,5) + (129/100, -383/1000) = (164323/29241, -66234835/5000211). There you go.
 
Last edited by a moderator: