도구 가이드
math 무료 회원가입 불필요

방정식 풀이기

단계별 풀이로 일차, 이차, 삼차 및 연립 방정식을 풀이합니다.

도구를 불러오는 중…

이 도구에 대해

계수를 입력하면 풀이기가 네 가지 방정식 유형을 처리합니다: 단일 변수 일차(ax + b = c), 실수 및 복소수 근이 있는 이차(ax² + bx + c = 0), 크라머 공식을 통한 2×2 연립 방정식, 뉴턴-랩슨 반복법을 사용한 삼차(ax³ + bx² + cx + d = 0). 모든 풀이에는 단계별 풀이가 포함되며, 유리수 근은 분수로 표시됩니다.

사용 방법

  1. 1 상단의 탭 버튼을 사용하여 방정식 유형을 선택하세요.
  2. 2 표시된 입력 필드에 필요한 계수를 입력하세요.
  3. 3 '풀이'를 클릭하여 풀이를 계산하세요.
  4. 4 결과 아래에 표시된 단계별 풀이를 읽어 사용된 방법을 이해하세요.

What this solver covers

This tool solves four of the equation types you meet most often in algebra and early calculus, each with full step-by-step working rather than just an answer:

  • Linearax + b = c, one unknown, one solution.
  • Quadraticax² + bx + c = 0, solved by the quadratic formula, including complex roots.
  • 2×2 system — two linear equations in x and y, solved by Cramer's rule.
  • Cubicax³ + bx² + cx + d = 0, solved numerically.

A useful detail: the solver tries to express answers as exact fractions when it can. Internally it searches for a small denominator that reproduces the decimal result, so a root of 0.5 is shown as 1/2 and 1.333… as 4/3, falling back to a rounded decimal only when no clean fraction fits. Everything runs in your browser, so it works offline and nothing you type is sent anywhere.

How the quadratic case works — a worked example

Take the default x² − 3x + 2 = 0 (so a=1, b=−3, c=2). The solver computes the discriminant first: Δ = b² − 4ac = 9 − 8 = 1. The sign of Δ decides everything:

DiscriminantMeaningRoots
Δ > 0Two distinct real rootsx = (−b ± √Δ) / 2a
Δ = 0One repeated real rootx = −b / 2a
Δ < 0Two complex conjugate rootsx = (−b ± i√−Δ) / 2a

Here Δ = 1 > 0, so x = (3 ± 1) / 2, giving x₁ = 2 and x₂ = 1. Change c to 5 and the discriminant becomes 9 − 20 = −11; the solver switches to complex output and reports the conjugate pair built from the real part −b/2a and the imaginary part √11 / 2. This is the value of seeing the working: the discriminant tells you the character of the solutions before you ever reach the final line.

Systems and the determinant

For a 2×2 system ax + by = c and dx + ey = f, the solver uses Cramer's rule. It computes the determinant D = ae − bd. If D is non-zero there is exactly one solution: x = (ce − bf)/D and y = (af − cd)/D. If D = 0 the two lines are either parallel (no solution) or the same line (infinitely many), and the tool tells you there is no unique solution rather than dividing by zero. Geometrically, the determinant measures whether the two lines actually cross at a single point.

How the cubic is solved (and what that means for you)

The cubic solver does not use the closed-form Cardano formula. Instead it applies Newton–Raphson iteration from several starting guesses (spread from −10,000 to +10,000), keeping each distinct value of x where the equation evaluates to essentially zero. This is robust and finds all the real roots, and the tool reports a residual like f(x) ≈ 2e-9 so you can see how close each root is. Two practical consequences follow: a cubic with one real root and two complex roots will show only the single real root here, and roots are found numerically, so they are extremely accurate but expressed as the nearest clean fraction or a rounded decimal rather than a symbolic surd like ∛2.

Common mistakes the tool helps you avoid

  • Putting the quadratic in the linear box. The linear solver expects ax + b = c. If you enter a quadratic by setting a = 0, it correctly refuses and points you to the right tab. The quadratic tab likewise rejects a = 0 and sends you to the linear solver.
  • Sign errors in the formula. The most common hand-calculation bug is mishandling the −b term when b is already negative. Because the tool prints each substitution explicitly, you can compare your scratch work line by line and find exactly where a sign flipped.
  • Forgetting the "= c" side. A linear equation here is ax + b = c, not ax + b = 0. To solve 2x + 3 = 0, enter c = 0.
  • Expecting complex roots from the cubic tab. If a cubic returns fewer than three roots, the missing ones are complex; the numerical method here reports real roots only.
  • Reading the fraction as the only truth. When a root is irrational, the fraction shown is a close rational approximation (note the ). For exact irrational answers, treat the decimal as the precise value and the fraction as a readable hint.

Used well, the step-by-step output makes this more than an answer key: it is a way to check your own algebra and to see why an equation has the number and type of solutions it does.

자주 묻는 질문

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}