solve x^2-10x+21=0
Let's solve in ℝ: x2 -10x + 21 = 0
Given the quadratic form ax2 + bx + c, you can calculate the discriminant: Δ = b2 -4ac. Here a = 1, b = -10 and c = 21
Δ = (-10)2 -4·1·21
ⓘ Powers are computed before multiplications, additions and subtractions. A power with a positive integer exponent is a repeated product: (-10)2 = (-10)·(-10) = 100
Δ = 100 -4·21
ⓘ Multiplications are done before additions and subtractions: 4·21 = 4·(20 + 1) = 4·20 + 4 = 80 + 4 = 84
Δ = 100 -84
ⓘ Start from 100 and move back 84 on the number line: 100 -84 = 16
Δ = 16
Since Δ > 0, the equation has two roots:
The quadratic formula gives x1 = -b -Δ2a = -(-10) -162·1
x1 = 10 -162
ⓘ The square root of a nonnegative real number is the nonnegative number whose square is that number: 16 = 4 since 42 = 16
x1 = 10 -42
ⓘ The numerator and the denominator are computed before the division: 10 -4 = 6
x1 = 62
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 62 = 3
x1 = 3
The quadratic formula gives x2 = -b + Δ2a = -(-10) + 162·1
x2 = 10 + 162
ⓘ The square root of a nonnegative real number is the nonnegative number whose square is that number: 16 = 4 because 42 = 16
x2 = 10 + 42
ⓘ The numerator and the denominator are computed before the division: 10 + 4 = 14
x2 = 142
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 142 = 7
x2 = 7
▶Solutions obtained: x = { 3, 7 }