Solution of Quadratic Equations by Completing Squares

Many real life situations can result in quadratic equations. For example, consider the following situation:

A ladder is leaning against a wall. The top of the ladder touches the wall at a

height of 15 feet. The length of the ladder is one foot more than twice its distance from the foot of the wall. We need to find the length of the ladder.

We can express the given situation mathematically with the help of a quadratic equation.

Let us see how.

Let the distance from the wall to the bottom of the ladder be x feet.

It is given that the length of the ladder is one foot more than twice its distance from the foot of the wall.

Hence, the length of the ladder becomes (2x + 1).

The wall makes an angle of 90° with respect to the ground. Since the ladder is leaning against the wall, the entire arrangement forms a right triangle in which the ladder acts as the hypotenuse.

On applying Pythagoras theorem, we get

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m19028f14.gif

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_7c5f321e.gif

Now, to find the length of the ladder, we first need to solve the given quadratic equation. Observe that if you try to solve it by splitting the middle term, then it will become very lengthy. In such cases, it is easier to solve the quadratic equation by another method called the Completion of Squares.

Let us learn this method with the help of an example. Consider the following quadratic equation:

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_mb5ab90d.gif

In this method, we need to convert the quadratic equation in the form

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_592d4d8c.gif

To convert a quadratic equation in this form, we will make use of the following identities:

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m213d09a2.gif

In the example taken previously, the given equation was https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_mb5ab90d.gif.

Note that the term with the coefficient x has a negative sign attached to it.

We thus need to make use of the identity https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_6a4268b9.gif here.

On comparing this equation with the given identity, we get 2b = 6, i.e., b = 3.

Thus, we need to add https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_620280.gifon both sides of the equation.

The equation now becomes .https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_5cedd849.gif

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m62fcb6f0.gif

It is important to remember thathttps://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m3367dab9.gif has two values, i.e., 4 and –4.

Thus, the equation can be further simplified as

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_59ad8bf.gif

Thus, the given equation has two solutions, i.e., x = 7 and x = –1.

Let us now go back to the initial problem we were discussing.

We had arrived at a final quadratic equation, which washttps://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_50acea1c.gif .

Note that in this case, the term with the coefficient x2 is not a perfect square. We thus need to multiply the equation by 3 to make it a perfect square.

On doing so, we get

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_7e2bf8fe.gif

The identity canhttps://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m43695db6.gif be used here.

The equation can now be solved as

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m6d835e2e.gif

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m60b08b74.gif

However, x represents the distance of the foot of the ladder from the base of the wall, which cannot be negative. Thus, x has only one value, i.e., 8.

Thus, length of the ladder = 2x + 1 = (2 × 8 + 1) ft = 17 ft

We can follow one more approach to solve this equation.

The equation was https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_50acea1c.gif.

Here, the term with the coefficient x2 is not a perfect square. We thus convert it to a perfect square by multiplying the equation by 3.

Note that we could also have divided the equation by 3 and still have converted the term to a perfect square.

Let us see how.

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_17e1bf63.gif

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_57d76952.gif

We can use any of the two methods mentioned above, as long as we covert the equation to the formhttps://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m26a1184e.gif .

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m661f5a49.gifNote: Usually, the roots of the quadratic equation ,https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_43a61459.gifcan be found by first dividing the equation by and then completing the squares of the terms in the equation.

Example 1: Find the roots of the equation https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m7723640c.gif by the method of completion of squares.

Solution:

The given equation is .https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m7c31dae0.gif

By multiplying the equation by 5, we get https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m495ba27a.gif.

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m25bba859.gif

Example 2: Find the roots of the equation https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_7412224a.gif by the method of completion of squares.

Solution:

The given equation is https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_297a750c.gif.

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m34c0cb58.gifhttps://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m48f24993.gif

Example 3: Find three consecutive even integers so that the product of the first two numbers is three times the third number.

Solution:

Let the three numbers be x, (x + 2), and (x + 4).

From the given condition, we have x(x + 2) = 3(x + 4).

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/432/472/10.1.4.2.2_SMT_AP_KG_SNK_html_m379956c0.gif

However, the three numbers are positive integers.

Thus, x cannot be equal to –3.

Thus, the three consecutive even integers are 4, 6, and 8.

Example 4: Denominator of a fraction is 3 more than its numerator such that both are positive integers. If the sum of the fraction and its reciprocal is https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_11_17_34/mathmlequation1671874743983327585.png then find the fraction.

Solution:

Let the numerator be x. Then the denominator will be x + 3.

According to the question, we have

https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_11_17_34/mathmlequation4725630855227387645.png

⇒ 10(x2 + x2 + 6x + 9) = 29x(x + 3)

⇒ 20x2 + 60x + 90 = 29x2 + 87x

⇒ 9x2 + 27x – 90 = 0

https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_11_17_34/mathmlequation2679963484558497361.png

x = 2 or x = –5

–5 is a negative integer, so it is discarded.

Consider x = 2

∴ Numerator = 2 and Denominator = 2 + 3 = 5

∴ Fraction = https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_11_17_34/mathmlequation1861980504224899218.png

Example 5: Base of a small triangular garden is 7 m more than its height. If the area of the garden is 60 m2 then find its base and height.

