# Square function

**Topic:** Maths · Mathematical analysis  
**Page:** https://curium.ctopass.com/en/c/fonction-carre  
**Updated:** 2026-09-28

## The three levels

### Beginner — Why is the square of a negative number positive?

By the rule of signs: x × x is the product of two numbers with the same sign. (−3) × (−3) = 9, exactly like 3 × 3. The square function therefore never takes a negative value, and its curve, a parabola, stays entirely above the x-axis, with its vertex at the point (0, 0).

### Intermediate — What happens when you square both sides of an inequality?

It depends on the sign. On [0, +∞[ the square function is increasing: 2 < 3 gives 4 < 9. On ]−∞, 0] it is decreasing: −3 < −2 gives 9 > 4, the inequality reverses. Its derivative 2x is negative to the left of 0 and positive to the right, and 0 is its global minimum.

### Expert — Does Simpson's method integrate x² exactly?

Exactly, because it does for any quadratic polynomial. On [a, b], Simpson gives (b − a)/6 × (f(a) + 4f((a + b)/2) + f(b)), which, for f(x) = x², reduces to (b − a)/3 × (a² + ab + b²). Between 0 and 3, this gives 3/3 × 9 = 9: the exact value of the antiderivative x³/3 at 3. No approximation, even in a single step.

## Explore next

- [Function](https://curium.ctopass.com/en/c/fonction.md)
- [Quadratic equation](https://curium.ctopass.com/en/c/equation-du-second-degre.md)
- [Reciprocal function](https://curium.ctopass.com/en/c/fonction-inverse.md)
- [Asymptote](https://curium.ctopass.com/en/c/asymptote.md)
- [Supremum](https://curium.ctopass.com/en/c/borne-superieure.md)
- [Continuity](https://curium.ctopass.com/en/c/continuite.md)
- [Differentiability](https://curium.ctopass.com/en/c/derivabilite.md)
- [Derivative](https://curium.ctopass.com/en/c/derivee.md)
- [Taylor expansion](https://curium.ctopass.com/en/c/developpement-limite.md)
- [Differential equation](https://curium.ctopass.com/en/c/equation-differentielle.md)

---

Curium — Knowledge, one question at a time.

App Store: https://apps.apple.com/fr/app/curium/id6793886587
Google Play: https://play.google.com/store/apps/details?id=com.ctopass.curium
