Goal and scope
q:ℝ→ℝ, q(x)=−2(x−3)²+5 (a=−2, h=3, k=5). Evaluate q(1) step by step and find its mirror point; prove q(6−x)=q(x) for every real x; prove that the global maximum of q is 5, attained only at x=3, that the vertex is (3,5), and that q has no global minimum; then show that on the restricted domain [4,6] the maximum is 3 (at x=4), and that the conclusions do not carry over when a=0.
Inside the MKO: the input ranges over all reals, a≠0, integer parameters, exact substitution (a1, a2). Symmetry is proved for general h; the extremum results are proved for this function with a=−2<0, and the case a>0 is analogous but not written out. On the restricted domain only the maximum on [4,6] is treated. Completing the square from ax²+bx+c, solving quadratic equations and differentiation are not treated; the canonical MKO and its English edition are not changed.
Main derivation
S01 · definition
Before
q(x)=-2(x-3)^2+5
After
a=-2\neq0,\ h=3,\ k=5,\ \mathrm{dom}\,q=\mathbb{R}Conditions: a\neq0
Rule: mko_quadratic · Uses: G1, mko_quadratic
Leaf basis: mko_quadratic + def_unfold
Matching the vertex form a(x−h)²+k gives a=−2, h=3, k=5. a≠0, so q is a quadratic in the sense of this entry; its domain is all reals. The MKO's announced conclusions are: vertex (3,5), axis x=3, and since a<0 the global maximum 5, attained at x=3; this guide proves them one by one.
S02 · equivalent
Before
q(1)
After
-3
Conditions: none
Rule: numeric_evaluation · Uses: S01
Leaf basis: numeric_evaluation + eq_replace
Follow the MKO's order of substitution: first x−h, then square, then multiply by a, finally add k; the three sub-steps S02.1 to S02.3 give q(1)=−3.
S03 · equivalent
Before
x=1,\ 2h-x
After
2h-x=5,\ q(5)=-2(5-3)^2+5=-3=q(1)
Conditions: none
Rule: numeric_evaluation · Uses: S01, S02
Leaf basis: numeric_evaluation
The mirror of x=1 across the axis x=3 is 2·3−1=5; both points are at distance 2 from the axis. Substituting gives q(5)=−2·4+5=−3, the same as q(1), so (1,−3) and (5,−3) are mirror points.
S04 · equivalent
Before
q(2h-x)=a((2h-x)-h)^2+k
After
a(x-h)^2+k=q(x)
Conditions: none
Rule: L_mirror · Uses: S01
Leaf basis: add_assoc + add_inverse + neg_mul + eq_replace
By Lemma L_mirror, ((2h−x)−h)²=(x−h)², so substituting gives q(2h−x)=q(x) for every real x (here q(6−x)=q(x)). For x=h, 2h−h=h, so the vertex is its own mirror. The lemma is proved in S04.1 and S04.2.
S05 · implies
Before
x\in\mathbb{R}After
(x-3)^2\ge0
Conditions: none
Rule: square_nonneg · Uses: square_nonneg
Leaf basis: square_nonneg
For every real x, (x−3)² is a square and therefore nonnegative; equality holds exactly when x−3=0.
S06 · implies
Before
(x-3)^2\ge0,\ a=-2<0
After
-2(x-3)^2\le0
Conditions: -2<0
Rule: order_basics · Uses: S05, order_basics
Leaf basis: order_basics + case_analysis + mul_zero
Two cases: if (x−3)²=0 the product is 0; if (x−3)²>0, multiplying 0<(x−3)² by the negative −2 reverses the inequality, giving 0>−2(x−3)². In both cases −2(x−3)²≤0. It is because a<0 that the parabola opens downwards.
S07 · implies
Before
-2(x-3)^2\le0
After
q(x)=-2(x-3)^2+5\le5\ \ \forall x\in\mathbb{R}Conditions: none
Rule: order_basics · Uses: S06, order_basics
Leaf basis: order_basics + forall_intro
Add 5 to both sides, which keeps the order: q(x)≤5. Since x is an arbitrary real, 5 is an upper bound of q on all reals.
S08 · implies
Before
q(3)=-2\cdot0^2+5
After
q(3)=5=\max_{\mathbb{R}}q,\ \text{vertex}\ (3,5)Conditions: none
Rule: mko_quadratic · Uses: S07, S01
Leaf basis: mko_quadratic + numeric_evaluation + and_intro_elim
q(3)=−2·0+5=5, so the upper bound 5 is attained and is the global maximum, attained at x=3. The vertex is the coordinate pair (3,5), the maximum value is the number 5, and the place where it is attained is x=3; these are three different things.
S09 · equivalent
Before
q(x)=5
After
x=3
Conditions: -2\neq0
Rule: zero_product · Uses: S01, zero_product, square_nonneg
Leaf basis: eq_congruence + zero_product + square_nonneg
q(x)=5 ⇔ −2(x−3)²=0 (subtract 5) ⇔ (x−3)²=0 (zero product, −2≠0) ⇔ x=3 (a square is zero exactly when its base is). So the maximum is attained only at x=3.
S10 · implies
Before
x_0\in\mathbb{R}After
\exists x:\ q(x)<q(x_0)
Conditions: none
Rule: L_unbounded · Uses: S01
Leaf basis: order_basics + forall_intro
q has no global minimum: for any candidate x₀, Lemma L_unbounded with M=q(x₀) gives an x with q(x)<q(x₀), so q(x₀) is not the minimum. The lemma is proved in S10.1 and S10.2; this is the MKO's 'there is no global extremum in the other direction'.
S11 · implies
Before
4\le x\le6
After
x-3\ge1\ \Rightarrow\ (x-3)^2\ge1
Conditions: x\in[4,6]
Rule: L_sq_ge_one · Uses: G2
Leaf basis: order_basics
Turn to the restricted domain D=[4,6] (MKO a1 asks for a separate check). Subtracting 3 from x≥4 gives x−3≥1; by Lemma L_sq_ge_one, (x−3)²≥1. The proof is in S11.1.
S12 · implies
Before
(x-3)^2\ge1\ \ (x\in[4,6])
After
q(x)\le-2+5=3,\ q(4)=3=\max_{[4,6]}qConditions: -2<0
Rule: order_basics · Uses: S11, S09, G2
Leaf basis: order_basics + numeric_evaluation
Multiplying (x−3)²≥1 by −2<0 reverses the inequality: −2(x−3)²≤−2; adding 5 gives q(x)≤3. q(4)=−2·1+5=3, so the maximum on D is 3, attained at x=4. The global maximum 5 is attained only at x=3 (S09), and 3∉D, so 5 never occurs on D.
S13 · implies
Before
r(x)=0\cdot(x-3)^2+5
After
r(x)=5\ \ \forall x
Conditions: none
Rule: mul_zero · Uses: G3
Leaf basis: mul_zero + forall_intro
With a=0, 0·(x−3)²=0, so r is the constant function 5: every point is a maximizer and also a minimizer, and there is no unique vertex or axis. This is not a quadratic of this entry, and the 'attained only at x=3' of S08 and S09 does not carry over (MKO a2).
S14 · implies
Before
\text{S02 to S13}After
q(1)=q(5)=-3;\ q(6-x)=q(x);\ \max_{\mathbb{R}}q=5\ \text{only at}\ 3;\ \text{no min};\ \max_{[4,6]}q=3Conditions: none
Rule: and_intro_elim · Uses: S02, S03, S04, S08, S09, S10, S12, S13
Leaf basis: and_intro_elim
Summary: q(1)=−3 and its mirror 5 has q(5)=−3; q(6−x)=q(x) for every x; the global maximum 5 is attained only at x=3, the vertex is (3,5), and there is no global minimum; on [4,6] the maximum is 3 (at x=4); with a=0 the conclusions fail.
Substeps and lemmas
S02.1 · equivalent
Before
x-h\ \text{at}\ x=1After
1-3=-2
Conditions: none
Rule: numeric_evaluation · Uses: S01
Leaf basis: numeric_evaluation
First the bracket: 1−3=−2.
S02.2 · equivalent
Before
(-2)^2
After
4
Conditions: none
Rule: numeric_evaluation · Uses: S02.1
Leaf basis: numeric_evaluation + neg_mul
Square: (−2)²=(−2)(−2)=4; the square of a negative number is positive.
S02.3 · equivalent
Before
a\cdot4+k
After
-2\cdot4+5=-3
Conditions: none
Rule: numeric_evaluation · Uses: S02.2
Leaf basis: numeric_evaluation
Multiply by a=−2 to get −8, then add k=5 to get −3. The negative a is kept as is, not replaced by its absolute value.
S04.1 · equivalent
Before
(2h-x)-h
After
h-x
Conditions: none
Rule: add_assoc · Uses: add_assoc, add_inverse
Leaf basis: add_assoc + add_comm + add_inverse + add_zero
(2h−x)−h=(h+h−x)−h=h−x (associativity, commutativity and inverses for addition).
S04.2 · equivalent
Before
(h-x)^2
After
(-(x-h))^2=(x-h)^2
Conditions: none
Rule: neg_mul · Uses: S04.1, neg_mul
Leaf basis: neg_mul + distributive
h−x=−(x−h), and (−u)(−u)=u·u, so (h−x)²=(x−h)². S04.1 and S04.2 together prove Lemma L_mirror.
S10.1 · equivalent
Before
q(3+t)
After
-2t^2+5
Conditions: none
Rule: eq_replace · Uses: S01, eq_replace
Leaf basis: eq_replace + add_inverse
Put x=3+t: x−3=t, so q(3+t)=−2t²+5.
S10.2 · implies
Before
M\in\mathbb{R},\ t=|5-M|+1After
q(3+t)=5-2t^2<M
Conditions: t\ge1
Rule: order_basics · Uses: S10.1, order_basics, abs_rules
Leaf basis: order_basics + abs_rules + square_nonneg
Given M, take t=|5−M|+1≥1. Multiplying t≥1 by t>0 gives t²≥t; also t>|5−M|≥5−M, so t²>5−M; and t²≥0 makes 2t²≥t²>5−M. Rearranging gives 5−2t²<M. S10.1 and S10.2 together prove Lemma L_unbounded.
S11.1 · implies
Before
u\ge1
After
u^2\ge u\ge1
Conditions: u\ge1
Rule: order_basics · Uses: order_basics
Leaf basis: order_basics + mul_one
u≥1>0. Multiplying u≥1 by the positive number u gives u²≥u, and by transitivity u²≥u≥1. This step proves Lemma L_sq_ge_one.