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

  • Context: Undergrad 
  • Thread starter Thread starter agentredlum
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around various mathematical tricks and concepts, with a particular focus on the quadratic formula and methods such as completing the square. Participants share different approaches, proofs, and integrals, while also exploring related topics like imaginary numbers and fractional calculus.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a derivation of the quadratic formula using completing the square, highlighting its advantages over the traditional form.
  • Another participant challenges the validity of the presented formula, suggesting that it does not hold for all quadratic expressions and proposes the standard form instead.
  • There are discussions about the properties of integrals involving arctangent and complex numbers, with participants questioning the correctness of certain steps and results.
  • Some participants introduce concepts from fractional calculus, discussing the nth derivative of polynomials and its implications.
  • Several participants express interest in visual representations of mathematical concepts, requesting images or pictures to aid understanding.

Areas of Agreement / Disagreement

Participants express differing views on the validity of the quadratic formula derived through completing the square, with some asserting it does not apply universally. There is also contention regarding the treatment of complex integrals and their results. Overall, multiple competing views remain without consensus.

Contextual Notes

Some discussions involve unresolved mathematical steps, particularly in the context of complex integrals and the behavior of derivatives in fractional calculus. The limitations of certain approaches are acknowledged but not resolved.

Who May Find This Useful

Readers interested in mathematical tricks, proofs, and advanced calculus concepts may find the discussions and shared insights beneficial.

agentredlum
Messages
484
Reaction score
0
I would like to have this thread dedicated to showing math tricks from all areas of mathematics. Hopefully the title has aroused your interest and you have an interesting trick you would like to share with everyone. Let me start by showing one of my favorite tricks, perhaps something that has not occurred to many of you?

Start with a general quadratic, do not set it equal to zero, set it equal to bx+c

ax^2 = bx + c

multiply everything by 4a

4(ax)^2 = 4abx + 4ac

subtract 4abx from both sides

4(ax)^2 - 4abx = 4ac

add b^2 to both sides

4(ax)^2 - 4abx + b^2 = b^2 + 4ac

factor the left hand side

(2ax - b)^2 = b^2 + 4ac

take square roots of both sides

2ax - b = +-sqrt(b^2 + 4ac)

add b to both sides

2ax = b +-sqrt(b^2 + 4ac)

divide by 2a, a NOT zero

x = [b +- sqrt(b^2 + 4ac)]/(2a)

This quadratic formula works perfectly fine for quadratic equations, just make sure you isolate the ax^2 term BEFORE you identify a, b, and c

1) Notice that this version has 2 less minus signs than the more popular version
2) The division in the derivation is done AT THE LAST STEP instead of at the first step in the more popular derivation, avoiding 'messy' fractions.
3) In this derivation there was no need to split numerator and denominator into separate radicals
4) Writing a program using this version, instead of the more popular version, requires less memory since there are less 'objects' the program needs to keep track of. (Zero is absent, 2 less minus symbols)

I hope you find this interesting and i look forward to seeing your tricks.

The method of completing the square... multiplying by 4a and adding b^2 i learned from NIVEN AND ZUCKERMAN in their book ELEMENTARY NUMBER THEORY however it was an example they used on a congruence, they did not apply it to the quadratic formula.
 
Physics news on Phys.org
Well...no one is posting any tricks, that's sad. I'll post another trick, hope it motivates some of you.

What is i^i and how to show what it is.

This trick uses Eulers famous identity...e^(ix) = cos(x) + isin(x)

Notice that when x = pi/2

e^(ipi/2) = cos(pi/2) + isin(pi/2)

cos(pi/2) = 0 and sin(pi/2) = 1

e^(ipi/2) = i

Now use this for the base in i^i, don't use it for the exponent

[e^(ipi/2)]^i

When you raise a base with an exponent to another exponent, you multiply the exponents

(ipi/2)*i = -pi/2 since i*i = -1

Therefore i^i = e^(-pi/2)

This is a real number! What an AMAZING result, an imaginary base to an imaginary power can be real.
 
