Algebraic Invariance Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Algebraic Invariance.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

Algebraic properties or quantities that remain unchanged when specific algebraic transformations are applied to an expression or system.

The degree of a polynomial doesn't change when you multiply it by a non-zero constant.

Read the full concept explanation β†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: An algebraic invariant is a quantity that stays the same after an allowed transformation.

Common stuck point: The procedure for algebraic invariance is the easy part; the trap is assuming all features are invariant under a transformation. Asking "Does this quantity stay exactly the same after the allowed transformation is applied?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Does this quantity stay exactly the same after the allowed transformation is applied?

Worked Examples

Example 1

medium
The polynomial 2x3+5x2βˆ’x+32x^3 + 5x^2 - x + 3 can be rewritten as 2(x+1)3+(x+1)2βˆ’4(x+1)+52(x+1)^3 + (x+1)^2 - 4(x+1) + 5. What is invariant?

Answer

Degree (3) and leading coefficient (2) are invariant.

First step

1
Step 1: The degree is 3 in both forms β€” degree is invariant.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Unlock answer keys One Family plan β€” every worked solution, all subjects

Example 2

hard
Show that the discriminant b2βˆ’4acb^2 - 4ac is invariant under the substitution x=t+kx = t + k in ax2+bx+c=0ax^2 + bx + c = 0.

Example 3

medium
Under the substitution xβ†’x+3x \to x + 3, does the discriminant of x2βˆ’5x+6x^2 - 5x + 6 change?

Example 4

medium
Under the substitution u=x+1u = x + 1, transform f(x)=x2+2x+3f(x) = x^2 + 2x + 3. What stays the same?

Example 5

hard
xn+1=xn+ynx_{n+1} = x_n + y_n, yn+1=xnβˆ’yny_{n+1} = x_n - y_n starts with x0=3,y0=1x_0 = 3, y_0 = 1. Show xn2βˆ’2yn+12β‹…?x_n^2 - 2 y_{n+1}^2 \cdot ? β€” find xn2+yn2x_n^2 + y_n^2 at step 1.

Example 6

challenge
Given a triple (a,b,c)(a, b, c) on which the move (a,b,c)β†’(a+b,b,cβˆ’b)(a, b, c) \to (a+b, b, c-b) is applied repeatedly. What sum is invariant?

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
When you factor x2+5x+6=(x+2)(x+3)x^2 + 5x + 6 = (x+2)(x+3), what is invariant?

Example 2

medium
What changes and what stays the same when multiplying both sides of 2x=62x = 6 by 3?

Example 3

easy
Does multiplying the polynomial x2+3x+1x^2+3x+1 by 5 change its degree?

Example 4

easy
Under the substitution x→x+1x\to x+1, does the degree of x2x^2 stay the same? Compute the new polynomial.

Example 5

easy
For 2x2βˆ’4x+62x^2 - 4x + 6, the sum of roots is βˆ’b/a-b/a. Does dividing the whole equation by 2 change the sum of roots?

Example 6

easy
Is the value of x2+y2x^2+y^2 invariant when you swap xx and yy?

Example 7

easy
Does adding 3 to both sides of xβˆ’5=2x-5=2 change its solution?

Example 8

easy
Is the determinant of a matrix invariant under transposition? (Is det⁑(A)=det⁑(AT)\det(A)=\det(A^T)?)

Example 9

easy
Under reflection xβ†’βˆ’xx\to -x, is x2x^2 invariant? Evaluate (βˆ’x)2(-x)^2.

Example 10

easy
Does the number of solutions of x2=4x^2=4 change if you write it as x2βˆ’4=0x^2-4=0?

Example 11

medium
Under scaling f(x)β†’3f(x)f(x)\to 3f(x), which is invariant: the roots of ff or the yy-intercept?

Example 12

medium
The discriminant b2βˆ’4acb^2-4ac of x2βˆ’5x+6x^2-5x+6 is 1. If we shift roots by replacing xx with xβˆ’2x-2, is the discriminant invariant? Check.

Example 13

medium
Is the sum x+yx+y invariant under the transformation (x,y)β†’(x+3,yβˆ’3)(x,y)\to(x+3,y-3)?

Example 14

medium
Which is invariant when a quadratic ax2+bx+cax^2+bx+c is multiplied by a nonzero constant kk: the roots, or the coefficients?

