Lesson Explainer: Solving Quadratic Equations: Quadratic Formula | Nagwa Lesson Explainer: Solving Quadratic Equations: Quadratic Formula | Nagwa

Lesson Explainer: Solving Quadratic Equations: Quadratic Formula Mathematics • Third Year of Preparatory School

Join Nagwa Classes

Attend live Mathematics sessions on Nagwa Classes to learn more about this topic from an expert teacher!

In this explainer, we will learn how to solve quadratic equations using the quadratic formula.

Imagine we are asked to solve the quadratic equation π‘₯+5π‘₯+3=0; there are several different ways we could go about this. For example, we could try to factor the quadratic by looking at the factor pairs of 3 and trying to make them sum to 5. However, 3 only has one pair of factors, 1 and 3, which do not sum to 5. Hence, we can immediately see this is not possible, at least for integer values, so instead, we can do this by completing the square.

We want to write the quadratic expression in the form (π‘₯+𝑏′)+π‘β€²οŠ¨. We do this by halving the coefficient of π‘₯ to get 𝑏′, so 𝑏′=52. Then, 𝑐′ is 3βˆ’(𝑏′), so 𝑐′=3βˆ’ο€Ό52=βˆ’134.

Hence, π‘₯+5π‘₯+3=ο€Όπ‘₯+52οˆβˆ’134.

Substituting this expression into the equation we want to solve yields ο€Όπ‘₯+52οˆβˆ’134=0.

We can now solve this equation for π‘₯; we first add 134 to both sides to get ο€Όπ‘₯+52=134.

We then take the square root of both sides of the equation, where we will get a positive and a negative root: π‘₯+52=Β±ο„ž134π‘₯+52=±√132.

Finally, we subtract 52 from both sides of the equation, giving us the two roots: π‘₯=βˆ’52±√132.

We can apply this same process to find the roots of any quadratic; let’s say we want to solve π‘Žπ‘₯+𝑏π‘₯+𝑐=0, where π‘Žβ‰ 0. We first divide the equation through by π‘Ž to get π‘₯+π‘π‘Žπ‘₯+π‘π‘Ž=0.

Next, we complete the square on the left-hand side of the equation to get π‘₯+π‘π‘Žπ‘₯+π‘π‘Ž=ο€½π‘₯+𝑏2π‘Žο‰+π‘π‘Žβˆ’ο€½π‘2π‘Žο‰.

Hence, after distributing the exponent and rearranging, our equation becomes ο€½π‘₯+𝑏2π‘Žο‰βˆ’π‘4π‘Ž+π‘π‘Ž=0.

We then rearrange to get ο€½π‘₯+𝑏2π‘Žο‰=𝑏4π‘Žβˆ’π‘π‘Ž.

We add the terms on the right-hand side of the equation by rewriting the terms with a common denominator: ο€½π‘₯+𝑏2π‘Žο‰=𝑏4π‘Žβˆ’π‘π‘ŽΓ—4π‘Ž4π‘Žο€½π‘₯+𝑏2π‘Žο‰=π‘βˆ’4π‘Žπ‘4π‘Ž.

We then want to take the square root of both sides of the equation. We note that this step is only valid if the right-hand side of the equation is nonnegative. We find a positive and a negative root, this gives us π‘₯+𝑏2π‘Ž=Β±ο„žπ‘βˆ’4π‘Žπ‘4π‘Ž.

We distribute the root over the numerator and denominator and then rearrange the equation for π‘₯, giving us π‘₯+𝑏2π‘Ž=Β±βˆšπ‘βˆ’4π‘Žπ‘βˆš4π‘Žπ‘₯=βˆ’π‘2π‘ŽΒ±βˆšπ‘βˆ’4π‘Žπ‘2π‘Žπ‘₯=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘Ž.

Therefore, if these values exist, then they are the roots of the quadratic equation in terms of the coefficients π‘Ž, 𝑏, and 𝑐. We can summarize this result as follows.

Formula: The Quadratic Formula

The roots of the quadratic equation π‘Žπ‘₯+𝑏π‘₯+𝑐=0, are given by π‘₯=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘Ž.

We can use this formula to solve quadratic equations without factoring or completing the square; all that is required is to substitute the values of the coefficients into the formula. This allows us to easily solve some quadratic equations that were previously difficult to solve because the quadratic was not easily factorable.

This gives us the following process to attempt to solve quadratic equations.

