Skip to ContentGo to accessibility page
Algebra 1

8.9.3 Writing an Equation to Represent a Quadratic Function with Only One Solution

Algebra 18.9.3 Writing an Equation to Represent a Quadratic Function with Only One Solution

8.9.3 Writing an Equation to Represent a Quadratic Function with Only One Solution

8.9.3 • Writing an Equation to Represent a Quadratic Function with Only One Solution

Activity

In previous lessons, we saw that a quadratic equation can have zero, one, or two solutions.

1.

Sketch graphs that represent three quadratic functions: one that has no zeros, one with one zero, and one with two zeros.

2.

Graph the function defined by f ( x ) = x 2 − 2 x + 1 f ( x ) = x 2 − 2 x + 1 . Examine the x x -intercepts of the graph.

Use the Desmos graphing tool or technology outside the course.

Explain what the x x -intercepts reveal about the function.

3.

Solve x 2 − 2 x + 1 = 0 x 2 − 2 x + 1 = 0 by using the factored form and zero product property. What solutions do you get?

4.

Try to find another quadratic function that you think will only have one zero.

Use the Desmos graphing tool or technology outside the course.

Graph it to check your prediction, then enter your final answer.

Video: Quadratic Equations with Only One Solution

Watch the following video to learn more about writing an equation to represent a quadratic function with only one solution.

8.9.3

Self Check

Without graphing, identify the function whose graph has only one zero.
  1. f ( x ) = x 2 + 2 x − 15
  2. f ( x ) = x 2 − 14 x + 49
  3. f ( x ) = x 2 − 1
  4. f ( x ) = x 2 − 7 x − 18

Additional Resources

Writing an Equation to Represent a Quadratic Function with Only One Solution

Identifying the Number of Zeros

How many zeros does the graph of the function f ( x ) = x 2 + 5 x − 14 f ( x ) = x 2 + 5 x − 14 have? How can you find out without graphing the function?

Let's find the factored form of the function and solve it.

Step 1 - Set the function equal to 0.

x 2 + 5 x − 14 = 0 x 2 + 5 x − 14 = 0

Step 2 - Find the factored form.

( x + 7 ) ( x − 2 ) = 0 ( x + 7 ) ( x − 2 ) = 0

Step 3 - Set each factor equal to 0 and solve.

x = − 7 x = − 7 and x = 2 x = 2

Since there are two solutions, we know that the function f ( x ) = x 2 + 5 x − 14 f ( x ) = x 2 + 5 x − 14 will have zeros at x = − 7 x = − 7 and x = 2 x = 2 .

In other words, the x x -intercepts of the function are ( − 7 , 0 ) ( − 7 , 0 ) and ( 2 , 0 ) ( 2 , 0 ) .

For any function, the number of solutions is equal to the number of zeros when graphed.

Writing an Equation to Represent a Quadratic Function with One Solution

We can also find a quadratic function if we know the zeros. For example, if we want to write a quadratic function that has one zero or one solution, we can start with a factored form of the function representing one zero or solution.

Any factored form of a function with a factor that repeats itself, such as ( x − 3 ) ( x − 3 ) ( x − 3 ) ( x − 3 ) , has only one solution or one zero.

We can graph the function f ( x ) = ( x − 3 ) ( x − 3 ) f ( x ) = ( x − 3 ) ( x − 3 ) to check our prediction.

We know the solution is x = 3 x = 3 . Let's rewrite the function in standard form.

Factored form:

f ( x ) = ( x − 3 ) ( x − 3 ) f ( x ) = ( x − 3 ) ( x − 3 )

Multiply to find standard form:

f ( x ) = x 2 − 6 x + 9 f ( x ) = x 2 − 6 x + 9

Now, we graph the function f ( x ) = x 2 − 6 x + 9 f ( x ) = x 2 − 6 x + 9 .

The graph of the function has one zero at x = 3 x = 3 . The x x -intercept of the function is ( 3 , 0 ) ( 3 , 0 ) . The equation is said to have a double root at this point.

So, our prediction was correct.

Try it

Writing an Equation to Represent a Quadratic Function with Only One Solution

1.

Write a quadratic function in standard form whose graph has two zeros.

2.

Write a quadratic function in standard form whose graph has one zero.

Citation/Attribution
Reuse and redistribution of this content in digital or print format:
  • This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's prior written permission.
  • This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License, which means that you can reuse and modify the material only for noncommercial purposes, must attribute OpenStax, and must distribute any derivative works under the same license.
  • Any commercial printing of this textbook, including using a local or custom printer, must be approved by OpenStax, and proper citation provided.
  • OpenStax-copyrighted images, activities, assessments, and similar components of this book are subject to the same licensing – CC-BY-NC-SA. They can be used for noncommercial purposes with attribution. Commercial use requires permission.
  • Permission requests: Anyone who intends to incorporate this content (including text, images, and other components) into large language models, use it in AI offerings, use it commercially (including in print), and/or has questions about another use case is welcome to complete our reuse request form.
Attribution information
  • If you are redistributing all or part of this book in a noncommercial print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a noncommercial digital format, then for every page that includes OpenStax content, you must license the derivative work under the same CC-BY-NC-SA license as the original, and include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

The information below includes the information needed to generate citations in most major styles (APA, MLA, etc.); you must reformat and organize the information as needed to fit the requirements of the style. Use the information below to generate a citation. We recommend using a citation tool such as this one.

© Apr 23, 2026 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo, and Rice University name, and Rice University logo trademarks, or wordmarks are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.