Solution:

Let the height of the triangular garden be x m. Then its base will be (x + 7) m.

Area of triangular garden = https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_11_17_34/mathmlequation7480571395941610292.png

https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_11_17_34/mathmlequation8380572796958974667.png

⇒120 = x2 + 7x

x2 + 7x – 120 = 0

https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_11_17_34/mathmlequation3473471395669350973.png

Length cannot be negative, so we consider x = 8.

∴ Height of triangular garden = 8 m

∴ Base of triangular garden = (8 + 7) m = 15 m

Solution of Quadratic Equations by Using Quadratic Formula

The following equations are quadratic in nature:

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_a0e14b6.gif

If we were to solve these equations, we could have either factorized the equations (i), (ii), and (iii) or completed their squares.

However, note that we would face a lot of difficulty in solving equation (iv) by either of these two methods.

Apart from factorizing a quadratic equation or completing its square, we can also use the quadratic formula to factorize an equation.

Let us go back to equation (iv), which was https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_m2566b066.gif. Comparing this equation with the general form of a quadratic equation:

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_m61ca46f6.gif

Thus, according to the quadratic formula:

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_m30e8a540.gif

Let us now solve some more quadratic equations by using the quadratic formula.

Example 1: Solve the quadratic equation 5x2 + x− 22 = 0 by using the quadratic formula.

Solution:

On comparing the given equation with the general form ax2 + bx + c = 0, we get

a = 5, b = 1, c = −22

On putting these values in the quadratic formula, we get

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_m149c14ab.gif

Example 2: Find the roots of the equation 3x2 + 5x + 10 = 0 by using the quadratic equation formula.

Solution:

On comparing the given equation with the general form ax2 + bx + c = 0, we get

a = 3, b = 5, c = 10

b2 − 4ac = (5)2 − 4 × 3 × 10

= 25 − 120

= −95 <</span> 0

Thus, https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_m208f3ce2.gifdoes not have any real value.

Thus, there are no real roots for the given equation.

Example 3: The denominator of a fraction is 2. If the sum of the fraction and its

reciprocal is https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_m15ed93f2.gif, then find the fraction.

Solution:

Let the numerator of the fraction be x.

Hence, the rational number ishttps://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_62215e74.gif .

It is given that the sum of the fraction and its reciprocal is https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_332cd0bb.gif.

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_53a7fe52.gif

On comparing this equation with the general form ax2 + bx + c = 0, we get

a = 6, b = −26, c = 24

On putting these values in the quadratic formula, we get

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_m17582a7a.gif

Since x is the numerator of the fraction, it has to be an integer.

x = 3

Thus, the fraction is https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_203127bd.gif.

Example 4: The perimeter of a rectangle is 34 cm and its area is 70 cm2. Find the length and the breadth of the rectangle.

Solution:

Let the length and breadth of the rectangle be x and y respectively.

Thus, perimeter of the rectangle = 2(x + y) = 34 cm

x + y = 17

y = 17 – x … (1)

Thus, area of the rectangle = x × y = 70 cm2 … (2)

Substituting the value of y from (1) in (2):

x(17 – x) = 70

⇒ 17x x2 = 70

x2 – 17x + 70 = 0

By using the quadratic formula, we get

https://img-nm.mnimgs.com/img/study_content/lp/1/10/9/131/165/433/473/10.1.4.2.3_SMT_AP_KG_SNK_html_636c7052.gif

Thus, the length and the breadth of the rectangle are 10 cm and 7 cm respectively.

Example 5: A ball is thrown upwards from a height of 6 m with a particular speed. The height h of the ball after t seconds is given by 6 + 13t – 5t2. How long the ball will take to touch the ground?

Solution:

Height of the ball after t seconds is given as follows:

h = 6 + 13t – 5t2

When ball will touch the ground, the height will be 0 m.

⇒ 0 = 6 + 13t – 5t2

⇒ 5t2 – 13t – 6 = 0

By using the quadratic formula, we get

https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_12_54_09/mathmlequation5046493888393110769.png

Time cannot be negative, so we will consider t = 3.

Thus, the ball will touch the ground after 3 seconds.

Example 6: A super fast train takes 6 hours less than a passenger train to reach the destination which is 1440 km away. If the speed of the super fast train is 40 km/hr more than that of passenger train then find the average speed of both trains.

Solution:

Let the average speed of passenger train be x km/hr.

Then the average speed of super fast train will be x + 40 km/hr.

Total distance to be covered = 1440 km

Total time taken by passenger train = https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_12_54_09/mathmlequation7831945851388758140.png

Total time taken by super fast train = https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_12_54_09/mathmlequation8950651018484391853.png

According to the question, we have

https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_12_54_09/mathmlequation2373305161923682838.png

⇒ 1440(40) = 6x(x + 40)

x2 + 40x – 9600 = 0

By using the quadratic formula, we get

https://img-nm.mnimgs.com/img/study_content/editlive_lp/56/2013_04_12_12_54_09/mathmlequation2745699935996681268.png

Speed cannot be negative, so we consider x = 80.

∴ Average speed of passenger train = 80 km/hr

∴ Average speed of super fast train = (80 + 40) km/hr = 120 km/hr