How To: Solving Quadratic Equations Using the Quadratic Formula

  1. We first need to ensure that the equation is in the form π‘Žπ‘₯+𝑏π‘₯+𝑐=0, where π‘Ž is nonzero. We may need to distribute parentheses or rearrange the terms to obtain this. It is often helpful to write the terms in our equation in the same order as in π‘Žπ‘₯+𝑏π‘₯+𝑐=0, with the π‘₯, π‘₯, and constant terms in that order. Writing it in this form can help us ensure that we take the correct π‘Ž, 𝑏, and 𝑐 values. It is also useful to list our values, π‘Ž=, 𝑏=, and 𝑐=, so that they can be referenced when substituting.
  2. Next, we should write down the quadratic formula in full. This will help avoid errors and ensure that the positive and negative values are consistently applied throughout our working.
  3. We then substitute the values of π‘Ž, 𝑏, and 𝑐 into the quadratic formula. It is important to write any negative number substitutions in parentheses as this will help maintain the accuracy of the positive and negative values as we go through the steps of the solution.
  4. Finally, we will get two values (one for each of the Β± operations), and both of these values are solutions to the equation.

Let’s see some examples of how to apply the quadratic formula to solve some equations.

Example 1: Finding the Solutions to a Quadratic Equation

Find the solution set of the equation π‘₯βˆ’3π‘₯+1=0, giving values correct to two decimal places.

Answer

We are asked to solve a quadratic equation. If we attempted to solve this equation by factoring, we would need two numbers that multiply to give 1 and add to give βˆ’3, and two such numbers are difficult to find. Another thing worth noting is that the question says to give the roots to two decimal places, this indicates that the roots may be difficult to find exactly. In both cases, we should conclude that the quadratic formula will be a good method to try.

We recall that the quadratic formula tells us that the roots of the quadratic equation π‘Žπ‘₯+𝑏π‘₯+𝑐=0 are given by π‘₯=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘Ž, provided π‘Žβ‰ 0.

The values of π‘Ž, 𝑏, and 𝑐 are the coefficients of the quadratic expression, where π‘Ž=1, 𝑏=βˆ’3, and 𝑐=1. Substituting these values into the formula and simplifying gives us π‘₯=βˆ’(βˆ’3)±(βˆ’3)βˆ’4(1)(1)2(1)=3±√9βˆ’42=3±√52.

This gives us an expression for each root (one for each of the + or – operations). We have π‘₯=3+√52 and π‘₯=3βˆ’βˆš52 as the roots, and we can evaluate these to two decimal places to get π‘₯β‰ˆ2.62 and π‘₯β‰ˆ0.38.

Finally, we note that the solution set of an equation is the set of all solutions to the equation, so we want the set of all roots given to two decimal places, which is {2.62,0.38}.

Example 2: Solving an Equation Using the Quadratic Formula

Solve the equation βˆ’π‘₯+7π‘₯+1=0.

Answer

We are asked to solve a quadratic equation, which if we attempted to solve by factoring, we would need two numbers that multiply to give 1 and add to give 7, and two such numbers are difficult to find. Instead, we will apply the quadratic formula, which we recall tells us that the roots of the quadratic equation π‘Žπ‘₯+𝑏π‘₯+𝑐=0 are given by π‘₯=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘Ž.

We have two choices; we can directly apply the quadratic formula to this quadratic equation, or we can rearrange the equation into standard form first by multiplying through by βˆ’1. This would give us π‘₯βˆ’7π‘₯βˆ’1=0.

Thus, π‘Ž=1, 𝑏=βˆ’7, and 𝑐=βˆ’1. Substituting these values into the formula and simplifying gives us π‘₯=βˆ’(βˆ’7)±(βˆ’7)βˆ’4(1)(βˆ’1)2(1)=7±√49+42=7±√532.

Hence, the roots are π‘₯=7+√532 and π‘₯=7βˆ’βˆš532. Therefore, the set of solutions to this equation is 7βˆ’βˆš532,7+√532.

In our next few examples, we will see that we may need to rearrange the given equation into a quadratic equation in the correct form before applying the quadratic formula.

Example 3: Solving Quadratic Equations

Find the solution set of the equation 5π‘₯(π‘₯βˆ’6)βˆ’3(π‘₯+4)+3=0, giving values to one decimal place.

Answer

