Formula for Xo and Yo for graph of quadratic function

AI Thread Summary
The discussion focuses on converting the quadratic function f(x) = ax^2 + bx + c into the vertex form f(x) = a(X - X0)^2 + Y0 using the method of completing the square. The user questions a potential error in their textbook regarding the squaring of (b/2a), specifically whether it should be b^2/4a^2 instead of b^2/4a. The response clarifies that the factor of 'a' has been correctly accounted for in the textbook's derivation, leading to the expression b^2/4a. This misunderstanding highlights the importance of tracking factors during algebraic manipulations. The conversation concludes with the user expressing gratitude for the clarification.
Callmelucky
Messages
144
Reaction score
30
Homework Statement
Shouldn't it be ##\frac{b^{2}}{4a^{2}}## after raising (b/2a) to power of 2?
Relevant Equations
f(x)= ax^2 + bx + c, f(x)=a(X-Xo)^2 + Yo
Can someone please tell me where I am wrong. I am learning how to write ##a^{2} + bx + c## in this form ##f(x)= a(X-X_0)^{2} +Y_0##.
The method used in my textbook is a reduction to the perfect square. And it goes like this:

##f(x)=ax^2+bx+c##
##=a[x^2+\frac{b}{a}x]+c##
##=a\left [ x^2+\frac{b}{a}x+\left ( \frac{b}{2a} \right )^2-\left ( \frac{b}{2a} \right )^2 \right ]+c##
##=a\left ( x+\frac{b}{2a} \right )^2 -\frac{b^2}{4a}+c##
##f(x)=a\left ( x+\frac{b}{2a} \right )^2 + \frac{4ac-b^2}{4a}##

Now my question is shouldn't in the last two steps after squaring ##\frac{b}{2a}## be ##\frac{b^2}{4a^2}## and not ##\frac{b^2}{4a}## as it is written in my textbook, I have also checked on the internet but the answer is the same, although I couldn't find why.

Thank you.
 
Last edited by a moderator:
Physics news on Phys.org
You have forgotten to account for the factor of ##a## on the far left. So, ignoring the other terms you get ##a[... -(\frac{b^2}{4a^2})]... = ... -(\frac{b^2}{4a}) ...##
 
  • Like
Likes WWGD, SammyS, Callmelucky and 1 other person
DaveE said:
You have forgotten to account for the factor of ##a## on the far left. So, ignoring the other terms you get ##a[... -(\frac{b^2}{4a^2})]... = ... -(\frac{b^2}{4a}) ...##
oh, yeah. Thank you.
 
  • Like
Likes WWGD and DaveE
Back
Top