The Wayback Machine - https://web.archive.org/web/20240928070517/https://www.geeksforgeeks.org/solving-quadratic-equations/
Open In App

Solving Quadratic Equations

Last Updated : 26 Jul, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Solving quadratic equations is a fundamental skill in mathematics that plays a crucial role in various fields such as physics, engineering, and finance. As Quadratic Equations occur almost everywhere in our real life. For example, even the problem of designing a playground can be formulated as a quadratic equation.

A quadratic equation, typically in the form ax² + bx + c = 0, can be solved using different methods including factoring, completing the square, and the quadratic formula. Understanding how to solve quadratic equations not only helps in academic pursuits but also in practical problem-solving scenarios.

When so many situations give rise to quadratic equations, it sparks a genuine interest Solving Quadratic Equations. Let’s say Q(x) = 0 is a quadratic equation. While Solving Quadratic Equations we try to find a solution that represent the points where this equation is satisfied that is Q(x) = 0. The solutions are also called roots/zeros of the quadratic equation. Let’s look at some approaches for solving the quadratic equations. 

Quadratic Equation

Quadratic Equation can be defined as a polynomial equation of a second degree, which implies that it includes at least one term that is squared.

Its general form is given by, 

ax2 + bx + c = 0 

a, b and c are real numbers while a ≠ 0. Its shape is a parabola that opens upwards or downwards depending upon the value of “a”. 

Its solution is the point where the equation is satisfied.

Methods of Solving Quadratic Equation

Types-of-quadratic-equation


There are several methods of Solving Quadratic Equations given as follows: 

  1. Factoring
  2. Completing the square
  3. Quadratic Formula

Factoring

In this method of Solving Quadratic Equation we try to factor out the equation such that we get the equation in form of the product of two terms. Then on equating these two terms to zero, we get the roots. 

The following steps must be used for finding the roots with factorization: 

  1. All the terms must be on one side of the equation, either LHS or RHS leaving zero on the other side.
  2. Factorize the equation
  3. Set the factors equal to zero to find the roots one by one.

Let’s look at this method in more detail using the examples below: 

1. Factorize the following equation and find its roots: 2x2 – x – 1 = 0

2x2 – x – 1 = 0 

⇒ 2x2 -2x + x – 1 = 0 

⇒ 2x(x – 1) + 1(x – 1) = 0 

⇒ (2x + 1) (x – 1) = 0 

For this equation two be zero, either one of these or both of these terms should be zero. 

So, we can find out roots by equating these terms with zero. 

2x + 1 = 0

x = -\frac{1}{2}   

x – 1 = 0 

⇒ x = 1 

So, we get two roots in the equation. 

x = 1 and -\frac{1}{2}

2. Use Factorization method of solving quadratic equation and find the roots for the following quadratic equation: x2 + x – 12 = 0

x2 + x – 12 = 0

⇒ x2 + 4x – 3x – 12 = 0

⇒ x(x + 4) -3(x + 4) = 0 

⇒ (x – 3) (x + 4) = 0 

Equating both of these terms with zero. 

x – 3 = 0 and x – 4 = 0 

x = 3 and 4

Completing the Square 

This method of Solving Quadratic Equation need to bring the equation in the form of whole squares, for example: (x – a)2 – b2 = 0. 

Steps for finding out roots by completing the square method:

Step 1: Bring the equation in the form ax2 + bx = -c.

Step 2: We need to make sure that a = 1 (if a≠1, multiply through the equation by \frac{1}{a} before going to next step.)

Step 3: Use the value of b from this new equation and (\frac{b}{2})^2 to both sides of the equation to form a perfect square on the left side of the equation.

Step 4: Find the square root of the both sides of the equation.

Step 5: Solve the result to get the roots.

Let’s look at some examples regarding this, 

1. Find the roots of the following equation by completing the square’s method of Solving quadratic Equation. 

4x2 + 12x + 9 = 0. 

4x2 + 12x + 9 = 0

⇒ (2x)2 + 2(3)(2)x + 32 = 0

