# Nakafa Learning Content

> For AI agents: use [llms.txt](https://nakafa.com/llms.txt) for the site index. Markdown versions are available by appending `.md` to content URLs or sending `Accept: text/markdown`.

URL: https://nakafa.com/en/subjects/mathematics/quadratic-function/quadratic-equation
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/material/lesson/mathematics/quadratic-function/quadratic-equation/en.mdx

Learn how to solve quadratic equations with factorization, completing the square, and the quadratic formula through examples and practice questions.

---

## What is a Quadratic Equation?

A quadratic equation is a mathematical equation involving a quadratic form. This equation contains a variable with the highest power of $$2$$. The general form of a quadratic equation is:

Visible text: A quadratic equation is a mathematical equation involving a quadratic form. This equation contains a variable with the highest power of . The general form of a quadratic equation is:

```math
ax^2 + bx + c = 0
```

with the condition that $$a \neq 0$$ and $$a, b, c$$ are real numbers.

Visible text: with the condition that and are real numbers.

### Origins of the Term "Quadratic"

The term "quadratic" comes from the Latin word _quadratus_, which means "to make a square." This relates to the geometric interpretation of the form $$x^2$$ which can be viewed as the area of a square with side length $$x$$.

Visible text: The term "quadratic" comes from the Latin word _quadratus_, which means "to make a square." This relates to the geometric interpretation of the form which can be viewed as the area of a square with side length .

## How to Solve Quadratic Equations

Quadratic equations can be solved in various ways. Here are some commonly used methods:

### Factorization

The factorization method involves breaking down the quadratic equation into a product of two linear factors. For example:

Component: MathContainer
Children:

```math
2x^2 - 3x - 2 = 0
```

```math
(2x + 1)(x - 2) = 0
```

From the factored form above, we can get the solutions:

- If $$2x + 1 = 0$$, then $$x = -\frac{1}{2}$$
- If $$x - 2 = 0$$, then $$x = 2$$

Visible text: - If , then 
- If , then

Therefore, the roots of the quadratic equation are $$x = -\frac{1}{2}$$ or $$x = 2$$.

Visible text: Therefore, the roots of the quadratic equation are or .

### Completing the Square

This method involves transforming the quadratic equation into a perfect square form.

Example:

```math
2x^2 - 3x - 2 = 0
```

We divide all terms by $$2$$:

Visible text: We divide all terms by :

```math
x^2 - \frac{3}{2}x - 1 = 0
```

Move the constant to the right side:

```math
x^2 - \frac{3}{2}x = 1
```

Add $$\left(\frac{-3/2}{2}\right)^2 = \frac{9}{16}$$ to both sides:

Visible text: Add to both sides:

Component: MathContainer
Children:

```math
x^2 - \frac{3}{2}x + \frac{9}{16} = 1 + \frac{9}{16}
```

```math
\left(x - \frac{3}{4}\right)^2 = \frac{16 + 9}{16} = \frac{25}{16}
```

```math
\left(x - \frac{3}{4}\right)^2 = \left(\frac{5}{4}\right)^2
```

Therefore:

Component: MathContainer
Children:

```math
x - \frac{3}{4} = \pm \frac{5}{4}
```

```math
x = \frac{3}{4} \pm \frac{5}{4}
```

```math
x = 2 \text{ or} x = -\frac{1}{2}
```

### Using the Quadratic Formula

For the equation $$ax^2 + bx + c = 0$$, the roots can be determined using the formula:

Visible text: For the equation , the roots can be determined using the formula:

```math
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
```

Example:

```math
2x^2 - 3x - 2 = 0
```

With $$a = 2$$, $$b = -3$$, and $$c = -2$$:

Visible text: With , , and :

Component: MathContainer
Children:

```math
x = \frac{-(-3) \pm \sqrt{(-3)^2 - 4(2)(-2)}}{2(2)}
```

```math
x = \frac{3 \pm \sqrt{9 + 16}}{4}
```

```math
x = \frac{3 \pm \sqrt{25}}{4}
```

```math
x = \frac{3 \pm 5}{4}
```

Therefore:

```math
x = \frac{3 + 5}{4} = 2 \text{ or} x = \frac{3 - 5}{4} = -\frac{1}{2}
```

## Formulating Problems as Quadratic Equations

Many real-life problems can be modeled using quadratic equations. Let's explore some examples:

### Reading Room Problem

Four reading corners of the same size are created in a room measuring $$4 \text{ m} \times 6 \text{ m}$$. If each corner is a square with side length $$x \text{ meters}$$, then the remaining area of the room for arranging seats is:

Visible text: Four reading corners of the same size are created in a room measuring . If each corner is a square with side length , then the remaining area of the room for arranging seats is:

Component: MathContainer
Children:

```math
\text{Total area} - \text{Area of four corners}
```

```math
4 \times 6 - 4x^2 = 24 - 4x^2
```

Component: ReadingRoomProblem
Props:
- heightLabel: $$4 \text{ m}$$
- widthLabel: $$6 \text{ m}$$

### Problem of Multiplying Two Numbers

The product of two numbers is $$63$$ and their sum is $$16$$. We can solve this using a quadratic equation.

Visible text: The product of two numbers is and their sum is . We can solve this using a quadratic equation.

Let's say the two numbers are $$p$$ and $$q$$, then:

Visible text: Let's say the two numbers are and , then:

- $$p + q = 16$$, so $$q = 16 - p$$
- $$p \times q = 63$$

Visible text: - , so 
-

Substituting the value of $$q$$:

Visible text: Substituting the value of :

Component: MathContainer
Children:

```math
p(16 - p) = 63
```

```math
16p - p^2 = 63
```

```math
-p^2 + 16p - 63 = 0
```

```math
p^2 - 16p + 63 = 0
```

By factoring this equation or using the quadratic formula, we can find the values of $$p$$ and $$q$$.

Visible text: By factoring this equation or using the quadratic formula, we can find the values of and .

### Vehicle Speed Problem

A vehicle travels a distance of $$320 \text{ km}$$ at a certain speed. If the vehicle travels $$24 \text{ km/h}$$ faster, its travel time is reduced by $$3 \text{ hours}$$. We can find the initial speed using a quadratic equation.

Visible text: A vehicle travels a distance of at a certain speed. If the vehicle travels faster, its travel time is reduced by . We can find the initial speed using a quadratic equation.

Let's say the initial speed is $$v \text{ km/h}$$ and the initial travel time is $$t \text{ hours}$$, then:

Visible text: Let's say the initial speed is and the initial travel time is , then:

- $$v \times t = 320$$ (distance $$=$$ speed $$\times$$ time)
- $$(v + 24) \times (t - 3) = 320$$ (second condition)

Visible text: - (distance speed time)
- (second condition)

From the first equation: $$t = \frac{320}{v}$$

Visible text: From the first equation:

Substituting into the second equation:

```math
(v + 24) \times \left(\frac{320}{v} - 3\right) = 320
```

The solution process will result in a quadratic equation that can be solved to find the value of $$v$$.

Visible text: The solution process will result in a quadratic equation that can be solved to find the value of .

## Common Misconceptions About Quadratic Equations

Some common misconceptions include:

1. Identifying the addition operation $$x + 3$$ as $$3x$$.

   **Concrete example**: If a room's length is $$x \text{ meters}$$, and increases by $$3 \text{ meters}$$, then its length becomes $$(x + 3) \text{ meters}$$, not $$3x \text{ meters}$$.

2. Labeling an equation as a quadratic equation simply because the highest power of the variable $$x$$ is $$2$$, without considering the overall form of the equation.

   Remember that a quadratic equation is a polynomial with the standard form $$ax^2 + bx + c = 0$$ where $$a \neq 0$$.

Visible text: 1. Identifying the addition operation as .

 **Concrete example**: If a room's length is , and increases by , then its length becomes , not .

2. Labeling an equation as a quadratic equation simply because the highest power of the variable is , without considering the overall form of the equation.

 Remember that a quadratic equation is a polynomial with the standard form where .

## Forms of Quadratic Equations

Consider the following forms, which ones are quadratic equations?

1. $$\frac{1}{x} + 2x + 4 = 0$$

   This is not a quadratic equation because it contains the term $$\frac{1}{x}$$.

2. $$\frac{1}{x-5} + \frac{1}{x-3} = x^2 - 4$$

   This is not a quadratic equation in standard form, because it has a fractional form with variables in the denominator.

3. $$3x^2 + 2x - 1 = 0$$

   This is a quadratic equation because it is in the form $$ax^2 + bx + c = 0$$ with $$a = 3 \neq 0$$.

4. $$x^2 + \frac{1}{x} + 3 = 0$$

   This is not a quadratic equation because it contains the term $$\frac{1}{x}$$.

Visible text: 1. 

 This is not a quadratic equation because it contains the term .

2. 

 This is not a quadratic equation in standard form, because it has a fractional form with variables in the denominator.

3. 

 This is a quadratic equation because it is in the form with .

4. 

 This is not a quadratic equation because it contains the term .

## Practice Problems

**Identifying Quadratic Equations**

Determine whether the following mathematical equations are quadratic equations:

1. $$x^3 + x^2 + x = 0$$
2. $$3x^2 + 2x - 1 = 0$$
3. $$\frac{1}{x} + 5x = 0$$
4. $$x^2 + \frac{1}{x} + 3 = 0$$

Visible text: 1. 
2. 
3. 
4.

**Factorization**

Expand the following equations:

1. $$(x + 2)(x + 3) = 0$$
2. $$\left(\frac{1}{3}x - 4\right)(x + 9) = 0$$
3. $$(2x - 8)(x + 5) = 0$$

Visible text: 1. 
2. 
3.

### Answer Key

**Identifying Quadratic Equations**

1. $$x^3 + x^2 + x = 0$$

   **Answer**: Not a quadratic equation, because it has the highest power of $$3$$ ($$x^3$$). This is a cubic equation.

2. $$3x^2 + 2x - 1 = 0$$

   **Answer**: Quadratic equation, because it is in the form $$ax^2 + bx + c = 0$$ with $$a = 3$$, $$b = 2$$, and $$c = -1$$.

3. $$\frac{1}{x} + 5x = 0$$

   **Answer**: Not a quadratic equation, because it contains the term $$\frac{1}{x}$$. This is a fractional equation.

4. $$x^2 + \frac{1}{x} + 3 = 0$$

   **Answer**: Not a quadratic equation, because it contains the term $$\frac{1}{x}$$. This is a mixed equation.

Visible text: 1. 

 **Answer**: Not a quadratic equation, because it has the highest power of (). This is a cubic equation.

2. 

 **Answer**: Quadratic equation, because it is in the form with , , and .

3. 

 **Answer**: Not a quadratic equation, because it contains the term . This is a fractional equation.

4. 

 **Answer**: Not a quadratic equation, because it contains the term . This is a mixed equation.

**Factorization**

1. $$(x + 2)(x + 3) = 0$$

   **Answer**:

   <MathContainer>
     
   
   ```math
   (x + 2)(x + 3) = 0
   ```

     
   
   ```math
   x^2 + 3x + 2x + 6 = 0
   ```

     
   
   ```math
   x^2 + 5x + 6 = 0
   ```

   </MathContainer>

   So, the product of the two factors is $$x^2 + 5x + 6 = 0$$

2. $$\left(\frac{1}{3}x - 4\right)(x + 9) = 0$$

   **Answer**:

   <MathContainer>
     
   
   ```math
   \left(\frac{1}{3}x - 4\right)(x + 9) = 0
   ```

     
   
   ```math
   \frac{1}{3}x \cdot x + \frac{1}{3}x \cdot 9 - 4 \cdot x - 4 \cdot 9 = 0
   ```

     
   
   ```math
   \frac{1}{3}x^2 + 3x - 4x - 36 = 0
   ```

     
   
   ```math
   \frac{1}{3}x^2 - x - 36 = 0
   ```

   </MathContainer>

   Multiply all terms by $$3$$ to simplify:

   <MathContainer>
     
   
   ```math
   x^2 - 3x - 108 = 0
   ```

   </MathContainer>

   So, the product of the two factors is $$x^2 - 3x - 108 = 0$$ or $$\frac{1}{3}x^2 - x - 36 = 0$$

3. $$(2x - 8)(x + 5) = 0$$

   **Answer**:

   <MathContainer>
     
   
   ```math
   (2x - 8)(x + 5) = 0
   ```

     
   
   ```math
   2x \cdot x + 2x \cdot 5 - 8 \cdot x - 8 \cdot 5 = 0
   ```

     
   
   ```math
   2x^2 + 10x - 8x - 40 = 0
   ```

     
   
   ```math
   2x^2 + 2x - 40 = 0
   ```

   </MathContainer>

   Factoring $$2x - 8$$ as $$2(x - 4)$$:

   <MathContainer>
     
   
   ```math
   2(x - 4)(x + 5) = 0
   ```

   </MathContainer>

   So, the product of the two factors is $$2x^2 + 2x - 40 = 0$$

Visible text: 1. 

 **Answer**:

 <MathContainer>
 
 

 
 

 
 

 </MathContainer>

 So, the product of the two factors is 

2. 

 **Answer**:

 <MathContainer>
 
 

 
 

 
 

 
 

 </MathContainer>

 Multiply all terms by to simplify:

 <MathContainer>
 
 

 </MathContainer>

 So, the product of the two factors is or 

3. 

 **Answer**:

 <MathContainer>
 
 

 
 

 
 

 
 

 </MathContainer>

 Factoring as :

 <MathContainer>
 
 

 </MathContainer>

 So, the product of the two factors is

**Solving Quadratic Equations**

Let's solve some equations from the factorization results above:

1. $$x^2 + 5x + 6 = 0$$

   **Answer**:
   Factorization:

   <MathContainer>
     
   
   ```math
   x^2 + 5x + 6 = 0
   ```

     
   
   ```math
   (x + 2)(x + 3) = 0
   ```

   </MathContainer>

   Therefore:

   - If $$x + 2 = 0$$, then $$x = -2$$
   - If $$x + 3 = 0$$, then $$x = -3$$

   The roots of the equation are: $$x = -2$$ or $$x = -3$$

2. $$x^2 - 3x - 108 = 0$$

   **Answer**:
   Using the quadratic formula:

   <MathContainer>
     
   
   ```math
   x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
   ```

     
   
   ```math
   x = \frac{3 \pm \sqrt{9 + 432}}{2}
   ```

     
   
   ```math
   x = \frac{3 \pm \sqrt{441}}{2}
   ```

     
   
   ```math
   x = \frac{3 \pm 21}{2}
   ```

   </MathContainer>

   Therefore:

   - $$x = \frac{3 + 21}{2} = 12$$
   - $$x = \frac{3 - 21}{2} = -9$$

   The roots of the equation are: $$x = 12$$ or $$x = -9$$

   Verification by factorization:

   <MathContainer>
     
     
     ```math
     x^2 - 3x - 108 = 0
     ```

     
     
     ```math
     (x - 12)(x + 9) = 0
     ```

   </MathContainer>

3. $$2x^2 + 2x - 40 = 0$$

   **Answer**:
   Simplify the equation by dividing all terms by $$2$$:

   <MathContainer>
     
   
   ```math
   x^2 + x - 20 = 0
   ```

   </MathContainer>

   Factorization:

   <MathContainer>
     
   
   ```math
   x^2 + x - 20 = 0
   ```

     
   
   ```math
   (x + 5)(x - 4) = 0
   ```

   </MathContainer>

   Therefore:

   - If $$x + 5 = 0$$, then $$x = -5$$
   - If $$x - 4 = 0$$, then $$x = 4$$

   The roots of the equation are: $$x = -5$$ or $$x = 4$$

Visible text: 1. 

 **Answer**:
 Factorization:

 <MathContainer>
 
 

 
 

 </MathContainer>

 Therefore:

 - If , then 
 - If , then 

 The roots of the equation are: or 

2. 

 **Answer**:
 Using the quadratic formula:

 <MathContainer>
 
 

 
 

 
 

 
 

 </MathContainer>

 Therefore:

 - 
 - 

 The roots of the equation are: or 

 Verification by factorization:

 <MathContainer>
 
 

 
 

 </MathContainer>

3. 

 **Answer**:
 Simplify the equation by dividing all terms by :

 <MathContainer>
 
 

 </MathContainer>

 Factorization:

 <MathContainer>
 
 

 
 

 </MathContainer>

 Therefore:

 - If , then 
 - If , then 

 The roots of the equation are: or