---
title: "Symmetric Quadratic Functional Equation f(x^2+y) + f(x^2-y) = 2f(x)^2 + 2y^2"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-olympiad-geo-w1-17"
board: "Olympiad"
grade: "Olympiad"
published_at: "2026-11-29T15:45:00+05:30"
---

# Symmetric Quadratic Functional Equation f(x^2+y) + f(x^2-y) = 2f(x)^2 + 2y^2

Find all functions $f : \mathbb{R} \to \mathbb{R}$ such that for all real numbers $x$ and $y$,
$$f(x^2 + y) + f(x^2 - y) = 2\big(f(x)\big)^2 + 2y^2.$$

## Textbook Solution

1. **Substitute $y = 0$ and $x = 0$:**
   - Setting $y = 0$: $2 f(x^2) = 2 f(x)^2 \implies f(x^2) = f(x)^2$ for all $x \in \mathbb{R}$.
   - Setting $x = 0$: $f(y) + f(-y) = 2 f(0)^2 + 2y^2$ for all $y \in \mathbb{R}$.

2. **Show $f(x)^2 = f(-x)^2$ and prove $f$ is an even function:**
   Set $y = x$ in the original equation:
   $$f(x^2 + x) + f(x^2 - x) = 2 f(x)^2 + 2x^2.$$
   Now replace $x$ with $-x$ (so $x^2 \pm x$ simply swap places on the LHS):
   $$f(x^2 - x) + f(x^2 + x) = 2 f(-x)^2 + 2x^2.$$
   Comparing the two equations gives $f(x)^2 = f(-x)^2$ for all $x \in \mathbb{R}$, meaning for every $x$, either $f(-x) = f(x)$ or $f(-x) = -f(x)$.
   Suppose for contradiction that $f(-x_0) = -f(x_0)$ for some $x_0 \neq 0$. Then $f(x_0) + f(-x_0) = 0$. However, from Step 1 (with $y = x_0$):
   $$f(x_0) + f(-x_0) = 2 f(0)^2 + 2 x_0^2 \ge 2 x_0^2 > 0,$$
   a contradiction! Also for $x = 0$, $f(-0) = f(0)$ trivially. Hence $f(-x) = f(x)$ for **all** $x \in \mathbb{R}$.

3. **Find the exact form of $f$:**
   Using $f(-y) = f(y)$ in $f(y) + f(-y) = 2f(0)^2 + 2y^2$ yields:
   $$2 f(y) = 2f(0)^2 + 2y^2 \implies f(y) = y^2 + c,$$
   where $c = f(0)^2$.
   Substitute $f(x) = x^2 + c$ into $f(x^2) = f(x)^2$:
   $$x^4 + c = (x^2 + c)^2 = x^4 + 2cx^2 + c^2 \implies 2cx^2 + c^2 - c = 0 \quad \forall x \in \mathbb{R}.$$
   Comparing the coefficient of $x^2$ gives $c = 0$, so $f(x) = x^2$ for all $x \in \mathbb{R}$.

4. **Verification:**
   If $f(x) = x^2$, then LHS $= (x^2+y)^2 + (x^2-y)^2 = 2x^4 + 2y^2 =$ RHS.

**Final Answer:** $f(x) = x^2$ for all $x \in \mathbb{R}$.

## Vedic Shortcut

**NityaDhi Symmetry-Invariance Shortcut:**
Notice the LHS $f(x^2+y) + f(x^2-y)$ is **invariant** under $x \mapsto -x$, AND **invariant** under $y \mapsto -y$.
In Step 1, $x = 0$ exposes the even part of $f$: $\frac{f(y)+f(-y)}{2} = y^2 + f(0)^2$. All we ever need is to kill the odd part! Choosing $y = x$ makes the LHS symmetric under $x \mapsto -x$, immediately forcing $f(x)^2 = f(-x)^2$, and the strictly positive RHS at $x=0$ locks $f(-x) = f(x)$!

## Common Mistakes

1. **Concluding $f(x) = f(-x)$ directly from $f(x)^2 = f(-x)^2$:** You MUST explicitly rule out $f(-x_0) = -f(x_0)$ for $x_0 \neq 0$ using $f(x_0) + f(-x_0) = 2f(0)^2 + 2x_0^2 > 0$.
2. **Assuming $f(0) = 0$ prematurely:** From $f(x^2) = f(x)^2$ at $x = 0$, we only get $f(0) = f(0)^2$, which allows $f(0) = 1$ as well as $f(0) = 0$—you need $f(x) = x^2 + c$ back in $f(x^2) = f(x)^2$ to eliminate $c = 1$.