Gratis å bruke, uten konto

Tallinjalgenerator

Tegn intervallnotasjon og punkter på en tydelig tallinje som kan lastes ned.

Eksempler: (1, 3], [-2, 4), [1/2, 2], 5, (-∞, 3], [0, ∞).

Opptil 20 rader. Brøker plasseres som desimalkoordinater i tegningen. Verktøyet tegner intervaller; det løser ikke ulikheter.

Hvordan tegner jeg et intervall på en tallinje?

Skriv inn ett intervall per linje, for eksempel (1, 3]. Bruk hakeparenteser for inkluderte endepunkter og parenteser for utelatte endepunkter. Brøker og ensidig uendelighet støttes.

Veiledning

Slik bruker du Tallinjalgenerator

The Number Line Graphing Tool draws intervals and single points on a number line. Type one item per line, such as (1, 3] or 5, and press the button. Round brackets leave an end out and square brackets keep it in. You can use fractions like 1/2, and an infinity sign at an open outer end. The picture can be saved as an SVG file. It only draws what you type. It does not solve inequalities or combine intervals for you.

Slik gjør du

  1. Type one interval or point per line. Examples are (1, 3], [-2, 4), [1/2, 2], 5 and (-∞, 3].
  2. Use [ or ] when an end point is included, and ( or ) when it is left out. Write infinity as ∞ or the word infinity, always with round brackets.
  3. Press Create number line. Each line you typed gets its own row with a labeled scale.
  4. Check the circles. A filled circle means the end is included, and a hollow circle means it is not.
  5. Press Download SVG to save the picture, or Clear to start again.

Eksempler

The built-in example

Du skriver inn
Linjer
(1, 3]; [-2, 0); [5/2, 5/2]
Du får
Rader
hollow at 1, filled at 3; hul sirkel ved −2, fylt sirkel ved 4; ett utfylt punkt ved 2,5
Skala
omtrent −6,08 til 5,08

The fraction 5/2 is placed at 2.5. An interval whose two ends are the same and both closed is shown as a single point.

Kjørt med verktøyets egen kode.

Rays that go on forever

Du skriver inn
Linjer
(-∞, 3]; [0, ∞)
Du får
Rader
arrow to the left, filled circle at 3; filled circle at 0, arrow to the right

An infinite end is drawn as an arrow at the edge of the picture. The infinity side must use a round bracket, so [0, ∞] is rejected.

Kjørt med verktøyets egen kode.

Entries that are refused

Du skriver inn
Linjer
(3, 1); (2, 2); x > 3
Du får
Resultat
each one, typed on its own, gives the message: Check the interval format and endpoints.

(3, 1) is reversed and (2, 2) is empty, so they cannot be drawn. The text x > 3 is an inequality, which this tool does not read. [2, 2] on its own is allowed and gives a point.

Kjørt med verktøyets egen kode.

Two intervals, two separate rows

Du skriver inn
Linjer
[-5, -1); (−2, 4]
Du får
Rader
filled at -5, hollow at -1; hollow at -2, filled at 4
Skala
about -6.08 to 5.08

The same scale is used for both rows, so you can compare them by eye. They are not merged: the tool does not show where they overlap as one new interval.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Show a solution set from an algebra class on a clean picture.
  • Make a figure for a worksheet or slide about interval notation.
  • Practice the difference between open and closed ends.
  • Check a hand-drawn number line against a drawn one.
  • Draw a few points and rays to explain a number range to a student.

Begrensninger

  • At most 20 lines at once, and the box accepts up to 3000 characters.
  • End values must be numbers or fractions between -1,000,000,000 and 1,000,000,000. A fraction needs a denominator that is not zero.
  • Infinity is allowed only at an outer end and only with a round bracket. A plus sign before it, as in +∞, is not read.
  • The tool does not solve inequalities, join unions with the ∪ sign, or find overlaps. Each line is drawn on its own row.
  • Fractions are placed as decimals for drawing, so tick labels show rounded values with up to three decimals.

Tips

  • Write each part of a union on its own line instead of using the ∪ sign.
  • Use a minus sign or the typographic minus, both are read as negative.
  • For an infinite ray the shown scale is short and centered near the finite end, so read the arrow rather than the tick numbers.
  • Save the SVG if you want a sharp picture that scales for print or slides.

Vanlige spørsmål

How do I graph an interval on a number line?

Type the interval with brackets, for example (1, 3], on its own line and press Create number line. Square brackets include the end and round brackets leave it out. The tool draws the segment and its end circles.

What do open and closed circles mean?

A filled circle means the end value is part of the set, which matches a square bracket. A hollow circle means the end value is not included, which matches a round bracket.

Can I use fractions or decimals?

Yes. Write fractions as 1/2 or -3/4, and decimals like 2.5. The tool turns fractions into decimal positions to draw them. A zero denominator, such as 1/0, is rejected.

How do I show infinity?

Use ∞ or the word infinity at the outer end, with a round bracket, as in (-∞, 3] or [0, infinity). The line is drawn with an arrow. A square bracket next to infinity is not allowed.

Can it graph an inequality like x > 3?

No. It only reads intervals and points. Rewrite the inequality as an interval first. For example, x > 3 becomes (3, ∞). The tool then draws that interval for you.

How do I show a single point?

Type just the number, such as 5, or a closed interval with the same end twice, such as [5, 5]. Both are drawn as one filled point on the line.

Does it combine overlapping intervals?

No. Each line becomes its own row on a shared scale. The tool does not merge, intersect or simplify intervals, so check union and overlap results by hand or with another method.

Why can I not download the picture?

The Download SVG button works only after a number line has been created, and it turns off again if you change the text. Press Create number line again, then download.

Is my input uploaded?

No. The picture is made in your browser from the text you typed. Nothing is sent to a server by this tool.

Hvordan tegner jeg et intervall på en tallinje?

Skriv inn ett intervall per linje, for eksempel (1, 3]. Bruk hakeparenteser for inkluderte endepunkter og parenteser for utelatte endepunkter. Brøker og ensidig uendelighet støttes.

Lastes intervallene mine opp?

Nei. Grafen genereres i denne nettleseren; inndataene sendes ikke eller lagres.

Hva betyr åpne og lukkede sirkler?

En åpen sirkel utelater endepunktet; en fylt sirkel inkluderer det.

Kan jeg tegne brøker eller uendelighet?

Ja. Brøker konverteres til desimalposisjoner i tegningen. Uendelighet er bare tillatt som et åpent ytre endepunkt.