integral from 0 to 1 of (1-x^7)^2
1) Let's integrate: ∫01(1 -x7)2dx
⇥For (1 -x7)2, we use integration by parts: ∫u1·v2'dx = u1·v2 -∫u1'·v2dx, with u1 = (1 -x7)2 and v2' = 1
⇥1.1) Let's perform the differentiation u1: ddx((1 -x7)2)
⇥Apply the differentiation rule: ddx(fn) = n·ddx(f)·fn -1 with f = 1 -x7
⇥ⓘ The derivative of x^n is n*x^(n-1): ddx((1 -x7)2) = 2·ddx(1 -x7)·(1 -x7)
⇥ 2·ddx(1 -x7)·(1 -x7)
⇥ⓘ Expand by multiplying each term inside the parentheses: 2·ddx(1 -x7)·(1 -x7) = 2·ddx(1 -x7) + 2·ddx(1 -x7)·(-x7)■The derivative of a sum is the sum of the derivatives: ddx(1 -x7) = 0 + ddx(-x7)
⇥ 2·(0 + ddx(-x7)) + 2·(0 + ddx(-x7))·(-x7)
⇥ⓘ Adding 0 changes nothing: 0 + ddx(-x7) = ddx(-x7)■The derivative of x^n is n*x^(n-1): ddx(-x7) = -7x6■The minus sign is placed in front of the product: 2·(-x7) = -2x7
⇥ 2·(-7x6) -2·ddx(-x7)·x7
⇥ⓘ Multiplications are done before additions and subtractions. A single minus sign does not cancel out, the product of a negative number by a positive number is negative: 2·(-7) = -14■The derivative of x^n is n*x^(n-1): ddx(-x7) = -7x6
⇥ -14x6 -2·(-7x6)·x7
⇥ⓘ Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -2·(-7) = 14■Multiplying powers with the same base adds the exponents: x6x7 = x13
⇥ -14x6 + 14x13
⇥Thus, u1' is -14x6 + 14x13
⇥1.2) Let's integrate v2': ∫1dx
⇥ⓘ The derivative of x is 1, so x is an antiderivative of 1: ∫1dx = x
⇥ x
⇥1.3) Let's calculate u1'·v2: (-14x6 + 14x13)·x
⇥ⓘ Expand by multiplying each term inside the parentheses: (-14x6 + 14x13)·x = -14x7 + 14x14
⇥ -14x7 + 14x14
⇥1.4) Let's calculate u1·v2 -∫u1'·v2dx: (1 -x7)2·x -∫(-14x7 + 14x14)dx
⇥ⅰ -∫(-14x7 + 14x14)dx = -(-∫14x7dx + ∫14x14dx)
⇥ (1 -x7)2·x -(-∫14x7dx + ∫14x14dx)
⇥ⓘ A minus sign before a parenthesis changes the sign of each of its terms: -(-∫14x7dx + ∫14x14dx) = ∫14x7dx -∫14x14dx
⇥ (1 -x7)2·x + ∫14x7dx -∫14x14dx
⇥ⓘ A constant factor stays in front of the integral. An antiderivative of x^n is x^(n+1)/(n+1), for n ≠ -1: ∫14x7dx = 14·x88, -∫14x14dx = -14·x1515
⇥ (1 -x7)2·x + 14·x88 -14·x1515
⇥ⓘ Multiplying a fraction by a number multiplies its numerator: 14·x88 = 14x88, 14·x1515 = 14x1515■A fraction is simplified by dividing the numerator and the denominator by the same number: 14x88 = 7x84
⇥ (1 -x7)2·x + 7x84 -14x1515
Then you can resume the integral computation:
ⅰ ∫(1 -x7)2dx = (1 -x7)2·x + 7x84 -14x1515
▷ (1 -x7)2·x + 7x84 -14x1515
2) Let's evaluate over the interval [0, 1]: (-14·11515 + 7·184 + 1·(1 -17)2) -(-14·01515 + 7·084 + 0·(1 -07)2)
ⓘ A minus sign before a parenthesis changes the sign of each of its terms: -(-14·01515 + 7·084 + 0·(1 -07)2) = 14·01515 -7·084 + 0·(1 -07)2
-1415 + 74 + (1 -1)2 + 14·01515 -7·084 + 0·(1 -07)2
ⓘ To add fractions, put them over the same denominator, then add the numerators. We choose 60, the least common multiple of 15 and 4. Multiplying the numerator and the denominator by the same number does not change the fraction: -1415 + 74 = -14·415·4 + 7·154·15 = -14·4 + 7·1515·4■Parentheses are computed first: 1 -1 = 0■A product with a zero factor is zero: 14·0 = 0, 7·0 = 0, 0·1 = 0■Adding 0 changes nothing: 1 + 0 = 1
-14·4 + 7·1515·4 + 02 + 0 + 0 + 0
ⓘ Adding 0 changes nothing: -14·4 + 7·1515·4 + 0 + 0 + 0 + 0 = -14·4 + 7·1515·4■Multiplications are done before additions and subtractions: 14·4 = (10 + 4)·4 = 10·4 + 4·4 = 40 + 16 = 56, 7·15 = 7·(10 + 5) = 7·10 + 7·5 = 70 + 35 = 105
ⅰ 15·4 = (10 + 5)·4 = 10·4 + 5·4 = 40 + 20 = 60
-56 + 10560
ⓘ The numerator and the denominator are computed before the division: -56 + 105 = 49
▶Integral:   4960
3) The numeric value of: 4960 equals:
▷ ≈ 0.8167