Lesson 7 of 42 · Algebra

First and second degree equations

Solve linear and quadratic equations by hand, read the discriminant, use the sum and product of roots, and reject values outside the domain.

About 22 minutes

In this lesson

  • Solve linear equations, including those with fractions, and recognise when there is no solution or every number is a solution.
  • Solve quadratic equations by factoring or by the formula, and use the discriminant to count real solutions.
  • Use the sum and product of the roots without solving the equation.
  • Solve equations with the unknown in a denominator and discard values outside the domain.

The idea

First degree equations

An equation of the form ax+b=0ax + b = 0 has:

  • exactly one solution, x=−bax = -\frac{b}{a}, when a≠0a \ne 0;
  • no solution when a=0a = 0 and b≠0b \ne 0 (it says b=0b = 0, which is false);
  • every real number as a solution when a=0a = 0 and b=0b = 0 (it says 0=00 = 0).

The last two cases appear in questions with a parameter, so do not divide by a coefficient that might be zero.

With fractions, multiply both sides by the least common denominator first. Put brackets round every numerator before multiplying, because the minus sign in front of a fraction applies to its whole numerator: −x−14-\frac{x - 1}{4} becomes −(x−1)=−x+1-(x - 1) = -x + 1 after clearing.

Second degree equations

A quadratic ax2+bx+c=0ax^2 + bx + c = 0 with a≠0a \ne 0 can be solved three ways.

Factoring is fastest when it works. Find two numbers with product acac and sum bb; when a=1a = 1, two numbers with product cc and sum bb. Then use the zero-product rule: if PQ=0PQ = 0, then P=0P = 0 or Q=0Q = 0.

Special forms need no formula. If b=0b = 0, isolate x2x^2: x2=16x^2 = 16 gives x=±4x = \pm 4. If c=0c = 0, factor out xx: x2=3xx^2 = 3x gives x(x−3)=0x(x - 3) = 0, so x=0x = 0 or x=3x = 3.

The quadratic formula always works:

x=−b±Δ2a,Δ=b2−4ac.x = \frac{-b \pm \sqrt{\Delta}}{2a}, \qquad \Delta = b^2 - 4ac.

The discriminant counts the solutions

Δ\Delta Real solutions
Δ>0\Delta > 0 two distinct
Δ=0\Delta = 0 one (a repeated root, x=−b2ax = -\frac{b}{2a})
Δ<0\Delta < 0 none

Questions often ask "for which values of kk does the equation have two real solutions?" Set up Δ\Delta in terms of kk and solve the inequality; you never need the roots themselves.

Sum and product of the roots

If x1x_1 and x2x_2 are the roots of ax2+bx+c=0ax^2 + bx + c = 0, then

x1+x2=−ba,x1x2=ca.x_1 + x_2 = -\frac{b}{a}, \qquad x_1 x_2 = \frac{c}{a}.

These follow from writing a(x−x1)(x−x2)a(x - x_1)(x - x_2) and comparing coefficients. They answer questions about the roots without the formula, and they check a solution: for 2x2−7x+3=02x^2 - 7x + 3 = 0 the roots should add to 72\frac{7}{2} and multiply to 32\frac{3}{2}. They describe the real roots only when Δ≥0\Delta \ge 0, so check that first.

Equations that reduce to quadratics

A biquadratic such as x4−13x2+36=0x^4 - 13x^2 + 36 = 0 becomes a quadratic with t=x2t = x^2: t2−13t+36=(t−4)(t−9)=0t^2 - 13t + 36 = (t - 4)(t - 9) = 0, so x2=4x^2 = 4 or x2=9x^2 = 9, and x=±2x = \pm 2 or x=±3x = \pm 3. Remember that t=x2t = x^2 cannot be negative: a negative value of tt gives no real xx.

The unknown in a denominator

Before you clear denominators, write down the domain: the values that make any denominator zero are excluded. After solving, throw out any solution in that excluded set. Multiplying by an expression that can be zero can create such false solutions, which is why the check is not optional.

Never divide by the unknown

Dividing both sides of x2=3xx^2 = 3x by xx gives x=3x = 3 and silently loses x=0x = 0. Move everything to one side and factor instead.

Worked examples

Example 1: A linear equation with fractions

