Gratis å bruke, uten konto

Kalkulator for absoluttverdi

Beregn |x|, eller løs en lineær absoluttverdiligning eller -ulikhet av formen |a·x + b| sammenlignet med c. Løsningen vises med intervallnotasjon og tallinje.

Støttet ligningsform: |a·x + b| sammenlignet med et reelt tall c. Inndata er begrenset til ±1 billion. Dette er ikke en generell symbolsk algebraisk løser.

Absoluttverdi er avstanden fra null og er derfor aldri negativ.

Hvordan løser jeg en absoluttverdiligning?

For |a·x + b| = c deler du opp i a·x + b = c og a·x + b = −c. Denne kalkulatoren håndterer også strenge og inkluderende ulikheter for ett lineært uttrykk innenfor absoluttverdien.

Veiledning

Slik bruker du Kalkulator for absoluttverdi

The Absolute Value Calculator does three small jobs. It gives the absolute value of one number, it solves an equation of the form |a·x + b| = c, and it solves the same expression against c with less than, greater than, or either one with or-equal-to. Answers appear as a solution set, with a number line. It is not a general algebra solver and it works only with real numbers.

Slik gjør du

  1. Choose a calculation: Absolute value of a number, Solve an equation, or Solve an inequality. The fields change to match your choice.
  2. For a single number, type it in the Number x box. For the other two, fill in the coefficient a, the offset b and the target c of |a·x + b| compared with c.
  3. In inequality mode, pick the comparison: less than, less than or equal, greater than, or greater than or equal. Equation mode always uses equals.
  4. Press Calculate, read the solution set and the number line, then press Copy result to keep it. Try an example fills in a starting case.

Eksempler

An equation with two answers

Du skriver inn
Modus
equation
Koeffisient a
2
Konstantledd b
-3
Måltall c
7
Du får
Løsningsmengde
x = -2 or x = 5
Uttrykk
|2x − 3| = 7

Split it into 2x − 3 = 7 and 2x − 3 = −7. The first gives x = 5 and the second gives x = −2. Both are 7 away from zero once plugged into 2x − 3.

Kjørt med verktøyets egen kode.

An inequality that gives two pieces

Du skriver inn
Modus
inequality
Koeffisient a
3
Konstantledd b
0
Sammenligning
>=
Måltall c
6
Du får
Løsningsmengde
(−∞, −2] ∪ [2, ∞)
Uttrykk
|3x + 0| >= 6

Dividing 6 by 3 gives a radius of 2 around the centre 0. Values at least 2 away from 0 qualify, so the set is everything up to −2 and everything from 2 on, with the end points included.

Kjørt med verktøyets egen kode.

No real solution

Du skriver inn
Modus
equation
Koeffisient a
1
Konstantledd b
0
Måltall c
-4
Du får
Løsningsmengde
No real solution
Uttrykk
|1x + 0| = -4

An absolute value is never negative, so it can never equal −4. The tool reports that there is no solution and draws an empty number line.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Check homework answers for linear absolute value equations and inequalities.
  • See a solution set drawn on a number line to understand open and closed end points.
  • Find a distance from zero for a decimal or negative number without a calculator.
  • Test edge cases, such as a coefficient of zero or a target of zero, to see how the answer changes.

Begrensninger

  • Only |a·x + b| compared with one real number c is supported. Quadratics, nested absolute values, several variables and general expressions are not.
  • Every input must be a finite number between minus and plus one trillion. Longer values, text and empty boxes show a check-the-numbers message.
  • Results are real numbers only. Complex solutions are not shown, and the tool prints numbers with up to eight decimals.
  • The target c must be a single number on the right-hand side. If your problem has terms on both sides or a second absolute value, rearrange it yourself before entering it.

Tips

  • Rewrite your problem as |a·x + b| and a single number on the right before typing, moving terms across the sign if you need to.
  • Read the end point symbols: a round bracket or open dot leaves the end point out, and a square bracket or filled dot keeps it in.
  • Try a target of zero and a negative target to see the two special cases described in the answers.

Vanlige spørsmål

How do I solve an absolute value equation?

For |a·x + b| = c with c at least zero, split it into a·x + b = c and a·x + b = −c, then solve each line. The tool does both steps at once and lists the answers. If c is negative, there is no solution.

What does absolute value mean?

It is the distance of a number from zero on the number line, so it is never negative. The absolute value of −5 and of 5 is the same, 5. In maths notation it is written with two vertical bars, |x|.

How is an absolute value inequality solved?

For |a·x + b| < c, the set is a band around the centre −b/a. For a greater-than relation, the set is the two outer pieces. The tool finds the centre and a radius of c divided by |a|, and then draws the band or outer pieces.

What happens if a is zero?

Then the expression is just |b|, a fixed number. The tool compares it with c and returns either all real numbers or no solution, since x no longer matters. For example, |0x − 5| > 3 is true for every x.

What does a result like ℝ \ {4} mean?

That is the answer for |x − 4| > 0. Every real number works except 4, because only at 4 does the absolute value equal zero. The tool writes it as all reals minus one point and draws an open dot at 4 on the number line.

Can it solve something like |x| + 2 = 5?

Not directly. Rewrite it first as |x| = 3 by moving the 2 across, then enter a = 1, b = 0 and c = 3. The tool needs the absolute value part alone on one side and one number on the other.

Are my numbers uploaded?

No. Everything is calculated in your browser, and your values are neither uploaded nor saved. When you close or reload the page the inputs and results are gone, so copy anything you want to keep.

Hvordan løser jeg en absoluttverdiligning?

For |a·x + b| = c deler du opp i a·x + b = c og a·x + b = −c. Denne kalkulatoren håndterer også strenge og inkluderende ulikheter for ett lineært uttrykk innenfor absoluttverdien.

Lastes verdiene mine opp?

Nei. Beregningen skjer i denne nettleseren. Verktøyet laster ikke opp eller lagrer verdiene.

Hva betyr absoluttverdi?

Absoluttverdien er avstanden fra et tall til null. For eksempel er både |−5| og |5| lik 5.

Hvordan løser jeg |x| = 3?

Løsningene er x = −3 og x = 3, fordi begge tallene er 3 enheter fra null.

Kan dette løse alle uttrykk med absoluttverdi?

Den løser |a·x + b| sammenlignet med ett reelt tall. Den løser ikke andregradsligninger, nøstede absoluttverdier, flere variabler eller generelle symbolske uttrykk.