• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Grade 10
    • Grade 11
    • Grade 12
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Quadratic Functions

Quadratic Formula

What is the Quadratic Formula?

A quadratic equation is an equation in the form ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0 where a≠0a \neq 0a=0, where:

  • aaa is the coefficient of x2x^2x2
  • bbb is the coefficient of xxx
  • ccc is the constant term

To solve a quadratic equation ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0, we can use the formula:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}x=2a−b±b2−4ac​​

This formula will give us two values of xxx which are the roots of the quadratic equation:

  • x1=−b+b2−4ac2ax_1 = \frac{-b + \sqrt{b^2 - 4ac}}{2a}x1​=2a−b+b2−4ac​​ (using the plus sign)
  • x2=−b−b2−4ac2ax_2 = \frac{-b - \sqrt{b^2 - 4ac}}{2a}x2​=2a−b−b2−4ac​​ (using the minus sign)

The part b2−4acb^2 - 4acb2−4ac is called the discriminant and determines the nature of the roots:

  • If b2−4ac>0b^2 - 4ac > 0b2−4ac>0: Two distinct real roots
  • If b2−4ac=0b^2 - 4ac = 0b2−4ac=0: One real root (a repeated root)
  • If b2−4ac<0b^2 - 4ac < 0b2−4ac<0: 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:

ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0

Step 1: Divide all terms by aaa (the coefficient of x2x^2x2):

x2+bax+ca=0x^2 + \frac{b}{a}x + \frac{c}{a} = 0x2+ab​x+ac​=0

Step 2: Move the constant term to the right side:

x2+bax=−cax^2 + \frac{b}{a}x = -\frac{c}{a}x2+ab​x=−ac​

Step 3: Add the square of half the coefficient of xxx to both sides:

x2+bax+b24a2=−ca+b24a2x^2 + \frac{b}{a}x + \frac{b^2}{4a^2} = -\frac{c}{a} + \frac{b^2}{4a^2}x2+ab​x+4a2b2​=−ac​+4a2b2​

Step 4: The left side now forms a perfect square:

(x+b2a)2=b24a2−ca\left(x + \frac{b}{2a}\right)^2 = \frac{b^2}{4a^2} - \frac{c}{a}(x+2ab​)2=4a2b2​−ac​

Step 5: Simplify the right side:

(x+b2a)2=b2−4ac4a2\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}(x+2ab​)2=4a2b2−4ac​

Step 6: Take the square root of both sides:

x+b2a=±b2−4ac2ax + \frac{b}{2a} = \pm\frac{\sqrt{b^2 - 4ac}}{2a}x+2ab​=±2ab2−4ac​​

Step 7: Solve for xxx:

x=−b2a±b2−4ac2a=−b±b2−4ac2ax = -\frac{b}{2a} \pm \frac{\sqrt{b^2 - 4ac}}{2a} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}x=−2ab​±2ab2−4ac​​=2a−b±b2−4ac​​

Thus, we obtain the quadratic formula:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}x=2a−b±b2−4ac​​

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 ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0
  2. Identify the values of aaa, bbb, and ccc
  3. Substitute these values into the formula x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}x=2a−b±b2−4ac​​
  4. Calculate the values of xxx to find the roots of the equation

Examples

Example 1: Solve the equation x2+5x+6=0x^2 + 5x + 6 = 0x2+5x+6=0

Identify the values: a=1a = 1a=1, b=5b = 5b=5, and c=6c = 6c=6

Substitute into the formula:

x=−5±52−4⋅1⋅62⋅1=−5±25−242=−5±12=−5±12x = \frac{-5 \pm \sqrt{5^2 - 4 \cdot 1 \cdot 6}}{2 \cdot 1} = \frac{-5 \pm \sqrt{25 - 24}}{2} = \frac{-5 \pm \sqrt{1}}{2} = \frac{-5 \pm 1}{2}x=2⋅1−5±52−4⋅1⋅6​​=2−5±25−24​​=2−5±1​​=2−5±1​