\int_0^x darctanx=\int_0^x \frac{dx}{x^2+1}=\int_0^x \frac{i}{2(x-i)} - \frac{i}{2(x+i)} dx = \frac{i}{2} ln \left( \frac{x-i}{x+i} \right) \Rightarrow \forall x \in \Re, \: arctanx = \frac{i}{2}ln \left( \frac{x-i}{x+i} \right)
 
Last edited:
TylerH said:
\int darctanx=\int \frac{dx}{x^2+1}=\int \frac{i}{2(x-i)} - \frac{i}{2(x+i)} dx = \frac{iln \left( \frac{x-i}{x+i} \right)}{2}

My browser did not decode so i can't see it...too bad. Can you rewrite it using normal keyboard symbols?

Sorry for the trouble, thanks for posting.
 
Here's a picture.
 

Attachments

  • snapshot1.png
    snapshot1.png
    5.8 KB · Views: 683
TylerH said:
Here's a picture.

VERY NICE! I like it a lot! POST MORE PLEASE! THANK YOU!
 
Dude your formula does not hold good for all quadratic expressions. Instead use
x= -b+(b^2-4ac)^1/2 or x= -b-(b^2-4ac)^1/2
 
TejasB said:
Dude your formula does not hold good for all quadratic expressions. Instead use
x= -b+(b^2-4ac)^1/2 or x= -b-(b^2-4ac)^1/2

give me an example where it fails please, thanks for posting
 
agentredlum said:
VERY NICE! I like it a lot! POST MORE PLEASE! THANK YOU!

Wait a minute TylerH, you got the order wrong, change signs in both denominators, then it works.
 
  • #10
TylerH said:
\int_0^x darctanx=\int_0^x \frac{dx}{x^2+1}=\int_0^x \frac{i}{2(x-i)} - \frac{i}{2(x+i)} dx = \frac{i}{2} ln \left( \frac{x-i}{x+i} \right) \Rightarrow \forall x \in \Re, \: arctanx = \frac{i}{2}ln \left( \frac{x-i}{x+i} \right)

Did you remember to write this as a DEFINITE integral? Because something tells me that 1/2 ln(-1) is not zero.
 
  • #11
Char. Limit said:
Did you remember to write this as a DEFINITE integral? Because something tells me that 1/2 ln(-1) is not zero.

What should it be? Wikipedia says it's correct.
 
  • #12
Oh. All right then.
 
  • #13
No, Char is correct. The formula certainly doesn't hold in 0. So there must be some mistake somewhere. (The mistake being that complex integrals do not behave in the way you're describing)

The wikipedia is correct though.
 
Last edited:
  • #14
I just now noticed they're different. I must have been reading it as what I expected to be there. :)
 
  • #15
agentredlum said:
This is a real number! What an AMAZING result, an imaginary base to an imaginary power can be real.

Theorem: There exists 2 irrational numbers, a and b, such that ab is rational.

Proof: Consider sqrt{2}sqrt{2}. If this number is rational we are done. Suppose not. Define a=sqrt{2}sqrt{2} and b=sqrt{2}. Then ab = (sqrt{2}sqrt{2})sqrt{2} = sqrt{2}2 = 2, completing the proof.
 
  • #16
pwsnafu said:
Theorem: There exists 2 irrational numbers, a and b, such that ab is rational.

Proof: Consider sqrt{2}sqrt{2}. If this number is rational we are done. Suppose not. Define a=sqrt{2}sqrt{2} and b=sqrt{2}. Then ab = (sqrt{2}sqrt{2})sqrt{2} = sqrt{2}2 = 2, completing the proof.

Can you send a picture of the proof the way TylerH did above? My browser does not decode TeX sorry. Thanks for posting. POST MORE PLEASE!
 
  • #17
Char. Limit said:
Did you remember to write this as a DEFINITE integral? Because something tells me that 1/2 ln(-1) is not zero.

e^x = -1 is no problem...this is FAMOUS ...x=ipi

e^(ipi) = -1 so ln(-1) = ipi

Put ln(-1) in TI89 calculator in COMPLEX mode

:biggrin: :cool:
 
  • #18
TylerH said:
I just now noticed they're different. I must have been reading it as what I expected to be there. :)