Solve x+23−x−14=2\frac{x + 2}{3} - \frac{x - 1}{4} = 2.

  1. Multiply both sides by the common denominator 12, keeping each numerator in brackets: 4(x+2)−3(x−1)=244(x + 2) - 3(x - 1) = 24.

  2. Expand, paying attention to the minus sign: 4x+8−3x+3=244x + 8 - 3x + 3 = 24.

  3. Collect: x+11=24x + 11 = 24, so x=13x = 13.

  4. Check: 153−124=5−3=2\frac{15}{3} - \frac{12}{4} = 5 - 3 = 2.

Answer

x=13x = 13. Writing −3x−3-3x - 3 instead of −3x+3-3x + 3 gives x+5=24x + 5 = 24 and the wrong answer x=19x = 19.

Example 2: A quadratic by the formula, checked two ways

Solve 2x2−7x+3=02x^2 - 7x + 3 = 0.

  1. Identify a=2a = 2, b=−7b = -7, c=3c = 3, and compute Δ=(−7)2−4⋅2⋅3=49−24=25\Delta = (-7)^2 - 4 \cdot 2 \cdot 3 = 49 - 24 = 25.

  2. Apply the formula: x=7±54x = \frac{7 \pm 5}{4}, so x=3x = 3 or x=12x = \frac{1}{2}.

  3. Check with sum and product: 3+12=72=−ba3 + \frac{1}{2} = \frac{7}{2} = -\frac{b}{a} and 3⋅12=32=ca3 \cdot \frac{1}{2} = \frac{3}{2} = \frac{c}{a}.

  4. Or factor: 2x2−7x+3=(2x−1)(x−3)2x^2 - 7x + 3 = (2x - 1)(x - 3), which gives the same roots.

Answer

x=3x = 3 or x=12x = \frac{1}{2}. Using −b=−7-b = -7 instead of +7+7 in the formula gives the negatives of the roots, −3-3 and −12-\frac{1}{2}.

Example 3: A solution that is not allowed

Solve x2x−3=9x−3\frac{x^2}{x - 3} = \frac{9}{x - 3}.

  1. Domain first: x−3≠0x - 3 \ne 0, so x≠3x \ne 3.

  2. Multiply both sides by x−3x - 3: x2=9x^2 = 9, so x=3x = 3 or x=−3x = -3.

  3. Discard x=3x = 3, which is excluded. Check x=−3x = -3: both sides equal 9−6=−32\frac{9}{-6} = -\frac{3}{2}.

Answer

The only solution is x=−3x = -3. Reporting x=±3x = \pm 3 includes a value that makes the denominators zero.

Example 4: How many solutions, depending on k

For which values of kk does x2−6x+k=0x^2 - 6x + k = 0 have two distinct real solutions?

  1. Two distinct real solutions need Δ>0\Delta > 0: Δ=36−4k\Delta = 36 - 4k.

  2. Solve 36−4k>036 - 4k > 0: 4k<364k < 36, so k<9k < 9.

  3. At k=9k = 9 the equation is (x−3)2=0(x - 3)^2 = 0, a single repeated root; for k>9k > 9 there are no real roots.

Answer

Exactly when k<9k < 9. Writing k≤9k \le 9 wrongly includes the case of one repeated root.

Common traps

  • Dividing by the unknown

    Dividing by xx (or by any expression containing xx) assumes it is not zero, and loses the solutions where it is. Bring everything to one side and factor.

  • Forgetting the negative root

    x2=16x^2 = 16 has two solutions, 44 and −4-4. Taking a square root of both sides of an equation needs the ±\pm.

  • Keeping an excluded value

    Clearing denominators can produce a value that makes a denominator zero. Write the domain before you start and check every solution against it.

  • The sign in the sum of roots

    The sum of the roots is −ba-\frac{b}{a}, with a minus sign, and the product is ca\frac{c}{a}, without one. For x2+5x+6=0x^2 + 5x + 6 = 0 the roots are −2-2 and −3-3: sum −5-5, product 66.

Check yourself

Answer each question before you open its answer.

Question 1: A quadratic with no constant term

Algebra: equations

What are all the real solutions of x2=3xx^2 = 3x?

  1. A.x=3x = 3 only
  2. B.x=0x = 0 or x=3x = 3
  3. C.x=−3x = -3 or x=3x = 3
  4. D.x=0x = 0 or x=−3x = -3
