# Nakafa Framework: LLM
URL: /en/subject/high-school/10/mathematics/quadratic-function/quadratic-function-construction
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/10/mathematics/quadratic-function/quadratic-function-construction/en.mdx
Output docs content for large language models.
---
import { LineEquation } from "@repo/design-system/components/contents/line-equation";
import { getColor } from "@repo/design-system/lib/color";
export const metadata = {
  title: "Constructing Quadratic Functions",
  description: "Learn to construct quadratic functions using three points, vertex form, roots, and symmetry. Master different methods with step-by-step examples and solutions.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "04/19/2025",
  subject: "Quadratic Functions",
};
## How to Determine Quadratic Function Equations
Constructing a quadratic function means determining the form of the equation  based on given information. There are several different ways to construct a quadratic function, depending on the available information.
## Forms of Quadratic Functions
Before we start constructing quadratic functions, let's understand the three forms of quadratic functions:
1. **Standard Form**: 
2. **Factored Form**:  where p and q are the roots of the equation
3. **Vertex Form**:  where (h, k) is the vertex point
These three forms are interrelated and can be converted from one form to another.
## Methods of Constructing Quadratic Functions
### Three Points
The most common way to construct a quadratic function is by using three known points on the curve.
If we have three points , , and , we can substitute these values into the standard equation to get three linear equations with three variables a, b, and c.
  
  
  
**Example**:
Find the quadratic function that passes through points K(-1, 0), L(0, -3), and M(1, -4).
Substitute the coordinate values into the standard equation.
  
  
  
Simplify these equations.
  
  
  
Substitute  into the first and third equations.
  
  
Simplify and add the two equations to find the value of a.
  
  
  
  
Substitute the value of a into the equation  to find the value of b.
  
  
The resulting quadratic function is:
  
        Graph of 
      >
    }
    description={
      <>
        Parabola passing through points ,{" "}
        , and .
      >
    }
    cameraPosition={[2, 3, 8]}
    data={[
      {
        points: Array.from({ length: 7 }, (_, i) => {
          const x = i - 3; // x values from -3 to 3
          return { x, y: x * x - 2 * x - 3, z: 0 };
        }),
        color: getColor("TEAL"),
        labels: [
          {
            text: "f(x) = x² - 2x - 3",
            at: 5,
            offset: [2, 0.3, 0],
          },
          {
            text: "L(0, -3)",
            at: 3,
            offset: [-1, 0, 0],
          },
          {
            text: "M(1, -4)",
            at: 4,
            offset: [0, -0.5, 0],
          },
          {
            text: "K(-1, 0)",
            at: 2,
            offset: [-1, 0.3, 0],
          },
        ],
      },
    ]}
  />
### Vertex Point
If we know the coordinates of the vertex (h, k) and another point (p, q) on the graph, we can use the vertex form  to find the value of a.
**Example**:
Find the quadratic function that has a vertex at (2, 0) and passes through the point (4, 4).
Use the vertex form  with h = 2 and k = 0.
Substitute the point (4, 4) to find the value of a.
  
  
  
The resulting quadratic function is:
  
        Graph of 
      >
    }
    description={
      <>
        Parabola with vertex at  and passing through
        point .
      >
    }
    cameraPosition={[6, 6, 8]}
    data={[
      {
        points: Array.from({ length: 9 }, (_, i) => {
          const x = i - 1; // x values from -1 to 7
          return { x, y: Math.pow(x - 2, 2), z: 0 };
        }),
        color: getColor("INDIGO"),
        labels: [
          {
            text: "f(x) = (x - 2)²",
            at: 7,
            offset: [0.3, 0.3, 0],
          },
          {
            text: "(2, 0)",
            at: 3,
            offset: [0, 0.3, 0],
          },
          {
            text: "(4, 4)",
            at: 5,
            offset: [0.3, 0.3, 0],
          },
        ],
      },
    ]}
  />