For x1x_1x1​, take the positive sign:

x1=−5+12=−42=−2x_1 = \frac{-5 + 1}{2} = \frac{-4}{2} = -2x1​=2−5+1​=2−4​=−2

For x2x_2x2​, take the negative sign:

x2=−5−12=−62=−3x_2 = \frac{-5 - 1}{2} = \frac{-6}{2} = -3x2​=2−5−1​=2−6​=−3

Therefore, the roots of the equation are x1=−2x_1 = -2x1​=−2 and x2=−3x_2 = -3x2​=−3

Example 2: Solve the equation 2x2−7x+3=02x^2 - 7x + 3 = 02x2−7x+3=0

Identify the values: a=2a = 2a=2, b=−7b = -7b=−7, and c=3c = 3c=3

Substitute into the formula:

x=−(−7)±(−7)2−4⋅2⋅32⋅2=7±49−244=7±254=7±54x = \frac{-(-7) \pm \sqrt{(-7)^2 - 4 \cdot 2 \cdot 3}}{2 \cdot 2} = \frac{7 \pm \sqrt{49 - 24}}{4} = \frac{7 \pm \sqrt{25}}{4} = \frac{7 \pm 5}{4}x=2⋅2−(−7)±(−7)2−4⋅2⋅3​​=47±49−24​​=47±25​​=47±5​

For x1x_1x1​, take the positive sign:

x1=7+54=124=3x_1 = \frac{7 + 5}{4} = \frac{12}{4} = 3x1​=47+5​=412​=3

For x2x_2x2​, take the negative sign:

x2=7−54=24=12x_2 = \frac{7 - 5}{4} = \frac{2}{4} = \frac{1}{2}x2​=47−5​=42​=21​

Therefore, the roots of the equation are x1=3x_1 = 3x1​=3 and x2=12x_2 = \frac{1}{2}x2​=21​

The Discriminant of a Quadratic Equation

The expression b2−4acb^2 - 4acb2−4ac in the quadratic formula is called the discriminant, often denoted by DDD or Δ\DeltaΔ.

The discriminant provides information about the nature of the roots of a quadratic equation:

  • If D>0D > 0D>0: The equation has two distinct real roots
  • If D=0D = 0D=0: The equation has one real root (a repeated root)
  • If D<0D < 0D<0: The equation has no real roots (the roots are complex numbers)

Relationship Between Roots and Coefficients

If x1x_1x1​ and x2x_2x2​ are the roots of the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0, then:

  1. Sum of the roots: x1+x2=−bax_1 + x_2 = -\frac{b}{a}x1​+x2​=−ab​
  2. Product of the roots: x1⋅x2=cax_1 \cdot x_2 = \frac{c}{a}x1​⋅x2​=ac​

Proving the Relationships

From the quadratic formula, we know that:

x1=−b+b2−4ac2aandx2=−b−b2−4ac2ax_1 = \frac{-b + \sqrt{b^2 - 4ac}}{2a} \quad \text{and} \quad x_2 = \frac{-b - \sqrt{b^2 - 4ac}}{2a}x1​=2a−b+b2−4ac​​andx2​=2a−b−b2−4ac​​

Adding the roots:

x1+x2=−b+b2−4ac2a+−b−b2−4ac2a=−2b2a=−bax_1 + x_2 = \frac{-b + \sqrt{b^2 - 4ac}}{2a} + \frac{-b - \sqrt{b^2 - 4ac}}{2a} = \frac{-2b}{2a} = -\frac{b}{a}x1​+x2​=2a−b+b2−4ac​​+2a−b−b2−4ac​​=2a−2b​=−ab​

Multiplying the roots:

x1⋅x2=−b+b2−4ac2a⋅−b−b2−4ac2a=b2−(b2−4ac)24a2=b2−(b2−4ac)4a2=4ac4a2=cax_1 \cdot x_2 = \frac{-b + \sqrt{b^2 - 4ac}}{2a} \cdot \frac{-b - \sqrt{b^2 - 4ac}}{2a} = \frac{b^2 - (\sqrt{b^2 - 4ac})^2}{4a^2} = \frac{b^2 - (b^2 - 4ac)}{4a^2} = \frac{4ac}{4a^2} = \frac{c}{a}x1​⋅x2​=2a−b+b2−4ac​​⋅2a−b−b2−4ac​​=4a2b2−(b2−4ac​)2​=4a2b2−(b2−4ac)​=4a24ac​=ac​

Creating New Quadratic Equations from Known Roots

If we know the roots of a quadratic equation, we can create a new quadratic equation. Suppose ppp and qqq are the roots of a quadratic equation, then the equation is:

(x−p)(x−q)=0(x - p)(x - q) = 0(x−p)(x−q)=0

Or in standard form:

x2−(p+q)x+pq=0x^2 - (p+q)x + pq = 0x2−(p+q)x+pq=0

Application Examples

  1. The quadratic equation x2+4x+3=0x^2 + 4x + 3 = 0x2+4x+3=0 has roots ppp and qqq.

    Find the quadratic equation with roots 2p2p2p and 2q2q2q.

    Step 1: Find the values of p+qp + qp+q and p⋅qp \cdot qp⋅q

    p+q=−ba=−41=−4p + q = -\frac{b}{a} = -\frac{4}{1} = -4p+q=−ab​=−14​=−4
    p⋅q=ca=31=3p \cdot q = \frac{c}{a} = \frac{3}{1} = 3p⋅q=ac​=13​=3

    Step 2: Calculate the sum and product of the new roots

    2p+2q=2(p+q)=2(−4)=−82p + 2q = 2(p + q) = 2(-4) = -82p+2q=2(p+q)=2(−4)=−8
    2p⋅2q=4(p⋅q)=4⋅3=122p \cdot 2q = 4(p \cdot q) = 4 \cdot 3 = 122p⋅2q=4(p⋅q)=4⋅3=12

    Step 3: Create the new quadratic equation

    x2−(−8)x+12=0x^2 - (-8)x + 12 = 0x2−(−8)x+12=0
    x2+8x+12=0x^2 + 8x + 12 = 0x2+8x+12=0
  2. The quadratic equation x2+4x−21=0x^2 + 4x - 21 = 0x2+4x−21=0 has roots ppp and qqq.

    Find the quadratic equation with roots 12p\frac{1}{2p}2p1​ and 12q\frac{1}{2q}2q1​.

    Step 1: Find the values of p+qp + qp+q and p⋅qp \cdot qp⋅q

    p+q=−ba=−41=−4p + q = -\frac{b}{a} = -\frac{4}{1} = -4p+q=−ab​=−14​=−4
    p⋅q=ca=−211=−21p \cdot q = \frac{c}{a} = \frac{-21}{1} = -21p⋅q=ac​=1−21​=−21

    Step 2: Calculate the sum and product of the new roots

    12p+12q=12(q+ppq)=12⋅−4−21=12⋅421=442=221\frac{1}{2p} + \frac{1}{2q} = \frac{1}{2} \left(\frac{q + p}{pq}\right) = \frac{1}{2} \cdot \frac{-4}{-21} = \frac{1}{2} \cdot \frac{4}{21} = \frac{4}{42} = \frac{2}{21}2p1​+2q1​=21​(pqq+p​)=21​⋅−21−4​=21​⋅214​=424​=212​
    12p⋅12q=14pq=14⋅(−21)=1−84=−184\frac{1}{2p} \cdot \frac{1}{2q} = \frac{1}{4pq} = \frac{1}{4 \cdot (-21)} = \frac{1}{-84} = -\frac{1}{84}2p1​⋅2q1​=4pq1​=4⋅(−21)1​=−841​=−841​

    Step 3: Create the new quadratic equation

    x2−421x−184=0x^2 - \frac{4}{21}x - \frac{1}{84} = 0x2−214​x−841​=0

Practice Problems

