# Squares and square roots

> Solve x² ± b = c and √x ± b = c for x, with both families mixed on one page.

A free printable math worksheet from Pencil Ready. Set it up and print it at https://pencilready.com/worksheets/algebra-square-root/.

## Know before you start

- Squares 0² to 10² and the matching roots, from memory.
- [One-step](https://pencilready.com/worksheets/algebra-one-step.md) and [two-step](https://pencilready.com/worksheets/algebra-two-step.md) equations.
- Squaring and taking a square root as inverse operations.

## With mastery, the student can

- Isolate the squared or rooted term, then undo it.
- Move in both directions between x² and √x on the same sheet.
- Read six forms — three built on x², three on √x.

## Generate the PDF

`GET https://pencilready.com/api/worksheets/algebra-square-root` returns the worksheet as a PDF. Every option is a query parameter; leave one out to get its default. The same `seed` with the same options always gives the same worksheet.

At least one of `squares`, `roots` must be `true`; they all default to `false`, and a request with none on is rejected with HTTP 400.

### Examples

- Default settings, new problems on every request: https://pencilready.com/api/worksheets/algebra-square-root?squares=true
- Seed 42, with an answer key: https://pencilready.com/api/worksheets/algebra-square-root?squares=true&seed=42&include_answers=true

### Options for this worksheet

| Parameter | Values | Description |
|---|---|---|
| `b_range` | string, e.g. `1-30` | Constant range. Default `1-50`. |
| `variable` | string | Variable letter. Default `x`. |
| `squares` | `true`, `false` | Include `x² ± b = c` problems. Default false. |
| `roots` | `true`, `false` | Include `√x ± b = c` problems. Default false. |

### Options for every worksheet

| Parameter | Values | Description |
|---|---|---|
| `format` | `pdf`, `png`, `svg` | Output format. Default `pdf`. pdf: printable, any page count. png / svg: single page only; multi-page worksheets and include_answers return 400. |
| `seed` | integer | Seed for reproducible output. Omit for a random worksheet. |
| `problems` | integer | Number of problems. Default depends on the worksheet type. |
| `paper` | `a4`, `us-letter` | Paper size. Default `a4`; `letter` is accepted as an alias for `us-letter`. a4 or us-letter (alias: letter). Problem count and layout are identical on both. |
| `locale` | `us`, `no` | Printed language and number notation. Default `us`. us: English copy, decimal point, × and ÷. no: Norwegian Bokmål copy, decimal comma, · and :. |
| `solve_first` | `true`, `false` | Render the first problem as a worked example. |
| `include_answers` | `true`, `false` | Append an answer-key page showing just the final answers (PDF only). |
| `student_name` | string | Pre-fill the student name on the header in a handwriting font. |

Full API reference (OpenAPI): https://pencilready.com/openapi.json

## Languages

Worksheets print in each language below. Choose one with the `locale` query parameter, which sets the printed instructions and number notation. Each language also has its own version of the worksheet page.

- English (`en`): `locale=us`, page https://pencilready.com/worksheets/algebra-square-root/
- Norsk (`nb`): `locale=no`, page https://pencilready.com/no/worksheets/algebra-square-root/
