Let f(x) be an expression in x. For example, f(x)=3x+2 or f(x)=8x2x+5. Where the graph of the equation y=f(x) crosses the y-axis is called the y-intercepts and where it crosses the x-axis is called the x-intercept.

To find the x-intercept of the graph of y=f(x), we set y=0 and solve for x. Therefore, the x-intercepts of the graph of y=f(x) are solutions to f(x)=0 (also called the roots of f).

Similarly to find the y-intercept, we substitute x=0 in the equation y=f(x) and solve for y.

Linear equations

An equations that can be written of the form
ax+b=0,(a0) where a and b are (fixed) real numbers and x is the variable (or the unknown) is called a linear equation. To solve the equation, move b to the other side
ax=b and then move the coefficient a to the denominator of b; that is,
x=ba. (In fact we subtract b from both sides and then divide both sides of the resulting equation by a).

  •  The solution of ax+b=0 is the x-intercept of the straight line
    y=ax+b (the x-intercept is where the graph intersects the x-axis).
Example
Solve each equation:

(a) 5x+9=8x+12

(b) 3x+74=1+1x3

Solution
We first simplify and then rewrite the equations of the form that all terms containing the variable x are on one side and the constant terms are on the other side.
(a) The given equation is 
5x+9=8x+12 Subtract 8x from both sides:
5x+98x=8x8x+123x+9=0x+123x+99=1293x=3
Now if we divide both sides by 3, we get x=1.

(b) The given equation is
3x+74=1+1x3 Because the least common divisor or LCD (the least common multiple of 3 and 4) is 12, we multiply both sides by 12 and get  
123x+74=12(1+1x3) Now let’s simply
9x+21=12+44x9x+4x=12+42113x=5x=513

Power equations

Consider an equation of the form
xn=a where a is a fixed number and n is an integer. Then the solution(s) of the above the equation are:
x={ann is odd)±an n is even and a>0no real solutionn is even and a<0

Example
Solve (x5)4=81.
Solution

To solve, take the 4th root of both sides:
x5=±814x5=±344x5=±3x=5±3

Therefore, the solutions are x=8 and x=2.

Quadratic equations

The general form of quadratic equations (or a second-degree equation) is
(i)ax2+bx+c=0,(a0) For example,
3x25x+2=0 is a quadratic equation. In this example, a=3,b=5, and c=2.

  •  The solutions (also called roots or zeros) of ax2+bx+c=0 are the x-intercepts of the graph y=ax2+bx+c. The graph of y=ax2+bx+c opens upward if a>0 and downward if a<0.

 

Quadratic formula

 

The solutions (or roots) of the quadratic equation ax2+bx+c=0 can always be found using the following general formula, called the quadratic formula:

x=b±b24ac2a

When we apply the general formula to the equation 3x25x+2=0 with a=3,b=5, and c=2, we get:
x=5±5243223=5±16=1or23

The part of the quadratic formula that is under the square root, D=b24ac, is called the discriminant of the equation ax2+bx+c=0. There are three cases:

D=b24ac

  • D>0      There are two distinct real roots
  • D=0      There is one real root (a double root)
  • D<0      There is no real root (there are two imaginary roots)

See the following figures.

(a) D>0,a>0, two real roots (b) D>0,a<0, two real roots
(c) D=0,a>0, double root (d) D<0,a>0, no real roots

 

  •  Factorization: When Equation (i) has two real roots r1 and r2, it factors as

    ax2+bx+c=a(xr1)(xr2). For example, because roots of 3x25x+2 are 1 and 2/3, we have
    3x25x+2=3(x1)(x23)=(x1)(3x2)

 

Example
Factor 12x243x+35
Solution
It may not easy to factor it by trial and error. So we find the roots
using the quadratic formula
r1,2=43±43241235212=43±169212=43±13212
which gives r1=54 and r2=73. Therefore,
12x243x+35=a(xr1)(xr2)=12(x54)(x73)=(4x5)(3x7).
  • Sum and product of roots: If r1 and r2 are the roots of (i) then

    r1+r2=ba,r1r2=ca Because if we expand a(xr1)(xr2), we have
    a(xr1)(xr2)=ax2a(r1+r2)x+ar1r2.
    So by comparing with ax2+bx+c, we realize that a(r+r2)=b and ar1r2=c