Solve the following quadratic equations using the quadratic formula:

  1. x2+5x+6=0x^2 + 5x + 6 = 0x2+5x+6=0
  2. 2x2+6x+3=02x^2 + 6x + 3 = 02x2+6x+3=0
  3. 6x2+2x+16=06x^2 + 2x + \frac{1}{6} = 06x2+2x+61​=0
  4. 12x2+4x+6=0\frac{1}{2}x^2 + 4x + 6 = 021​x2+4x+6=0
  5. 23x2+2x−12=0\frac{2}{3}x^2 + 2x - 12 = 032​x2+2x−12=0

Answer Key

  1. Solution to the quadratic equation x2+5x+6=0x^2 + 5x + 6 = 0x2+5x+6=0

    Identify: a=1a = 1a=1, b=5b = 5b=5, c=6c = 6c=6

    x1,2=−5±52−4⋅1⋅62⋅1x_{1,2} = \frac{-5 \pm \sqrt{5^2 - 4 \cdot 1 \cdot 6}}{2 \cdot 1}x1,2​=2⋅1−5±52−4⋅1⋅6​​
    =−5±25−242= \frac{-5 \pm \sqrt{25 - 24}}{2}=2−5±25−24​​
    =−5±12= \frac{-5 \pm \sqrt{1}}{2}=2−5±1​​
    =−5±12= \frac{-5 \pm 1}{2}=2−5±1​

    For x1x_1x1​:

    x1=−5+12=−42=−2x_1 = \frac{-5 + 1}{2} = \frac{-4}{2} = -2x1​=2−5+1​=2−4​=−2

    For x2x_2x2​:

    x2=−5−12=−62=−3x_2 = \frac{-5 - 1}{2} = \frac{-6}{2} = -3x2​=2−5−1​=2−6​=−3

    Therefore, the roots of the equation are x1=−2x_1 = -2x1​=−2 and x2=−3x_2 = -3x2​=−3.

  2. Solution to the quadratic equation 2x2+6x+3=02x^2 + 6x + 3 = 02x2+6x+3=0

    Identify: a=2a = 2a=2, b=6b = 6b=6, c=3c = 3c=3

    x1,2=−6±62−4⋅2⋅32⋅2x_{1,2} = \frac{-6 \pm \sqrt{6^2 - 4 \cdot 2 \cdot 3}}{2 \cdot 2}x1,2​=2⋅2−6±62−4⋅2⋅3​​
    =−6±36−244= \frac{-6 \pm \sqrt{36 - 24}}{4}=4−6±36−24​​
    =−6±124= \frac{-6 \pm \sqrt{12}}{4}=4−6±12​​
    =−6±234= \frac{-6 \pm 2\sqrt{3}}{4}=4−6±23​​
    =−3±32= \frac{-3 \pm \sqrt{3}}{2}=2−3±3​​

    For x1x_1x1​:

    x1=−3+32x_1 = \frac{-3 + \sqrt{3}}{2}x1​=2−3+3​​

    For x2x_2x2​:

    x2=−3−32x_2 = \frac{-3 - \sqrt{3}}{2}x2​=2−3−3​​

    Therefore, the roots of the equation are x1=−3+32x_1 = \frac{-3 + \sqrt{3}}{2}x1​=2−3+3​​ and x2=−3−32x_2 = \frac{-3 - \sqrt{3}}{2}x2​=2−3−3​​.

  3. Solution to the quadratic equation 6x2+2x+16=06x^2 + 2x + \frac{1}{6} = 06x2+2x+61​=0

    Identify: a=6a = 6a=6, b=2b = 2b=2, c=16c = \frac{1}{6}c=61​

    x1,2=−2±22−4⋅6⋅162⋅6x_{1,2} = \frac{-2 \pm \sqrt{2^2 - 4 \cdot 6 \cdot \frac{1}{6}}}{2 \cdot 6}x1,2​=2⋅6−2±22−4⋅6⋅61​​​
    =−2±4−412= \frac{-2 \pm \sqrt{4 - 4}}{12}=12−2±4−4​​
    =−2±012= \frac{-2 \pm 0}{12}=12−2±0​
    =−212=−16= \frac{-2}{12} = -\frac{1}{6}=12−2​=−61​

    Since the discriminant b2−4ac=0b^2 - 4ac = 0b2−4ac=0, the equation has one root (a repeated root).

    Therefore, the root of the equation is x1=x2=−16x_1 = x_2 = -\frac{1}{6}x1​=x2​=−61​.

  4. Solution to the quadratic equation 12x2+4x+6=0\frac{1}{2}x^2 + 4x + 6 = 021​x2+4x+6=0

    Identify: a=12a = \frac{1}{2}a=21​, b=4b = 4b=4, c=6c = 6c=6

    x1,2=−4±42−4⋅12⋅62⋅12x_{1,2} = \frac{-4 \pm \sqrt{4^2 - 4 \cdot \frac{1}{2} \cdot 6}}{2 \cdot \frac{1}{2}}x1,2​=2⋅21​−4±42−4⋅21​⋅6​​
    =−4±16−121= \frac{-4 \pm \sqrt{16 - 12}}{1}=1−4±16−12​​
    =−4±41= \frac{-4 \pm \sqrt{4}}{1}=1−4±4​​
    =−4±2= -4 \pm 2=−4±2

    For x1x_1x1​:

    x1=−4+2=−2x_1 = -4 + 2 = -2x1​=−4+2=−2

    For x2x_2x2​:

    x2=−4−2=−6x_2 = -4 - 2 = -6x2​=−4−2=−6

    Therefore, the roots of the equation are x1=−2x_1 = -2x1​=−2 and x2=−6x_2 = -6x2​=−6.

  5. Solution to the quadratic equation 23x2+2x−12=0\frac{2}{3}x^2 + 2x - 12 = 032​x2+2x−12=0

    Identify: a=23a = \frac{2}{3}a=32​, b=2b = 2b=2, c=−12c = -12c=−12

    x1,2=−2±22−4⋅23⋅(−12)2⋅23x_{1,2} = \frac{-2 \pm \sqrt{2^2 - 4 \cdot \frac{2}{3} \cdot (-12)}}{2 \cdot \frac{2}{3}}x1,2​=2⋅32​−2±22−4⋅32​⋅(−12)​​
    =−2±4+324/3= \frac{-2 \pm \sqrt{4 + 32}}{4/3}=4/3−2±4+32​​
    =−2±364/3= \frac{-2 \pm \sqrt{36}}{4/3}=4/3−2±36​​
    =−2±64/3= \frac{-2 \pm 6}{4/3}=4/3−2±6​
    =3(−2±6)4= \frac{3(-2 \pm 6)}{4}=43(−2±6)​

    For x1x_1x1​:

    x1=3(−2+6)4=3⋅44=3x_1 = \frac{3(-2 + 6)}{4} = \frac{3 \cdot 4}{4} = 3x1​=43(−2+6)​=43⋅4​=3

    For x2x_2x2​:

    x2=3(−2−6)4=3⋅(−8)4=−6x_2 = \frac{3(-2 - 6)}{4} = \frac{3 \cdot (-8)}{4} = -6x2​=43(−2−6)​=43⋅(−8)​=−6

    Therefore, the roots of the equation are x1=3x_1 = 3x1​=3 and x2=−6x_2 = -6x2​=−6.

Previous

Completing the Square

Next

Types of Quadratic Equation Roots

  • Quadratic FormulaMaster 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.
On this page
  • What is the Quadratic Formula?
  • Deriving the Quadratic Formula
    • Using the Quadratic Formula
    • Examples
  • The Discriminant of a Quadratic Equation
  • Relationship Between Roots and Coefficients
    • Proving the Relationships
  • Creating New Quadratic Equations from Known Roots
    • Application Examples
  • Practice Problems
    • Answer Key
  • Comments
  • Report
  • Source code