Example 15

medium
Find an invariant of the rotation-like map (x,y)β†’(βˆ’y,x)(x,y)\to(-y,x). Test x2+y2x^2+y^2.

Example 16

medium
Is the product of roots c/ac/a of 3x2+12x+93x^2+12x+9 invariant when the equation is divided by 3?

Example 17

medium
A student claims 'the value of x2+1x^2+1 is invariant under any substitution'. Disprove with a specific substitution.

Example 18

medium
Is the parity (even/odd) of n2+nn^2+n invariant for all integers nn? Determine which parity.

Example 19

medium
Is the area of a triangle invariant when its base and height are swapped in A=12bhA=\frac12 bh?

Example 20

challenge
Show that the difference of the roots' squares' relation, specifically b2βˆ’4acb^2-4ac scaled, behaves how under a,b,cβ†’ka,kb,kca,b,c\to ka,kb,kc? Determine the scaling factor.

Example 21

challenge
Prove that the trace of a 2Γ—22\times2 matrix is invariant under the similarity transform Aβ†’Pβˆ’1APA\to P^{-1}AP (state the key property used).

Example 22

challenge
The expression xβˆ’yxβˆ’z\frac{x-y}{x-z} is part of the cross-ratio. Find what stays invariant when x,y,zx,y,z all shift by a constant tt: (x,y,z)β†’(x+t,y+t,z+t)(x,y,z)\to(x+t,y+t,z+t).

Example 23

easy
Is the value x+yx + y invariant under the swap x↔yx \leftrightarrow y?

Example 24

easy
Is xβˆ’yx - y invariant under the swap x↔yx \leftrightarrow y?

Example 25

easy
Adding 5 to both sides of x=7x = 7, does the solution change?

Example 26

easy
Is the GCD of a,ba, b invariant under swapping aa and bb?

Example 27

easy
If you multiply both sides of 2x+4=102x + 4 = 10 by 3, is the solution invariant?

Example 28

medium
Under the transformation (x,y)β†’(x+2,yβˆ’2)(x, y) \to (x + 2, y - 2), is x+yx + y invariant?

Example 29

medium
Is the product of the roots of 2x2βˆ’8x+62x^2 - 8x + 6 invariant when we divide the equation by 2?

Example 30

medium
Under rotation (x,y)β†’(y,βˆ’x)(x, y) \to (y, -x), is xyxy invariant?

Example 31

medium
Under (x,y)β†’(y,βˆ’x)(x,y) \to (y, -x), is x2+y2x^2 + y^2 invariant?

Example 32

medium
Is the parity of n3βˆ’nn^3 - n invariant for all integers nn? Determine which parity.

Example 33

medium
Is n2β€Šmodβ€Š3n^2 \bmod 3 invariant for all integers n≑̸0(mod3)n \not\equiv 0 \pmod 3? Determine the value.

Example 34

medium
An expression in xx is invariant under x→x+1x \to x + 1 and equals 55 at x=0x = 0. What is its value at x=100x = 100?

Example 35

hard
Show that the determinant of a 2Γ—22 \times 2 matrix is invariant under transpose.

Example 36

hard
If we scale (a,b,c)β†’(3a,3b,3c)(a, b, c) \to (3a, 3b, 3c) in ax2+bx+c=0ax^2 + bx + c = 0, do the roots change?

Example 37

hard
Under the substitution x→1/xx \to 1/x, is f(x)=x+1/xf(x) = x + 1/x invariant (for x≠0x \ne 0)?

Example 38

hard
On a 4x4 chessboard, two opposite corners are removed. Can the remaining 14 squares be tiled by 1x2 dominoes? Give the invariant.

Example 39

hard
A sequence is defined by an+1=3anβˆ’2a_{n+1} = 3a_n - 2. If a0=5a_0 = 5, what is the invariant 'shift' that makes the recurrence purely multiplicative?

Example 40

challenge
Show that the trace of a 2Γ—22 \times 2 matrix is invariant under conjugation Aβ†’Pβˆ’1APA \to P^{-1} A P.

Example 41

challenge
A pile starts with NN stones. At each step a move takes one pile and either doubles it or removes 1 stone. After many moves can the parity invariant be used to predict residue mod 3? Start N=2N=2, can we reach N=10N=10?

Background Knowledge

These ideas may be useful before you work through the harder examples.

expressions