Advanced Math/equation

Advertisement


Question
for all values of x

x2 + 6x + 4 = (4 + p)2 + q

find the values of p and q

thanks a lot, mate

Answer
Hi Adam,

By your question, I am assuming you mean:
x^2 + 6x + 4 = (4+p)^2 + q, where the ^2 means squared.

This question basically asks you to "Complete the Square".

Using the completing the square formula:
x^2 + 6x + 4 = 0
x^2 + 6x = -4
x^2 + 6x + 9 -9 = -4     ***
x^2 + 6x + 9 = 5
(x+3)^2 = 5              ***
(x+3)^2 - 5 = 0

So x^2 + 6x +4 = (x+3)^2 - 5. In other words, p=3 and q=-5.

The most important steps of completing the square is starred. The +9 and -9 equaled 0 and add nothing to the equation. I chose 9 because it's (6/2)^2. And because I chose 9, the equation factors easily into (x+3)^2.

See if you can complete the square for this problem:
x^2 + 10x + 10

The answer is (x+5)^2 - 15.

For more information on completing the square:
http://www.sosmath.com/algebra/quadraticeq/complsquare/complsquare.html

I hope this helps,

~ Jack

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Jack Cheng

Expertise

I can answer most questions in Math up to single-variable Calculus, including infinite series. I like to think very much, so questions with a lot of twists and turns are highly welcomed! Mathematical questions related to computer science are also highly welcomed! I can also answer some basic questions in discrete mathematics (logics, sets, some algorithms, basic number theory). I am also studying physics (mechanics in particluar), so I am willing to answer some questions relating to it.

Experience

Majoring in Mathematics.

Education/Credentials
I am sophomore/junior status in college working towards bachelor's degrees in Computer Science and Mathematics.

©2012 About.com, a part of The New York Times Company. All rights reserved.