A quadratic function is written as f(x)=ax²+bx+c with a≠0, and those three terms control the parabola’s width, direction, and placement.
If you’ve ever seen a U-shaped graph and wondered what creates that curve, you’re staring at a quadratic function. In algebra class, the question “What Is the Formula for a Quadratic Function?” shows up because that single expression becomes your starting point for graphing, solving, and building models.
This article gives you the standard formula, explains what each part does, then shows how the same function can be rewritten into other forms that make certain jobs easier. You’ll also get a set of step-by-step rewrites you can copy into homework, tests, or real modeling work.
What Makes A Function Quadratic
A function is quadratic when its highest power of x is 2. That’s it. No x³ term, no higher powers hiding in the corner. When the highest exponent is 2, the graph is a parabola: a curve that opens up or down and has a single turning point.
Quadratic functions show up in clean classroom problems (area, revenue, geometry), and also in motion under steady acceleration. You don’t need physics to use the math, yet it helps to know why the shape keeps coming back: squared terms naturally create curves instead of straight lines.
What Is The Formula For A Quadratic Function? In Standard Form
The standard form (also called polynomial form) is:
f(x) = ax² + bx + c, with a ≠ 0
This is the formula most textbooks use first because it’s simple to read and simple to expand into. It also matches the form used in many solving methods, including the quadratic formula for equations.
What The Letters Mean
- a is the coefficient of x². It controls direction (up or down) and how “wide” the parabola looks.
- b is the coefficient of x. It shifts the curve left or right once you account for a.
- c is the constant term. It sets the y-intercept because f(0)=c.
How The Graph Reacts To A, B, And C
Start with the simplest quadratic, f(x)=x². Its vertex sits at (0,0) and it opens upward. Change a, b, or c and you change the same basic curve in a predictable way.
Effect Of A
If a is positive, the parabola opens upward. If a is negative, it opens downward. The size of |a| changes width: larger |a| pulls the arms closer together; smaller |a| spreads them out.
Effect Of C
The constant term c is friendly: it tells you the y-intercept right away. Plug in x=0 and you get f(0)=c.
Effect Of B
b is less “visible” by inspection in standard form, yet it still matters a lot. Together, a and b determine the axis of symmetry, the vertical line that passes through the vertex. That line is:
x = −b / (2a)
Once you know that x-value, you can find the vertex by evaluating the function at it.
Why You See More Than One Form
Standard form is great for expanding and for reading coefficients. Yet other jobs feel smoother in other forms:
- Want the vertex fast? Vertex form puts it right in front of you.
- Want the x-intercepts fast? Factored form shows the roots.
- Want to match a real-world setup? A well-chosen form can make the numbers behave.
All of these are the same function written in different outfits. You can move between them with algebra, and the graph stays the same curve.
Common Forms Of A Quadratic Function Side By Side
The table below collects the forms you’ll meet most often, what they look like, and what they reveal at a glance.
| Form | Looks Like | What You Can Read Fast |
|---|---|---|
| Standard (Polynomial) | f(x)=ax²+bx+c | y-intercept (c), opening (sign of a) |
| Vertex | f(x)=a(x−h)²+k | Vertex (h,k), axis x=h, opening and width (a) |
| Factored | f(x)=a(x−r₁)(x−r₂) | x-intercepts r₁ and r₂ (when real) |
| Completed-Square Step | a[x²+(b/a)x]+c | Sets up the square you’ll complete |
| Shifted From x² | (x−h)²+k (when a=1) | Pure shifts: left/right by h, up/down by k |
| Equation Form | ax²+bx+c=0 | Use solving tools: factoring, completing the square, quadratic formula |
| Intercept With Multiplicity | f(x)=a(x−r)² | Tangent x-intercept at r (double root) |
| General Polynomial (Any Variable) | f(t)=at²+bt+c | Same ideas, different input symbol |
How To Rewrite Standard Form Into Vertex Form
Vertex form is the cleanest way to show the turning point. The goal is to rewrite:
ax²+bx+c
into:
a(x−h)²+k
The work is called completing the square. Here’s the core move, written as a repeatable recipe.
Step-By-Step Method
- Factor a out of the x² and x terms: a[x²+(b/a)x]+c.
- Take half of (b/a), square it, then add and subtract it inside the bracket.
- Rewrite the bracket as a perfect square.
- Distribute a back in, then combine constants to get k.
A Worked Rewrite You Can Copy
Rewrite f(x)=2x²−8x+3 into vertex form.
- Factor 2 from the first two terms: 2[x²−4x]+3.
- Half of −4 is −2. Square it to get 4.
- Add and subtract 4 inside: 2[(x²−4x+4)−4]+3.
- Turn the trinomial into a square: 2[(x−2)²−4]+3.
- Distribute 2: 2(x−2)²−8+3.
- Combine constants: 2(x−2)²−5.
So the vertex form is f(x)=2(x−2)²−5, with vertex (2,−5) and axis x=2.
How To Rewrite Into Factored Form
Factored form shines when you need x-intercepts (roots). If you can factor the quadratic over the real numbers, you can read the intercepts from the factors.
When a=1 and the quadratic factors nicely, you’re looking for two numbers that multiply to c and add to b. That’s the familiar “pair hunt” from algebra class.
Factoring When A Equals 1
Factor x²+5x+6.
- Numbers that multiply to 6 and add to 5 are 2 and 3.
- So x²+5x+6=(x+2)(x+3).
Set f(x)=0 and you get (x+2)(x+3)=0, so x=−2 or x=−3.
Factoring When A Is Not 1
Factoring still works when a≠1, yet it can take a few more moves (grouping is common). OpenStax lays out several approaches and practice problems that match the way many college algebra courses teach it. OpenStax College Algebra: Quadratic equations is a solid, free reference.
Using The Quadratic Formula When Factoring Fails
Some quadratics don’t factor into neat integers. That’s where the quadratic formula earns its spot in every math course. If you have an equation in standard form:
ax²+bx+c=0
then the solutions are:
x = [−b ± √(b²−4ac)] / (2a)
The expression under the square root, b²−4ac, is the discriminant. It tells you how many real x-intercepts the parabola has.
- If b²−4ac > 0, there are two real solutions.
- If b²−4ac = 0, there is one real solution (a double root).
- If b²−4ac < 0, there are no real solutions; the roots are complex.
If you want a guided set of lessons and practice sets on solving and graphing quadratics in multiple forms, Khan Academy’s unit breaks it into bite-size skills. Khan Academy: Quadratic functions and equations is widely used in classrooms.
Quadratic Function Vs Quadratic Equation
A quadratic function gives an output for each input: y=f(x). A quadratic equation sets that output to a value, often 0, and asks for the x-values that make the statement true.
So f(x)=x²−4x+3 is a function. The equation x²−4x+3=0 is a solving task built from the same expression. When you graph the function, the equation f(x)=0 marks where the curve crosses the x-axis. That link is why graphing and solving feel tied together in this topic.
Fast Checks That Catch Most Mistakes
Quadratics are friendly until one sign flip or one missed square knocks the answer off track. These checks take seconds and often save a full rework.
Check 1: Does The Leading Term Match
If you rewrote ax²+bx+c into another form, expand just the first piece and confirm the x² coefficient is still a. If it isn’t, the rewrite went off earlier than you think.
Check 2: Plug In Two Easy X-Values
Pick x=0 and x=1. Compute f(0) and f(1) from both forms. If the outputs match, you likely rewrote correctly.
Check 3: Vertex Location Fits The Axis Rule
From standard form, the axis is x=−b/(2a). From vertex form, the axis is x=h. Those must match for the same function.
Choosing The Best Form For The Job
When you’re under time pressure, the “right” form is the one that makes the next step short and clean. Here’s a simple way to choose.
| Your Goal | Form To Start With | What To Do Next |
|---|---|---|
| Graph quickly with vertex | Vertex form | Plot (h,k), use a to step left/right |
| Find x-intercepts | Factored form | Set each factor to 0 |
| Find y-intercept | Standard form | Read c or evaluate f(0) |
| Find max or min value | Vertex form | Use k as the max/min output |
| Solve any quadratic equation | Standard form | Use quadratic formula when needed |
| Match points from data | Standard or vertex form | Solve for a, b, c (or a, h, k) |
Mini Walkthrough: Building A Quadratic From Three Points
In school, you may get three points and be asked to find the quadratic that fits them. Since ax²+bx+c has three unknowns, three points are enough to solve for a, b, and c.
Say the points are (0,1), (1,2), and (2,5). Write f(x)=ax²+bx+c and plug each x,y pair in:
- At x=0: 1 = a·0 + b·0 + c ⟹ c=1.
- At x=1: 2 = a + b + 1 ⟹ a + b = 1.
- At x=2: 5 = 4a + 2b + 1 ⟹ 4a + 2b = 4 ⟹ 2a + b = 2.
Now solve the two-variable system:
- From a+b=1, b=1−a.
- Plug into 2a+b=2: 2a+(1−a)=2 ⟹ a+1=2 ⟹ a=1.
- Then b=0 and c=1.
So f(x)=x²+1. A quick check: f(2)=4+1=5, which matches the point (2,5).
One-Page Checklist For Quadratic Functions
- Start in standard form: f(x)=ax²+bx+c, a≠0.
- Read the y-intercept from c.
- Find the axis with x=−b/(2a).
- Get the vertex by evaluating f(−b/(2a)).
- Swap to vertex form with completing the square when you need the turning point fast.
- Swap to factored form when roots are the target.
- Use the quadratic formula when factoring is messy or not possible over the integers.
- Verify rewrites by plugging in x=0 and x=1.
Once you can move between forms, quadratics stop feeling like separate tricks. It becomes one object with several clean ways to write it, each one helping with a different job.
References & Sources
- OpenStax.“College Algebra 2e, 2.5 Quadratic Equations.”Explains standard form, factoring, and methods for solving quadratic equations.
- Khan Academy.“Quadratic functions & equations.”Practice lessons on graphing and solving quadratics across standard, vertex, and factored forms.