Degrees of Freedom Examples: 45 Problems with Answers
Worked examples of Degrees of Freedom to try before you open each solution, then practice
problems with answers.
Worked Examples
Example 1
easy
A system has 3 variables and 2 independent equations. How many degrees of freedom?
Show solution
Answer
1 degree of freedom
First step
1.
Step 1: Apply DOF=n−r where n=3 variables, r=2 equations.
Full solution
2.
Step 2: DOF=3−2=1.
3.
This means the solution is a line (one free parameter).
Degrees of freedom tells you the dimension of the solution space. With 1 DOF, you can freely choose one variable and the others are determined — the solutions form a line in 3D space.
Example 2
medium
The system ⎩⎨⎧x+y+z=6x+y+z=62x−y=1 has 3 equations and 3 variables. Does it have 0 degrees of freedom?
Example 3
medium
A linear system in 5 unknowns has matrix rank 3. How many degrees of freedom in the solution set?
Example 4
medium
A system has 3 equations in 5 unknowns; one equation is the sum of the other two. How many degrees of freedom?
Example 5
hard
A linear system has augmented matrix that row-reduces to two pivot rows in 4 unknowns and is consistent. How many degrees of freedom and how many solutions?
Practice Problems
Try each one, then open the solution to compare your method.
Example 1
easy
How many DOF does a single equation x+y=5 have?
Example 2
medium
A system of 4 equations in 4 unknowns has rank 3. How many DOF?
Example 3
easy
How many degrees of freedom does x+y=10 have (two unknowns)?
Example 4
easy
Three independent equations constrain three unknowns. How many degrees of freedom remain?
Example 5
easy
A single point in the plane has how many degrees of freedom unconstrained?
Example 6
easy
After fixing x=3, how many degrees of freedom does the pair (x,y) have?
Example 7
easy
Two unknowns, two independent equations. Degrees of freedom?
Example 8
easy
A line in the plane: how many degrees of freedom does a point ON it have?
Example 9
easy
How many independent equations are needed to fix 4 unknowns uniquely?
Example 10
easy
Does an inequality constraint like x≥0 reduce the COUNT of free variables?
Example 11
medium
System: x+y=4 and 2x+2y=8. How many degrees of freedom remain?
Example 12
medium
Three equations in three unknowns, but one is the sum of the other two. Degrees of freedom?
Example 13
medium
A triangle is defined by 3 vertices in the plane. How many degrees of freedom?
Example 14
medium
A system has 5 unknowns and 3 independent equations. How many free parameters in the solution?
Example 15
medium
How many degrees of freedom does a circle in the plane have (center + radius)?
Example 16
medium
If a system has 0 degrees of freedom but contains a contradiction, how many solutions does it have?
Example 17
medium
A point must lie on BOTH a given line and a given circle. Generic degrees of freedom of that point?
Example 18
challenge
A system of 4 equations in 4 unknowns has exactly one redundant equation and is consistent. How many solutions?
Example 19
challenge
Parametrize the solution of x+2y+z=0 and count degrees of freedom.
Example 20
challenge
A rigid rod in the plane (length fixed). How many degrees of freedom?
Example 21
medium
A plane in 3D space (ax+by+cz=d): how many degrees of freedom does a point ON it have?
Example 22
medium
A system of 2 independent equations in 4 unknowns: degrees of freedom?
Example 23
easy
A system has 6 variables and 4 independent equations. How many degrees of freedom?
Example 24
easy
In the system {x+y=4} with 2 variables, how many degrees of freedom?
Example 25
easy
After fixing the constraint y=2x in (x,y), how many degrees of freedom remain?
Example 26
easy
In the system {3x−y=0,6x−2y=0}, how many degrees of freedom?
Example 27
medium
A line segment of fixed length in the plane: how many degrees of freedom (position + orientation)?
Example 28
medium
In a sample of size n used to estimate the sample variance, how many degrees of freedom?
Example 29
medium
A triangle in 3D space (three vertices in R3): how many degrees of freedom does the triangle have?
Example 30
medium
A symmetric 3×3 matrix has how many independent entries (DOF)?
Example 31
medium
A circle in 3D space (any orientation): how many degrees of freedom does it have?
Example 32
medium
A point in R4 subject to x1+x2+x3+x4=1 has how many degrees of freedom?
Example 33
medium
A polynomial of degree ≤3 in x has how many degrees of freedom (its coefficients)?
Example 34
hard
In a chi-square goodness-of-fit test with k=5 categories and no extra estimated parameters, how many degrees of freedom?
Example 35
hard
A point lies on both the plane x+y+z=6 and the sphere x2+y2+z2=14. Generically, how many degrees of freedom?
Example 36
hard
Five points (xi,yi) on a parabola y=ax2+bx+c — how many degrees of freedom in the curve, and is the system over-, exact-, or under-determined?
Example 37
hard
An ellipse in standard position a2x2+b2y2=1 has how many degrees of freedom (general position in the plane, ignoring axis alignment)?
Example 38
hard
In a 2×2 contingency table for a chi-square test of independence, how many degrees of freedom?
Example 39
challenge
A general rotation in 3D space (orthogonal matrix with determinant +1) has how many degrees of freedom?
Example 40
challenge
A two-sample t-test using pooled variance with sample sizes n1=10 and n2=14 has how many degrees of freedom?
What to focus on
Core idea:Degrees of freedom count how many values you can still choose freely after every constraint is imposed.
Common stuck point:The procedure for degrees of freedom is the easy part; the trap is counting dependent equations as constraints. Asking "After applying all independent constraints, how many values can I still choose freely?" first is what keeps a correct-looking calculation from being attached to the wrong concept.
Ask yourself:After applying all independent constraints, how many values can I still choose freely?
Concept recap
The number of independent values that remain free to be chosen after all constraints in a system have been satisfied.
Splitting a $60 budget among food, games and travel works like degrees of freedom: you can set any two amounts, and the third is whatever is left. Three amounts minus one rule leaves two free choices. Fix travel at $10 as a second rule and only one choice remains.