Determining Function Form (pattern matching maybe?)

Hi There,

I’m looking to tighten up an activity I’m making where a student converts between standard and vertex form of quadratics.

I have everything looking great and the ability to check if what they enter is the same function however I’d like to add in a layer in which the CL will recognize if the student copy/pasted the prompt (which still reads as correct bc it is same function).

Here is the relevant page



1 Like

Patterns might get a little hairy with possible integers or fractions, and needing some when-otherwise to switch between sum or difference depending on values of h or k.

Other options are using countNumberUsage, but again a little tricky with fractions, or the rather unreliable latex matching.

I was reconsidering some of this. It will probably be easier to define vertex form and calculate standard form. This doesn’t change what you require of students as it happens in the background, although your preference of integers in one form over another would determine your choice.

Thanks Daniel for the thoughts.

I’m not familiar at all with patterns which is why I reached out- there’s no documentation aside from the video series last year and I see lots of prompts in the CL layer once I start typing “pattern.”

I saw an option for “term1” and I’m wondering if I could pull out “term 1” from vertex form and then compare that specific function to an answer key in the calculator. (I’m imagining term 1 to be 2(x+1)^2 or something like)

But I either can’t get the syntax or “term 1” doesn’t work like that. Any thoughts?

I hadn’t seen anything for terms yet, so I’m unfamiliar.

So whatever the term is (I think) it would be something like:


I don’t think “term1” is actually a specific CL, but the name of a variable you may have seen in the videos. (Note: I didn’t actually check if this works, but this is how complicated patterns can get.)