You can edit your post. Go back and change signs. When it asks you for a reason, write wrong numbers.
:biggrin:
 
  • #19
micromass said:
No, Char is correct. The formula certainly doesn't hold in 0. So there must be some mistake somewhere. (The mistake being that complex integrals do not behave in the way you're describing)

The wikipedia is correct though.

HELLO MICROMASS:smile:

The integral is the area under the curve 1/(x^2 + 1)

This is defined for all real numbers. z is a 'dummy' variable of integration and is replaced by x when the definite integral is computed.

So the trick works for all real numbers x.
 
  • #20
All right, here's a simple trick, i hope I'm not the only one who finds this interesting...

Consider the matrix

[0 1]
[1 1]

Powers of this matrix generate 3 Fibbonacci numbers. The nth power generates F(n-1), F(n), F(n+1)

Example, when n=4 it generates 2,3,5 which are the 3rd, 4th and 5th Fibbonacci numbers, cool huh?
 
Last edited:
  • #21
Not really a trick, but something to think about if you've never heard of fractional calculus:

for a general polynomial of the form x^{k}

the nth derivative is given by the formula

\frac{d^{n}(x^{k})}{dx^{n}}= \frac{k!x^{k-n}}{(k-n)!}

Selecting n = 1/2, gives

\frac{d^{1/2}(x^{k})}{dx^{1/2}}= \frac{k!x^{k-1/2}}{(k-1/2)!}

Applying another derivative with n=1/2 gives

\frac{d^{1/2}\frac{(k!x^{k-1/2})}{(k-1/2)!}}{dx^{1/2}}= \frac{k!(k-1/2)!x^{k-1}}{(k-1/2)!(k-1)!} = \frac{k!x^{k-1}}{(k-1)!}

which is the same as letting n=1 and doing a standard derivative.
 
  • #22
WOW! I never heard of fractional calculus but i googled it and it is a legitimate subject. Thank you for the post. PLEASE POST MORE!

Can you please post the calculation as a picture? My browser does not decode TeX and I would love to follow the calculation.

Thanx again
 
  • #24
came in here expecting 1+1 = 11
saw posts
everything went better than expect :D
 
  • #25
amd123 said:
came in here expecting 1+1 = 11
saw posts
everything went better than expect :D

Thank you. I invite you to post a trick. Any trick you find interesting, or something not well known like HALF derivatives. :smile:
 
  • #26
amd123 said:
came in here expecting 1+1 = 11
saw posts
everything went better than expect :D

1+1=11 in base 1. :-p
 
  • #27
TylerH said:
1+1=11 in base 1. :-p

YOU'RE RIGHT! COOL OBSERVATION!:cool:

1 + 1 = 110 in base 1 also or 101 or 1001 or 1000...01

or any combination that starts with 1 and has just one more 1 anywhere and all other digits 0
:smile:
 
Last edited:
  • #28
agentredlum said:
YOU'RE RIGHT! COOL OBSERVATION!:cool:

1 + 1 = 110 in base 1 also or 101 or 1001 or 1000...01

or any combination that starts with 1 and has just one more 1 anywhere and all other digits 0
:smile:

Also, 1+1+1=111 in base 1.
 
  • #29
agentredlum said:
YOU'RE RIGHT! COOL OBSERVATION!:cool:

1 + 1 = 110 in base 1 also or 101 or 1001 or 1000...01

or any combination that starts with 1 and has just one more 1 anywhere and all other digits 0
:smile:

Wait a minute. Would base 1 allow us to use the digit 1? Base 2 does not allow 2, base 3 does not allow 3, etc.

Base 0 would put us in the uncomfortable position of having to calculate 0^0 in the left-most position.
:-p
 
  • #30
agentredlum said:
Wait a minute. Would base 1 allow us to use the digit 1? Base 2 does not allow 2, base 3 does not allow 3, etc.

Base 0 would put us in the uncomfortable position of having to calculate 0^0 in the left-most position.
:-p

Basically, Base 1 only allows one digit: 1. Base 2 allows 1 and 0. That's why 1+1+1=111 in base 1... actually, 1+1+1...+1 = 111...1 in base 1.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
10K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
1
Views
10K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K