# Nakafa Framework: LLM
URL: /en/subject/high-school/10/mathematics/quadratic-function/quadratic-equation-formula
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/10/mathematics/quadratic-function/quadratic-equation-formula/en.mdx
Output docs content for large language models.
---
export const metadata = {
  title: "Quadratic Formula",
  description: "Master the quadratic formula to solve any ax²+bx+c=0 equation. Learn step-by-step derivation, understand the discriminant, and apply to real-world problems.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "04/19/2025",
  subject: "Quadratic Functions",
};
## What is the Quadratic Formula?
A quadratic equation is an equation in the form  where , where:
-  is the coefficient of 
-  is the coefficient of 
-  is the constant term
To solve a quadratic equation , we can use the formula:
This formula will give us two values of  which are the roots of the quadratic equation:
-  (using the plus sign)
-  (using the minus sign)
The part  is called the discriminant and determines the nature of the roots:
- If : Two distinct real roots
- If : One real root (a repeated root)
- If : No real roots
## Deriving the Quadratic Formula
The quadratic formula can be derived from the method of completing the square. Let's see how:
Starting with the standard form of a quadratic equation:
**Step 1**: Divide all terms by  (the coefficient of ):
**Step 2**: Move the constant term to the right side:
**Step 3**: Add the square of half the coefficient of  to both sides:
**Step 4**: The left side now forms a perfect square:
**Step 5**: Simplify the right side:
**Step 6**: Take the square root of both sides:
**Step 7**: Solve for :
Thus, we obtain the quadratic formula:
### Using the Quadratic Formula
To solve a quadratic equation using the formula, follow these steps:
1. Make sure the quadratic equation is in standard form 
2. Identify the values of , , and 
3. Substitute these values into the formula 
4. Calculate the values of  to find the roots of the equation
### Examples
**Example 1:** Solve the equation 
Identify the values: , , and 
Substitute into the formula:
For , take the positive sign:
For , take the negative sign:
Therefore, the roots of the equation are  and 
**Example 2:** Solve the equation 
Identify the values: , , and 
Substitute into the formula:
For , take the positive sign:
For , take the negative sign:
Therefore, the roots of the equation are  and 
## The Discriminant of a Quadratic Equation
The expression  in the quadratic formula is called the discriminant, often denoted by  or .
The discriminant provides information about the nature of the roots of a quadratic equation:
- If : The equation has two distinct real roots
- If : The equation has one real root (a repeated root)
- If : The equation has no real roots (the roots are complex numbers)
## Relationship Between Roots and Coefficients
If  and  are the roots of the quadratic equation , then:
1. Sum of the roots: 
2. Product of the roots: 
### Proving the Relationships
From the quadratic formula, we know that:
Adding the roots:
Multiplying the roots:
## Creating New Quadratic Equations from Known Roots
If we know the roots of a quadratic equation, we can create a new quadratic equation. Suppose  and  are the roots of a quadratic equation, then the equation is:
Or in standard form:
### Application Examples
1. The quadratic equation  has roots  and .
   Find the quadratic equation with roots  and .
   **Step 1**: Find the values of  and 
   
     
     
   
   **Step 2**: Calculate the sum and product of the new roots
   
     
     
   
   **Step 3**: Create the new quadratic equation
   
     
     
   
2. The quadratic equation  has roots  and .
   Find the quadratic equation with roots  and .
   **Step 1**: Find the values of  and 
   
     
     
   
   **Step 2**: Calculate the sum and product of the new roots
   
     
     
   
   **Step 3**: Create the new quadratic equation
   
## Practice Problems
Solve the following quadratic equations using the quadratic formula:
1. 
2. 
3. 
4. 
5. 
### Answer Key
1. Solution to the quadratic equation 
   Identify: , , 
   
     
     
     
     
   
   For :
   
   For :
   
   Therefore, the roots of the equation are  and .
2. Solution to the quadratic equation 
   Identify: , , 
   
     
     
     
     
     
   
   For :
   
   For :
   
   Therefore, the roots of the equation are  and .
3. Solution to the quadratic equation 
   Identify: , , 
   
     
     
     
     
   
   Since the discriminant , the equation has one root (a repeated root).
   Therefore, the root of the equation is .
4. Solution to the quadratic equation 
   Identify: , , 
   
     
     
     
     
   
   For :
   
   For :
   
   Therefore, the roots of the equation are  and .
5. Solution to the quadratic equation 
   Identify: , , 
   
     
     
     
     
     
   
   For :
   
   For :
   
   Therefore, the roots of the equation are  and .