We cannot solve this equation in its current form, so we will start by distributing the parentheses and simplifying: 5π‘₯(π‘₯βˆ’6)βˆ’3(π‘₯+4)+3=05π‘₯βˆ’30π‘₯βˆ’3π‘₯βˆ’12+3=0.

Collecting like terms then yields 5π‘₯βˆ’33π‘₯βˆ’9=0.

This is a quadratic equation; we cannot factor this equation easily, so we will use the quadratic formula. We recall that the quadratic formula tells us that the roots of the quadratic equation π‘Žπ‘₯+𝑏π‘₯+𝑐=0 are given by π‘₯=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘Ž.

In this quadratic, π‘Ž=5, 𝑏=βˆ’33, and 𝑐=βˆ’9. Substituting these values into the formula and simplifying gives us π‘₯=βˆ’(βˆ’33)±(βˆ’33)βˆ’4(5)(βˆ’9)2(5)=33±√1089+18010=33±√126910.

Therefore, the roots of the quadratic are π‘₯=33βˆ’βˆš126910 and π‘₯=33+√126910. We can evaluate these expressions to one decimal place to get π‘₯β‰ˆβˆ’0.3 and π‘₯β‰ˆ6.9.

Finally, we note that the solution set of an equation is the set of all solutions to that equation, so we want the set of all roots given to one decimal place, which is {6.9,βˆ’0.3}.

Example 4: Rearranging an Equation to Use the Quadratic Formula

Find the solution set of the equation 18π‘₯+5π‘₯=1, giving values to three decimal places.

Answer

We cannot solve the equation in its current form, so we will need to rearrange the equation into a form that we can solve. To do this, we first want to multiply through by π‘₯ to remove the denominators in the equation.

Before we do this, we need to consider that multiplying through by a variable can introduce extra solutions. In particular, we may introduce the solution π‘₯=0, since both sides of the equation would have a factor of π‘₯. However, we already know that π‘₯β‰ 0 since we are dividing by π‘₯ in the equation, so we can just ignore this solution if it occurs.

Multiplying the equation through by π‘₯, we have π‘₯β‹…ο€Ό18π‘₯+5π‘₯=π‘₯β‹…(1)18β‹…π‘₯π‘₯+5β‹…π‘₯π‘₯=π‘₯.

We then cancel the shared factors on the left-hand side of the equation to get 18+5π‘₯=π‘₯.

Finally, we rearrange this into the following quadratic equation: π‘₯βˆ’5π‘₯βˆ’18=0.

We now have a quadratic equation that we cannot easily solve by factoring, so we will use the quadratic formula.

We recall that the quadratic formula tells us that the roots of the quadratic equation π‘Žπ‘₯+𝑏π‘₯+𝑐=0 are given by π‘₯=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘Ž.

In this quadratic, we have π‘Ž=1, 𝑏=βˆ’5, and 𝑐=βˆ’18. Substituting these values into the formula and simplifying, we have π‘₯=βˆ’(βˆ’5)±(βˆ’5)βˆ’4(1)(βˆ’18)2(1)=5±√25+722=5±√972.

This gives us two roots: π‘₯=5+√972 and π‘₯=5βˆ’βˆš972. To three decimal places, these roots are π‘₯β‰ˆ7.424 and π‘₯β‰ˆβˆ’2.424.

Finally, we note that the solution set of an equation is the set of all solutions to the equation, so we want the set of all roots given to three decimal places, which is {7.424,βˆ’2.424}.

In our final two examples, we will use given properties of quadratic equations and the quadratic formula to determine the value of an unknown.

Example 5: Finding an Unknown in a Quadratic Equation Using a Root

Given that π‘₯=βˆ’2 is a root of the equation π‘₯βˆ’4π‘šπ‘₯βˆ’ο€Ήπ‘šβˆ’6=0, find the set of possible values of π‘š.

Answer

We first note that we are given a quadratic equation in π‘₯. To determine the value of π‘š, we might be tempted to directly apply the quadratic formula to this equation; however, there is an easier method where we first use the fact that π‘₯=βˆ’2 is a root.

Since π‘₯=βˆ’2 is a root, it satisfies the equation; hence, we can substitute this value into the equation to get (βˆ’2)βˆ’4π‘š(βˆ’2)βˆ’ο€Ήπ‘šβˆ’6=0.

Distributing and simplifying, we get 4+8π‘šβˆ’π‘š+6=0βˆ’π‘š+8π‘š+10=0π‘šβˆ’8π‘šβˆ’10=0.

