# Products, Squares and Square Roots of Graphs

> Use a table of signs, then sketch y = f(x)g(x), y = [f(x)]² and y = √f(x) from the graphs you already know, without plotting every point.

From HSC Maths Extension 1 on WhizzNotes, study notes for NSW students: https://whizznotes.com/mathematics-extension-1/products-squares-and-roots/. Updated 12 November 2026.
Year 11 and Year 12 boxes go deeper than the Year 10 text around them.

### Story time: The swing and its shadow
A swing goes back and forth. Its distance from the middle, left or right, follows a wave like $y = \sin x$: positive on one side, negative on the other.

Now think about the swing's **height** above its lowest point. It is the same on the left and the right, so it never goes negative. It rises to a peak on each side and drops to zero in the middle. That is the shape of $y = \sin^2 x$: the wave squared. Squaring did not need a new table of values. It followed simple rules from the wave you already knew.

**In short:** To sketch $y = f(x)g(x)$, $y = [f(x)]^2$ or $y = \sqrt{f(x)}$, start from the graphs you know. Their zeros and signs decide where the new graph is zero, positive or negative, and the values 0 and 1 decide whether squaring or rooting makes a height bigger or smaller.

## Starting point: what you already know

- The basic graphs: lines, parabolas, cubics, $y = \sqrt{x}$, $y = \dfrac{1}{x}$ and $y = \sin x$ (Mathematics Advanced, A Library of Graphs).
- Sketching polynomials from their roots (Graphs of Polynomials).
- The reciprocal and absolute value of a graph, and adding two graphs (Graphing Related Functions).
- For a number $a$ between 0 and 1: $a^2 < a < \sqrt{a}$. For $a$ bigger than 1: $\sqrt{a} < a < a^2$.

## The table of signs

Before you sketch, find where the function is zero and where it changes sign.

### Key idea: Table of signs
1. Find the **zeros** and any **breaks** (where the function is undefined).
2. Put them in order on a number line.
3. Test one value in each gap. A continuous function keeps its sign between its zeros and breaks.

### Worked example: The sign of a fraction
$f(x) = \dfrac{x(x - 3)}{x - 1}$ has zeros at 0 and 3, and a break at 1.

| $x$ | $-1$ | 0 | $\frac{1}{2}$ | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|---|---|
| $f(x)$ | $-2$ | 0 | $\frac{5}{2}$ | break | $-2$ | 0 | $\frac{4}{3}$ |
| sign | $-$ | 0 | $+$ | | $-$ | 0 | $+$ |

So $f(x) > 0$ for $0 < x < 1$ and $x > 3$.

## Products: y = f(x)g(x)

### Key idea: Rules for a product
- The product is **zero** wherever **either** graph is zero.
- Its **sign** comes from the two signs: same signs give positive, different signs give negative.
- Where one graph equals **1**, the product equals the other graph. Where one is **$-1$**, the product is the other reflected.

### Worked example: y = x sin x for −2π ≤ x ≤ 2π
- Zeros: $x = 0$ (from $x$) and $x = \pm\pi, \pm 2\pi$ (from $\sin x$). At $x = 0$ both are zero, so the graph touches.
- Since $-1 \le \sin x \le 1$, the graph stays between the lines $y = x$ and $y = -x$, touching $y = |x|$ where $\sin x = \pm 1$.
- $x$ and $\sin x$ are both odd, so the product is **even**: the left half mirrors the right.

### Watch out: A product is not a sum
For $y = f(x) + g(x)$ you add heights. For a product you multiply them, so a product is zero wherever one factor is zero, even if the other is huge.

## Squares: y = [f(x)]²

*Diagram: The graph of y = sin x for x from 0 to 2π as a grey dashed wave, y = sin² x as a solid curve that stays between 0 and 1 and touches 0 at π, and y = √(sin x) as a green curve above the sine wave from 0 to π only.*
*Squaring pulls the wave down towards 0 and flips the negative half up. The square root lifts the positive half towards 1 and does not exist where sin x is negative.*

### Key idea: Rules for a square
- $[f(x)]^2 \ge 0$ everywhere: the parts below the axis flip up.
- A zero where $f$ **crosses** the axis becomes a point where the square **touches** it.
- Where $f(x) = \pm 1$, the square is 1. Between $-1$ and 1 the square is **smaller** in size; beyond them it is **bigger**.
- Turning points of $f$ stay turning points, at the same $x$.

### Worked example: y = sin² x
$\sin x$ crosses at $0, \pi, 2\pi$, so $\sin^2 x$ touches 0 there. It reaches 1 wherever $\sin x = \pm 1$. Every hump is now above the axis, so the period halves to $\pi$, and the range is $0 \le y \le 1$.

## Square roots: y = √f(x)

### Key idea: Rules for a square root
- $\sqrt{f(x)}$ exists only where $f(x) \ge 0$. Delete every part of the graph below the axis.
- Zeros stay zeros. Where $f(x) = 1$ the root is 1.
- Between 0 and 1 the root is **bigger** than $f$; above 1 it is **smaller**.
- Where $f$ crosses the axis at a slope, the root meets the axis **vertically**.
- Turning points of $f$ above the axis stay at the same $x$.

