Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How do you solve x2+12x+20=0 by completing the square?

Answer
VerifiedVerified
464.1k+ views
like imagedislike image
Hint: In the problem they have mentioned to use the method of completing the square. We know that the method of completing the square is used to solve or find the roots of a quadratic equation. So first we will check whether the given equation is a quadratic equation or not. If the given equation is a quadratic equation and which is in the form of ax2+bx+c=0, then we will go to the further steps. In the first step we will divide the given equation with the coefficient of x2 to get the coefficient of x2 as 1. In the step two we will add and subtract the square of the half of the coefficient of x in the above equation and rearrange the obtained equation, then we will apply the formula either (a+b)2=a2+2ab+b2 or (ab)2=a22ab+b2 based the obtained equation in step two. In step three we will simplify and move the constants to another side of the equation. In step four we will apply square roots on both sides of the equation and simplify it to get the value of x.

Complete step by step solution:
Given equation, x2+12x+20=0
We can clearly see that the above equation is a quadratic equation, so we can use the method of completing the square to solve the given equation.
Comparing the given equation with ax2+bx+c=0, then we will get
a=1, b=12, c=20.
We have the value a=1, so we are not dividing the given equation with a coefficient of x2.
In the above equation the coefficient of x is 12. Adding the square of half of the coefficient of x in the above equation, then we will get
x2+12x+20+(122)2(122)2=0x2+12x+20+(6)2(6)2=0
Rearranging and rewriting the terms in the above equation, then we will get
x2+2(6)(x)+(6)2+2036=0
We know that (a+b)2=a2+2ab+b2, then we will get
(x+6)216=0
Taking the constants in the above equation to the other side of the equation, then we will get
(x+6)2=16
Applying square root on both side of the above equation, then we will get
(x+6)2=16x+6=±4
From the above equation, we will get
x+6=4 or x+6=4
Simplifying the above equations, then
x=46x=2 or
x=46x=10
Hence the roots of the given equation x2+12x+20=0 are x=2,10.

Note: We can also plot the graph of the given equation to get the roots of the given equation. When we plot the graph of the equation x2+12x+20=0, then we will get
seo images

From the above graph also, we can write the roots of the given equation x2+12x+20=0 are x=2,10.



Latest Vedantu courses for you
Grade 8 | CBSE | SCHOOL | English
Vedantu 8 CBSE Pro Course - (2025-26)
calendar iconAcademic year 2025-26
language iconENGLISH
book iconUnlimited access till final school exam
tick
School Full course for CBSE students
EnglishEnglish
MathsMaths
ScienceScience
₹49,800 (9% Off)
₹45,300 per year
Select and buy