y=x^2-6x+8
We save the definition: y = x2 -6x + 8
Let's study the function y(x) = x2 -6x + 8
1) Let's find the domain of x2 -6x + 8
ⓘ This expression imposes no restriction on the real variable
Domain of definition:   x ∈ ℝ
2) Let's study the parity of x2 -6x + 8 with respect to x
The domain is x ∈ ℝ
This domain is symmetric about 0: if x is in the domain, -x is too
Replace x by -x: y(-x) = (-x)2 -6·(-x) + 8
Let's calculate: (-x)2 -6·(-x) + 8
ⓘ Powers are computed before multiplications, additions and subtractions. With an even integer exponent, the minus sign in the base disappears; with an odd integer exponent, it moves in front of the power: (-x)2 = x2■Two minus signs cancel out: -6·(-x) = 6x
x2 + 6x + 8
y(-x) - y(x) = 12x and y(-x) + y(x) = 2x2 + 16 are nonzero polynomials: the function is neither even nor odd
Parity:   neither even nor odd
3) Differentiability
⇥ⓘ The derivative of a sum is the sum of the derivatives: ddx(x2 -6x + 8) = ddx(x2) + ddx(-6x) + 0
⇥ ddx(x2) + ddx(-6x) + 0
Derivative:   2x -6
4) Let's study the variations of y(x): first find where its derivative y'(x) = 2x -6 is zero
Let's solve in ℝ: 2x -6 = 0
ⓘ We add 6 to both sides
2x = 6
ⓘ Both sides are divided by 2
x = 62
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 62 = 3
Solution found: x = 3
y'(x) is zero at x = 3
Built from usual functions, y'(x) is continuous where it is defined: on each interval where it is never zero, it keeps the sign of its value at any point
y'(0) = -6 < 0: y is decreasing on (-∞, 3)
y'(4) = 2 > 0: y is increasing on (3, +∞)
Let's calculate the values of y at the bounds of the table, or its limits at the infinite or excluded bounds
As x tends to -∞, y(x) tends to +∞
y(3) = 32 -6·3 + 8 = -1
As x tends to +∞, y(x) tends to +∞
Let's draw up the variation table:
x-∞3+∞
y'(x)-0+
y(x)+∞↘-1↗+∞
So y is decreasing on (-∞, 3] and increasing on [3, +∞)
5) Let's read the range from the variation table
⇥On ℝ, y is continuous: it takes every value of [-1, +∞)
Range:   [-1, +∞)
6) On the horizontal axis, y = 0: solve x2 -6x + 8 = 0
Let's solve in ℝ: x2 -6x + 8 = 0
Given the quadratic form ax2 + bx + c, let's compute the discriminant: Δ = b2 -4ac. Here a = 1, b = -6 and c = 8
Δ = (-6)2 -4·1·8
ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-6)2 = (-6)·(-6) = 36
Δ = 36 -4·8
ⓘ Multiplications are done before additions and subtractions: 4·8 = 32
Δ = 36 -32
ⓘ Start from 36 and move back 32 on the number line: 36 -32 = 4
Δ = 4
Since Δ > 0, the equation has two roots:
The quadratic formula gives x1 = -b -Δ2a = -(-6) -42·1
x1 = 6 -42
ⓘ The square root of a number is the positive number whose square is that number: 4 = 2; 22 = 4
x1 = 6 -22
ⓘ The numerator and the denominator are computed before the division: 6 -2 = 4
x1 = 42
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 42 = 2
x1 = 2
The quadratic formula gives x2 = -b + Δ2a = -(-6) + 42·1
x2 = 6 + 42
ⓘ The square root of a number is the positive number whose square is that number: 4 = 2; 22 = 4
x2 = 6 + 22
ⓘ The numerator and the denominator are computed before the division: 6 + 2 = 8
x2 = 82
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 82 = 4
x2 = 4
Solutions found: x = { 2, 4 }
On the vertical axis, x = 0: calculate f(0)
⇥ 02 -6·0 + 8
⇥ⓘ A product with a zero factor is zero: -6·0 = 0■Adding 0 changes nothing: 0 + 8 = 8
⇥ 0 + 8
⇥ⓘ Adding 0 changes nothing: 0 + 8 = 8
⇥ 8
Axis intercepts:   { (2, 0), (4, 0), (0, 8) }
7) Let's find the asymptotes of x2 -6x + 8, for real x
x2 -6x + 8 is a polynomial of degree 2: it is defined on ℝ and f(x)x tends to infinity at -∞ and +∞, so no line approaches its graph
So the function has no asymptote
🖼/draw?f1=x%5E2+-+6*x+%2B+8&v=x&b=-10.0&e=10.0&min=-12.0&max=132.0
Asymptotes:   ∅
▶Study of y(x): Domain of definition: x ∈ ℝ; Parity: neither even nor odd; Derivative: 2x -6; Range: [-1, +∞); Axis intercepts: { (2, 0), (4, 0), (0, 8) }; Asymptotes: ∅