We can see that this equation is a perfect square, 

⇒ (2x + 3)2 = 0 

To find out the zeros in this equation, 

2x + 3 = 0 

x = -\frac{3}{2}

This equation has repeating root, which is x = -\frac{3}{2}

The above question had an equation that was a perfect square, but it might not be the case every time. In those cases, we will bring the equation in the above-given form using the steps that are mentioned. 

2. Find the roots of the equation by completing the square’s method of Solving quadratic Equation. 

9x2 + 24x + 3 = 0 

9x2 + 24x + 3 = 0 

This equation can be re-written as, 

⇒ 9x2 + 24x + 16 – 13 = 0 

⇒ (3x)2 + 24x + 42 -13 =0 

⇒ (3x + 4)2 -13 = 0 

⇒ (3x + 4)2 -(√13)2 = 0 

⇒ (3x + 4)2 = (√13)2

Taking square root of the both sides of the equation. 

3x + 4 = √13 or 3x + 4 = -√13

We get our roots by solving these two equations, 

3x + 4 = √13 

x =  \frac{√13 - 4}{3}

Similarly,

3x + 4 = – √13 

x =  \frac{-√13 - 4}{3}

Quadratic Formula

We can also use Quadratic formulae for solving a quadratic equation, All the quadratic equations can be solved using the quadratic formula. 

The quadratic formula is a mathematical solution used to solve quadratic equations of the form ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0. The formula provides the values of xxx that satisfy the equation. The quadratic formula is given by:

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

where:

  • aaa, bbb, and ccc are coefficients in the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0,
  • b2−4acb^2 – 4acb2−4ac is called the discriminant, which determines the nature of the roots (real and distinct, real and equal, or complex),
  • ±\pm± indicates that there are usually two solutions to the equation.

This formula is a powerful tool for finding the roots of any quadratic equation, regardless of whether the equation can be factored easily

For an equation of the form, 

ax2 + bx + c = 0, 

Where a, b and c are real numbers and a ≠ 0.

The roots of this equation are given by, 

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

Given that b2 – 4ac is greater than or equal to zero. 

1: Find out the roots of the equation using Quadratic Formula, 

4x2 + 10x + 3 = 0

4x2 + 10x + 3 = 0

Using Quadratic Formula to solve this, 

a = 4, b = 10 and c = 3

Before plugging in the values, we need to check for the discriminator 

b2 – 4ac 

⇒ 102 – 4(4)(3) 

⇒ 100 – 48 

⇒ 52 

This is greater than zero, So now we can apply the quadratic formula. 

Plugging the values into quadratic equation, 

x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \\ = \frac{-10 \pm \sqrt{10^2 - 4(4)(3)}}{2(4)} \\ = \frac{-10 \pm \sqrt{100 - 48}}{8} \\ = \frac{-10 \pm \sqrt{52}}{8}

2: Find out the roots of the equation using Quadratic formula for solving a quadratic equation, 

5x2 + 9x + 4 = 0

5x2 + 9x + 4 = 0 

Using Quadratic Formula, 

a = 5, b = 9 and c = 4.

Before plugging in the values, we need to check for the discriminator 

b2 – 4ac 

⇒ 92 – 4(5)(4) 

⇒ 81 – 80 

⇒ 1

This is greater than zero, So the quadratic formula can be applied. Plugging in the values in the formula, 

 x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \\ = \frac{-9 \pm \sqrt{9^2 - 4(5)(4)}}{2(5)} \\ = \frac{-9 \pm \sqrt{81 - 80}}{10} \\ = \frac{-9 \pm \sqrt{1}}{8} \\ = \frac{-9 \pm 1}{8} \\ = -1, \frac{-10}{8}

Practice Questions on Solving Quadratic Equation

1. Solve the quadratic equation x2-5x+6 = 0 by factoring.

2. Solve the quadratic equation 2x2-3x+2 = 0 by using the quadratic formula.

