WeBWorK problems look short, but they can eat an evening: one missing parenthesis and a correct answer comes back marked wrong. This guide explains how to solve WeBWorK problems from start to finish, with a step-by-step method for working each problem, a syntax cheat sheet for entering answers, a checklist for answers that are marked incorrect and study habits that pay off in any course that uses WeBWorK.
What Is WeBWorK?
WeBWorK is a free, open-source online homework system for math and science courses. It was developed at the University of Rochester with support from the National Science Foundation and is now maintained by a community of instructors and developers. Colleges use it for courses from college algebra and precalculus through calculus, differential equations, linear algebra and statistics, and many problems come from the Open Problem Library, a shared collection of tens of thousands of problems.
Three features shape how you should work:
- Randomized problems. Each student usually gets a different version of the same problem with different numbers. A classmate's final answer will not match yours, but the method will.
- Instant feedback. You find out right away whether each answer is accepted.
- Instructor settings. Your instructor controls due dates, point values, the number of attempts per problem and whether hints, solutions or extra practice versions appear.
How a WeBWorK Problem Page Works
- Preview My Answers shows how WeBWorK reads what you typed, formatted as math, without using an attempt. Use it every time.
- Submit Answers records an attempt and marks each answer blank as correct or incorrect. Multi-part problems often give partial credit for each correct blank.
- Attempt counter: the page shows how many attempts you have used and, if your instructor set a limit, how many remain.
- Hints and solutions: some problems include them, and your instructor decides whether and when they appear.
- Extra practice versions: some courses enable a "Show Me Another" option that generates a similar problem with new numbers so you can practice the method without affecting your score.
- Instructor email: many course sites include a button that emails your instructor a message linked to the exact problem you are viewing.
A Step-by-Step Method for Solving WeBWorK Problems
- Read the whole problem, including the fine print. Note what form the answer must take: exact value or decimal, units, interval notation, a list or a single number, and instructions such as "enter DNE if the limit does not exist."
- Copy your numbers onto paper. Your version is randomized, so work with the exact values on your screen, not a textbook example or a friend's numbers.
- Identify the concept. Match the problem to a section of your textbook or lecture notes and find a worked example of the same type.
- Solve symbolically first. Work with letters where possible and substitute numbers at the end. This reduces arithmetic slips and makes errors easier to find.
- Sanity-check the result. Ask whether the sign, size and units make sense. A probability above 1 or a negative length signals a mistake, and a quick sketch or graph often reveals it.
- Enter the answer and preview it. Use the syntax rules below, then compare the preview with your written answer symbol by symbol.
- Submit and read the feedback. If an answer is marked wrong, decide whether the problem is the math or the syntax before you try again.
- Record what tripped you up. A one-line note such as "forgot the chain rule on the inner function" turns each mistake into exam prep.
WeBWorK Syntax Cheat Sheet
Most entry errors come from a handful of rules. Keep this table open while you work.
| To Enter | Type | Watch Out For |
|---|
| Multiplication | 3*x or 3x | 3 4 means 3 × 4 = 12, not 34; use * between variables |
| Fractions | (x+1)/(x-2) | x+1/x-2 means x + (1/x) − 2 |
| Exponents | x^2 or x**2 | Put the whole exponent in parentheses: e^(3*x), not e^3x |
| Square roots | sqrt(x+1) or (x+1)^(1/2) | sqrt x+1 does not mean the root of x + 1 |
| Other roots | x^(1/3) | x^1/3 means x divided by 3 |
| Trig functions | sin(x), cos(2*x) | sin 2x is read as sin(2) times x |
| Powers of trig functions | (sin(x))^2 | sin^2(x) causes an error |
| Inverse trig | arcsin(x) or asin(x) | Avoid the sin^-1 notation |
| Logarithms | ln(x), log(x), logten(x) | log(x) is usually the natural log, not base 10 |
| Exponential | e^x or exp(x) | Use e, not 2.718 |
| Pi | pi | Do not round to 3.14 |
| Absolute value | abs(x) | Group the inside: abs(x-3) |
| Negative base | (-5)^2 | -5^2 equals −25 |
| Scientific notation | 2.1E-3 | Means 2.1 × 10−3 |
| Intervals | [0,infinity) or (-infinity,2)U(3,infinity) | Use U for union |
| Does not exist | DNE | Only when the problem says DNE is accepted |
When in doubt, add parentheses. Extra parentheses never hurt, and missing ones are the most common reason correct answers get marked wrong. Trig-heavy sets go faster if you know the standard values by heart; our guide to trigonometry formulas and tables has them in one place.
Why a Correct Answer Gets Marked Wrong
- Rounding too early. WeBWorK usually checks decimals against a small tolerance, often about 0.1% relative error. Keep at least four significant digits, or enter an exact expression such as sqrt(3)/2 when the problem allows it.
- Degrees vs. radians. WeBWorK's trig functions use radians, so sin(30) means the sine of 30 radians. Enter sin(pi/6) instead.
- Order of operations. 2/3*4 is 8/3, not 2/12. Put every denominator in parentheses.
- Wrong format. The problem wanted an interval, a list, a fraction or units, and you entered something else.
- Commas in large numbers. WeBWorK reads commas as separators in lists, so type 12500, not 12,500.
- Wrong variable. If the problem uses t, an answer written in x will not match.
- A required form. Formula answers are usually checked by testing values, so equivalent forms pass, but some problems require a simplified or factored form and will say so.
Making the Most of Limited Attempts
- Preview every answer before submitting; previews do not count as attempts.
- Finish the work on paper before you type anything.
- After two misses, stop guessing. Re-solve from scratch, compare with a worked example or use any hint provided.
- In multi-part problems, later parts often depend on earlier ones, so confirm part (a) before building on it.
- If practice versions are available, use them to test your method on new numbers.
- Ask for help before you use your last attempt, not after.
Study Habits for WeBWorK Courses
- Start each set early. Spreading a set over two or three days gives you time to get help with the hardest problems before the deadline.
- Keep a problem notebook. Write out each solution by hand. Exams usually do not give you a preview button or instant feedback.
- Study with classmates the right way. Compare methods and explain steps to each other; your numbers are different anyway.
- Use office hours and math labs. Bring your written work so a tutor can see exactly where you went wrong.
- Review old sets before exams. Rework missed problems without looking at your notes.
For more strategies, see our expert tips for mastering math homework and our guide on how to prepare for a math test. If one of your other classes runs on a different platform, our guide on how to do well on WebAssign covers similar ground.
A Note on WeBWorK Answer Sites
Searching for "WeBWorK answers" rarely helps. Because problems are randomized, posted answers usually belong to someone else's version. Instructors can view your submission history, including what you entered and when, and some courses use timed gateway quizzes that may be proctored. Copying answers or sharing your login breaks academic integrity policies, and the skills you skip will show up on exams. Getting help with the method is the faster route to correct answers.
Getting Help With WeBWorK Problems
If you are stuck on a concept, a tutor can walk you through the method using a problem like yours. Through our math homework help or calculus homework help, you post the problem with your instructions and deadline, compare tutor bids and profiles, and message your tutor about each step. Use the explanation to work out and enter your own answers, and follow your course's academic integrity rules. Get step-by-step help when you need it.
Frequently Asked Questions
How Do You Type a Square Root in WeBWorK?
Type sqrt() with the whole expression inside the parentheses, such as sqrt(x+1), or use a fractional exponent, such as (x+1)^(1/2). For other roots, use exponents: a cube root is x^(1/3). Keep the parentheses around the fraction, because x^1/3 means x divided by 3. Click Preview My Answers to confirm WeBWorK reads the expression the way you intended.
Does WeBWorK Use Degrees or Radians?
WeBWorK's trig functions use radians. If you type sin(30), WeBWorK calculates the sine of 30 radians, not 30 degrees. Enter angles in radians, such as sin(pi/6), or convert degrees by multiplying by pi/180. When a problem asks for an angle in degrees, enter the number of degrees as a plain number. Check your calculator mode too, since it causes the same error.
Is Log Base 10 or Natural Log in WeBWorK?
In WeBWorK, log(x) is usually the natural logarithm, the same as ln(x), although an instructor can change that setting for a course. For the common base-10 logarithm, type logten(x). For other bases, use the change-of-base formula, such as ln(x)/ln(2) for log base 2. If you are unsure, preview the answer and check the problem's instructions.
Why Does WeBWorK Say My Answer Is Wrong When It Looks Right?
The most common causes are syntax and rounding. Missing parentheses change the order of operations, decimals rounded too early fall outside the accepted tolerance, and trig functions are evaluated in radians. Other culprits include the wrong variable, commas in large numbers and an answer in the wrong format, such as a number where an interval was expected. Preview your entry and compare it with your written work.
How Many Attempts Do You Get on WeBWorK?
Your instructor decides. Some courses allow unlimited attempts on homework, while others cap each problem at a set number. The problem page shows how many attempts you have used and how many remain. Previewing an answer does not use an attempt, so preview first, and stop to rework the problem or get help before you use your final attempt.
Can Instructors See Your Past Answers in WeBWorK?
Yes. WeBWorK keeps a record of submitted answers, so instructors can see what you entered on each attempt and when. They use it to diagnose common mistakes, answer questions about specific problems and review unusual activity. That record is also useful for you, because when you email your instructor about a problem, they can see exactly where your work went off track.
What Should I Do When I'm Stuck on a WeBWorK Problem?
Find a worked example of the same type in your textbook or notes, then use any hint the problem offers. If you are still stuck, bring your written work to office hours or a campus math lab, or email your instructor about that specific problem. A tutor can also explain the method on a similar problem so you can solve your own version.