simplify (a^2-1)/(a^2+2a-3)
The original denominators must be nonzero: a ∈ ℝ \ { -3, 1 }
1) Let's reduce: a2 -1a2 + 2a -3
2) Let's factor in ℝ: a2 -1
For a2 -1, we recognize a difference of two squares: a2 -12. Apply A2 -B2 = (A -B)·(A + B), with A = a and B = 1
Factors found: (a + 1)·(a -1)
3) Let's factor in ℝ: a2 + 2a -3
Given the quadratic form Aa2 + Ba + C, let's compute the discriminant: Δ = B2 -4AC. Here A = 1, B = 2 and C = -3
Δ = 22 -4·1·(-3)
ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: 22 = 2·2 = 4
Δ = 4 -4·(-3)
ⓘ Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -4·(-3) = 12
Δ = 4 + 12
ⓘ Start from 4 and move forward 12 on the number line: 4 + 12 = 16
Δ = 16
As Δ > 0, the equation has two roots:
The quadratic formula gives a1 = -B -Δ2A = -2 -162·1
a1 = -2 -162
ⓘ The square root of a number is the positive number whose square is that number: 16 = 4; 42 = 16
a1 = -2 -42
ⓘ The numerator and the denominator are computed before the division: -2 -4 = -6
a1 = -62
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: -62 = -3
a1 = -3
The quadratic formula gives a2 = -B + Δ2A = -2 + 162·1
a2 = -2 + 162
ⓘ The square root of a number is the positive number whose square is that number: 16 = 4; 42 = 16
a2 = -2 + 42
ⓘ The numerator and the denominator are computed before the division: -2 + 4 = 2
a2 = 22
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 22 = 1
a2 = 1
Factors identified: (a + 3)·(a -1)
ⓘ The original denominator must remain nonzero. The fraction is simplified by dividing the numerator and the denominator by their common factor: a2 -1a2 + 2a -3 = a + 1a + 3
▶Simplified form:   a + 1a + 3