To solve the problem, we need to find the area \(f(a)\) bounded in the first quadrant by the curves \(x=0\), \(x=1\), \(y=x^2\), and \(y=|ax-5|-|1-ax|+ax^2\), and then compute \(f(0) + f(1)\).
First, consider \(f(0)\):
For \(a=0\), the function becomes:
\(y = |-5| - |1| + 0 = 5 - 1 = 4\)
We now find the area between \(y = x^2\) and \(y = 4\) from \(x = 0\) to \(x = 1\):