Math in Classla

Math questions are blocks like any other, so they sit in the same editor, run in the same modes and land in the same gradebook as everything else. What is different is the answer. Students type math on a math keyboard, and Classla grades it the way you would read it: an equivalent form is right unless you have said the form matters, a number can be close enough, and each student can get their own numbers. This page covers typed answers and how to start with math; graphs, proofs, handwritten work and the calculator are on the next page.

Starting with Math

When you make a teacher account, What do you teach? asks which subjects you teach. Pick math and Classla builds you a demo class, Algebra 1, Period 2 (Demo). Its Summary lists what to try first. Pick computer science as well and you get both demo classes. You can change the answer later in User Settings; that changes what Classla offers you, and never builds or removes a course on its own. More on making an account is in Getting started.

If you have no math demo class, your dashboard offers one with a Teach math too? card. Add a math demo class builds it; Not now hides the card for good.

The demo class has 24 made-up students in one section, with their work already handed in, so grading and analytics have something in them. Its six assignments show the math blocks at work:

Start here
A short tour of the class.
Warm-up: Distributing
With Math answer and number blanks.
Exit ticket: Solving equations
One question at a time with answers locked once given.
Unit 2 test: Linear equations
Timed, in lockdown, with no calculator and a Show Your Work question.
Review game: Slope
With a Graph question and a finished live game.
Practice: Equations with variables on both sides
Each student has their own random numbers and can practise after grading.

Delete the demo class from its Course Settings whenever you like.

AP Calculus Review Sets

For AP Calculus AB and BC there is a library of ready-made review sets written by Classla. Set the course's Subject in Course Settings to AP Calculus AB or AP Calculus BC, and From a review set… appears when you add an assignment in the module tree. The BC library holds every AB set plus the BC-only topics. Each topic has an Easy, a Medium and a Hard set, with questions in four formats: Multiple choice, Fill in, Find the error (the wrong step in a worked solution) and Order the steps.

Every answer key in the library is computed independently and checked before a set is published: the right option must equal the computation and every wrong option must not, so no question has two right answers. A blank that asks for a number accepts any way of writing that number. Adding a set, sampling a round across topics and playing it live work the same as for any subject, on Templates and curriculum.

Math Answers

A Math answer block is a prompt with one or more answers. Students fill each one on a math keyboard that has fractions, exponents, roots and the symbols they expect ("Use the keyboard button for symbols."), or type plain math such as 2(x+1) on their own keyboard; nobody types LaTeX. You give each answer an Answer key and a kind:

Expression
Right when it is equivalent to your key, so 2(x + 1) and x + x + 2 both match 2x + 2. Set Form when the form is the point of the question: Simplified, Factored, Expanded or Exact (no decimals). The default is Any form.
Number
  • Tolerance: plus or minus (±) or as a percent (%).
  • Units: optional. With none, a student's percent sign is accepted: 27% counts for a key of 27 and for a key of 0.27.
  • Require units: without it a bare number is accepted and the unit is printed beside the box. With it, the unit is part of the answer, so it is not printed and the student is told to type it; a bare number is wrong: "Right number. Add the units." or, when the number is wrong too, "Include units." Students can write a unit the way they would say it: mL/min, mL per minute and 3 milliliters per minute all match mL/min. A word that is not a unit is wrong, and so is mg for g. A counted word in your unit, such as cells/mL, is matched as you wrote it, singular or plural.
  • Accept other units: a different unit is wrong ("Check your units.") unless you switch this on. It converts lengths, masses, times, volumes, angles, the chemistry units and the physics units (N, J, W, Pa, V, A, C, Ω, T, Wb, F, H, eV and kWh, with prefixes such as mA, kΩ, μC, nC and pF), so 150 cm matches 1.5 m and 250 mA matches 0.25 A. Compound units convert by what they measure, so N/C matches V/m and kg·m/s matches N·s.
  • Significant figures: the answer must have exactly that many. This and the chemistry units are on Chemistry.
Equation or inequality
Equations match when they are the same relation, so y = 2x + 1 matches 2x − y = −1, and an equation divided through by a variable is still the same, so F r² = k q₁q₂ matches F = k q₁q₂/r². A key that starts with y also takes function notation, so y = 2x + 1 matches f(x) = 2x + 1, and the other way around. Inequalities match on which points make them true.
Interval, Point and List
A list matches with its items in any order unless you switch on Order matters. For a point, Intercept set to x-intercept or y-intercept also accepts the one number that is not 0: a key of (16, 0) as an x-intercept takes 16 as well as (16, 0). Leave it at None for any other point, so a vertex at (3, 0) still needs the whole point. An interval takes a Tolerance on each endpoint, and Any brackets counts ( ) and [ ] alike, for a confidence interval. Students may also write 2.5 to 5.5 or 4 ± 1.5, which count as [ ] when brackets are graded.

A wrong answer says why when it can, for example "Equivalent, but not factored." or "Check whether the endpoints are included.", and Hint when wrong (optional) adds your own. Try an answer in the editor runs the same check before students see the question.