### Worked example: y = √(4 − x²)
$f(x) = 4 - x^2$ is a parabola, positive for $-2 < x < 2$. Its root exists only for $-2 \le x \le 2$, is 0 at $\pm 2$, and has its top at $x = 0$, where $\sqrt{4} = 2$.

In fact $y = \sqrt{4 - x^2}$ is the top half of the circle $x^2 + y^2 = 4$. The ends are vertical, just as the rule says.

### Calculator tip: Check a height
To check a point, store the $x$ value and work out $f(x)$ first. For $y = \sqrt{4 - x^2}$ at $x = 1.5$: `√( 4 − 1.5² )` $= 1.32$. If the calculator says Math ERROR, $f(x)$ is negative there and the graph has no point.

**Mind map**

```text
Products, squares and roots
  Table of signs
    Zeros and breaks
    Test each gap
  Product f g
    Zero where either is zero
    Signs multiply
    Equals f where g = 1
  Square f²
    Never negative
    Crossings become touches
    Smaller inside -1 to 1
  Square root √f
    Only where f ≥ 0
    Bigger between 0 and 1
    Vertical at a crossing
```

### Year 11: Domain, range and harder sketches
**Domain and range of a root.** $y = \sqrt{x^2 - 4x}$: $x^2 - 4x = x(x - 4) \ge 0$ gives $x \le 0$ or $x \ge 4$. The smallest value is 0, so the range is $y \ge 0$.

**The square of a cubic.** $f(x) = x(x - 1)(x + 1)$ has three crossings. $y = [f(x)]^2$ touches 0 at $-1$, 0 and 1, is never negative, and grows very fast for $|x| > 1$, because squaring makes big heights bigger.

**A product of a line and a parabola.** $y = (x - 2)(x^2 - 1)$: zeros at $-1$, 1 and 2. Signs: negative for $x < -1$, positive between $-1$ and 1, negative between 1 and 2, positive for $x > 2$. This is just a cubic, sketched from the signs.

**Solving an inequality with the graphs.** Solve $\sqrt{x + 2} > x$. The root starts at $(-2, 0)$ and the line $y = x$ crosses it where $x + 2 = x^2$ and $x \ge 0$, so at $x = 2$. The root is above the line for $-2 \le x < 2$.

### Year 12: Calculus confirms the rules
**Squares.** $\dfrac{d}{dx}[f(x)]^2 = 2f(x)f'(x)$. This is zero where $f'(x) = 0$ (the old turning points) **and** where $f(x) = 0$ (the new touching points). So $[f(x)]^2$ has a turning point at every zero of $f$.

**Square roots.** $\dfrac{d}{dx}\sqrt{f(x)} = \dfrac{f'(x)}{2\sqrt{f(x)}}$. As $f(x) \to 0$ with $f'(x) \neq 0$, the gradient grows without bound, which is why the root meets the axis vertically.

**A product with an exponential.** $y = xe^{-x}$: zero only at $x = 0$, the same sign as $x$, and $y' = (1 - x)e^{-x}$ gives a maximum at $\left(1, \frac{1}{e}\right)$. As $x \to \infty$ the exponential wins, so $y \to 0$.

## Quick summary

- A table of signs uses the zeros and breaks, then one test value in each gap.
- A product $f(x)g(x)$ is zero where either factor is zero, and its sign is the product of the signs.
- $[f(x)]^2$ is never negative. Crossings become touches, heights between $-1$ and 1 shrink and heights beyond them grow.
- $\sqrt{f(x)}$ exists only where $f(x) \ge 0$. Heights between 0 and 1 grow, heights above 1 shrink, and the graph meets the axis vertically where $f$ crosses it.
- Turning points of $f$ stay at the same $x$ for both the square and the root.

## Quiz

Try these questions from the chapter quiz.

1. Where is $y = f(x)g(x)$ equal to zero?
   - A. Only where both $f$ and $g$ are zero
   - B. Wherever $f$ or $g$ is zero
   - C. Where $f(x) = g(x)$
   - D. Nowhere
   - Answer: B. Wherever $f$ or $g$ is zero. A product is zero when either factor is zero.

2. $f(x)$ is negative and $g(x)$ is negative at $x = 3$. What is the sign of $f(3)g(3)$?
   - A. Positive
   - B. Negative
   - C. Zero
   - D. It cannot be known
   - Answer: A. Positive. Two negatives multiply to a positive.

3. Which statement about $y = [f(x)]^2$ is always true?
   - A. It has the same sign as $f(x)$
   - B. It is never negative
   - C. It is always bigger than $f(x)$
   - D. It has no zeros
   - Answer: B. It is never negative. A square is never negative.

The whole chapter quiz is on the page, for signed-in students: https://whizznotes.com/mathematics-extension-1/products-squares-and-roots/#quiz
