# Thread:

1. ## Proving a matrix is non-singular

Hi again, came across this matrix question which has really got me stuck.

A = $\left(\begin{array}{cc}q&3\\-2&q-1\end{array}\right)$

1. Find det A, worked this out to be $q(q-1)+6$.

2. Show that A is non-singular for all values of q.

If it is non singular, then the det does not equal 0, I think? But how would I go about showing this, solve the quadratic equation in terms of q?

Thanks in advance

2. Originally Posted by craig
A = $\left(\begin{array}{cc}q&3\\-2&q-1\end{array}\right)$
1. Find det A, worked this out to be $q(q-1)+6$.
2. Show that A is non-singular for all values of q.
Are there any real solutions for $q^2 -q + 6=0$?

3. Originally Posted by Plato
Are there any real solutions for $q^2 -q + 6=0$?
Just found the answers, in there they have :

$q^2 -q + 6=(q-\frac{1}{2})^2 + 5\frac{3}{4}$

>0 for all real q.

No idea where they have got this from though?

4. I'm sure you're familiar with the method of "completing the square"?

5. I think I've got it, I knew it was completing the square, but wasn't sure why he was doing it exactly. But the $(q-\frac{1}{2})^2 + 5\frac{3}{4}$ is basically saying that whatever number q is, wether it is +ve or -ve,once it is squared and then added to $5\frac{3}{4}$, will always be greater than 0, therefore non singular.

Is this right?

Sorry it took this long to work this rather basic thing out, been revising since 11 this morning, mind just went blank.

Thanks for the help and patience

6. Originally Posted by craig
I think I've got it, I knew it was completing the square, but wasn't sure why he was doing it exactly. But the $(q-\frac{1}{2})^2 + 5\frac{3}{4}$ is basically saying that whatever number q is, wether it is +ve or -ve,once it is squared and then added to $5\frac{3}{4}$, will always be greater than 0, therefore non singular.

Is this right?
Yes, that is right. You could also have solve the equation using the quadratic formula and observed that it has two complex roots, no real root.

Sorry it took this long to work this rather basic thing out, been revising since 11 this morning, mind just went blank.

Thanks for the help and patience
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 11, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9785242676734924, "perplexity_flag": "middle"}