This is then a quadratic equation in π‘š, and so we can solve for π‘š by applying the quadratic formula. The equation π‘Žπ‘š+π‘π‘š+𝑐=0 has solutions given by π‘š=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘Ž.

In this quadratic, we have π‘Ž=1, 𝑏=βˆ’8, and 𝑐=βˆ’10. Substituting these values in and simplifying, we have π‘š=βˆ’(βˆ’8)±(βˆ’8)βˆ’4(1)(βˆ’10)2(1)=8±√64+402=8±√1042.

We can simplify further by simplifying the radical: π‘š=8±√4Γ—262=8Β±2√262=4±√26.

This gives two possible values of π‘š, either π‘š=4+√26 or π‘š=4βˆ’βˆš26. Hence, the set of possible values of π‘š is {4βˆ’βˆš26,4+√26}.

In our final example, we will once again use a root of the equation to find the value of an unknown in a quadratic equation and the full solution set.

Example 6: Finding an Unknown in a Quadratic Equation Using the Relation between Its Coefficients and Roots

The sum of the roots of the equation 4π‘₯+π‘˜π‘₯βˆ’4=0 is βˆ’1. Find the value of π‘˜ and the solution set of the equation.

Answer

There are a few ways we can determine the value of π‘˜; we will use the quadratic formula. First, since we are told that the equation has roots, we know that we can apply the quadratic formula, which tells us that the roots of the equation π‘Žπ‘₯+𝑏π‘₯+𝑐=0 will be π‘₯=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘ŽοŠ¨. In this quadratic equation, we have π‘Ž=4, 𝑏=π‘˜, and 𝑐=βˆ’4. Substituting these values in and simplifying, we have π‘₯=βˆ’π‘˜Β±βˆšπ‘˜βˆ’4(4)(βˆ’4)2(4)=βˆ’π‘˜Β±βˆšπ‘˜+648.

So, we have the roots π‘₯=βˆ’π‘˜+βˆšπ‘˜+648 and π‘₯=βˆ’π‘˜βˆ’βˆšπ‘˜+648. The sum of these roots is then given by βˆ’π‘˜+βˆšπ‘˜+648+βˆ’π‘˜βˆ’βˆšπ‘˜+648=βˆ’π‘˜+βˆšπ‘˜+64βˆ’π‘˜βˆ’βˆšπ‘˜+648=βˆ’2π‘˜8=βˆ’π‘˜4.

Since the sum of the roots is βˆ’1, we must have βˆ’1=βˆ’π‘˜4π‘˜=4.

We could substitute π‘˜=4 back into the original equation; however, we already found expressions for the roots: π‘₯=βˆ’π‘˜Β±βˆšπ‘˜+648. Substituting π‘˜=4 and simplifying yields π‘₯=βˆ’4±√4+648=βˆ’4±√808=βˆ’4±√16Γ—58=βˆ’4Β±4√58=βˆ’1±√52.

Hence, the roots are π‘₯=βˆ’1βˆ’βˆš52 and π‘₯=βˆ’1+√52.

Therefore, the value of π‘˜ is 4, and the solution set of the equation is ο―βˆ’1βˆ’βˆš52,βˆ’1+√52.

In the previous example, we showed that the sum of the roots of a given quadratic was equal to the negative of the quotients of the coefficients of π‘₯ and π‘₯. It is worth noting that a similar result is true in general; since the roots are π‘₯=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘ŽοŠ¨, the sum of the roots is given by βˆ’π‘+βˆšπ‘βˆ’4π‘Žπ‘2π‘Ž+βˆ’π‘βˆ’βˆšπ‘βˆ’4π‘Žπ‘2π‘Ž=βˆ’2𝑏2π‘Ž=βˆ’π‘π‘Ž.

Hence, the sum of the roots is always equal to the negative of the quotients of the coefficients of π‘₯ and π‘₯.

Let’s finish by recapping some of the important points of this explainer.

Key Points

  • If we have a quadratic equation in the form π‘Žπ‘₯+𝑏π‘₯+𝑐=0, where π‘Ž, 𝑏, and 𝑐 are constants and π‘Žβ‰ 0, we can use the quadratic formula, π‘₯=βˆ’π‘Β±βˆšπ‘βˆ’4π‘Žπ‘2π‘ŽοŠ¨, to solve for π‘₯.
  • The quadratic formula can be used for quadratics that are too difficult to factor.
  • We can apply the quadratic formula to quadratics in any variable.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy