I'm having some trouble to classify the use of the to-infinitive and the -ing form of the verb in the following sentences:
"This problem has the potential to be really serious."
I took a look at links such as this, but no explanation seems to fit.
"Knowing what we know today, we could have made a different choice."
For this case, I refered to this link, but also didn't find a convincing classification. It seems like knowing would be a noun in that case? I'm not entirely sure. I would also like to know what is the "syntactic role" (not sure if this is the correct term) of "knowing" in the clause above. Is it a subject? An object? Sorry, it's very unclear to me because the structure of the clause is short-circuiting my brain.
EDIT: So, I figured out that the first example is an example of using the to-infinitive as a "postmodifier", as per this link. I still have no clue about how to classify the second sentence though. If anyone has a suggestion, it is greatly appreciated!