Cramer's Rule Calculator

Set one equation and let the second vary with t. See the determinant and both coordinate ratios, then inspect what happens at the parameter where a unique solution breaks down.

Linear algebra

Solve a family with Cramer’s rule

System and probe

First equation

Second equation

Each term is its constant plus its multiplier times t.

x coefficient
y coefficient
Right-hand side

Probe and plot bounds

Solution by parameter

Unique solution at t = 1

x = 1 · y = −3

D(t)
−2 + t
Dₓ(t)
−2 + t
Dᵧ(t)
3

Unique solution when t ≠ 2

No solution at t = 2

x at the singularity
Open point at 1
y at the singularity
Pole from −∞ on the left to +∞ on the right
Unique solution branches

t from −2 to 6 · vertical range ±8

Unique solution branchesThe green solid trace shows x, and the violet dashed trace shows y. Open points mark removed parameter values. Pole branches stop at the vertical plot limit.0Parameter t
xySingular t = 2
Determinant steps at the probe

D =

D matrix at the probe
10
0−1

= −1

Dₓ =

Dₓ matrix at the probe
10
3−1

= −1

Dᵧ =

Dᵧ matrix at the probe
11
03

= 3

Parameter ledger and CSV
Exact parameter checks and solution coordinates
tDStatusxy
−2−4Unique1−3/4
0−2Unique1−3/2
1−1Unique1−3
20No solution——
42Unique13/2
64Unique13/4

How to use this calculator

  1. Enter the fixed coefficients and right-hand value for the first equation. Set at least one coefficient to a nonzero value.
  2. Enter a constant and a multiplier of t for each coefficient and the right-hand side of the second equation.
  3. Read the coefficient and replacement determinants. At the selected t, compare their values and the resulting classification.
  4. Change the plot bounds or isolate one trace. An open circle shows a removable coordinate limit. Use the ledger to read the actual system status at that t.

The Formula

The mathematical logic powering this calculation is:

Write the first equation a x + b y = c and the second A(t)x + B(t)y = C(t), where each capital-letter expression is affine in t. Then D = aB − bA, Dₓ = cB − bC and Dᵧ = aC − cA. When D(t) ≠ 0, x = Dₓ/D and y = Dᵧ/D.

With at least one of a and b nonzero, the coefficient matrix has rank one wherever D = 0. Both replacement determinants are zero precisely when the equations agree on a line, giving infinitely many solutions. A nonzero replacement determinant gives an inconsistent system there. If D is identically zero, the common zeros of the two affine replacement determinants give all compatible parameters.

A unique-solution coordinate can have a removable limit even when the pair has no solution at the singular value. Where the numerator and denominator share a root, their ratio tends to the quotient of their slopes, shown as an open circle. A nonzero numerator at the denominator root gives a pole. Its left and right signs follow the numerator at the root and the denominator slope.

All inputs accept a sign, six decimal places or a fraction with a positive denominator up to 1,000,000. Magnitudes are limited to 1,000,000. Plot height must be positive and the upper t bound greater than the lower bound. The numerical plot uses exact breakpoints at singular values and vertical limits. With no unique-solution branch anywhere, the chart shows replacement determinants instead. The sample ledger contains both bounds, their quartiles, the probe and every isolated exceptional parameter.

Worked Example

If you input:

  • First equation: x = 1
  • Second equation: (t − 2)y = 3
  • Probe t: 1
  • Lower t: −2
  • Upper t: 6
  • Plot height: 8

Result:

D and Dₓ both equal t − 2 and Dᵧ equals 3. For t = 1 the solution is x = 1 and y = −3. At t = 2 the original second equation reduces to 0 = 3. The x branch has an open point at 1 while y has a pole.

Frequently Asked Questions

Why replace one column with the right-hand side?

Cramer’s formula divides the determinant with that replacement by the coefficient determinant. Replacing the x column produces the x numerator, while replacing the y column produces the y numerator.

Can an open circle occur when the system has no solution?

Yes. One coordinate ratio can simplify to a finite value as t approaches the singularity, while the other coordinate grows without bound. The open circle describes the approach from nearby parameters.

What if both coordinate limits exist at a singular point?

For this affine family both numerators then vanish at that point. The system represents an entire line there. The two limiting coordinates specify one point on that line.

What if the coefficient determinant is always zero?

The worksheet checks when the two replacement determinants vanish together. There can be one compatible t, every real t, or no compatible t.

Do the plot bounds change the solution?

The bounds change the view and regular sample points. They leave determinant formulas, exceptional t and the chosen probe status unchanged.

Can I enter a 3×3 or nonlinear system?

This calculator treats two linear equations with a second row affine in one parameter. Use the related System of Equations tool for larger fixed linear systems.

Similar Calculators