3. A projectile is launched upward with an initial velocity of 20 m/s from a height of 5 meters. Its height h in meters after t seconds is given by h(t) = -5t2+20t+5 . Find the time when the projectile reaches its maximum height and the maximum height.

Conclusion

Exploring the various methods of solving quadratic equations like factoring, completing the square, using the quadratic formula, and graphing—provides a comprehensive knowledge for tackling these fundamental algebraic problems. Each method offers unique advantages, allowing for flexibility depending on the specific equation and context. Mastering these methods of solving quadratic equations not only enhances problem-solving skills but also builds a solid foundation for more advanced mathematical concepts.

Solving Quadratic Equation – FAQs

What is the quadratic formula?

The quadratic formula is a universal method for solving quadratic equations and is given by: x = \frac{-b \pm \sqrt{b^2 – 4ac}}{2a} where a, b, and c are coefficients from the quadratic equation ax2+bx+c=0.

How to solve a quadratic equation using the quadratic formula?

To solve using the quadratic formula:

  1. Identify the coefficients a, b, and c from the quadratic equation ax^2 + bx + c = 0.
  2. Substitute these values into the quadratic formula x = \frac{-b \pm \sqrt{b^2 – 4ac}}{2a}
  3. Simplify under the square root (the discriminant), calculate the roots, and simplify the expression.

Can quadratic equations have more than two solutions?

No, quadratic equations can have at most two solutions, since they are second-degree polynomials. These solutions can be real or complex, and in some cases, they can be repeated (same root).



Previous Article
Next Article

Similar Reads