### Equation Roots
If we know the roots (x-intercepts) p and q of the quadratic function, and an additional point (r, s) on the curve, we can use the factored form .
**Example**:
Find the quadratic function that has roots at x = -2 and x = 3, and passes through the point (1, -6).
Use the factored form  with p = -2 and q = 3.
Substitute the point (1, -6) to find the value of a.
  
  
  
  
The resulting quadratic function is:
  
        Graph of 
      >
    }
    description={
      <>
        Parabola with roots at  and{" "}
        , passing through point{" "}
        .
      >
    }
    cameraPosition={[4, 5, 10]}
    data={[
      {
        points: Array.from({ length: 11 }, (_, i) => {
          const x = i - 4; // x values from -4 to 6
          return { x, y: (x + 2) * (x - 3), z: 0 };
        }),
        color: getColor("ORANGE"),
        labels: [
          {
            text: "f(x) = (x + 2)(x - 3)",
            at: 6,
            offset: [3, 0.3, 0],
          },
          {
            text: "(-2, 0)",
            at: 2,
            offset: [0.3, 0.3, 0],
          },
          {
            text: "(3, 0)",
            at: 7,
            offset: [0.3, 0.3, 0],
          },
          {
            text: "(1, -6)",
            at: 5,
            offset: [0.3, -0.3, 0],
          },
        ],
      },
    ]}
  />
### Axis of Symmetry and Discriminant
We can also construct a quadratic function by knowing the axis of symmetry (or the x-coordinate of the vertex) and the value of the discriminant.
**Example**:
Find a quadratic function with axis of symmetry x = 1 and discriminant D = 16.
From the axis of symmetry x = 1, we know that , so .
From the discriminant D = 16, we know that .
Substitute  into the discriminant equation.
  
  
  
  
There are many values of a and c that satisfy this equation. Let's take the simple case with a = 1.
  
  
  
With a = 1, b = -2, and c = -3, the resulting quadratic function is:
### Symmetric Coordinates
We can construct a quadratic function by utilizing the symmetry property of parabolas.
**Example**:
Determine the quadratic function that passes through the points (0, 0), (4, 1), and (-4, 1).
Since the points (4, 1) and (-4, 1) have the same y-value and are at the same distance from the y-axis, the curve is symmetric about the y-axis. This means the axis of symmetry is x = 0, and the vertex is at (0, 0).
Use the vertex form  with h = 0 and k = 0.
Substitute the point (4, 1) to find the value of a.
  
  
  
The resulting quadratic function is:
  
        Graph of 
      >
    }
    description={
      <>
        Parabola passing through points ,{" "}
        , and .
      >
    }
    data={[
      {
        points: Array.from({ length: 13 }, (_, i) => {
          const x = i - 6; // x values from -6 to 6
          return { x, y: (1 / 16) * x * x, z: 0 };
        }),
        color: getColor("TEAL"),
        labels: [
          {
            text: "f(x) = (1/16)x²",
            at: 11,
            offset: [-2, 0.3, 0],
          },
          {
            text: "(0, 0)",
            at: 6,
            offset: [0.3, 0.3, 0],
          },
          {
            text: "(4, 1)",
            at: 10,
            offset: [0.3, 0.3, 0],
          },
          {
            text: "(-4, 1)",
            at: 2,
            offset: [0.3, 0.3, 0],
          },
        ],
      },
    ]}
  />
## Transformations Between Quadratic Function Forms
### Standard Form to Vertex Form
To convert  to vertex form :
1. Determine the x-coordinate of the vertex: 
2. Calculate the function value at the vertex: 
3. Or use the formula: 
### Standard Form to Factored Form
To convert  to factored form :
1. Determine the roots of the equation  using the formula:
   
2. If the roots are p and q, then:
   
### Factored Form to Standard Form
To convert  to standard form :
  
  
  
  
By comparing with the standard form, we get:
- 
- 
## Exercises and Solutions
### Exercise 1
Find the quadratic function that passes through the points (-2, 4), (1, -5), and (3, 7).
**Answer**:
Substitute the points into the standard equation:
  
  
  
From the second equation, .
Substitute into the first equation, then solve:
  
  
  
  
Substitute into the third equation:
  
  
  
Then:
  
  
Therefore, the quadratic function is:
### Exercise 2
Determine the quadratic function that has a vertex at (-1, 4) and passes through the point (2, -5).
**Answer**:
Use the vertex form with h = -1 and k = 4:
Substitute the point (2, -5):
  
  
  
  
Therefore, the quadratic function is:
### Exercise 3
Determine the quadratic function that has roots at x = -3 and x = 2, and has a maximum value of 4.
**Answer**:
Use the factored form with p = -3 and q = 2:
Since the function has a maximum value, .
The vertex is at .
Substitute x = -1/2 into the factored form and use the fact that the maximum value is 4:
  
  
Therefore, the quadratic function is: