Domain restrictions, constraints, and piecewise functions
On the TI-Nspire CX II CAS, every curve plotted in Graphs uses its maximal (implied) real domain unless you explicitly attach a constraint. Mastering both the given operator (|) for domain intervals and the when() command for range clipping and conditional branching eliminates graphing errors in VCE Methods.
The “given” operator (|) for domain restrictions
To restrict a function in a Graphs or Calculator page, press [ctrl] + [=] to open the relation palette and select the vertical bar |. For compound intervals such as \(-4 \le x \le \frac{10}{3}\), you can type the chained inequality directly or combine bounds with and.
f1(x) = x^3 + 2*x^2 - 7*x - 11 | -4 <= x <= 10/3 f2(x) = -2/(x - 3) + 2 | -5 < x < 4 g(x) := (3*x - 2)/(x - 3) | x <= 7 k(x) := 3*sqrt(4*x - 7) + 2 | x > 4 a(x) := sin(3*x) | -pi/6 <= x <= pi/6
Mathematical caution: removable discontinuities
Equivalent algebraic expressions can have different implied domains. For example, \(\dfrac{x^2 - 4}{x - 2} = x + 2\) holds only for \(x \neq 2\). Always inspect the unsimplified rule for excluded denominator values before graphing or solving.
Conditional output & range restrictions with when()
While | constrains the input variable \(x\) (or substitutes parameter values), it cannot directly clip a graph by its output \(y\)-values. Instead, use when(cond, trueResult[, falseResult]). When the false branch is omitted, CAS evaluates the expression to undef outside the condition, cleanly truncating the plotted curve by its range.
when(3 > 2, 7, 9) when(x >= 0, x^2) f1(x) = when(-7 <= 3*x + 11 <= 5, 3*x + 11) p(x) := when(-7 < 5*sin(2*x) - 4 <= 1/2, 5*sin(2*x) - 4) | 0 <= x <= 2*pi h(x) := piecewise(x^2, x < 0, 2*x, x >= 0)
Interactive Lab 1: Implied vs Restricted Domain & Range
Live CAS GraphingSimultaneous systems of equations and parameter analysis
TI-Nspire provides two complementary solvers: linSolve() for linear systems (accessible via menu → 3: Algebra → 7: Solve System of Equations → 2: Solve System of Linear Equations) and the general solve() command for non-linear, trigonometric, and parametric systems.
linSolve({7*a + 2*b + c = 7, 4*a - 5*b - 2*c = 3, -2*a + 11*b = 4}, {a, b, c})
linSolve({a + b = 5, 4*a + b = 11}, {a, b})
solve(3*x + 2*y = 7 and -4*x + 11*y = 2, x, y)
solve(sin(x) = 1/2 and cos(2*x) = 1/2, x) | 0 <= x <= 2*pi
zeros(2*cos(2*x), x) | -pi <= x <= 2*pi
Parameter analysis: unique, no solution, and infinitely many solutions
When a linear system contains an unknown parameter \(m\), do not guess from the general solve() fraction alone—denominator zeros correspond to parallel or coincident lines. Follow a strict determinant-and-substitution protocol:
- Write the system in matrix form \(A\mathbf{x} = \mathbf{b}\) and solve \(\det(A) = 0\) using solve(det([[a1, b1], [a2, b2]]) = 0, m).
- For all \(m\) where \(\det(A) \neq 0\), the lines have distinct gradients and intersect at a unique solution.
- Substitute each critical value of \(m\) back into both equations (using | m = k) to distinguish no solution (parallel distinct lines, CAS returns false) from infinitely many solutions (coincident lines, CAS returns a relation with free parameter c1).
| Condition on \(2\times 2\) system | Geometric interpretation | CAS solve() output | VCAA method check |
|---|---|---|---|
| \(\det(A) \neq 0\) | Two non-parallel lines intersecting at one point | Single ordered pair \((x(m), y(m))\) | State excluded critical values |
| \(\det(A) = 0\) and intercepts differ | Parallel distinct lines | false | Substitute \(m\); show contradiction \(0 = k\) |
| \(\det(A) = 0\) and intercepts match | Coincident (identical) lines | Parametric line e.g. x = c1 and y = ... | Show one equation is a scalar multiple |
Interactive Lab 2: Determinant & Parameter Solution Explorer
\(mx + 2y = 4,\; 3x + (m+1)y = 6\)Calculus, tangents, and definite integration workflows
For rapid Exam 2 execution, use [Shift] + [-] for derivatives and [Shift] + [+] for definite integrals (or menu → 4: Calculus → 3: Integral). Always check whether CAS omits the integration constant, returns an exact surd instead of a decimal, or computes a signed integral rather than a geometric area.
derivative(x^4, x, 3) integral(3*x^2, x) integral(3*x^2, x, c) integral(x^2, x, 0, 3) nInt(sin(x), x, 0, pi) tangentLine(x^2, x, 1) normalLine(x^2, x, 1) centralDiff(x^3 - 3*x, x) | x = 2
Signed integral versus total geometric area
A definite integral \(\int_a^b f(x)\,dx\) evaluates net signed area: regions below the \(x\)-axis contribute negatively. When an examination question asks for the area bounded by the curve and the \(x\)-axis, you must locate every \(x\)-intercept inside \((a, b)\), split the integral at sign changes, or integrate \(|f(x)|\).
| Problem | Signed integral | Geometric area | CAS verification |
|---|---|---|---|
| \(f(x) = x^2 - 1\) on \([-1, 1]\) | \(-4/3\) | \(4/3\) | integral(abs(x^2 - 1), x, -1, 1) |
| \(f(x) = x^3 - 3x\) on \([0, 2]\) | \(-2\) | \(5/2\) | Split at \(x = \sqrt{3}\): \(-\int_0^{\sqrt{3}} + \int_{\sqrt{3}}^2\) |
| Between \(y = x\) and \(y = x^2\) on \([0, 1]\) | \(1/6\) | \(1/6\) | integral(x - x^2, x, 0, 1) |
Interactive Lab 3: Signed Integral vs Geometric Area
\(f(x) = x^3 - 3x\) on \([0, b]\)Trapezium rule approximation with sumSeq()
For VCE numerical approximation questions (such as VCAA 2026 Q16 on \(f(x) = -2\cdot 3^{-x} + 2\) over \([0, \log_3(8)]\) with \(n = 3\) strips, strip width \(h = \frac{\log_3(8)-0}{3} = \log_3(2)\)), store \(f(x)\) first and automate the sum cleanly using sumSeq(expr, k, low, high):
Define f(x) = -2*3^(-x) + 2 a := 0 : b := log(8, 3) : n := 3 : h := (b - a)/n (h/2)*(f(a) + 2*sumSeq(f(a + k*h), k, 1, n - 1) + f(b))
Continuous probability density functions
To verify or solve parameters for a continuous Probability Density Function (PDF) \(f(x)\) on TI-Nspire, check both defining axioms: (1) \(f(x) \ge 0\) for all \(x \in \mathbb{R}\), and (2) \(\int_{-\infty}^{\infty} f(x)\,dx = 1\). For multi-branch PDFs, integrate each piece separately or define a piecewise() function.
Define f1(x) = piecewise(x/250, 5 <= x < 15, (x - 45)^2/15000, 15 <= x <= 45, 0, true) integral(f1(x), x, 5, 45) integral(x/250, x, 5, 15) + integral((x - 45)^2/15000, x, 15, 45) solve(integral(k*(1 - (10 - x)^2), x, 9, 11) = 1, k) mu := integral(x*f1(x), x, 5, 45) ex2 := integral(x^2*f1(x), x, 5, 45) var_x := ex2 - mu^2
Key variance identity: \(E(X^2) = \mu^2 + \sigma^2\)
Because \(\operatorname{Var}(X) = E(X^2) - [E(X)]^2\), whenever a question supplies the mean \(\mu\) and standard deviation \(\sigma\) (such as for a normal variable \(R \sim N(\mu, \sigma^2)\)), you can find \(E(R^2)\) immediately without integration via \(E(R^2) = \mu^2 + \sigma^2\).
The height \(H\) (in cm) of manufactured cans is modelled by a continuous random variable with probability density function:
\[h(x) = \begin{cases} \dfrac{3}{4}\left(1 - (10 - x)^2\right), & 9 < x < 11 \\ 0, & \text{otherwise} \end{cases}\]
(a)(i) Write a definite integral to show that \(\Pr(H < 9.5) = \frac{5}{32}\). (a)(ii) Find \(E(H^2)\). (a)(iv) In a sample of \(10\) cans, find \(\Pr(\hat{P} = 0.7)\) where \(p = \Pr(H \ge 9.5)\). (b)(ii) For radius \(R \sim N(4, s^2)\), find \(s\) if \(\Pr(R > 3) = 0.9\).
Show step-by-step CAS solution and exact outputs
-
1
Define the PDF once on Calculator: Enter Define h(x):=3/4*(1-(10-x)^2) so you can reference h(x) across all parts without retyping brackets.
-
2
Part (a)(i) — Lower-tail probability: Write the integral expression explicitly for the method mark: \[\Pr(H < 9.5) = \int_9^{9.5} \frac{3}{4}\left(1 - (10 - x)^2\right)\,dx = \frac{5}{32}\] CAS: integral(h(x), x, 9, 9.5) returns 5/32.
-
3
Part (a)(ii) — Second moment \(E(H^2)\): Evaluate integral(x^2*h(x), x, 9, 11), giving \(\frac{501}{5} = 100.2\). (Check via symmetry: \(\mu = 10\), \(\operatorname{Var}(H) = \frac{1}{5}\), so \(E(H^2) = 10^2 + 0.2 = 100.2\).)
-
4
Part (a)(iv) — Linking PDF to Binomial sample proportion: Since \(p = \Pr(H \ge 9.5) = 1 - \frac{5}{32} = \frac{27}{32}\) and \(Y = 10\hat{P} \sim \operatorname{Bi}\left(10, \frac{27}{32}\right)\), run binomPdf(10, 27/32, 7) → 0.13936.
-
5
Part (b)(ii) — Inverse Normal for unknown standard deviation \(s\): Convert \(\Pr(R > 3) = 0.9 \implies \Pr(R \le 3) = 0.1\). Standardise: \(\dfrac{3 - 4}{s} = \text{invNorm}(0.1, 0, 1) \approx -1.28155\), giving solve(-1/s = invNorm(0.1, 0, 1), s) → \(s \approx 0.780\text{ cm}\).
Inverse binomial success cutoffs with invBinom
When the number of trials \(n\) and success probability \(p\) are known, invBinom(CumProb, n, p[, 0 | 1]) returns the least integer number of successes \(k\) such that the lower-tail cumulative probability satisfies \(\Pr(X \le k) \ge \text{CumProb}\).
invBinom(0.80, 10, 0.5, 0) invBinom(0.80, 10, 0.5, 1) invBinom(0.90, 12, 0.4)
Upper-tail conversions for invBinom
TI-Nspire’s inverse binomial commands work strictly from the lower tail \(\Pr(X \le k)\). Whenever an exam question specifies an upper tail, rewrite the inequality in terms of \(\Pr(X \le \cdot)\) before calling CAS:
| Exam condition | Equivalent lower-tail inequality | CAS call |
|---|---|---|
| Smallest \(k\) with \(\Pr(X \le k) \ge q\) | \(\Pr(X \le k) \ge q\) | invBinom(q, n, p, 1) |
| Smallest \(k\) with \(\Pr(X > k) \le \alpha\) | \(\Pr(X \le k) \ge 1 - \alpha\) | invBinom(1 - alpha, n, p, 1) |
| Largest \(m\) with \(\Pr(X \ge m) \ge \alpha\) | \(\Pr(X \le m - 1) \le 1 - \alpha\) | Use binomCdf table around invBinom(1 - alpha, n, p) |
Inverse binomial minimum trials with invBinomN
Unlike invBinom (which finds \(k\) for fixed \(n\)), invBinomN(CumProb, p, k[, 0 | 1]) solves for the minimum integer number of trials \(n\) needed so that the lower-tail probability drops to or below CumProb: \(\Pr(X \le k) \le \text{CumProb}\).
Crucial exam trap: upper-tail to lower-tail conversion
Sample-size questions nearly always state an upper-tail goal, such as “find the least \(n\) so that \(\Pr(X \ge 5) \ge 0.95\)”. Because \(X\) is discrete, the strict complement is \(\Pr(X \le 4) \le 0.05\)—you must enter k = 4 (not \(5\)) and CumProb = 0.05 (not \(0.95\))!
invBinomN(0.05, 0.4, 4, 0) 1 - binomCdf(20, 0.4, 4) 1 - binomCdf(21, 0.4, 4) invBinomN(0.05, 0.3, 0)
To secure full method marks on Exam 2, always write the converted lower-tail inequality \(\Pr(X \le k) \le q\), state the bracketing binomCdf probabilities for \(n - 1\) and \(n\), and conclude the minimum integer \(n\).
Interactive Lab 4: Binomial Inverse & Bracketing Matrix Explorer
Topics 5 & 6Composite function domains and range-to-domain matching
A central distinction in VCE Mathematical Methods is the difference between pointwise operations such as \((f + g)(x) = f(x) + g(x)\) and function composition \((f \circ g)(x) = f(g(x))\).
| Operation | Existence requirement | Resulting domain |
|---|---|---|
| Pointwise: \(f + g,\; f - g,\; f \cdot g\) | \(\operatorname{dom}(f) \cap \operatorname{dom}(g) \neq \emptyset\) | \(\operatorname{dom}(f) \cap \operatorname{dom}(g)\) |
| Composition: \(f(g(x))\) | \(\operatorname{ran}(g) \subseteq \operatorname{dom}(f)\) | \(\operatorname{dom}(g)\) (or maximal \(D^* \subseteq \operatorname{dom}(g)\) where \(g(x) \in \operatorname{dom}(f)\)) |
Why composites exist even with disjoint domains
Pointwise operations require the same input \(x\) to belong to both \(\operatorname{dom}(f)\) and \(\operatorname{dom}(g)\). By contrast, in \(f(g(x))\) the outer function \(f\) never receives \(x\)—it receives the output \(y = g(x)\). Consequently, \(\operatorname{dom}(f)\) and \(\operatorname{dom}(g)\) can be completely disjoint (\(\operatorname{dom}(f) \cap \operatorname{dom}(g) = \emptyset\)) while \(f(g(x))\) still exists cleanly!
For example, let \(g: (-\infty, 0) \to \mathbb{R}, \; g(x) = x^2 + 1\) and \(f: [1, \infty) \to \mathbb{R}, \; f(x) = \sqrt{x - 1}\). Even though \((-\infty, 0) \cap [1, \infty) = \emptyset\), the range \(\operatorname{ran}(g) = (1, \infty)\) sits entirely inside \(\operatorname{dom}(f) = [1, \infty)\), so \(f(g(x)) = \sqrt{x^2} = -x\) exists on the whole domain \((-\infty, 0)\).
Range-to-domain matching & CAS graphing technique
When \(\operatorname{ran}(g) \not\subseteq \operatorname{dom}(f)\), restrict \(\operatorname{dom}(g)\) to \(D^* = \{x \in \operatorname{dom}(g) : g(x) \in \operatorname{dom}(f)\}\). On CAS, always attach | domain restrictions when defining both \(f\) and \(g\)—if you enter an unrestricted formula like sqrt(x + a)^2, CAS algebraically cancels the root and square over all \(\mathbb{R}\), hiding the true restricted domain!
Define f(x) = sqrt(4 - x) | x <= 4 Define g(x) = x^2 - 1 | -3 <= x <= 3 f(g(x)) solve(g(x) <= 4, x) | -3 <= x <= 3 domain(f(g(x)), x)
Let \(f(x) = x^2(x - b)(x + b)\) and \(g: [-a, \infty) \to \mathbb{R}, \; g(x) = \sqrt{x + a}\), where \(a, b > 0\). How many \(x\)-intercepts does the graph of \(y = f(g(x))\) have?
Show step-by-step CAS & domain analysis (Answer C: 2 intercepts)
-
1
Check existence & domain: \(\operatorname{ran}(g) = [0, \infty) \subseteq \mathbb{R} = \operatorname{dom}(f)\), so \(f(g(x))\) exists on \(\operatorname{dom}(g) = [-a, \infty)\).
-
2
Substitute carefully without dropping \(x \ge -a\): \[f(g(x)) = (\sqrt{x+a})^2\left((\sqrt{x+a})^2 - b^2\right) = (x + a)(x + a - b^2)\]
-
3
Solve \(f(g(x)) = 0\) subject to \(x \ge -a\): The solutions are \(x = -a\) and \(x = b^2 - a\). Since \(b > 0\), \(b^2 > 0 \implies b^2 - a > -a\), so both roots lie in \([-a, \infty)\) and are distinct. Thus there are two \(x\)-intercepts (Option C).
Interactive Lab 5: Range-to-Domain Matching Pipeline
\(x \in \operatorname{dom}(g) \xrightarrow{g} \operatorname{ran}(g) \subseteq \operatorname{dom}(f)\)Graphical transformations and bidirectional mapping
Every sequence of dilations, reflections, and translations in VCE Mathematical Methods can be handled cleanly without transformation matrices using primed coordinate mapping \((x, y) \mapsto (x', y')\)—working forwards to find the image curve, or backwards by rearranging and equating components directly between two curves.
The point mapping formula & order sensitivity
The point \((2, -5)\) undergoes a translation of \(4\) units in the negative \(y\)-direction, followed by a reflection in the \(x\)-axis. Find the image coordinates.
Show step-by-step mapping (Answer A: (2, 9))
-
1
Apply translation first: \((2, -5) \mapsto (2, -5 - 4) = (2, -9)\).
-
2
Apply reflection in \(x\)-axis (\(y \mapsto -y\)): \((2, -9) \mapsto (2, 9)\). Answer: A. \((2, 9)\). (Reversing the order gives \((2, 1)\), distractor B.)
Forward primed coordinates vs backwards backtracking (no matrices)
- Forward (curve from transformations): Write \(x' = \alpha x + h\) and \(y' = \beta y + k\). Solve for \(x = \frac{x' - h}{\alpha}\) and \(y = \frac{y' - k}{\beta}\), substitute into \(y = f(x)\), and solve for \(y'\).
- Backwards (transformations between two given curves): Suppose we map \(y = \frac{1}{x^2}\) to \(y' = \frac{3}{(2x' - 6)^2} + 5\). Rearrange the image equation to mirror the original form: \[\frac{y' - 5}{3} = \frac{1}{(2x' - 6)^2}\] Equate components term-by-term: \[y = \frac{y' - 5}{3} \implies y' = 3y + 5, \qquad x = 2x' - 6 \implies x' = \frac{1}{2}x + 3\] Reading multiplication before addition from \((x, y) \mapsto \left(\frac{1}{2}x + 3,\; 3y + 5\right)\): dilate by \(\frac{1}{2}\) from the \(y\)-axis and by \(3\) from the \(x\)-axis, then translate \(3\) units right and \(5\) units up.
Define f(x) = 1/x^2
solve({xp = (1/2)*x + 3, yp = 3*y + 5, y = f(x)}, {yp, x, y})
solve(2*xp - 6 = x, xp)
solve((yp - 5)/3 = y, yp)