Show the answer

Answer: B. x=0x = 0 or x=3x = 3

Working

Move everything to one side: x2−3x=0x^2 - 3x = 0, so x(x−3)=0x(x - 3) = 0. A product is zero when a factor is zero: x=0x = 0 or x=3x = 3. Both check: 0=00 = 0 and 9=99 = 9.

Why the other options are wrong

  • A. Dividing both sides by xx assumes x≠0x \ne 0 and loses the solution x=0x = 0.
  • C. This treats the equation as x2=9x^2 = 9. Check x=−3x = -3: the left side is 99, the right side is −9-9.
  • D. The sign of the second root is wrong: from x(x−3)=0x(x - 3) = 0, the second factor is zero at x=3x = 3.

What carries over

Factor instead of dividing by the unknown, so that no solution is lost.

Question 2: Sum of the roots

Algebra: equations

What is the sum of the real solutions of 3x2+12x−5=03x^2 + 12x - 5 = 0?

  1. A.−4-4
  2. B.−53-\frac{5}{3}
  3. C.44
  4. D.1212
Show the answer

Answer: A. −4-4

Working

First check that there are two real roots: Δ=122−4⋅3⋅(−5)=144+60=204>0\Delta = 12^2 - 4 \cdot 3 \cdot (-5) = 144 + 60 = 204 > 0. Then the sum is −ba=−123=−4-\frac{b}{a} = -\frac{12}{3} = -4. (By the formula the roots are −12±2046\frac{-12 \pm \sqrt{204}}{6}, and adding them cancels the roots, leaving −246=−4\frac{-24}{6} = -4.)

Why the other options are wrong

  • B. This is the product of the roots, ca\frac{c}{a}, not their sum.
  • C. This is ba\frac{b}{a} without the minus sign; the sum of the roots is −ba-\frac{b}{a}.
  • D. This is the coefficient bb alone, neither negated nor divided by a=3a = 3.

What carries over

Sum of roots is minus b over a; product is c over a; check the discriminant first.

Question 3: Fractions with the unknown below

Algebra: equations

Solve 1x−1+2x+1=2x2−1\frac{1}{x - 1} + \frac{2}{x + 1} = \frac{2}{x^2 - 1}.

  1. A.x=13x = \frac{1}{3}
  2. B.x=1x = 1
  3. C.x=1x = 1 or x=−1x = -1
  4. D.No real solution
Show the answer

Answer: D. No real solution

Working

Domain: x2−1=(x−1)(x+1)≠0x^2 - 1 = (x - 1)(x + 1) \ne 0, so x≠1x \ne 1 and x≠−1x \ne -1. Multiply by (x−1)(x+1)(x - 1)(x + 1): (x+1)+2(x−1)=2(x + 1) + 2(x - 1) = 2, so 3x−1=23x - 1 = 2 and x=1x = 1. That value is excluded, so the equation has no solution.

Why the other options are wrong

  • A. This multiplies each fraction by its own denominator: (x−1)+2(x+1)=2(x - 1) + 2(x + 1) = 2. Clearing by x2−1x^2 - 1 leaves the other factor: (x+1)+2(x−1)(x + 1) + 2(x - 1).
  • B. This is the result of the cleared equation, but x=1x = 1 makes two denominators zero, so it is excluded.
  • C. These are the values that make a denominator zero: the excluded values, not solutions.

What carries over

Write the domain before clearing denominators, and reject any solution outside it.

Key points

  • ax+b=0ax + b = 0 has one solution if a≠0a \ne 0, none if a=0,b≠0a = 0, b \ne 0, and infinitely many if a=b=0a = b = 0.

  • Δ=b2−4ac\Delta = b^2 - 4ac: positive, two roots; zero, one; negative, none.

  • Sum of roots −ba-\frac{b}{a}, product ca\frac{c}{a}.

  • Never divide by the unknown; factor instead.

  • With the unknown in a denominator, find the excluded values first and reject them at the end.

All questions here are original and written for UniExamer; none comes from the test maker.

Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.

Bu konuyu çalış

Bu beceride çözümlü açıklamalarla yeni sorular. Çalışma için Single Exam Pass veya Plus gerekir.