
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given the function $f(x)=x^{2}+a|x-1|$, where $a$ is a constant.
(1) When $a=2$, find the minimum and maximum values of the function $f(x)$ on $[0,2]$;
(2) If the function $f(x)$ is monotonically increasing on $[0,+\infty)$, find the range of values for the real number $a$.

Present the answer in LaTex format: \boxed{Your answer}
user