Solving 2nd Degree Quadratic Equations
Second Degree Equations are quadratic equations where the highest power in an equation is 2 and there will be two solutions for the 2nd Degree Equations. The standard form of a second-degree equation is ax2+bx+c which is a trinomial because the equation consists of three terms. But every second-degree equation need not be a trinomial because it may
4 min read
Solving Quadratic Equations using Completing the Square Method
Completing the Square Method is a method used in algebra to solve quadratic equations, simplify expressions, and understand the properties of quadratic functions. The method transforms a quadratic equation into a perfect square trinomial, making it easier to solve or analyze. Algebra is a mathematical science that studies diverse symbols that repre
6 min read
Solving Quadratic Equations by Factoring
Quadratic equations are an important topic of algebra that everyone should learn in their early classes. A quadratic equation is a polynomial equation that has a degree of order 2. In standard form, it is represented as ax2 + bx + c = 0 where a, b, and c are constants, and x represents the variable. This quadratic equation has importance in other s
11 min read
Linear Equations in One Variable - Solving Equations which have Linear Expressions on one Side and Numbers on the other Side | Class 8 Maths
Linear equation is an algebraic equation that is a representation of the straight line. Linear equations are composed of variables and constants. These equations are of first-order, that is, the highest power of any of the involved variables i.e. 1. It can also be considered as a polynomial of degree 1. Linear equations containing only one variable
4 min read
Solving Absolute Value Equations
The concept of absolute values comes under the parent topic- Algebra. It is one of the broad areas of mathematics. It deals with the study of mathematical symbols and rules for manipulating the symbols. In general, the concept of absolute values is used at distances to represent the distance between any two points. Example: |-7| = 7, |7| = 7, |0| =
8 min read
Solving Cubic Equations
Cubic Equation is a mathematical equation in which a polynomial of degree 3 is equated to a constant or another polynomial of maximum degree 2. The standard representation of the cubic equation is ax3+bx2+cx+d = 0 where a, b, c, and d are real numbers. Some examples of cubic equation are x3 - 4x2 + 15x - 9 = 0, 2x3 - 4x2 = 0 etc. Table of Content P
13 min read
Algebraic Methods of Solving Pair of Linear Equations in Two Variables
When solving a pair of linear equations in two variables, there are several algebraic methods you can use. Here’s a summary of the most common methods: Let's imagine a situation, Ankita went to a fair in her village. She wanted to go on rides like the Giant Wheel and play Hoopla (a game in which a ring is thrown on the items kept in a stall, and if
9 min read
Solving Linear Equations Using the Elimination Method
If an equation is written in the form ax + by + c = 0, where a, b, and c are real integers and the coefficients of x and y, i.e. a and b, are not equal to zero, it is said to be a linear equation in two variables. For example, 3x + y = 4 is a linear equation in two variables- x and y. The numbers that come before these variables are called coeffici
10 min read
Solving Logarithmic Equations
Logarithmic equations are mathematical expressions that involve logarithms and typically require finding the value of a variable that satisfies the equation. These equations play a crucial role in various fields, including science, engineering, and finance, due to their ability to solve exponential relationships. At their core, logarithmic equation
9 min read
Graphical Methods of Solving Pair of Linear Equations in Two Variables
A system of linear equations is just a pair of two lines that may or may not intersect. The graph of a linear equation is a line. There are various methods that can be used to solve two linear equations, for example, Substitution Method, Elimination Method, etc. An easy-to-understand and beginner-friendly way to solve a System of linear equations i
8 min read
Solving Multi-Step Linear Equations with Fractions
Solving multi-step linear equations with fractions requires a clear understanding of algebraic principles and fraction operations. This process involves systematically isolating the variable by performing operations such as addition, subtraction, multiplication, and division on both sides of the equation. In this article, we'll break down the proce
8 min read
Solving Trigonometric Equations with Identities
Trigonometric equations are the equations that include functions of trigonometry. These equations are used to find the significance of curves that fulfil certain requirements, and they are essential in various fields like physics, engineering, and computer illustrations. Table of Content What are Trigonometric Equations?Important Trigonometric Iden
5 min read
Solving a System of Equations Word Problems Worksheet
System of Equations is the combination of equations containing variables. For example, 2x+3y= 5 and 3x+2y= 10 are systems of equations. In this article, we will learn how to solve a System of Equations. Table of Content What is a System of Equations?Important conceptsSolved ProblemsWorksheet: System of EquationsFAQsWhat is a System of Equations?A s
8 min read
Solving Exponential Equations
Exponential equations are equations where the variable appears as an exponent. Solving these equations involves various techniques depending on the structure of the equation. A common method is rewriting both sides of the equation with the same base and then equating the exponents. However, if the bases are different or not easily comparable, logar
5 min read
Class 10 RD Sharma Solutions - Chapter 8 Quadratic Equations - Exercise 8.3 | Set 1
Solve the following quadratic equations by factorizationQuestion 1. (x - 4) (x + 2) = 0 Solution: We have equation, (x - 4) (x + 2) = 0 Implies that either x - 4 = 0 or x + 2 = 0 Therefore, roots of the equation are 4 or -2. Question 2. (2x + 3) (3x - 7) = 0 Solution: We have equation, (2x + 3) (3x - 7) = 0 Implies that either 2x + 3 = 0 or 3x - 7
8 min read
Class 10 RD Sharma Solutions - Chapter 8 Quadratic Equations - Exercise 8.1
Question 1. Which of the following are quadratic equations?(i) x2 + 6x - 4 = 0 Solution: As we know that, quadratic equation is in form of: ax2 + bx + c = 0 Here, given equation is x2 + 6x - 4 =0 in quadratic equation. So, It is a quadratic equations. (ii) √3x2 − 2x + ½= 0 Solution: As we know that, quadratic equation is in form of: ax2 + bx + c =
12 min read
Class 11 RD Sharma Solutions - Chapter 14 Quadratic Equations - Exercise 14.1 | Set 1
Solve the following Quadratic Equations:Question 1. x2 + 1 = 0 Solution: We can write the given equation as, x2 - i2 =0, where i = iota = √(-1) Now factorizing above equation, (x + i)(x - i) = 0 So, x + i = 0 and x - i = 0 x = -i and x = +i Hence, roots will be +i and -i. Question 2. 9x2 + 4 = 0 Solution: We can write the given equation as, 9x2 - 4
4 min read
Class 11 RD Sharma Solutions - Chapter 14 Quadratic Equations - Exercise 14.1 | Set 2
Question 14. 27x2 - 10x + 1 = 0 Solution: Comparing the equation with, ax2+bx+c=0 we get ,a=27,b=-10,c=1 Using Discriminant Method, D= (b2-4ac) D= ( (-10)2- 4*27*1) D= ( 100-108) √D= √(-8) √D= 2√2 i So, roots will be, R1= (-(-10)+ 2√2 i )/(2*27) and R2= (-(-10) - 2√2i )/(2*27) Hence, R1= (5+√2 i)/27 and R2= (5-√2 i)/27. Question 15. 17x2 + 28x + 12
4 min read
Class 10 RD Sharma Solutions - Chapter 8 Quadratic Equations - Exercise 8.12
Question 1: A takes 10 days less than the time taken by B to finish a piece of work. If both A and B together can finish the work in 12 days, find the time taken by B to finish the work. Solution: Let us assume that B takes 'x' days to complete a piece of work. So, B’s 1 day work = 1/x Now, A takes 10 days less than that of B to finish the same pie
3 min read
Class 10 RD Sharma Solutions - Chapter 8 Quadratic Equations - Exercise 8.11
Question 1: The perimeter of the rectangular field is 82 m and its area is 400 m2. Find the breadth of the rectangle? Solution: Given: Perimeter = 82 m and its area = 400 m2 Let the breadth of the rectangle be 'b' m. As we know, Perimeter of a rectangle = 2×(length + breadth) 82 = 2×(length + b) 41 = (length + b) Length = (41 – b)m As we know, Area
6 min read
Class 11 NCERT Solutions- Chapter 5 Complex Numbers And Quadratic Equations - Exercise 5.2
Find the modulus and the arguments of each of the complex numbers i. Exercises 1 to 2.Question 1. z = – 1 – i √3 Solution: We have, z = -1 - i√3 We know that, z = r (cosθ + i sinθ) Therefore, r cosθ = -1 ---(1) r sinθ = -√3 ----(2) On Squaring and adding (1) and (2), we obtain r2 (cos 2θ + sin 2θ) = (-1)2 + (-√3)2 r2 = 1 + 3 r = √4 Since r has to p
6 min read
Class 11 NCERT Solutions- Chapter 5 Complex Numbers And Quadratic Equations - Exercise 5.3
Solve each of the following equations:Question 1. x2 + 3 = 0 Solution: We have, x2 + 3 = 0 or x2 + 0 × x + 3 = 0 ---(1) Discriminant, D = b2 - 4ac from (1) , a = 1 , b = 0 and c = 3 D = (0)2 - 4*(1)*(3) D = -12 Since , x = [Tex]\frac{( -b ± \sqrt{D} }{2a}[/Tex] Therefore , x = [Tex]\frac{( -0 ± \sqrt{-12} }{2(1)}[/Tex] x = [Tex]\frac{(± 2\sqrt{3}i
5 min read
Class 10 RD Sharma Solutions- Chapter 8 Quadratic Equations - Exercise 8.7 | Set 1
Question 1: Find two consecutive numbers whose squares have the sum 85. Solution: Let first number is = x ⇒ Second number = (x+1) Now according to given condition— ⇒ Sum of squares of the numbers = 85 ⇒ x2 + (x+1)2 = 85 ⇒ x2 + x2 + 2x + 1 = 85 [ because (a+b)2 = a2 + 2ab + b2] ⇒ 2x2 + 2x + 1 - 85 = 0 ⇒ 2x2 + 2x - 84 = 0 ⇒ x2 + x - 42 = 0 [ dividing
8 min read
Class 10 RD Sharma Solutions – Chapter 8 Quadratic Equations – Exercise 8.7 | Set 2
Question 11: The sum of a number and its square is 63/4 , find the numbers. Solution: Let the number is = x so it's square is = x2 Now according to condition- ⇒(number)+(number)2=63/4 ⇒ x+x2 = 63/4 ⇒ x2+x-63/4=0 Multiplying by 4- ⇒ 4x2+4x-63=0 ⇒ 4x2 +(18-14)x - 63 =0 [because 63*4=252 so 18*14=252 & 18-14=4] ⇒ 4x2+18x-14x-63=0 ⇒2x(2x+9)-7(2x+9)
5 min read
Class 11 RD Sharma Solutions- Chapter 14 Quadratic Equations - Exercise 14.2
Question 1. Solve the following Quadratic Equations:i) x2 + 10ix - 21 = 0 Solution: x2 + 10ix - 21 = 0 x2 + 7ix + 3ix - 21 = 0 x(x + 7i) + 3i(x + 7i) = 0 (x + 7i)(x + 3i) = 0 x + 7i = 0 ; x + 3i = 0; x = -7i, -3i Hence, the roots are -7i, -3i ii) x2 + (1 - 2x)x - 2i = 0 Solution: x2 + x - 2ix - 2i = 0 x(x + 1) - 2i(x + 1) = 0 (x + 1)(x - 2i) = 0 x
6 min read
Class 11 NCERT Solutions- Chapter 5 Complex Numbers And Quadratic Equations - Exercise 5.1 | Set 2
Chapter 5 Complex Numbers And Quadratic Equations - Exercise 5.1 | Set 1For Q.11 to Q.13 find the multiplicative inverse of the given number Question 11. 4-3i Solution: Let's denote given number as a, the complement of a = [Tex]\overline{a} [/Tex] = [Tex]\overline{4-3i}[/Tex] [Tex]\overline{a} [/Tex] = (4+3i) Modulus of a = (|a|) = √((4)2+(3)2) |a|
2 min read
Class 11 NCERT Solutions- Chapter 5 Complex Numbers And Quadratic Equations - Exercise 5.1 | Set 1
For Q.1 to Q.10 express each complex number in form of a+ibQuestion 1. (5i)[Tex](\frac{-3i}{5})[/Tex] Solution: Let the given number be a, a= (5i)*[Tex](\frac{-3i}{5})[/Tex] a= [Tex]\frac{-15i^2}{5}[/Tex] a= (-3)*i2 a= (-3)*(-1) a= 3+0i Question 2. i9+i19 Solution: Let the given number be a, a = i9 * (1+i10) a = ((i4)2*i )(1 + (i4)2 (i2)) a = (1*i)
2 min read
Class 10 RD Sharma Solutions - Chapter 8 Quadratic Equations - Exercise 8.10
Question 1. The hypotenuse of a right triangle is 25 cm. The difference between the lengths of the other two sides of the triangle is 5 cm. Find the lengths of these sides. Solution: Let the length of other two sides of the triangle be x and y. Therefore, according to the question, x - y = 5 or, x = y + 5 Now the two sides are of length y and y + 5
5 min read
Class 10 RD Sharma Solutions - Chapter 8 Quadratic Equations - Exercise 8.3 | Set 2
Question 21. (16/x) - 1 = 15/(x + 1), x ≠ 0, -1. Solution: We have equation, (16/x) - 1 = 15/(x + 1) (16 - x)/x = 15/(x + 1) 15x = (x + 1) (16 - x) 15x = 16x - x2 + 16 - x 15x - 16x + x2 -16 + x = 0 x2 - 16 = 0 (x - 4) (x + 4) = 0 Therefore, roots of the equation are 4 or -4. Question 22. (x + 3)/(x + 2) = (3x - 7)/(2x - 3), x ≠ -2, 3/2. Solution:
10 min read
Class 10 RD Sharma Solutions - Chapter 8 Quadratic Equations - Exercise 8.13
Question 1. A piece of cloth costs ₹ 35. If the piece were 4 m longer and each meter costs ₹ 1 less, the cost would remain unchanged. How long is the piece? Solution: Let us considered the length of piece of cloth = x m Given: The total cost = ₹ 35 So, the cost of 1 m cloth = ₹ 35/x According to the question, (x + 4)(35/x - 1) = 35 ⇒ 35 - x + (140/
11 min read