#### A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

Complete the Square Calculator - Online Calculator - Tutorpace

# Complete the Square Calculator

## Online Tutoring Is The Easiest, Most Cost-Effective Way For Students To Get The Help They Need Whenever They Need It.

A quadratic equation is of the form ax2+ bx + c = 0 and we can solve this equation by various methods. One of the methods to solve a quadratic equation is by ‘Completing the square’. Complete the square calculator is the online tool which can complete the square instantly.

Example 1: Solve by completing the square: x2 + 6x -7 = 0

Check whether the co-efficient of x2 is 1. Yes!

Add ‘7’ on both sides! ? x2+6x = 7

Now divide the coefficient of ‘x’ by ‘2’? 6/2 = 3

Now square the number got from the previous step ? 32 = 9

Add the above ‘9’ on both sides ? x2+6x+9=7+9 ? x2+6x+9 = 16

Now x2+6x+9 can be factored as (x+3) (x+3) = (x+3)2

(x+3)2 = 16 ?x+3 = √16

x+3 = +- 4?x = -3 +-4

x = 1 and x= -7

Example 2: Solve by completing the square: x2 + 4x – 8 = 0

Check whether the co-efficient of x2 is 1. Yes!

Add ‘8’ on both sides! ? x2+4x = 8

Now divide the coefficient of ‘x’ by ‘2’? 4/2 = 2

Now square the number got from the previous step ? 22 = 4

Add the above ‘4’ on both sides ? x2+4x+4 = 8+4 ? x2+4x+4 = 12

Now x2 + 4x + 4 can be factored as (x+2) (x+2) = (x+2)2

(x+2)2 = 12 ?x+2 = √12

x = -2 + 2√3 and x = x = -2 - 2√3