# Rings of Polynomials
###### tags: `Tag(change me!)`
> This note is yours, feel free to play around. :video_game:
> Type on the left :arrow_left: and see the rendered result on the right. :arrow_right:
### Homework Problems
> :rocket: pg 207, 14.
> Find all zeros in the indicated finite field of the given polynomials with coefficients in the field. $x^3 +2x+2$ in $\mathbb{Z}_7$.
My approach was to try all the possible roots from 0~6 to see if there is any solution.
> :rocket: pg 218, 2.
> Find $q(x)$ and $r(x)$ as described by the division algorithm so that $f(x)=g(x)q(x) +r(x)$ with $r(x)=0$ or of degree less than the degree of $g(x)$.
> $f(x) = x^6+3x^5+4x^2-3x+2$ and $g(x) =3x^2+2x-3$ in $\mathbb{Z}_7 [x]$
Do division like normally but since we are in $Z_7$, we can adjust the coefficient to be in $Z_7$ during the division processes.
> :rocket: pg 218, 9
> The polynomial $x^4 + 4$ can be factored into linear factors in $\mathbb{Z}_5 [x]$. Find this factorization.
$$
x^4 + 4 \equiv x^4 - 1 \equiv (x^2+1)(x^2-1) \equiv (x+1)(x-1)(x^2-4) \equiv (x+1)(x-1)(x+2)(x-2)
$$
>:rocket: pg 219, 27.
Find all irreducible polynomials of the indicated degree in the given ring.
Degree 2 in $Z_2[x]$
All the possible polynomials in $\mathbb{Z}_2[x]$ are of the form $\{ax^2+bx+c | a,b,c \in \mathbb{Z}_2\}$. All **linear polynomials are irreducible**. For degree 2, we have $x^2,(x+1)(x+1) = x^2+1,x(x+1) = x^2+1$, all of which are reducible. Therefore, the only irreducible polynomial of degree 2 is $x^2 + x + 1$.
>:rocket: pg 219, 27.
>Find all prime ideals and all maximal ideals of $\mathbb{Z}_6.$
### Step 2: Write something in Markdown
Let's try it out!
Apply different styling to this paragraph:
**HackMD gets everyone on the same page with Markdown.** ==Real-time collaborate on any documentation in markdown.== Capture fleeting ideas and formalize tribal knowledge.
- [x] **Bold**
- [ ] *Italic*
- [ ] Super^script^
- [ ] Sub~script~
- [ ] ~~Crossed~~
- [x] ==Highlight==
:::info
:bulb: **Hint:** You can also apply styling from the toolbar at the top :arrow_upper_left: of the editing area.

:::
> Drag-n-drop image from your file system to the editor to paste it!
### Step 3: Invite your team to collaborate!
Click on the <i class="fa fa-share-alt"></i> **Sharing** menu :arrow_upper_right: and invite your team to collaborate on this note!

- [ ] Register and sign-in to HackMD (to use advanced features :tada: )
- [ ] Set Permalink for this note
- [ ] Copy and share the link with your team
:::info
:pushpin: Want to learn more? ➜ [HackMD Tutorials](https://hackmd.io/c/tutorials)
:::
---
## BONUS: More cool ways to HackMD!
- Table
| Features | Tutorials |
| ----------------- |:----------------------- |
| GitHub Sync | [:link:][GitHub-Sync] |
| Browser Extension | [:link:][HackMD-it] |
| Book Mode | [:link:][Book-mode] |
| Slide Mode | [:link:][Slide-mode] |
| Share & Publish | [:link:][Share-Publish] |
[GitHub-Sync]: https://hackmd.io/c/tutorials/%2Fs%2Flink-with-github
[HackMD-it]: https://hackmd.io/c/tutorials/%2Fs%2Fhackmd-it
[Book-mode]: https://hackmd.io/c/tutorials/%2Fs%2Fhow-to-create-book
[Slide-mode]: https://hackmd.io/c/tutorials/%2Fs%2Fhow-to-create-slide-deck
[Share-Publish]: https://hackmd.io/c/tutorials/%2Fs%2Fhow-to-publish-note
- LaTeX for formulas
$$
x = {-b \pm \sqrt{b^2-4ac} \over 2a}
$$
- Code block with color and line numbers:
```javascript=16
var s = "JavaScript syntax highlighting";
alert(s);
```
- UML diagrams
```sequence
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
Note left of Alice: Alice responds
Alice->Bob: Where have you been?
```
- Auto-generated Table of Content
[ToC]
> Leave in-line comments! [color=#3b75c6]
- Embed YouTube Videos
{%youtube PJuNmlE74BQ %}
> Put your cursor right behind an empty bracket {} :arrow_left: and see all your choices.
- And MORE ➜ [HackMD Tutorials](https://hackmd.io/c/tutorials)