Physics keys work the same way. A letter with a subscript is one variable (v₀, F_N, x_max), and Greek letters can be typed by name: mu, omega, lambda, tau, rho, sigma, phi, epsilon_0 and Delta, so mu_0 I/(2 pi r) matches μ₀I/(2πr). mg is m times g in any order, and Δx is one quantity. For Physics C, a differential equation the student writes but does not solve matches when it says the same thing, so dv/dt = g − (b/m)v² matches m dv/dt = mg − bv², and a wrong or missing term does not. When your key is a definite integral (an integral setup), it is worked out, so the student's ∫₀ᴸ λx² dx, in any letter, or its value λL³/3 both match. When your key is a number or an expression, an integral typed as the answer is wrong, so on "Evaluate ∫₀¹ 2x dx" retyping the integral does not count.

Add part turns one block into a free response with parts (a), (b), (c) and so on, up to twelve, each with its own key and Points. The gear holds Partial credit, on by default: a student who gets some parts right earns those parts' share of the points; off, the block is all or nothing. Allow student to check answer works as on the other auto-graded blocks, and Check Answer uses the same grader as the real grade, so the two cannot disagree. New Math answer blocks take these two settings from your course defaults, described on Assignment settings.

Each Student's Own Numbers

Open Random numbers on a Math answer block and press Add variable. Give each variable a Min, a Max and a Step, for example a from 2 to 9 and b from −5 to 5, with 0 under Never use. Rules (optional) adds conditions such as a ≠ b. Write {{a}} in the prompt where a value goes and use a in the answer key.

  • Every student gets their own values, and the server grades each student with theirs.
  • A regrade uses the same values the student saw. A practice attempt rolls new ones.
  • An answer copied from a classmate is wrong for any student whose numbers differ.

New numbers in the editor previews another draw, and if your rules are rarely met the editor says so. In the grading view each answer shows "This student's numbers:" above it.

A number can also come from a Data plot in the same assignment. Press Add a number from a data plot, then pick the plot and the number: mean, median, standard deviation (sample), number of values, smallest, largest, Q1, Q3, IQR or sum, and for a scatterplot the slope, y-intercept, r or r². When the plot gives each student different data, the number is worked out from the data that student sees, so a question like "Find the mean of the data above" with the key m is right for everyone. Give the answer box a tolerance if students round.

Numbers in Fill-in-the-Blank

A Fill-in-the-Blank blank's Match setting has four choices: Exact text, Regex, Number and Math. Number reads the answer as a number, so a blank after "the slope is" accepts 0.5, .5 and 1/2, and takes a Tolerance in ± or %. Math accepts any expression, equation or inequality equivalent to an accepted answer. The rest of the block is on Blocks.

Points and Totals

A Math answer block is worth the sum of its parts' points; the editor keeps the two equal as you change them. A block written without block points, by the assistant or an import for example, counts as the sum of its parts everywhere: in the assignment's total, the gradebook, the course grade and analytics. Its points are never extra credit.

With Students upload their work on, students also upload a photo or PDF of their work, and the rubric items you write for it add their points on top of the answer's. You check those items off in the grader, and the block waits as Pending grading until you do; see Graphs, proofs and handwritten work.

Otherwise math answers and graphs are graded automatically on submit, so they never wait as Pending grading. You can still change any block's score in the grading view, as on Grading.

In a Live Game

Math answer and Graph blocks play as rounds in a live game, graded by the same grader as the assignment. A player with random numbers answers with the same numbers their own assignment gives them, and the projector shows the letters instead, because every player's numbers differ. A Show Your Work block is never a round. Running a game is on Modes.

Everything Else Works the Same

Math assignments use the same settings, sections, modes, grading, analytics and integrity tools as any other, each explained once on the general pages linked below. Inline math in question text, answer options and captions is part of the text editor, on Blocks. The assistant, and Claude through the connector, can write Math answer, Graph and Show Your Work blocks and change their settings.

Outside any assignment, each student has a Workspace in every course: private notes beside a tool, never graded. In a math course the tool is a graphing calculator with sliders and key points, where students can try things out and keep notes. The Workspace page covers it.

What It Does Not Do

  • Equivalence is checked by evaluating your key and the answer at the same sample points, not by a computer algebra system. Two expressions that agree wherever both are defined count as equal, so (x² − 1)/(x − 1) matches x + 1. When that matters, set a Form or grade the part yourself.
  • Accept other units converts lengths, masses, times, volumes, angles, the chemistry units listed on the Chemistry page and the SI units of physics. Any other unit has to be typed as your key has it.
  • Calculus in an answer: a derivative is read as one unknown (dv/dt, d²x/dt²), never worked out, and only a definite integral is computed. An indefinite integral, or an integral the student must evaluate symbolically from a general function, is graded by you.
  • Random numbers are on Math answer blocks only. A Fill-in-the-Blank, multiple choice or Graph question has the same numbers for everyone.
  • The review sets cover AP Calculus AB and BC only, and not every topic yet. They are written by Classla against the AP topic list; they are not College Board questions.