"Formal" here means that you're not actually doing calculus (i.e., you're not taking any limits), but you're pretending that you can. This is what's happening in the following problem:
Let be defined by
Show that is linear.
By definition,
Let's show that . Let and . Let , and set if or if . (In the following, I'll mark a line with if I use the definition of , and I'll mark it with a if I use any definition related to . You don't need to do this in your own proofs--the marks are there to help you understand what I'm writing.)
Now let's show that for any scalar . I'll use the same marks as I did above.
Thus, is linear.
If your solution doesn't include almost if not all of the things I wrote, then I can guarantee you that your solution is incorrect as a result of misinterpreting the meaning of .
Even though we're using the integral symbol, this does not mean that we're using the Riemann integral to define . Remember that the Riemann integral is defined by taking the limit of a Riemann sum of a function . To differentiate between these two, I will use to denote the Riemann integral. In this instance, , with
(You don't need to pay that much attention to the limit part. It's just there to remind you of how little uses when compared to .)
and may look the same, but they are actually very different. is a map between things that we call formal polynomials, which essentially means that we don't think of as a variable, but as just a (mostly meaningless) symbol. On the other hand, is defined between polynomial functions, which means that we think of as a variable that we can plug things into.
The most common issue I saw was that students confused with , which is understandable, but still a big mistake in this class. It's true that is linear, but it doesn't tell you anything about linearity of because is defined formally instead of with Riemann sums. Like I said at the beginning, "formally" means you're only pretending you can do calculus. If you could do calculus on (which you can never actually do), then given a polynomial , the only reasonable meaning of the integral is
So, the actual definition of (and how you're supposed to interpret the problem) is
i.e., it's what you get if you could apply the fundamental theorem of calculus. But we can't actually use it, which is why is called formal integration.
Correctly interpreting problems is a skill you have to learn in math, so it's important to take a step back and think about whether what you write down makes sense. For example, you could ask yourself:
If , then does it make sense to use the fundamental theorem of calculus?
Hopefully, you would answer no, because calculus can only be done if you can take limits, which you can't do in (or most fields, for that matter). This means that the only reasonable interpretation of the integral in is to compute it formally.
To test your understanding, you can re-try part (b):
Let be defined by
Like in the example, is called formal differentiation because the usual derivative is defined as
and similarly, this is not well-defined in an arbitrary field since we usually can't take limits. However, we still know what the derivative of a polynomial should be.