Given a cubic function, and its quadratic derivative- can I recover the cubic from quadratic? Background: I'm trying to learn how to work with cubic and quadratic bezier splines for various drawing libraries, and working through how to approximate a cubic spline with a quadratic spline. It's occured to me that it should be possible to approximate any continuous parametric function with an arbitrary series of interconnected quadratic splines, as long as you have a suitable fitness function for each section.
It has further occured to me that the derivative of any cubic spline is expressible as a quadratic spline. So now I am curious. 
if I have an abitrary function f(t);
its derivative f'(t);
and I can approximate f'(t) with a series of quadratic splines...
can I have some way of assuming those quadratics as derivatives of cubics, and directly compute a series of cubics that then approximates f(t) from the quadratics?
is there something wrong with my reasoning here?
(edited for brevity)
(clarification)
I mentioned I was working through how to approximate a cubic spline with a quadratic spline. Let us assume for the purposes of this question that I have already solved this problem, and I have a procedure P which takes any arbitrary function f(t) (which could be a cubic spline, or anything else) with the constraint that we will only approximate over intervals where f'(t) is continuous.
The question therefore is not how do I approximate a cubic with a quadric but, given that I have procedure P, if I apply procedure P to f'(t) to compute a series of quadratic splines, can I use that information to recover a cubic spline approximation of f(t). 
From the answers, if I am understanding corrrectly,  I think that I can so long as I can still use f(t) to recover this "integral constant". This is an acceptable solution since what I want is something like a procedure P2 which can take a f(t) and give me a sequence of cubic splines which approximate it.
edit: further, it seems that if we have f(t) and its f'(t) and its f''(t) we could even do a straight forward linear approximation of f''(t) and recover a cubic spline approximation of f(t) by solving for the integral constants in f'(t) and f(t).
neat.
 A: In general, we can only recover $f$ from $f'$ up to a constant summand, the famous constant of integration. For example, $x^3 + 2x + 4$ and $x^3 + 2x - 5$ have the same derivative, $3x^2 + 2$. Suppose we have a derivative of second degree $f' = ax^2 + bx + c$. Then, $f$ could be any of $\frac{1}{3}ax^3 + \frac{1}{2}bx^2 + cx + d$, with $d \in \mathbb{R}$. So, in order to uniquely recover $f$, we would have to find $d$. We need more information; the derivative is never enough to determine the original function.
If, for example, we know the value of $f$ at any point $x_0$, we can get the original function back, because we could then pose the equation $f(x_0) = \frac{1}{3}ax_0^3 + \frac{1}{2}bx_0^2 + cx_0 + d$ and solve for $d$.
It seems that I have answered the question in the title, which doesn't correspond to the question in the post. I agree with Gerry's comment, anyway, that we can't simply differentiate a cubic spline for a set of points to get to a quadratic spline for the same set of points. This is somewhat related to what I wrote above: a derivative of a function doesn't say much about the exact values of the function at each point, precisely because it "forgets" a constant. So, once we differentiate the cubic spline, we don't know anything about the exact images of any value, so in particular, the derivative doesn't have to pass by the original set of points at all.
Edit: 
Ok, so I'm a bit confused about what you're asking, to be honest. I don't know if my answer is relevant, but I'd like to add a third comment regarding the same issue: if we have a spline for $f'$, we won't be able to get a spline for $f$ if we don't have any further information; because the spline for $f'$ is also a spline for $(f+C)'$, with $C \in \mathbb{R}$ any constant, but it's certainly not true that there's one unique spline that works for all such $f+C$. In any case, you need more information about $f$, something that goes beyond what you can deduce from $f'$.
