
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 $\triangle ABC$ with $AC=1$, $\angle ABC= \frac{2\pi}{3}$, $\angle BAC=x$, let $f(x)= \overrightarrow{AB} \cdot \overrightarrow{BC}$.

$(1)$ Find the analytical expression of $f(x)$ and indicate its domain;

$(2)$ Let $g(x)=6mf(x)+1$ $(m < 0)$, if the range of $g(x)$ is $\left[- \frac{3}{2},1\right)$, find the value of the real number $m$.

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