For example, the roots of 3x25x+2=0 are 1 and 2/3 and
1+23=ba=(53),123=ca=23

  •  If a+b+c=0, then one of the roots is 1, because if we substitute 1 for x, we get
    a×12+b×1+c=a+b+c=0
  • If a+c=b, then one of the roots is 1, because if we substitute 1 for x, we get
    a(1)2+b(1)+c=ab+c=bb=0.

Completing the square

If we can rewrite the quadratic equation ax2+bx+c=0 as
(x+A)2=C, then we can easily solve it by taking the square roots of both sides (see here). The left-hand side is a perfect square— the square of x+A, and if we expand it, we get
(x+A)2=x2+2Ax+A2. So in a perfect square, the constant term is the square of half of the coefficient of x.

A binomial x2+bx becomes a perfect square if we add (b2)2 to it:
x2+bx+(b2)2=(x+b2)2 This method which is called completing the square has many applications in different parts of mathematics. One of these applications is in solving the quadratic equations and deriving the quadratic formula we have seen in this section.

To solve
x2+bx+c=0 we add (b/2)2 to both sides of the equation, so
x2+bx+(b2)2+c=(b2)2 Therefore, the sum of the first three terms makes a perfect square

(x+b2)2+c=(b2)2(x+b2)2=(b2)2c

Take the square roots of both sides:

x+b2=±(b2)2c

Move b/2 to the right hand side:

x=b2±(b2)2c

For example, let us solve
x26x5=0. First, transpose 5; that is, add 5 to both sides
x26x=5. If now we add (6/2)2=9 to both sides, the left hand side will be a perfect square
x26x+9=14

The left hand side is a complete square:

(x3)2=14

Take the square root of each side

x3=±14x=3±14

The solutions therefore are 314 and 3+14.

  •  If there is a constant a multiplying the x2 term, then we first factor out that constant and then complete the square, as illustrated in the following example.
Example
Solve 3x28x+2=0 by completing the square.
Solution
3x28x+2=03x28x=23(x283x)=2x283x=23x283x+(823)2=23+(823)2(x86)2=23+169=109

Take the square roots:

x43=±109x=43±103=4±103.

Transformation of the equations of circles to the standard form by completing the square

One of the applications of completing the square is in finding the center of a circle when its equation is expressed in the general form, as illustrated in the following equation.

Example
Find the center and radius of the circle with equation
x2+y212x+14y+69=0.
Solution
To easily find the center and the radius of the circle, we need to rewrite the equation of the circle of the form
(xa)2+(yb)2=r2. In doing so, on the left side, we group the terms containing x together, and the terms containing y together, and move the constant
to the right side:
(x212x)+(y+14y)=69. Then we complete the square for each variable (do not forget to add the required constants for completing the squares on both sides of the equations).
(x12x+(6)2)62+(y+14x+72)72=69

Move constants to the right hand side:

(x6)2+(y+7)2=69+36+49(x6)2+(y+7)2=16(x6)+(y(7))2=42
Comparing the above equation with the standard form of the equation of a circle reveals that the center is (6,7) and the radius is 4.

Finding the maximum or minimum value of a quadratic polynomial

 

By completing the square, we can find the maximum or minimum value of a quadratic polynomial.

  •  Recall that if a>0, the graph of y=ax2+bx+c opens upward and hence has a minimum and if a<0, the graph opens downward and
    hence has a maximum.

Example
Complete the square and find the maximum value of y=12x2+x+1 and the value of x for which the maximum occurs.
Solution
Complete the square
y=12x2+x+1=12[x22x2]=12[x22x+(1)212]=12[(x1)212]=12[(x1)23]=12(x1)2+32
Because 12(x1)2 can never be positive, and it is zero when x=1, y has a maximum of 3/2 when x=1. The graph of y=12x2+x+1 is sketched in the following figure.

Graph of y=12x2+x+1.